Incorrect context matching in configuration checks #1966
Labels
bug
preCICE does not behave the way we want and we should look into it (and fix it if possible)
configuration
Related to the preCICE configuration
Milestone
Describe your setup
preCICE Version: 6552ffa (develop)
Describe the problem
In the configuration step, the local participant has an additional context including the local rank and the total amount of parallel ranks, analogous to MPI comm rank and size.
This size only makes sense to check, when the currently configured participant actually matches the local participant.
We use incomplete checks in:
precice/src/m2n/config/M2NConfiguration.cpp
Lines 145 to 147 in 6552ffa
Introduced in bacb133
precice/src/mapping/config/MappingConfiguration.cpp
Lines 396 to 402 in 6552ffa
Introduced in 9245132
Expected behaviour
Correctly check these conditions.
The text was updated successfully, but these errors were encountered: