SGpp / DisCoTec

MPI-based code for distributed HPC simulations with the sparse grid combination technique. Docs->(https://discotec.readthedocs.io/)
https://sparsegrids.org/
GNU Lesser General Public License v3.0
8 stars 7 forks source link

Fix MPI file access modes that should be combined with bit vector OR #72

Closed cniethammer closed 1 year ago

cniethammer commented 1 year ago

The MPI 4.0 standard (p.646) specifies that access modes are 'a bit vector OR'. So do not rely on sum to work.