Thank you @Makis
I used the new version to carry out my installation however I first got the following error:
Interface.H(8): catastrophic error: cannot open source file “precice/SolverInterface.hpp”
#include “precice/SolverInterface.hpp”
^
compilation aborted for Interface.C (code 4)
make: *** [Make/linux64IccDPInt32Opt/Interface.o] Error 4
I then changed this to the relevant path:
#include “…/precice-2.3.0-src/src/precice/SolverInterface.hpp”
Then it gave me a similar error for Adapter.H so I changed that path too however, it then gave me the following error:
Building with WMake (see the wmake.log log file)…\n
Compiling enabled on 4 cores
wmake libso (openfoam-adapter_v1.1.0_OpenFOAMv1812-v2112-newer)
icpc -std=c++11 -fp-trap=common -fp-model precise -DOPENFOAM=1912 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-unknown-pragmas -diag-disable 327,654,1125,1292,2289,2304,11062,11074,11076 -O3 -DNoRepository -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/finiteVolume/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/meshTools/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/transportModels/ -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/transportModels/incompressible/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/transportModels/compressible/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/transportModels/twoPhaseMixture/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/transportModels/interfaceProperties/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/thermophysicalModels/basic/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/TurbulenceModels/turbulenceModels/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/TurbulenceModels/compressible/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/TurbulenceModels/incompressible/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/triSurface/lnInclude -I…/ -IlnInclude -I. -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/OpenFOAM/lnInclude -I/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/src/OSspecific/POSIX/lnInclude -fPIC -shared -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64IccDPInt64Opt/Utilities.o Make/linux64IccDPInt64Opt/Interface.o Make/linux64IccDPInt64Opt/CouplingDataUser.o Make/linux64IccDPInt64Opt/CHT/Temperature.o Make/linux64IccDPInt64Opt/CHT/KappaEffective.o Make/linux64IccDPInt64Opt/CHT/HeatFlux.o Make/linux64IccDPInt64Opt/CHT/HeatTransferCoefficient.o Make/linux64IccDPInt64Opt/CHT/SinkTemperature.o Make/linux64IccDPInt64Opt/CHT/CHT.o Make/linux64IccDPInt64Opt/FSI/FSI.o Make/linux64IccDPInt64Opt/FSI/ForceBase.o Make/linux64IccDPInt64Opt/FSI/Force.o Make/linux64IccDPInt64Opt/FSI/Stress.o Make/linux64IccDPInt64Opt/FSI/Displacement.o Make/linux64IccDPInt64Opt/FSI/DisplacementDelta.o Make/linux64IccDPInt64Opt/FF/FF.o Make/linux64IccDPInt64Opt/FF/Velocity.o Make/linux64IccDPInt64Opt/FF/VelocityGradient.o Make/linux64IccDPInt64Opt/FF/Pressure.o Make/linux64IccDPInt64Opt/FF/PressureGradient.o Make/linux64IccDPInt64Opt/Adapter.o Make/linux64IccDPInt64Opt/preciceAdapterFunctionObject.o -L/home1/08321/mmr0230/OpenFOAM/OpenFOAM-v1912/platforms/linux64IccDPInt64Opt/lib
-lfiniteVolume -lmeshTools -lcompressibleTurbulenceModels -lincompressibleTurbulenceModels -limmiscibleIncompressibleTwoPhaseMixture -lprecice -o /home1/08321/mmr0230/OpenFOAM/mmr0230-v1912/platforms/linux64IccDPInt64Opt/lib/libpreciceAdapterFunctionObject.so
/opt/apps/gcc/6.3.0/bin/ld: cannot find -lprecice
make: *** [/home1/08321/mmr0230/OpenFOAM/mmr0230-v1912/platforms/linux64IccDPInt64Opt/lib/libpreciceAdapterFunctionObject.so] Error 1
Everything looks fine in wmake.log.
I saw this post Cannot find -lprecice and precice/SolverInterface.hpp - Installing preCICE - preCICE Forum on Discourse but still not sure what to do.
Would appreciate your help