Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-27 Thread Ralph Castain
It's the same situation as with any of the bindings - we don't really support it at this time. All the bindings ultimately funnel down into the C implementation, so when that becomes fully thread safe, then so will the rest of the bindings. On Oct 26, 2013, at 6:39 PM, Saliya Ekanayake wrote:

Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-26 Thread Saliya Ekanayake
Hi, Since this is a conversation on thread support, I have a quick related question. Is MPI_THREAD_MULTIPLE supported with OpenMPI's Java binding? Thank you, Saliya On Wed, Oct 23, 2013 at 2:40 PM, Jeff Hammond wrote: > And in practice the difference between FUNNELED and SERIALIZED will be > v

Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-23 Thread Jeff Hammond
And in practice the difference between FUNNELED and SERIALIZED will be very small. The differences might emerge from thread-local state and thread-specific network registration, but I don't see this being required. Hence, for most purposes SINGLE=FUNNELED=SERIALIZED is equivalent to NOMUTEX and M

Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-23 Thread Tim Prince
On 10/23/2013 01:02 PM, Barrett, Brian W wrote: On 10/22/13 10:23 AM, "Jai Dayal" > wrote: I, for the life of me, can't understand the difference between these two init_thread modes. MPI_THREAD_SINGLE states that "only one thread will execute", but MP

Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-23 Thread Jai Dayal
Hi, The version of Open MPI I'm using is mpiexec (OpenRTE) 1.6.5 It's what's offered on this smaller batch scheduling cluster at Oak Ridge (Sith to be exact). Running the ompi_info command, I get Thread support: posix (MPI_THREAD_MULTIPLE: no, progress: no) FT Checkpoint support: n

Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-23 Thread Paul Kapinos
AFAIK, since 1.7.x the MPI_THREAD_SERIALIZED is available by default, anf for MPI_THREAD_MULTIPLE you have to set the --with-verbs flag (1.6.x and older: --with-openib) at configure time. Note that activating MPI_THREAD_MULTIPLE silently disable InfiniBand, so your program may get very bad pe

Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-23 Thread Jeff Hammond
On Wed, Oct 23, 2013 at 12:02 PM, Barrett, Brian W wrote: > On 10/22/13 10:23 AM, "Jai Dayal" wrote: > I'm asking because I'm using an open_mpi build ontop of infiniband, and the > maximum thread mode is MPI_THREAD_SINGLE. > > > That doesn't seem right; which version of Open MPI are you using?

Re: [OMPI users] [EXTERNAL] MPI_THREAD_SINGLE vs. MPI_THREAD_FUNNELED

2013-10-23 Thread Barrett, Brian W
On 10/22/13 10:23 AM, "Jai Dayal" mailto:dayals...@gmail.com>> wrote: I, for the life of me, can't understand the difference between these two init_thread modes. MPI_THREAD_SINGLE states that "only one thread will execute", but MPI_THREAD_FUNNELED states "The process may be multi-threaded, but