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) {
1111 MPI_Info info ;
1212 MPI_Session s1 , s2 ;
1313
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- */
1814 MPI_Info_create (& info );
19- #endif
2015 MPI_Session_init (MPI_INFO_NULL , MPI_ERRORS_RETURN , & s1 );
2116 MPI_Session_finalize (& s1 );
2217 MPI_Session_init (MPI_INFO_NULL , MPI_ERRORS_RETURN , & s2 );
2318 MPI_Session_finalize (& s2 );
19+ MPI_Info_free (& info );
2420}
Original file line number Diff line number Diff line change @@ -954,13 +954,6 @@ static int ompi_mpi_instance_finalize_common (void)
954954
955955 ompi_mpi_instance_release ();
956956
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-
964957 return OMPI_SUCCESS ;
965958}
966959
You can’t perform that action at this time.
0 commit comments