I have been trying to install CalculiX for some time now, by following the instructions given on https://github.com/precice/calculix-adapter/wiki/Installation-instructions-for-CalculiX.
I know this is not a CalculiX forum, I tried asking the same question on
CalculiX mailing list but I have had no replies yet. But I am asking anyway, because I think there are some members here with experience of CaluliX.
make I am getting the following error:
gfortran -fopenmp -Wall -O3 -o bin/ccx_preCICE bin/ccx_2.15.o bin/ccx_2.15.a /home/prasad/SPOOLES.2.2//spooles.a -L/usr/local/lib -lprecice -lstdc++ -L/home/prasad/yaml-cpp-yaml-cpp-0.6.2//build -lyaml-cpp /home/prasad/ARPACK//libarpack_INTEL.a -lpthread -lm -lc /home/prasad/ARPACK//libarpack_INTEL.a(second.o): In function `second_': second.f:(.text+0x14): undefined reference to `etime_' collect2: error: ld returned 1 exit status Makefile:101: recipe for target 'bin/ccx_preCICE' failed make: *** [bin/ccx_preCICE] Error 1
I have tried changing line 24 in ARPACK/UTIL/second.f from
EXTERNAL ETIME to
* EXTERNAL ETIME, but I am still getting the same error.
I have also tried
c EXTERNAL ETIME.
Can anyone think of a reason why this might be happening and how can I resolve it?
Thank you for your help.