[mpi] multithreaded/funneled messaging

22 May
2012
22 May
'12
8:23 p.m.
Hi all - Is boost.mpi able to work with MPI_THREAD_MULTIPLE? If so, how is it specified? Thanks, Brian

3 Jun
3 Jun
1:29 p.m.
On May 22, 2012, at 4:23 PM, Brian Budge wrote:
Hi all -
Is boost.mpi able to work with MPI_THREAD_MULTIPLE? If so, how is it specified?
Thanks, Brian
Hi Brian, You need to intiialize Boost.MPI not by creating a boost::mpi::environment object but by directly calling the C API function MPI_Init_thread. You will also need to be careful with threading, since you might get mismatches between probes and receives of messages if multiple threads handle the same message. Matthias
4647
Age (days ago)
4659
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brian Budge
-
Matthias Troyer