An error in the calculix-adapter installation

Hello everyone, I encountered this error while installing the adapter for Calculix. I don’t know how to solve it?
Terminal partical output situation:

mpicc -Wall -O3 -fopenmp -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -c adapter/PreciceInterface.c -o bin/PreciceInterface.o
g++ -std=c++11 -Wall -O3 -fopenmp -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -c adapter/ConfigReader.cpp -o bin/ConfigReader.o -lspooles -L/home/cj123/precice/lib -lprecice -lstdc++ -lyaml-cpp -larpack -llapack -lblas -lpthread -lm -lc
g++ -std=c++11 -Wall -O3 -fopenmp -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -c adapter/2D3DCoupling.cpp -o bin/2D3DCoupling.o -lspooles -L/home/cj123/precice/lib -lprecice -lstdc++ -lyaml-cpp -larpack -llapack -lblas -lpthread -lm -lc
g++ -std=c++11 -Wall -O3 -fopenmp -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -c adapter/OutputBuffer.cpp -o bin/OutputBuffer.o -lspooles -L/home/cj123/precice/lib -lprecice -lstdc++ -lyaml-cpp -larpack -llapack -lblas -lpthread -lm -lc
adapter/PreciceInterface.c:15:10: fatal error: precice/preciceC.h: No such file or directory
   15 | #include "precice/preciceC.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:87: bin/PreciceInterface.o] Error 1
make: *** Waiting for unfinished jobs....
adapter/2D3DCoupling.cpp:16:10: fatal error: precice/preciceC.h: No such file or directory
   16 | #include "precice/preciceC.h"
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:89: bin/2D3DCoupling.o] Error 1
#mpicc -Wall -O3 -fopenmp -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -c adapter/OutputBuffer.cpp -o bin/OutputBuffer.o -lspooles -L/home/cj123/precice/lib -lprecice -lstdc++ -lyaml-cpp -larpack -llapack -lblas -lpthread -lm -lc
#mpicc -Wall -O3 -fopenmp -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DUSE_MT -I./ -I./adapter -I/home/cj123/CalculiX/ccx_2.20/src -I/usr/include/spooles/ -I/home/cj123/precice/include  -I/usr/include/ -c adapter/ConfigReader.cpp -o bin/ConfigReader.o -lspooles -L/home/cj123/precice/lib -lprecice -lstdc++ -lyaml-cpp -larpack -llapack -lblas -lpthread -lm -lc
cj123@ubuntu:~/calculix-adapter-2.20.1$

Here is the version information of my dependencies, all installed using APT

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libyaml-cpp-dev is already the newest version (0.6.2-4ubuntu1).
libarpack2-dev is already the newest version (3.7.0-3).
libspooles-dev is already the newest version (2.2-14).
0 upgraded, 0 newly installed, 0 to remove and 181 not upgraded.

I don’t have any ideas to solve this problem.Here is my makefile file
Makefile.txt (3.5 KB)

Hi,

The simplest reason for this issue could be that the preCICE installation is version 2, while the adapter expects version 3.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.