Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 7f1300d

Browse files
committed
Merge pull request #953 from rhc54/cmr2.x/hosts
Transfer across the -host number of slots
2 parents a8fcaa8 + fb9a133 commit 7f1300d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orte/util/dash_host/dash_host.c

+2
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ int orte_util_add_dash_host_nodes(opal_list_t *nodes,
269269
OPAL_OUTPUT_VERBOSE((1, orte_ras_base_framework.framework_output,
270270
"%s dashhost: found existing node %s on input list - ignoring",
271271
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), node->name));
272+
/* transfer across the number of slots */
273+
node->slots = nd->slots;
272274
if (ORTE_FLAG_TEST(nd, ORTE_NODE_FLAG_SLOTS_GIVEN)) {
273275
ORTE_FLAG_SET(node, ORTE_NODE_FLAG_SLOTS_GIVEN);
274276
}

0 commit comments

Comments
 (0)