diff --git a/control/control.c b/control/control.c index 374ec1c873b68005d31746575135b94b2c2805cd..af8de2390d25bac1285d290e726a044b559e6aa4 100644 --- a/control/control.c +++ b/control/control.c @@ -102,12 +102,12 @@ int __chameleon_initpar(int ncpus, int ngpus, int nthreads_per_worker) * In testings, only StarPU's internal thread performs * communications, and *then* Chameleon performs communications in * 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) { chameleon_fatal_error("CHAMELEON_Init", "MPI_Init_thread() failed"); } 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."); } } }