Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Finalize without Detach???
From: George Bosilca (bosilca_at_[hidden])
Date: 2009-11-18 18:55:14

There is no such statement in the MPI Standard. In fact one of the
example use exactly this: automatic detach at MPI_Finalize (example on
page 310 on MPI 2.2). However, as the standard doesn't enforce a
specific behavior, each MPI implementation can interpret/implement it
differently. Therefore, by expecting the buffer detach at Finalize the
user open itself to "inconsistent" behaviors depending on the MPI
library used. On the opposite, i.e. by explicitly calling detach, the
behavior is well defined in all cases.


On Nov 18, 2009, at 15:41 , Eugene Loh wrote:

> George Bosilca wrote:
>> The proper practice based on the MPI Standard will be to call the
>> detach function before finalize.
> I don't find this described anywhere in the standard. To what
> chapter/verse should I point a user to convince them that detach
> before finalize is the proper thing to do?
> _______________________________________________
> devel mailing list
> devel_at_[hidden]