From fb9a133e0def9d7c47d1f8985483c33107e79ea2 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Mon, 8 Feb 2016 10:38:03 -0800 Subject: [PATCH] Transfer across the -host number of slots (cherry picked from commit open-mpi/ompi@3fbad2e2bd19b1c0fc0ee8191f31e1a31a7b4a01) --- orte/util/dash_host/dash_host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orte/util/dash_host/dash_host.c b/orte/util/dash_host/dash_host.c index d46e3e24f2..b1de288190 100644 --- a/orte/util/dash_host/dash_host.c +++ b/orte/util/dash_host/dash_host.c @@ -269,6 +269,8 @@ int orte_util_add_dash_host_nodes(opal_list_t *nodes, OPAL_OUTPUT_VERBOSE((1, orte_ras_base_framework.framework_output, "%s dashhost: found existing node %s on input list - ignoring", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), node->name)); + /* transfer across the number of slots */ + node->slots = nd->slots; if (ORTE_FLAG_TEST(nd, ORTE_NODE_FLAG_SLOTS_GIVEN)) { ORTE_FLAG_SET(node, ORTE_NODE_FLAG_SLOTS_GIVEN); }