1
1

Mapping policies must be tested as equalities as they are values, not bitmasks

This commit was SVN r28526.
Этот коммит содержится в:
Ralph Castain 2013-05-15 13:45:00 +00:00
родитель 29e4b0cc50
Коммит 3a372a65b8

Просмотреть файл

@ -56,7 +56,7 @@ static int staged_mapper(orte_job_t *jdata)
/* only use this mapper if it was specified */ /* only use this mapper if it was specified */
if (NULL == jdata->map->req_mapper || if (NULL == jdata->map->req_mapper ||
0 != strcasecmp(jdata->map->req_mapper, c->mca_component_name) || 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 */ /* I wasn't specified */
opal_output_verbose(5, orte_rmaps_base_framework.framework_output, opal_output_verbose(5, orte_rmaps_base_framework.framework_output,
"mca:rmaps:staged: job %s not using staged mapper", "mca:rmaps:staged: job %s not using staged mapper",