File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,10 @@ int main(int argc, char** argv) {
11
11
MPI_Info info ;
12
12
MPI_Session s1 , s2 ;
13
13
14
- #if 0
15
- /* need PR https://github.com/open-mpi/ompi/pull/12868 to be merged in
16
- * before this can be uncommented.
17
- */
18
14
MPI_Info_create (& info );
19
- #endif
20
15
MPI_Session_init (MPI_INFO_NULL , MPI_ERRORS_RETURN , & s1 );
21
16
MPI_Session_finalize (& s1 );
22
17
MPI_Session_init (MPI_INFO_NULL , MPI_ERRORS_RETURN , & s2 );
23
18
MPI_Session_finalize (& s2 );
19
+ MPI_Info_free (& info );
24
20
}
Original file line number Diff line number Diff line change @@ -954,13 +954,6 @@ static int ompi_mpi_instance_finalize_common (void)
954
954
955
955
ompi_mpi_instance_release ();
956
956
957
- if (0 == opal_initialized ) {
958
- /* if there is no MPI_T_init_thread that has been MPI_T_finalize'd,
959
- * then be gentle to the app and release all the memory now (instead
960
- * of the opal library destructor */
961
- opal_class_finalize ();
962
- }
963
-
964
957
return OMPI_SUCCESS ;
965
958
}
966
959
You can’t perform that action at this time.
0 commit comments