|
10 | 10 | * University of Stuttgart. All rights reserved. |
11 | 11 | * Copyright (c) 2004-2005 The Regents of the University of California. |
12 | 12 | * All rights reserved. |
13 | | - * Copyright (c) 2006-2009 Cisco Systems, Inc. All rights reserved. |
| 13 | + * Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved. |
14 | 14 | * Copyright (c) 2007-2015 Los Alamos National Security, LLC. All rights |
15 | 15 | * reserved. |
16 | 16 | * Copyright (c) 2013 NVIDIA Corporation. All rights reserved. |
@@ -64,7 +64,10 @@ int ompi_mpi_event_tick_rate = -1; |
64 | 64 | char *ompi_mpi_show_mca_params_string = NULL; |
65 | 65 | bool ompi_mpi_have_sparse_group_storage = !!(OMPI_GROUP_SPARSE); |
66 | 66 | bool ompi_mpi_preconnect_mpi = false; |
67 | | -uint32_t ompi_add_procs_cutoff = 1024; |
| 67 | + |
| 68 | +#define OMPI_ADD_PROCS_CUTOFF_DEFAULT 0 |
| 69 | +uint32_t ompi_add_procs_cutoff = OMPI_ADD_PROCS_CUTOFF_DEFAULT; |
| 70 | +bool ompi_mpi_dynamics_enabled = true; |
68 | 71 |
|
69 | 72 | static bool show_default_mca_params = false; |
70 | 73 | static bool show_file_mca_params = false; |
@@ -262,12 +265,12 @@ int ompi_mpi_register_params(void) |
262 | 265 | ompi_rte_abort(1, NULL); |
263 | 266 | } |
264 | 267 |
|
265 | | - ompi_add_procs_cutoff = 1024; |
| 268 | + ompi_add_procs_cutoff = OMPI_ADD_PROCS_CUTOFF_DEFAULT; |
266 | 269 | (void) mca_base_var_register ("ompi", "mpi", NULL, "add_procs_cutoff", |
267 | 270 | "Maximum world size for pre-allocating resources for all " |
268 | 271 | "remote processes. Increasing this limit may improve " |
269 | | - "communication performance at the cost of memory usage " |
270 | | - "(default: 1024)", MCA_BASE_VAR_TYPE_UNSIGNED_INT, NULL, |
| 272 | + "communication performance at the cost of memory usage", |
| 273 | + MCA_BASE_VAR_TYPE_UNSIGNED_INT, NULL, |
271 | 274 | 0, 0, OPAL_INFO_LVL_3, MCA_BASE_VAR_SCOPE_LOCAL, |
272 | 275 | &ompi_add_procs_cutoff); |
273 | 276 |
|
|
0 commit comments