SAMRAI icon indicating copy to clipboard operation
SAMRAI copied to clipboard

MPI_Attr_get problem.

Open humhang opened this issue 7 years ago • 0 comments

I was using SGI MPI and MPI_Attr_get cannot retrive MPI_TAG_UB for communicator except MPI_COMM_WORLD, as documented in BergerRigoutsos.C:967.

The if statement at Line 978, 987 is to ensure that attribute MPI_TAG_UB has been obtained. However SGI MPI will not set the attribute pointer (tag_upper_bound_ptr) to NULL if the attribute is not obtained.

We should check flag != 0

humhang avatar Oct 13 '18 00:10 humhang