At step 4 of the quickstart page, when I execute ./Allwmake, I get this error message:
=== ERROR: Building completed with linking problems: there were undefined symbols. ===
Possible causes:
- Is preCICE discoverable at runtime? Check the content of ADAPTER_PKG_CONFIG_LIBS above.
from the essentially empty wmake.log, I assume that this is not a clean build (you can run ./Allclean first), as no targets were compiled this time. But I also assume that building itself went fine.
Now, from the bottom of your ldd.log, I get the following:
What I understand is that several dependencies are linking to OpenMPI, while some other dependencies are linking to another MPI version. I wonder, however, where the Fortran-related dependencies come from. Is this just OpenFOAM, or something else?
Unfortunately, linking to MPI is usually a bit messy, since all dependencies need to use the same MPI version (this is not specific to preCICE or the adapter, but a general problem). So, you can try enforcing the same MPI version for OpenFOAM and the rest of the dependencies.