Skip to content

Commit 51acbf7

Browse files
author
Ralph H Castain
committed
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 <rhc@open-mpi.org>
1 parent 39a5437 commit 51acbf7

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

orte/mca/rmaps/base/rmaps_base_support_fns.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -653,20 +653,11 @@ orte_node_t* orte_rmaps_base_get_starting_point(opal_list_t *node_list,
653653
}
654654
}
655655

656-
process:
656+
process:
657657
OPAL_OUTPUT_VERBOSE((5, orte_rmaps_base_framework.framework_output,
658658
"%s Starting at node %s",
659659
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),
660660
((orte_node_t*)cur_node_item)->name));
661661

662-
/* make life easier - put the bookmark at the top of the list,
663-
* shifting everything above it to the end of the list while
664-
* preserving order
665-
*/
666-
while (cur_node_item != (item = opal_list_get_first(node_list))) {
667-
opal_list_remove_item(node_list, item);
668-
opal_list_append(node_list, item);
669-
}
670-
671662
return (orte_node_t*)cur_node_item;
672663
}

0 commit comments

Comments
 (0)