Re: [OMPI users] MPI_THREAD_MULTIPLE hang

2014-12-10 Thread Nathan Hjelm

Several things:

 - In 1.8.x only shared memory windows work with multiple threads. This
   problem will be fixed in the master branch soon. A back-port to 1.8 is
   unlikely given the magnitude of the changes.

 - I highly recommend using the MPI-3 call MPI_Win_allocate over
   MPI_Win_create. The new call will give better performance once we
   roll out better one-sided support in master over the next month or
   so.

-Nathan

On Wed, Dec 10, 2014 at 02:00:43PM -0800, Christopher O'Grady wrote:
> 
> Hi,
> 
> I see what looks like a bug in openmpi involving the
> MPI_THREAD_MULTIPLE.  When we call MPI_Init_thread with this argument,
> this 61-line example hangs:
> 
> http://www.slac.stanford.edu/~cpo/mpi_one_sided.cc
> 
> There are some commented out lines in that file that we can use
> to workaround the problem.
> 
> We use openmpi 1.8.1 configured like this:
> 
> ./configure --prefix=%{instdir} \
> --with-lsf=no \
> --enable-mpi-thread-multiple
> 
> I looked through the mailing list archives, and saw some posts that
> looked similar for version 1.7.1.  Is this still a known issue for
> 1.8.1?
> 
> Thanks for any thoughts...
> 
> chris
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/12/25956.php


pgpdFS5ZsutYT.pgp
Description: PGP signature


Re: [OMPI users] MPI_THREAD_MULTIPLE hang

2014-12-10 Thread Ralph Castain
Yes - it is being fixed for 1.8.4

> On Dec 10, 2014, at 2:00 PM, Christopher O'Grady  
> wrote:
> 
> 
> Hi,
> 
> I see what looks like a bug in openmpi involving the
> MPI_THREAD_MULTIPLE.  When we call MPI_Init_thread with this argument,
> this 61-line example hangs:
> 
> http://www.slac.stanford.edu/~cpo/mpi_one_sided.cc
> 
> There are some commented out lines in that file that we can use
> to workaround the problem.
> 
> We use openmpi 1.8.1 configured like this:
> 
> ./configure --prefix=%{instdir} \
>--with-lsf=no \
>--enable-mpi-thread-multiple
> 
> I looked through the mailing list archives, and saw some posts that
> looked similar for version 1.7.1.  Is this still a known issue for
> 1.8.1?
> 
> Thanks for any thoughts...
> 
> chris
> ___
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/12/25956.php



[OMPI users] MPI_THREAD_MULTIPLE hang

2014-12-10 Thread Christopher O'Grady

Hi,

I see what looks like a bug in openmpi involving the
MPI_THREAD_MULTIPLE.  When we call MPI_Init_thread with this argument,
this 61-line example hangs:

http://www.slac.stanford.edu/~cpo/mpi_one_sided.cc

There are some commented out lines in that file that we can use
to workaround the problem.

We use openmpi 1.8.1 configured like this:

./configure --prefix=%{instdir} \
--with-lsf=no \
--enable-mpi-thread-multiple

I looked through the mailing list archives, and saw some posts that
looked similar for version 1.7.1.  Is this still a known issue for
1.8.1?

Thanks for any thoughts...

chris