Howard --

Do you want to just check ompi_mpi_thread_provided (== MPI_THREAD_MULTIPLE), 
instead?


On Sep 29, 2014, at 5:02 PM, <svn-commit-mai...@open-mpi.org> 
<svn-commit-mai...@open-mpi.org> wrote:

> Author: hppritcha (Howard Pritchard)
> Date: 2014-09-29 17:02:15 EDT (Mon, 29 Sep 2014)
> New Revision: 32814
> URL: https://svn.open-mpi.org/trac/ompi/changeset/32814
> 
> Log:
> disqualify coll ml for MPI_THREAD_MULTIPLE
> 
> Text files modified: 
>   trunk/ompi/mca/coll/ml/coll_ml_module.c |     7 +++++++                     
>             
>   1 files changed, 7 insertions(+), 0 deletions(-)
> 
> Modified: trunk/ompi/mca/coll/ml/coll_ml_module.c
> ==============================================================================
> --- trunk/ompi/mca/coll/ml/coll_ml_module.c   Mon Sep 29 15:26:33 2014        
> (r32813)
> +++ trunk/ompi/mca/coll/ml/coll_ml_module.c   2014-09-29 17:02:15 EDT (Mon, 
> 29 Sep 2014)      (r32814)
> @@ -2896,6 +2896,13 @@
>         return NULL;
>     }
> 
> +    if (opal_using_threads()) {
> +        ML_VERBOSE(10, ("coll:ml: MPI_THREAD_MULTIPLE not suppported; 
> skipping this component"));
> +        *priority = -1;
> +        return NULL;
> +    }
> +
> +
>     /* NTH: Disabled this check until we have a better one. */
> #if 0
>     if (!ompi_rte_proc_is_bound) {
> _______________________________________________
> svn-full mailing list
> svn-f...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/svn-full


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to