Bozo check for topology info
This commit was SVN r25398.
Этот коммит содержится в:
родитель
4232115a98
Коммит
d492b20975
@ -69,3 +69,13 @@ this topology can support:
|
||||
PPR: %s
|
||||
|
||||
Please revise the conflict and try again.
|
||||
#
|
||||
[ppr-topo-missing]
|
||||
A ppr pattern was specified, but the topology information
|
||||
for the following node is missing:
|
||||
|
||||
Node: %s
|
||||
|
||||
Please ensure that vm launch mode is enabled, either via the
|
||||
-vm option to mpirun or using the orte_vm_launch MCA
|
||||
parameter.
|
||||
|
@ -129,6 +129,13 @@ static int ppr(orte_job_t *jdata)
|
||||
/* cycle across the nodes */
|
||||
nprocs_mapped = 0;
|
||||
while (NULL != (node = (orte_node_t*)opal_list_remove_first(&node_list))) {
|
||||
/* bozo check */
|
||||
if (NULL == node->topology) {
|
||||
orte_show_help("help-orte-rmaps-ppr.txt", "ppr-topo-missing",
|
||||
true, node->name);
|
||||
rc = ORTE_ERR_SILENT;
|
||||
goto error;
|
||||
}
|
||||
/* add the node to the map */
|
||||
if (ORTE_SUCCESS > (rc = opal_pointer_array_add(jdata->map->nodes, (void*)node))) {
|
||||
ORTE_ERROR_LOG(rc);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user