|
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.
|
17 |
| - * Copyright (c) 2013-2016 Intel, Inc. All rights reserved |
| 17 | + * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. |
18 | 18 | * Copyright (c) 2015 Mellanox Technologies, Inc.
|
19 | 19 | * All rights reserved.
|
20 | 20 | * Copyright (c) 2016 Research Organization for Information Science
|
|
37 | 37 | #include "ompi/runtime/params.h"
|
38 | 38 | #include "ompi/mca/rte/rte.h"
|
39 | 39 |
|
| 40 | +#include "opal/mca/pmix/base/base.h" |
40 | 41 | #include "opal/util/argv.h"
|
41 | 42 | #include "opal/util/output.h"
|
42 | 43 | #include "opal/util/show_help.h"
|
@@ -286,7 +287,11 @@ int ompi_mpi_register_params(void)
|
286 | 287 | MCA_BASE_VAR_SCOPE_READONLY,
|
287 | 288 | &ompi_mpi_dynamics_enabled);
|
288 | 289 |
|
289 |
| - ompi_async_mpi_init = false; |
| 290 | + if (opal_pmix_base_async_modex) { |
| 291 | + ompi_async_mpi_init = true; |
| 292 | + } else { |
| 293 | + ompi_async_mpi_init = false; |
| 294 | + } |
290 | 295 | (void) mca_base_var_register("ompi", "async", "mpi", "init",
|
291 | 296 | "Do not perform a barrier at the end of MPI_Init",
|
292 | 297 | MCA_BASE_VAR_TYPE_BOOL, NULL, 0, 0,
|
|
0 commit comments