[OMPI users] Troubles using MPI_Isend/MPI_Irecv/MPI_Waitany and MPI_Allreduce

2011-10-20 Thread Pedro Gonnet
Hi all, I am currently working on a multi-threaded hybrid parallel simulation which uses both pthreads and OpenMPI. The simulation uses several pthreads per MPI node. My code uses the nonblocking routines MPI_Isend/MPI_Irecv/MPI_Waitany quite successfully to implement the node-to-node communicat

Re: [OMPI users] Troubles using MPI_Isend/MPI_Irecv/MPI_Waitany and MPI_Allreduce

2011-10-20 Thread Pedro Gonnet
communication somewhat pointless. Cheers, Pedro On Thu, 2011-10-20 at 10:42 +0100, Pedro Gonnet wrote: > Hi all, > > I am currently working on a multi-threaded hybrid parallel simulation > which uses both pthreads and OpenMPI. The simulation uses several > pthreads per MPI node. >

Re: [OMPI users] Troubles using MPI_Isend/MPI_Irecv/MPI_Waitany and MPI_Allreduce

2011-10-23 Thread Pedro Gonnet
of "usleep" in line 146 should be long enough for all the nodes to have started exchanging data but small enough so that they are not done yet. Cheers, Pedro On Thu, 2011-10-20 at 11:25 +0100, Pedro Gonnet wrote: > Short update: > > I just installed version 1.4.4 from source

Re: [OMPI users] Troubles using MPI_Isend/MPI_Irecv/MPI_Waitany and MPI_Allreduce

2011-11-13 Thread Pedro Gonnet
vel of > MPI_THREAD_MULTIPLE instead of MPI_INIT. This sets up internal locking > in Open MPI to protect against multiple threads inside the progress > engine, etc. > Be aware that only some of Open MPI's transports are THREAD_MULTIPLE > safe -- see the README for more detail. > On Oct 23, 2