LLNL / SAMRAI

Structured Adaptive Mesh Refinement Application Infrastructure - a scalable C++ framework for block-structured AMR application development
https://computing.llnl.gov/projects/samrai
Other
220 stars 80 forks source link

Keep MPI tags in Connector algorithm classes constant #209

Closed nselliott closed 2 years ago

nselliott commented 2 years ago

MappingConnectorAlgorithm and OverlapConnectorAlgorithm used a constantly increasing static value for the MPI tags used in sends and receives, so that each invocation used a unique value. This may have been necessary in the past, but is not now, since we have strict error-checking to ensure that there are no stray messages lingering for any tag value. The increasing values risk surpassing upper bounds for valid values of the MPI tags.