Skip to content

v5.0.x: Correctly handle attributes on MPI_COMM_WORLD. #12072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 bosilca@icl.utk.edu
(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 <bosilca@icl.utk.edu>
(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