Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] using MPI_Recv in two different threads.
From: Hamilton Fischer (fischerhamilton_at_[hidden])
Date: 2012-01-11 07:19:16

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 thread has one node, there is no problem with wrong recv's being picked up by other threads.