Hi.
I installed preCICE and OpenFoam adapter on WSL Ubuntu 22.04.4 LTS. However when trying to run the quickstart tutorial, the run.sh in fluid-openfoam displayed the following error:
[precice] ERROR: The configuration contains an unknown tag . Expected tags are log, mesh, participant, profiling.
and with the commands cmake . && make in quickstart/solid-cpp, I’m getting:
fatal error: precice/SolverInterface.hpp: No such file or directory
3 | #include <precice/SolverInterface.hpp>
Thank you very much for your reply.
I installed v2.5.0
With openFoam adapter 1.2.3
And FeniCSprecice 1.4.9
pyprecise 2.5.0.5
The combination of versions wasn’t easy to find
As @fsimonis wrote, you most probably were using preCICE v3 but the tutorials for preCICE v2. It took us some time to release all components for preCICE v3, that’s why you got such confusing errors.
We have now added a better error message for the case of using an incompatible configuration, and we have edited the Quickstart tutorial documentation to refer to specific released versions, instead of branches. This should allow us in the future to only update all versions at once, without users downloading branches from the repositories.
We are also working on adding more information in the tutorials configuration files to more easily determine which preCICE version some configuration file was written for.