From 1df6bdd30ef611c14527732f589f65c0d3292989 Mon Sep 17 00:00:00 2001 From: Nathan Hjelm Date: Tue, 14 Feb 2017 11:13:48 -0700 Subject: [PATCH] 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 --- orte/mca/schizo/alps/schizo_alps.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/orte/mca/schizo/alps/schizo_alps.c b/orte/mca/schizo/alps/schizo_alps.c index b20ab9185d..c1e65c4569 100644 --- a/orte/mca/schizo/alps/schizo_alps.c +++ b/orte/mca/schizo/alps/schizo_alps.c @@ -61,6 +61,10 @@ static orte_schizo_launch_environ_t check_launch_environment(void) myenv = ORTE_SCHIZO_NATIVE_LAUNCHED; opal_argv_append_nosize(&pushed_envs, OPAL_MCA_PREFIX"ess"); opal_argv_append_nosize(&pushed_vals, "pmi"); + /* do not try to bind when launched with aprun. there is a significant + * launch performance penalty for hwloc at high ppn on knl */ + opal_argv_append_nosize(&pushed_envs, OPAL_MCA_PREFIX "orte_bound_at_launch"); + opal_argv_append_nosize(&pushed_vals, "true"); goto setup; }