Skip to content

Commit 1df6bdd

Browse files
committed
schizo/alps: set orte_bound_at_launch when launched with aprun
Set the orte_bound_at_launch MCA variable. This resolves a launch performance bug when using aprun to launch Open MPI processes. If this variable is not set it can take minutes longer to launch with high ppn. Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 3b912ea commit 1df6bdd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

orte/mca/schizo/alps/schizo_alps.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ static orte_schizo_launch_environ_t check_launch_environment(void)
6161
myenv = ORTE_SCHIZO_NATIVE_LAUNCHED;
6262
opal_argv_append_nosize(&pushed_envs, OPAL_MCA_PREFIX"ess");
6363
opal_argv_append_nosize(&pushed_vals, "pmi");
64+
/* do not try to bind when launched with aprun. there is a significant
65+
* launch performance penalty for hwloc at high ppn on knl */
66+
opal_argv_append_nosize(&pushed_envs, OPAL_MCA_PREFIX "orte_bound_at_launch");
67+
opal_argv_append_nosize(&pushed_vals, "true");
6468
goto setup;
6569
}
6670

0 commit comments

Comments
 (0)