File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11/*
22 * Copyright (c) 2016-2017 Intel, Inc. All rights reserved.
33 * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.
4- * Copyright (c) 2017-2019 IBM Corporation. All rights reserved.
4+ * Copyright (c) 2017-2020 IBM Corporation. All rights reserved.
55 * $COPYRIGHT$
66 *
77 * Additional copyrights may follow
@@ -78,6 +78,13 @@ static orte_schizo_launch_environ_t check_launch_environment(void)
7878 * If we did then the logic should be placed here.
7979 */
8080
81+ /* if we are direct-launched by JSM, then disable binding */
82+ opal_argv_append_nosize (& pushed_envs , OPAL_MCA_PREFIX "hwloc_base_binding_policy" );
83+ opal_argv_append_nosize (& pushed_vals , "none" );
84+ /* indicate we are externally bound so we won't try to do it ourselves */
85+ opal_argv_append_nosize (& pushed_envs , OPAL_MCA_PREFIX "orte_externally_bound" );
86+ opal_argv_append_nosize (& pushed_vals , "1" );
87+
8188 opal_output_verbose (1 , orte_schizo_base_framework .framework_output ,
8289 "schizo:jsm DECLARED AS %s" , orte_schizo_base_print_env (myenv ));
8390 if (NULL != pushed_envs ) {
You can’t perform that action at this time.
0 commit comments