3 Jun
2012
3 Jun
'12
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