Skip to content

Conversation

@jsquyres
Copy link
Member

During MPI_Finalize delete all predefined attributes from MPI_COMM_WORLD, before deleting the attributes placeholder. Note that user-defined attributes that were still attached to MPI_COMM_WORLD will leak.

Fixes #12035.

Signed-off-by: George Bosilca [email protected]
(cherry picked from commit b79004e)

This is the v5.0.x PR corresponding to main PR #12068

During MPI_Finalize delete all predefined attributes from
MPI_COMM_WORLD, before deleting the attributes placeholder. Note that
user-defined attributes that were still attached to MPI_COMM_WORLD will
leak.

Fixes open-mpi#12035.

Signed-off-by: George Bosilca <[email protected]>
(cherry picked from commit b79004e)
@github-actions github-actions bot added this to the v5.0.1 milestone Nov 15, 2023
@janjust janjust merged commit a6e8305 into open-mpi:v5.0.x Nov 16, 2023
@jsquyres jsquyres deleted the pr/v5.0.x/fix-attribute-deletion-on-comm-world-during-finalize-ie-dont-do-it branch November 17, 2023 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OMPI-5.0 error in MPI_Finalize() with user's comm_delete_attr_fn calling MPI

3 participants