cb-geo / mpm

CB-Geo High-Performance Material Point Method
https://www.cb-geo.com/research/mpm
Other
243 stars 83 forks source link

:wrench: Use default MPI_TAG to avoid mpi_tag overflow fixes #620 #622

Closed kks32 closed 4 years ago

kks32 commented 4 years ago

Describe the PR Using node id as the mpi_tag causes an overflow. Instead, we use the default tag of 0.

Related Issues/PRs This fixes #620 by using the default mpi_tag of 0. This OK because MPI guarantees the order of send, and we won't need the tag to identify the information. Order Messages are non-overtakinghttps://www.mpi-forum.org/docs/mpi-1.1/mpi-11-html/node41.html.