Skip to content
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

BergerRigoutsos gets incorrect MPI_TAG_UB #246

Open
humhang opened this issue Nov 13, 2023 · 0 comments
Open

BergerRigoutsos gets incorrect MPI_TAG_UB #246

humhang opened this issue Nov 13, 2023 · 0 comments

Comments

@humhang
Copy link

humhang commented Nov 13, 2023

in SAMRAI/mesh/BergerRigoutsos.cpp, BergerRigoutsos::setupMPIDependentData(), one should check the value of flag instead of the returned attribute value pointer tag_upper_bound_ptr to determine whether MPI_Attr_get succeeds.

This should be a typo. If it fails, the flag is set to false but the attribute pointer can be anything, not necessarily being null, per MPI standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant