Skip to content

Commit b475bc9

Browse files
committed
MPI_T_init_thread() fixup.
- When MPI_Init() is already called, the var will go through registration twice, calling OBJ_DESTRUCT() on this global struct. Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
1 parent 418081e commit b475bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/runtime/ompi_mpi_params.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ int ompi_mpi_register_params(void)
111111
value = 0;
112112
(void) mca_base_var_register ("ompi", "mpi", "ft", "verbose",
113113
"Verbosity level of the ULFM MPI Fault Tolerance framework",
114-
MCA_BASE_VAR_TYPE_INT, &mca_base_var_enum_verbose, 0, MCA_BASE_VAR_FLAG_SETTABLE,
114+
MCA_BASE_VAR_TYPE_INT, NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,
115115
OPAL_INFO_LVL_8, MCA_BASE_VAR_SCOPE_LOCAL, &value);
116116
#if OPAL_ENABLE_FT_MPI
117117
if( 0 < value ) {

0 commit comments

Comments
 (0)