rmaps/mindist: better error message
better error message when there is only one socket available fixed by Elena, reviewed by Miked cmr=v1.7.5:reviewer=ompi-rm1.7 This commit was SVN r30787.
Этот коммит содержится в:
родитель
1dd20f397d
Коммит
8d4592a94b
@ -281,9 +281,12 @@ static int mindist_map(orte_job_t *jdata)
|
|||||||
"mca:rmaps:mindist: assigned %d procs to node %s",
|
"mca:rmaps:mindist: assigned %d procs to node %s",
|
||||||
j, node->name);
|
j, node->name);
|
||||||
} else {
|
} else {
|
||||||
|
if (hwloc_get_nbobjs_by_type(node->topology, HWLOC_OBJ_SOCKET) > 1) {
|
||||||
/* don't have info about pci locality */
|
/* don't have info about pci locality */
|
||||||
orte_show_help("help-orte-rmaps-md.txt", "orte-rmaps-mindist:no-pci-locality-info",
|
orte_show_help("help-orte-rmaps-md.txt", "orte-rmaps-mindist:no-pci-locality-info",
|
||||||
true, node->name);
|
true, node->name);
|
||||||
|
}
|
||||||
|
/* else silently switch to byslot mapper since distance info is irrelevant for this machine configuration */
|
||||||
ORTE_SET_MAPPING_POLICY(jdata->map->mapping, ORTE_MAPPING_BYSLOT);
|
ORTE_SET_MAPPING_POLICY(jdata->map->mapping, ORTE_MAPPING_BYSLOT);
|
||||||
rc = ORTE_ERR_TAKE_NEXT_OPTION;
|
rc = ORTE_ERR_TAKE_NEXT_OPTION;
|
||||||
goto error;
|
goto error;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user