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.

  george.

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
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel

Reply via email to