SAMRAI icon indicating copy to clipboard operation
SAMRAI copied to clipboard

BergerRigoutsos gets incorrect MPI_TAG_UB

Open humhang opened this issue 2 years ago • 0 comments

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.

humhang avatar Nov 13 '23 07:11 humhang