Commit e2aa8004 authored by COULAUD Olivier's avatar COULAUD Olivier

Change to MPI_THREAD_SERIALIZED

parent bddfa4ac
...@@ -239,12 +239,12 @@ public: ...@@ -239,12 +239,12 @@ public:
*/ */
FMpi( ) : communicator(0) { FMpi( ) : communicator(0) {
int provided = 0; int provided = 0;
FMpi::Assert( MPI_Init_thread(NULL,NULL, MPI_THREAD_MULTIPLE, &provided), __LINE__); FMpi::Assert( MPI_Init_thread(NULL,NULL, MPI_THREAD_SERIALIZED, &provided), __LINE__);
communicator = new FComm(MPI_COMM_WORLD); communicator = new FComm(MPI_COMM_WORLD);
} }
FMpi(int inArgc, char ** inArgv ) : communicator(0) { FMpi(int inArgc, char ** inArgv ) : communicator(0) {
int provided = 0; int provided = 0;
FMpi::Assert( MPI_Init_thread(&inArgc,&inArgv, MPI_THREAD_MULTIPLE, &provided), __LINE__); FMpi::Assert( MPI_Init_thread(&inArgc,&inArgv, MPI_THREAD_SERIALIZED, &provided), __LINE__);
communicator = new FComm(MPI_COMM_WORLD); communicator = new FComm(MPI_COMM_WORLD);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment