Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5312d731 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

control: Restore MPI_THREAD_MULTIPLE removed by !282 as SERIALIZED seems to be...

control: Restore MPI_THREAD_MULTIPLE removed by !282 as SERIALIZED seems to be insufficient to manage the datatypes
parent e82c18c7
No related branches found
No related tags found
1 merge request!373StarPU: Change the Tag management system
...@@ -102,12 +102,12 @@ int __chameleon_initpar(int ncpus, int ngpus, int nthreads_per_worker) ...@@ -102,12 +102,12 @@ int __chameleon_initpar(int ncpus, int ngpus, int nthreads_per_worker)
* In testings, only StarPU's internal thread performs * In testings, only StarPU's internal thread performs
* communications, and *then* Chameleon performs communications in * communications, and *then* Chameleon performs communications in
* the check step. */ * the check step. */
const int required = MPI_THREAD_SERIALIZED; const int required = MPI_THREAD_MULTIPLE;
if ( MPI_Init_thread( NULL, NULL, required, &provided ) != MPI_SUCCESS) { if ( MPI_Init_thread( NULL, NULL, required, &provided ) != MPI_SUCCESS) {
chameleon_fatal_error("CHAMELEON_Init", "MPI_Init_thread() failed"); chameleon_fatal_error("CHAMELEON_Init", "MPI_Init_thread() failed");
} }
if ( provided < required ) { if ( provided < required ) {
chameleon_fatal_error("CHAMELEON_Init", "MPI_Init_thread() was not able to provide the requested thread support"); chameleon_fatal_error("CHAMELEON_Init", "MPI_Init_thread() was not able to provide the requested thread support (MPI_THREAD_MULTIPLE), this may be an issue if the level provided is not enough for the underlying runtime system.");
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment