Re: [OMPI users] using MPI_Recv in two different threads.

2012-01-16 Thread Hamilton Fischer
ry 11, 2012 8:09 AM Subject: Re: [OMPI users] using MPI_Recv in two different threads. I am a little confused by your problem statement.  Are you saying you want to have each MPI process to have multiple threads that can call MPI concurrently?  If so you'll want to read up on the MPI_I

Re: [OMPI users] using MPI_Recv in two different threads.

2012-01-11 Thread TERRY DONTJE
I am a little confused by your problem statement. Are you saying you want to have each MPI process to have multiple threads that can call MPI concurrently? If so you'll want to read up on the MPI_Init_thread function. --td On 1/11/2012 7:19 AM, Hamilton Fischer wrote: Hi, I'm actually usin

[OMPI users] using MPI_Recv in two different threads.

2012-01-11 Thread Hamilton Fischer
Hi, I'm actually using mpi4py but my question should be similar to normal MPI in spirit. Simply, I want to do a MPMD application with a dedicated thread for each node (I have a small network). I was wondering if it was okay to do a blocking recv in each independent thread. Of course, since each