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 1
1
/*
2
2
* Copyright (c) 2016-2017 Intel, Inc. All rights reserved.
3
3
* 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.
5
5
* $COPYRIGHT$
6
6
*
7
7
* Additional copyrights may follow
@@ -78,6 +78,13 @@ static orte_schizo_launch_environ_t check_launch_environment(void)
78
78
* If we did then the logic should be placed here.
79
79
*/
80
80
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
+
81
88
opal_output_verbose (1 , orte_schizo_base_framework .framework_output ,
82
89
"schizo:jsm DECLARED AS %s" , orte_schizo_base_print_env (myenv ));
83
90
if (NULL != pushed_envs ) {
You can’t perform that action at this time.
0 commit comments