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

Commit fb9a133

Browse files
author
Ralph Castain
committed
Transfer across the -host number of slots
(cherry picked from commit open-mpi/ompi@3fbad2e)
1 parent efeac60 commit fb9a133

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orte/util/dash_host/dash_host.c

Lines changed: 2 additions & 0 deletions
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)