|
22 | 22 | * and Technology (RIST). All rights reserved. |
23 | 23 | * Copyright (c) 2021 Triad National Security, LLC. All rights |
24 | 24 | * reserved. |
| 25 | + * Copyright (c) 2021 Nanook Consulting. All rights reserved. |
25 | 26 | * $COPYRIGHT$ |
26 | 27 | * |
27 | 28 | * Additional copyrights may follow |
@@ -91,7 +92,7 @@ static bool show_default_mca_params = false; |
91 | 92 | static bool show_file_mca_params = false; |
92 | 93 | static bool show_enviro_mca_params = false; |
93 | 94 | static bool show_override_mca_params = false; |
94 | | -static bool ompi_mpi_oversubscribe = false; |
| 95 | +bool ompi_mpi_oversubscribed = false; |
95 | 96 |
|
96 | 97 | #if OPAL_ENABLE_FT_MPI |
97 | 98 | int ompi_ftmpi_output_handle = 0; |
@@ -147,20 +148,7 @@ int ompi_mpi_register_params(void) |
147 | 148 | ompi_mpi_param_check = false; |
148 | 149 | } |
149 | 150 |
|
150 | | - /* |
151 | | - * opal_progress: decide whether to yield and the event library |
152 | | - * tick rate |
153 | | - */ |
154 | | - ompi_mpi_oversubscribe = false; |
155 | | - (void) mca_base_var_register("ompi", "mpi", NULL, "oversubscribe", |
156 | | - "Internal MCA parameter set by the runtime environment when oversubscribing nodes", |
157 | | - MCA_BASE_VAR_TYPE_BOOL, NULL, 0, 0, |
158 | | - OPAL_INFO_LVL_9, |
159 | | - MCA_BASE_VAR_SCOPE_READONLY, |
160 | | - &ompi_mpi_oversubscribe); |
161 | | - |
162 | 151 | /* yield if the node is oversubscribed and allow users to override */ |
163 | | - ompi_mpi_yield_when_idle |= ompi_mpi_oversubscribe; |
164 | 152 | (void) mca_base_var_register("ompi", "mpi", NULL, "yield_when_idle", |
165 | 153 | "Yield the processor when waiting for MPI communication (for MPI processes, will default to 1 when oversubscribing nodes)", |
166 | 154 | MCA_BASE_VAR_TYPE_BOOL, NULL, 0, 0, |
|
0 commit comments