Hi
I am trying to install CNS with the following steps (I have done this before on a different computer but for some reason now it is not working)
gunzip cns_solve_1.3_all.tar.gz
tar -xvf cns_solve_1.3_all.tar
cd cns_solve_1.3
changed Installation directory (in cns_solve_env) to:
setenv CNS_SOLVE /home/qnt/drorimi2/cns_solve_1.3
cp /home/qnt/chillj/software/haddock2.4-2023-01/cns1.3/* cns_solve_1.3/source/
Modify the compilation option file (instlib/machine/supported/intel-x86_64bit-linux/Makefile.header.2.gfortran) so that it doesn’t use the ‘ffast-math’ flag
make install
and this error comes up (attached only the end)
| 1
Error: Type mismatch in argument ‘xtargt’ at (1); passed INTEGER(8) to COMPLEX(8)
xtarget.f:946:72:
946 | & HEAP(FOBAVG),HEAP(FCAAVG),HEAP(NUMAVG))
| 1
Error: Type mismatch in argument ‘fobavg’ at (1); passed INTEGER(8) to REAL(8)
xtarget.f:1167:72:
1167 | & HEAP(DERAVG),HEAP(DERIV))
| 1
Error: Type mismatch in argument ‘fobavg’ at (1); passed INTEGER(8) to REAL(8)
xtarget.f:1437:72:
1437 | & HEAP(FOBAVG),HEAP(FCAAVG),HEAP(NUMAVG))
| 1
Error: Type mismatch in argument ‘fobavg’ at (1); passed INTEGER(8) to REAL(8)
xtarget.f:1658:72:
1658 | & HEAP(DERAVG),HEAP(DERIV))
| 1
Error: Type mismatch in argument ‘fobavg’ at (1); passed INTEGER(8) to REAL(8)
xtarget.f:2406:72:
2406 | & HEAP(DERIV))
| 1
Error: Type mismatch in argument ‘deriv’ at (1); passed INTEGER(8) to REAL(8)
make[3]: *** [Makefile:66: xtarget.o] Error 1
compiling: xutil.f
compiling: xyzparse.f
compiling: dmemory.c
compiling: machine_c.c
make[3]: Target ‘…/bin/cns_solve’ not remade because of errors.
make[2]: *** [Makefile:61: cns_solve] Error 2
make[1]: *** [Makefile:64: cns_solve] Error 2
How can I fix this?
Best,
Miriam