From 3a372a65b84bcb22ea305a70b017e26387639b63 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 15 May 2013 13:45:00 +0000 Subject: [PATCH] Mapping policies must be tested as equalities as they are values, not bitmasks This commit was SVN r28526. --- orte/mca/rmaps/staged/rmaps_staged.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/rmaps/staged/rmaps_staged.c b/orte/mca/rmaps/staged/rmaps_staged.c index 7224ebe13d..8f44435968 100644 --- a/orte/mca/rmaps/staged/rmaps_staged.c +++ b/orte/mca/rmaps/staged/rmaps_staged.c @@ -56,7 +56,7 @@ static int staged_mapper(orte_job_t *jdata) /* only use this mapper if it was specified */ if (NULL == jdata->map->req_mapper || 0 != strcasecmp(jdata->map->req_mapper, c->mca_component_name) || - !(ORTE_MAPPING_STAGED & ORTE_GET_MAPPING_POLICY(jdata->map->mapping))) { + ORTE_MAPPING_STAGED != ORTE_GET_MAPPING_POLICY(jdata->map->mapping)) { /* I wasn't specified */ opal_output_verbose(5, orte_rmaps_base_framework.framework_output, "mca:rmaps:staged: job %s not using staged mapper",