1
1

In MPMD case, add slots given to each of the executables instead of overwriting

Этот коммит содержится в:
Ralph Castain 2016-05-15 08:55:43 -07:00
родитель 7f65c2b18e
Коммит ca69403cc8

@ -266,13 +266,12 @@ int orte_util_add_dash_host_nodes(opal_list_t *nodes,
if (0 == strcmp(nd->name, node->name)) {
found = true;
OPAL_OUTPUT_VERBOSE((1, orte_ras_base_framework.framework_output,
"%s dashhost: found existing node %s on input list - ignoring",
"%s dashhost: found existing node %s on input list - adding slots",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), node->name));
/* transfer across the number of slots */
node->slots = nd->slots;
node->slots += nd->slots;
if (ORTE_FLAG_TEST(nd, ORTE_NODE_FLAG_SLOTS_GIVEN)) {
ORTE_FLAG_SET(node, ORTE_NODE_FLAG_SLOTS_GIVEN);
node->slots = nd->slots;
}
break;
}