Skip to content

Commit 9949e42

Browse files
authored
Merge pull request #11816 from wzamazon/fix_ompi_param_mpi3_compat
runtime/params: set ompi_mpi_compat_mpi3 to true by default
2 parents 7b87ae4 + 67a71fc commit 9949e42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ompi/runtime/ompi_mpi_params.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ bool ompi_async_mpi_finalize = false;
8383
uint32_t ompi_add_procs_cutoff = OMPI_ADD_PROCS_CUTOFF_DEFAULT;
8484
bool ompi_mpi_dynamics_enabled = true;
8585

86-
bool ompi_mpi_compat_mpi3 = false;
86+
bool ompi_mpi_compat_mpi3 = true;
8787

8888
char *ompi_mpi_spc_attach_string = NULL;
8989
bool ompi_mpi_spc_dump_enabled = false;
@@ -362,7 +362,7 @@ int ompi_mpi_register_params(void)
362362
MCA_BASE_VAR_SYN_FLAG_DEPRECATED);
363363
}
364364

365-
ompi_mpi_compat_mpi3 = false;
365+
ompi_mpi_compat_mpi3 = true;
366366
(void) mca_base_var_register("ompi", "mpi", NULL, "compat_mpi3",
367367
"A boolean value for whether Open MPI operates in MPI-3 compatibility mode; this changes the following behavior: in operations without a handle, errors are raised on (true) MPI_COMM_WORLD (MPI-3 behavior) or (false) MPI_COMM_SELF (MPI-4 behavior).",
368368
MCA_BASE_VAR_TYPE_BOOL, NULL, 0, 0,

ompi/runtime/params.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ OMPI_DECLSPEC extern int ompi_mpi_abort_delay;
123123
/**
124124
* Whether we operate in MPI3 compatibility, or MPI4 mode (default).
125125
*
126-
* true: use MPI3 compatibility
127-
* false: use MPI4 compatibility (default)
126+
* true: use MPI3 compatibility (default)
127+
* false: use MPI4 compatibility
128128
*
129129
* Behavioral changes:
130130
* - errors in operations without a handle are raised on MPI_COMM_WORLD (MPI-3 behavior) or MPI_COMM_SELF (MPI-4 behavior)

0 commit comments

Comments
 (0)