switch to ompi_mpi_thread_provided for ts check
Use ompi_mpi_thread_provided rather than opal_using_threads macro to check whether MPI_THREAD_MULTIPLE is being used. This commit was SVN r32815.
Этот коммит содержится в:
родитель
7069f2361a
Коммит
0f74467264
@ -2896,7 +2896,7 @@ mca_coll_ml_comm_query(struct ompi_communicator_t *comm, int *priority)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opal_using_threads()) {
|
if (MPI_THREAD_MULTIPLE == ompi_mpi_thread_provided) {
|
||||||
ML_VERBOSE(10, ("coll:ml: MPI_THREAD_MULTIPLE not suppported; skipping this component"));
|
ML_VERBOSE(10, ("coll:ml: MPI_THREAD_MULTIPLE not suppported; skipping this component"));
|
||||||
*priority = -1;
|
*priority = -1;
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user