I am trying a program in which I have 2 MPI nodes and each MPI node has
Main node-thread Receive Thread
goto LOOP; goto LOOP;
The thread-barrier ensures that the 2 threads complete the previous
iteration before moving ahead with this one.
I get the following error SOMETIMES (while sometimes the program runs
*** An error occurred in MPI_Recv
*** on communicator MPI_COMM_WORLD
*** MPI_ERR_TRUNCATE: message truncated
*** MPI_ERRORS_ARE_FATAL (goodbye)
Somewhere I read that MPI_THREAD_MULTIPLE is not properly tested with
OpenMPI. Can someone tell me whether I am making some mistake or is
there any bug with MPI_THREAD_MULTIPLE?
-Thanks and Regards,