Skip to content

Commit e445d47

Browse files
committed
ess/base: be sure to update the routing tree
so any tree spawn operation properly gets the number of children underneath us. This commit is a tiny subset of 347ca41 that should have been back-ported into the v3.0.x branch Fixes #4578 Thanks to Carlos Eduardo de Andrade for reporting. Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent fdc6759 commit e445d47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

orte/mca/ess/base/ess_base_std_orted.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,9 @@ int orte_ess_base_orted_setup(void)
533533
error = "construct nidmap";
534534
goto error;
535535
}
536+
/* be sure to update the routing tree so any tree spawn operation
537+
* properly gets the number of children underneath us */
538+
orte_routed.update_routing_plan(NULL);
536539
}
537540

538541
if (orte_static_ports) {

0 commit comments

Comments
 (0)