Ticket #6436: aelaguizy_mpi_destructor.patch
File aelaguizy_mpi_destructor.patch, 446 bytes (added by , 11 years ago) |
---|
-
communicator.hpp
diff -dur mpi/communicator.hpp mpi_new/communicator.hpp
old new 871 871 { 872 872 int finalized; 873 873 BOOST_MPI_CHECK_RESULT(MPI_Finalized, (&finalized)); 874 if (!finalized )874 if (!finalized && MPI_COMM_NULL != *comm) 875 875 BOOST_MPI_CHECK_RESULT(MPI_Comm_free, (comm)); 876 876 delete comm; 877 877 }