1
1

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.
Этот коммит содержится в:
Ralph Castain 2013-07-03 22:31:32 +00:00
родитель 443a6802b9
Коммит 62378209f0

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

@ -218,19 +218,13 @@ int orte_rmaps_base_get_target_nodes(opal_list_t *allocated_nodes, orte_std_cntr
goto addknown;
}
} 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,
"%s using local host",
"%s using known nodes",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME)));
node = (orte_node_t*)opal_pointer_array_get_item(orte_node_pool, 0);
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;
goto addknown;
}
/** if we still don't have anything */
if (0 == opal_list_get_size(&nodes)) {