I compile openfoam-v2112 with intel compile, and openfoam-adapter as well. openfoam is compiled successfully, but I got some error when compiling the openfoam-adater.
Building the OpenFOAM-preCICE adapter... If not already known by the system, preCICE may be located using: pkg-config --cflags libprecice = -I/home/tfblab/precice-2.3.0/work/include pkg-config --libs libprecice = -L/home/tfblab/precice-2.3.0/work/lib -lprecice Current OpenFOAM environment: WM_PROJECT = OpenFOAM WM_PROJECT_VERSION = v2112 The adapter will be built into /home/tfblab/OpenFOAM/tfblab-v2112/platforms/linux64IccDPInt32Opt/lib Additional preprocessor/compiler options: Building with WMake (see the wmake.log log file)... Compiling enabled on 4 cores wmake libso (openfoam-adapter_v1.1.0_OpenFOAMv1812-v2112-newer) Everything looks fine in wmake.log. === 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. See wmake.log and ldd.log for more details.
the compiled logs wmake.log and ldd.log are attached.
ldd.log (9.6 KB)
wmake.log (93 Bytes)
It seems that the symbol of libprecice.so and other symbol of openfoam can’t be found. But I have compile the deal.ii-adapter successfully. I think the precise is compiled right.
Could anyone help me out?