Bug 5533 - Nexus patch to fix improper use of MPI
: Nexus patch to fix improper use of MPI
Status: RESOLVED FIXED
: Toolkit Internals
Nexus
: unspecified
: All All
: P3 normal
: ---
Assigned To:
: http://
:
:
:
  Show dependency treegraph
 
Reported: 2007-09-04 14:32 by
Modified: 2007-09-06 12:41 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-09-04 14:32:44
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.
------- Comment #1 From 2007-09-04 14:34:51 -------
It would appear that I adding attachments has been disabled.  I will send the
patch via email.
------- Comment #2 From 2007-09-06 11:32:13 -------
Any patch from brain toonen has to be good :-).  I'll commit this today.
------- Comment #3 From 2007-09-06 12:41:53 -------
Would it be possible to release this patch as an update package and add it to
the Globus Toolkit Advisories web page?