1
1
cmr=v1.8:reviewer=rhc

This commit was SVN r31248.
Этот коммит содержится в:
Ralph Castain 2014-03-27 14:16:54 +00:00
родитель 8ef2e746e6
Коммит 714cb8f573

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

@ -601,7 +601,7 @@ int orte_rmaps_rr_byobj(orte_job_t *jdata,
ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND); ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND);
return ORTE_ERR_NOT_FOUND; return ORTE_ERR_NOT_FOUND;
} }
if (orte_rmaps_base.cpus_per_rank > (orte_vpid_t)opal_hwloc_base_get_npus(node->topology, obj)) { if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology, obj)) {
orte_show_help("help-orte-rmaps-base.txt", "mapping-too-low", true, orte_show_help("help-orte-rmaps-base.txt", "mapping-too-low", true,
orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology, obj), orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology, obj),
orte_rmaps_base_print_mapping(orte_rmaps_base.mapping)); orte_rmaps_base_print_mapping(orte_rmaps_base.mapping));
@ -751,7 +751,7 @@ static int byobj_span(orte_job_t *jdata,
ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND); ORTE_ERROR_LOG(ORTE_ERR_NOT_FOUND);
return ORTE_ERR_NOT_FOUND; return ORTE_ERR_NOT_FOUND;
} }
if (orte_rmaps_base.cpus_per_rank > (orte_vpid_t)opal_hwloc_base_get_npus(node->topology, obj)) { if (orte_rmaps_base.cpus_per_rank > (int)opal_hwloc_base_get_npus(node->topology, obj)) {
orte_show_help("help-orte-rmaps-base.txt", "mapping-too-low", true, orte_show_help("help-orte-rmaps-base.txt", "mapping-too-low", true,
orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology, obj), orte_rmaps_base.cpus_per_rank, opal_hwloc_base_get_npus(node->topology, obj),
orte_rmaps_base_print_mapping(orte_rmaps_base.mapping)); orte_rmaps_base_print_mapping(orte_rmaps_base.mapping));