Stash communicators previously used for external packages so that they may be reused.
Previously we used MPI_Comm_dup() and free() but for some MPI implementations including MPI Spectrum the MPI_Com
Stash communicators previously used for external packages so that they may be reused.
Previously we used MPI_Comm_dup() and free() but for some MPI implementations including MPI Spectrum the MPI_Comm_free() does not actually return the communicator so eventually they run out.
Commit-type: portability-fix \spend 3h Reported-by: Elias Karabelas <elias.karabelas@uni-graz.at>
show more ...
|