[mvapich-discuss] mpi_isend/recv in multi-threaded program

Sandeep Gupta gupta.sandeep at gmail.com
Sat Nov 5 00:45:55 EDT 2011


Hi All,
I had a simple question regarding using MPI with pthreads.
Can  multiple threads call MPI_Isend/Irecv?  That is is MPI_Isend/Irecv
thread-save.
Do I have to use THREAD_SUPPORT_MULTIPLE?
I am asking because i have found that MPI_send/recv under
THREAD_SUPPORT_MULTIPLE has huge impact on performance.
Other I like the convenience of writing program using
THREAD_SUPPORT_MULTIPLE.

Best,
Sandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20111104/a9f13314/attachment.html


More information about the mvapich-discuss mailing list