Re: [Mpi-comments] MPI_Is_thread_main: usage allowed for any thread in MPI_THREAD_FUNNELED mode?
Philippe, Thank you very much for taking the time to send in this comment - this is greatly appreciated. The request is a good request, and the working group in charge of this particular chapter has agreed to look into this. However, this will not make it into MPI 3.0, but is targeted for the following MPI. We have to carefully check the full list of affected routines, and do not have the time to do this correctly before MPI 3.0 is slated to be voted on. Thanks again, Rich -----Original Message----- From: Philippe Wautelet [mailto:[email protected]] Sent: Tuesday, August 14, 2012 10:12 AM To: [email protected] Subject: [Mpi-comments] MPI_Is_thread_main: usage allowed for any thread in MPI_THREAD_FUNNELED mode? Dear all, It is not clear to me if I am allowed to make calls to MPI_Is_thread_main from any thread if I initialized MPI with the MPI_THREAD_FUNNELED mode. For this mode, the norm says: "the application must ensure that only the main thread makes MPI calls" (page 384, lines 46-47) Therefore, a call to MPI_Is_thread_main should be incorrect. But in this case, how can I determine which thread is the main one? Or, maybe, some MPI calls could be explicitly allowed to be made by any thread? Best regards, Philippe Wautelet -------------------------------------------------------------------- Philippe Wautelet (Research Engineer) [email protected] Tel. : 01 69 35 85 76 Fax : 01 69 85 37 75 IDRIS, Batiment 506, BP 167, 91403 ORSAY Cedex, France Prof. website : http://www.idris.fr Private website : http://www.fractalzone.be -------------------------------------------------------------------- _______________________________________________ mpi-comments mailing list [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-comments
participants (1)
-
Richard Graham