Even if we don't find the default hostfile, and nothing else was provided, then use all the known nodes.
cmr:v1.7.3:#3653:reviewer=jsquyres cmr:v1.6.6:#3654:reviewer=jsquyres This commit was SVN r28718.
Этот коммит содержится в:
родитель
443a6802b9
Коммит
62378209f0
@ -218,19 +218,13 @@ int orte_rmaps_base_get_target_nodes(opal_list_t *allocated_nodes, orte_std_cntr
|
|||||||
goto addknown;
|
goto addknown;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* if nothing else was available, then use the local host */
|
/* if nothing else was available, then use all known nodes, which
|
||||||
|
* will include ourselves
|
||||||
|
*/
|
||||||
OPAL_OUTPUT_VERBOSE((5, orte_rmaps_base_framework.framework_output,
|
OPAL_OUTPUT_VERBOSE((5, orte_rmaps_base_framework.framework_output,
|
||||||
"%s using local host",
|
"%s using known nodes",
|
||||||
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME)));
|
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME)));
|
||||||
node = (orte_node_t*)opal_pointer_array_get_item(orte_node_pool, 0);
|
goto addknown;
|
||||||
OBJ_RETAIN(node);
|
|
||||||
opal_list_append(allocated_nodes, &node->super);
|
|
||||||
OBJ_DESTRUCT(&nodes);
|
|
||||||
if (initial_map) {
|
|
||||||
/* mark the node as not in the map */
|
|
||||||
node->mapped = false;
|
|
||||||
}
|
|
||||||
goto complete;
|
|
||||||
}
|
}
|
||||||
/** if we still don't have anything */
|
/** if we still don't have anything */
|
||||||
if (0 == opal_list_get_size(&nodes)) {
|
if (0 == opal_list_get_size(&nodes)) {
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user