From 0f7446726468bbff9206674ea32953bfa181ec95 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Mon, 29 Sep 2014 22:20:35 +0000 Subject: [PATCH] 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. --- ompi/mca/coll/ml/coll_ml_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mca/coll/ml/coll_ml_module.c b/ompi/mca/coll/ml/coll_ml_module.c index 1f4eed987e..e3840fec20 100644 --- a/ompi/mca/coll/ml/coll_ml_module.c +++ b/ompi/mca/coll/ml/coll_ml_module.c @@ -2896,7 +2896,7 @@ mca_coll_ml_comm_query(struct ompi_communicator_t *comm, int *priority) 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")); *priority = -1; return NULL;