[mvapich-discuss] MPI_THREAD_MULTIPLE not working

Justin Luitjens jluitjens at nvidia.com
Wed Oct 16 13:24:09 EDT 2013


I am trying to get MPI_THREAD_MULTIPLE working in mvapich2-2.0a.  I have configured with the following options:

./configure --prefix=/home/jluitjens/libs/mvapich/ --enable-threads=runtime --enable-cuda --enable-shared --with-cuda=/shared/apps/cuda/CUDA-v5.5.22

This configures and builds fine.  However, when I try a simple application I see that I do not get MPI_THREAD_MULTIPLE support.

#include <stdio.h>
int main(int argc, char** argv) {

  int provided;
  MPI_Init_thread(&argc,&argv,MPI_THREAD_MULTIPLE,&provided);
  if(provided!=MPI_THREAD_MULTIPLE) {
    printf("Error thread level requested: %d, provided: %d\n", MPI_THREAD_MULTIPLE,provided);
   exit(0);
  }
}

I have also tried the configure option --enable-threads=multiple and that did not help.

Do you have any suggestions on configure options I should try to get MPI_THREAD_MULTIPLE to work?

Thanks,
Justin


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20131016/9713261b/attachment.html>


More information about the mvapich-discuss mailing list