Installing preCICE on WSL ubuntu

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>

Please help

Hi,
he version of the tutorial you are using are still for the version 2 of preCICE.
Try the develop branch instead.

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

I’ll try the develop branch

If you are already running preCICE 2.5.0, then the tutorial version you were using is fine.
Your installation doesn’t seem to be detectable.

https://precice.org/installation-linking.html

You can find compatible combinations of versions in the specifications of the preCICE Distribution: The preCICE distribution | preCICE - The Coupling Library

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.