Fix --without-hwloc builds
cmr=v1.7.4:reviewer=jsquyres This commit was SVN r30462.
Этот коммит содержится в:
родитель
c874ce3b61
Коммит
42eb0bbe1b
@ -364,6 +364,7 @@ static int orte_rmaps_base_open(mca_base_open_flag_t flags)
|
|||||||
orte_rmaps_base_print_mapping(orte_rmaps_base.mapping));
|
orte_rmaps_base_print_mapping(orte_rmaps_base.mapping));
|
||||||
return ORTE_ERR_SILENT;
|
return ORTE_ERR_SILENT;
|
||||||
}
|
}
|
||||||
|
#if OPAL_HAVE_HWLOC
|
||||||
/* if we were asked for multiple cpus/proc, then we have to
|
/* if we were asked for multiple cpus/proc, then we have to
|
||||||
* bind to those cpus - any other binding policy is an
|
* bind to those cpus - any other binding policy is an
|
||||||
* error
|
* error
|
||||||
@ -390,6 +391,7 @@ static int orte_rmaps_base_open(mca_base_open_flag_t flags)
|
|||||||
return ORTE_ERR_SILENT;
|
return ORTE_ERR_SILENT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Should we schedule on the local node or not? */
|
/* Should we schedule on the local node or not? */
|
||||||
|
@ -601,7 +601,9 @@ int orte_rmaps_base_compute_vpids(orte_job_t *jdata,
|
|||||||
return ORTE_SUCCESS;
|
return ORTE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if OPAL_HAVE_HWLOC
|
||||||
rankbyslot:
|
rankbyslot:
|
||||||
|
#endif
|
||||||
if (ORTE_RANK_BY_SLOT == ORTE_GET_RANKING_POLICY(map->ranking)) {
|
if (ORTE_RANK_BY_SLOT == ORTE_GET_RANKING_POLICY(map->ranking)) {
|
||||||
/* assign the ranks sequentially */
|
/* assign the ranks sequentially */
|
||||||
opal_output_verbose(5, orte_rmaps_base_framework.framework_output,
|
opal_output_verbose(5, orte_rmaps_base_framework.framework_output,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user