Required preCICE version in the preCICE configuration file #2004
Labels
configuration
Related to the preCICE configuration
usability
This issue will make preCICE easier for non-expert users
At the moment, when a user tries to use a preCICE v2 configuration file with preCICE v3 (or the reverse), they will just get errors regarding unknown configuration tags.
Since we keep the config compatible in the same preCICE major version, but then also often change it with each major version, I think it would be very helpful to add a
<precice-version major="3">
tag, which we could then check and throw a proper error.We could even extend that to something like
<precice-version major="3" minor="5">
to signify that a feature mentioned in this config requires preCICE v3, but at least v3.5.Retrospectively, we could implement a simple error message that looks for old keywords and complains that
This configuration file was probably made for preCICE v1, but you are using preCICE v3.2.0
.Questions:
The text was updated successfully, but these errors were encountered: