From 29b63fee81b17e9373535b17e89ac981528861ed Mon Sep 17 00:00:00 2001 From: Mike Dubman Date: Tue, 6 Sep 2011 06:38:57 +0000 Subject: [PATCH] better support of pml/cm for mxm This commit was SVN r25113. --- ompi/mca/pml/cm/pml_cm_component.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ompi/mca/pml/cm/pml_cm_component.c b/ompi/mca/pml/cm/pml_cm_component.c index 7584616005..b968d19259 100644 --- a/ompi/mca/pml/cm/pml_cm_component.c +++ b/ompi/mca/pml/cm/pml_cm_component.c @@ -155,9 +155,10 @@ mca_pml_cm_component_init(int* priority, if (OMPI_SUCCESS != ret) { *priority = -1; return NULL; - } else if(strcmp(ompi_mtl_base_selected_component->mtl_version.mca_component_name, "psm") == 0) { + } else if((strcmp(ompi_mtl_base_selected_component->mtl_version.mca_component_name, "psm") == 0) || + (strcmp(ompi_mtl_base_selected_component->mtl_version.mca_component_name, "mxm") == 0)) { /* - * If MTL is PSM then up our priority + * If MTL is PSM or MXM then up our priority * For every other communication layer having MTLs and BTLs, the user/admin * may still select PML/ob1 (BTLs) or PML/cm (MTLs) if preferable for the app/site. */