[mvapich-discuss] MPI_Init_thread failed!
Ji Wan
wanjime at gmail.com
Wed Jun 18 02:41:59 EDT 2014
Dear Developers,
I have an project which needs to using MPI functions in multiple threads,
so I have compiled `mvapich2-2.0rc2` using the following flags:
./configure LDFLAGS='-lstdc++' \
--disable-f77 --disable-fc \
--enable-g=dbg --disable-fast \
--enable-threads=multiple \
--enable-cuda --with-cuda=/usr/local/cuda
At the beginning of my program, I have the following code:
int provided;
int ret = MPI_Init_thread(&argc, &argv, *MPI_THREAD_MULTIPLE*, &*provided*
);
But after this code executed, the value in *provided* is *MPI_THREAD_SINGLE*,
not *MPI_THREAD_MULTIPLE*.
Would you please giving some suggestion to this problem?
--
Best regards,
Wan Ji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20140618/0dc34096/attachment.html>
More information about the mvapich-discuss
mailing list