Skip to content

Commit 309c967

Browse files
author
rhc54
authored
Merge pull request #2536 from ggouaillardet/topic/ess_base_update_routing_plan
ess/base: invoke orte_routed.update_routing_plan() earlier
2 parents f95f11d + 123036d commit 309c967

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

orte/mca/ess/base/ess_base_std_orted.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,12 @@ int orte_ess_base_orted_setup(char **hosts)
493493
goto error;
494494
}
495495

496+
/* be sure to update the routing tree so the initial "phone home"
497+
* to mpirun goes through the tree if static ports were enabled - still
498+
* need to do it anyway just to initialize things
499+
*/
500+
orte_routed.update_routing_plan(NULL);
501+
496502
/* if we are using static ports, then we need to setup
497503
* the daemon info so the RML can function properly
498504
* without requiring a wireup stage. This must be done
@@ -509,12 +515,6 @@ int orte_ess_base_orted_setup(char **hosts)
509515
error = "construct daemon map from static ports";
510516
goto error;
511517
}
512-
} else {
513-
/* be sure to update the routing tree so the initial "phone home"
514-
* to mpirun goes through the tree if static ports were enabled - still
515-
* need to do it anyway just to initialize things
516-
*/
517-
orte_routed.update_routing_plan(NULL);
518518
}
519519

520520
/* Now provide a chance for the PLM

0 commit comments

Comments
 (0)