Open MPI logo

Open MPI User's Mailing List Archives

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

From: smairal_at_[hidden]
Date: 2007-05-26 14:45:58


Hi,
        I want to use threads with OpenMPI such that the threads would
be able to call MPI functions. For this purpose, I am using
MPI_Init_thread with MPI_THREAD_MULTIPLE option. But this function call
returns MPI_THREAD_SINGLE in the "provided" parameter indicating that
MPI_THREAD_MULTIPLE is not configured. Somewhere it is mentioned that
OpenMPI needs to be configured with --enable-mpi-threads inorder to use
MPI_THREAD_MULTIPLE. If true, is it possible to know whether the
OpenMPI (1.1.2)which I have already configured, has the option
"--enable-mpi-threads" already configured or not? Also, how easy or
difficult is it to configure --enable-mpi-threads option?
        Please share some information on this.

-Thanks and Regards,
Sarang.