From 51acbf738e50d7922060b57e382578295fefdcac Mon Sep 17 00:00:00 2001 From: Ralph H Castain Date: Sat, 6 Oct 2018 15:58:45 +0000 Subject: [PATCH] Fix map-by node for comm_spawn Do not reorder the available host list as this causes the head node process assignment to differ from those computed on the other nodes Signed-off-by: Ralph H Castain --- orte/mca/rmaps/base/rmaps_base_support_fns.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/orte/mca/rmaps/base/rmaps_base_support_fns.c b/orte/mca/rmaps/base/rmaps_base_support_fns.c index 2b60b30408..bef4ff8229 100644 --- a/orte/mca/rmaps/base/rmaps_base_support_fns.c +++ b/orte/mca/rmaps/base/rmaps_base_support_fns.c @@ -653,20 +653,11 @@ orte_node_t* orte_rmaps_base_get_starting_point(opal_list_t *node_list, } } - process: + process: OPAL_OUTPUT_VERBOSE((5, orte_rmaps_base_framework.framework_output, "%s Starting at node %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ((orte_node_t*)cur_node_item)->name)); - /* make life easier - put the bookmark at the top of the list, - * shifting everything above it to the end of the list while - * preserving order - */ - while (cur_node_item != (item = opal_list_get_first(node_list))) { - opal_list_remove_item(node_list, item); - opal_list_append(node_list, item); - } - return (orte_node_t*)cur_node_item; }