Bugzilla – Bug 5533
Nexus patch to fix improper use of MPI
Last modified: 2007-09-06 12:41:53
You need to log in before you can comment on or make changes to this bug.
Some implementations of MPI are not thread safe or only allow calls to MPI routines from the main thread. Other implementations may allow the use of threads, but require that the caller insure that no two MPI routines are called at the same time. While Nexus insures that it does not simultaneously call MPI functions from two different threads, it cannot make that guarantee with respect to other independent modules and itself. The attached patch disables the use of the MPI protocol module for threaded flavors in order to guarantee that Nexus will not call MPI routines from any thread other than the main thread. Without this patch, applications that use MPI and a threaded flavor of Globus frequently fail if Nexus is activated, as is the case when DUROC (pre-WS) is used to start the job.
It would appear that I adding attachments has been disabled. I will send the patch via email.
Any patch from brain toonen has to be good :-). I'll commit this today.
Would it be possible to release this patch as an update package and add it to the Globus Toolkit Advisories web page?