Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Exit Program Without Calling MPI_Finalize ForSpecial Case
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-06-04 07:31:18

On Jun 4, 2009, at 2:16 AM, Tee Wen Kai wrote:

> Just to find out more about the consequences for exiting MPI
> processes without calling MPI_Finalize, will it cause memory leak or
> other fatal problem?

If you're exiting the process, you won't cause any kind of problems --
the OS will clean up everything.

However, we might also have the orted clean up some things when MPI
processes unexpectedly die (e.g., filesystem temporary files in /
tmp). So you might want to leave those around to clean themselves up
and die naturally.

Jeff Squyres
Cisco Systems