Skip to content

Commit a992820

Browse files
authored
Merge pull request #10937 from hppritcha/session_finalize_after_finalize_fix
sessions: fix comm cleanup during mpi_finalize
2 parents 0349a5d + 6341a83 commit a992820

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/communicator/comm_init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ static int ompi_comm_finalize (void)
326326
OBJ_DESTRUCT( &ompi_mpi_comm_self );
327327
/* Shut down MPI_COMM_WORLD */
328328
OBJ_DESTRUCT( &ompi_mpi_comm_world );
329+
330+
ompi_comm_intrinsic_init = false;
329331
}
330332

331333
/* Shut down the parent communicator, if it exists */

0 commit comments

Comments
 (0)