Error in Compiling 2.18

My linux is rusty, can anyone suggest how to fix the message given below?

make: *** No rule to make target ‘…/…/…/SPOOLES.2.2/spooles.a’, needed by ‘ccx_2.18’. Stop.

Probably either spooles wasn’t built or the path is wrong. Try my automated installation script here and see if that works:

https://www.feacluster.com/calculix.php#4

1 Like

make: *** No rule to make target ‘…/…/…/ARPACK/libarpack_INTEL.a’, needed by ‘ccx_2.18_MT’. Stop.
make: *** Waiting for unfinished jobs…
cp: cannot stat ‘CalculiX/ccx_2.18/src/ccx_2.18_MT’: No such file or directory
chmod: cannot access ‘ccx_2.18_MT’: No such file or directory

** Something went wrong. Executable not created. Email info with the contents of the log.txt file **

Where is the log file?

Post all the output of the script in a code block here. Looks like arpack probably never got downloaded or unzipped properly.

There is huge output, in the beginning I found this to be relevant

Can’t open ARPACK/ARmake.inc: No such file or directory.
Can’t open ARPACK/ARmake.inc: No such file or directory.
Can’t open ARPACK/ARmake.inc: No such file or directory.
Can’t open ARPACK/ARmake.inc: No such file or directory.
Can’t open ARPACK/UTIL/second.f: No such file or directory.
Can’t open ARPACK/ARmake.inc: No such file or directory.

** Building ARPACK - may take several minutes **

make: *** No rule to make target ‘lib’. Stop.

Maybe try from a fresh directory from scratch, i.e

mkdir build
cd build
wget feacluster.com/install/install
perl install

If still fails, scroll up to see if any error in downloading and unzipping the files… And send me what you see when you type:

ls -lrt

A little better now, at the end I get

./date.pl; cc -std=gnu99 -w -O2 -fopenmp -I …/…/…/SPOOLES.2.2 -DARCH=“Linux” -DSPOOLES -DARPAm
Can’t open ccx_2.18step.c: No such file or directory at ./date.pl line 18.

** Done! - To run, enter ./ccx_2.18_MT . Set number of cpus to use by doing:

export OMP_NUM_THREADS=8

Hit (y) to run the test suite - May take 10+ minutes

y

and at the end of the test I get

check the existence of file error.16934
if this file does not exist, the present results
agree with the reference results

the contents of the file are

sanjay@july:/usr/local/build$ more error.16934
beamhtfc2.dat and beamhtfc2.dat.ref do not have the same size !!!

beamread.dat and beamread.dat.ref do not have the same size !!!

beamread2.dat and beamread2.dat.ref do not have the same size !!!

beamread3.frd does not exist
beamread4.dat and beamread4.dat.ref do not have the same size !!!

deviation in file induction2.frd
line: 20199 reference value: 2.048930e+01 value: 2.074740e+01
absolute error: 2.581000e-01
largest value within same block: 2.257380e+01
relative error w.r.t. largest value within same block: 1.143361 %

What do you think?

I think it looks fine. I believe some errors are for restart models which the test suite doesn’t test yet.

Thanks, I am going to start playing with it.

Is there a separate install for the graphics part or was it included?

Unfortunately, I haven’t automated the cgx install as it is more complex and requires root access. There’s a binary you can download to see if that works. I am also working on a web based cgx. It’s not public yet, but send me a private message and Ill send you the link.