Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add flag to provide an optional barrier in MPI_Finalize.
authorAugustin Degomme <adegomme@users.noreply.github.com>
Thu, 27 May 2021 13:40:44 +0000 (15:40 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Thu, 27 May 2021 14:35:05 +0000 (16:35 +0200)
commit4f73307dec9bb2568a4fc8df9fd8ea5c988a2b2a
tree9048dbb661a8b51195d823fa97794aa5e3bbba24
parent5e9351c7145890c8105dd81af2f09cd6dc50383f
Add flag to provide an optional barrier in MPI_Finalize.
This is meant to help for codes which can aggressively cleanup memory at finalization, while other processes still have to use it.
For example when attributes are attached to a local communicator, in SMPI this communicator may be cleaned up by another process in the end, and the attribute has to still be valid at this point.
This was an issue with PETSC, for example.
src/smpi/bindings/smpi_pmpi.cpp
src/smpi/internals/smpi_config.cpp