Skip to content
Snippets Groups Projects
Markus Blatt's avatar
Markus Blatt authored
With OpenMPI there appeared cases where MPI_Comm_free
was called after MPI_Finalize. This was caused by the
destructor of OwnerOverlapCopyCommunication being called
after MPI_Finalize.
This patch moves the destruction out of the main method.
If MPI 2 functionality is available we also check whether
MPI_Finalize was called before freeing the communicator and
only call free if not.
033377ca
History
Name Last commit Last update
..
istl
.gitignore
CMakeLists.txt
Makefile.am