Hi @hkchm,
I don’t have any quick fix on top of my head, but what is happening here, is that the system cannot link the OpenFOAM adapter to preCICE (only) at runtime. When you run wmake
for the adapter, in the end it calls ldd <adapter>.so
, which reports these errors.
The deal.II adapter uses CMake, which usually takes care of such issues in a much better way.
Try setting in your ~/.bashrc
(or equivalent):
export LD_LIBRARY_PATH="/home/tfblab/precice-2.3.0/work/lib:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="/home/tfblab/precice-2.3.0/work/lib/pkgconfig:$PKG_CONFIG_PATH"
See also the page Linking to preCICE | preCICE - The Coupling Library
Note that preCICE v2.4.0 makes using preCICE from a local from-source build even easier: Highlights of the new preCICE release v2.4