Hello
I have openFOAM v1912 and am trying to install the openfoam-adapter_v1.0.0_OpenFOAM4_5_v1806 because I did not find one for v1912 but I get the exact same Allwmake.log
I am able to run cases in openFOAM so not sure why I am still getting this error.
Does this have something to do with the compiler or the first section of the Allwmake file that may require change?
that’s indeed not the correct adapter version for your OpenFOAM version. You can find all adapter versions here Releases · precice/openfoam-adapter · GitHub. The version on the bottom is the one you are looking for. Note that the dash -includes also all versions in between the mentioned one, meaning that the last adapter version is for all OpenFOAM versions starting from v1812 up to 2106
Hello @Makis
I was able to solve this issue; got some technical support to help. I would share the solution however, I am not sure how they solved the problem; still following up.
To test the installations, I tried running the perpendicular plate simulation. The Calculix side worked just fine and was waiting for coupling but the fluid side just ran like a regular OpenFOAM simulation.
Does this still entail an issue with the OpenFOAM adapter? the installation? Or do I have to change something in the run.sh file?
As far as I understand, you built preCICE from source manually, in some user directory and you did not afterwards install it to a system-known prefix (if you even configured any, which would have also configured pkg-config). This is the main reason everything else is difficult (not only with preCICE, but with any library that you build like this). Instead of building preCICE from source manually, you could use let Spack built preCICE for you. In any case, we also have a (maybe not very straight-forward) page for linking to preCICE.
If you don’t want to change anything related to you preCICE installation, you could do what I do, as I also build preCICE from source manually and don’t install it anywhere (to be able to easily switch between releases and development branches). In your ~/.bashrc, add something like:
this should cover most (if not all) cases. But again, as a user, you are not supposed to do this, but to use more proper methods, such as a package manager (APT on Ubuntu with admin rights, Spack on most other cases).