Thanks for your reply.
I verified from [OpenFOAM-6 adapter] Error during build: undefined symbols of dependencies that the adapter version I used previously was indeed v1.1.0.
I also tried to use v1.0.0 but get similar error. I am unable to upload the log file for some reason but I see the exactly the same list of undefined symbols at the end of ldd.log
:
undefined symbol: _ZN7precice15SolverInterface24setMeshTriangleWithEdgesEiiii (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterfaceC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ii (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface19isReadDataAvailableEv (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface20writeBlockScalarDataEiiPKiPKd (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice9constants22actionWriteInitialDataB5cxx11Ev (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice9constants30actionWriteIterationCheckpointB5cxx11Ev (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface19readBlockScalarDataEiiPKiPd (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface19markActionFulfilledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface9getMeshIDERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface17isCouplingOngoingEv (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface14initializeDataEv (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface19readBlockVectorDataEiiPKiPd (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface15setMeshVerticesEiiPKdPi (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterfaceD1Ev (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface16isActionRequiredERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface20writeBlockVectorDataEiiPKiPKd (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice9constants29actionReadIterationCheckpointB5cxx11Ev (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface10initializeEv (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface13getDimensionsEv (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface29getMeshVertexIDsFromPositionsEiiPKdPi (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface7advanceEd (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface20isTimeWindowCompleteEv (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZN7precice15SolverInterface8finalizeEv (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)
undefined symbol: _ZNK7precice15SolverInterface9getDataIDERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi (/gpfs/home/nkumar001/OpenFOAM/nkumar001-6/platforms/linux64GccDPInt32-spack/lib/libpreciceAdapterFunctionObject.so)