Dear all
The version of GCC is 7.2.0 and the error is:
...
Making libraries in basis
make[1]: Entering directory '/home/hp/computation2/nwchem6.8/src/basis'
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -ge: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
gfortran -c -m64 -ffast-math -Wuninitialized -fdefault-integer-8 -g -g -O -I. -I/home/hp/computation2/nwchem6.8/src/include -I/home/hp/computation2/nwchem6.8/src/tools/install/include -DGFORTRAN -DCHKUNDFLW -DGCC4 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG basis.F
make[1]: gfortran??????
../config/makefile.h:2683: recipe for target '/home/hp/computation2/nwchem6.8/lib/LINUX64/libnwcutil.a(basis.o)' failed
make[1]: *** [/home/hp/computation2/nwchem6.8/lib/LINUX64/libnwcutil.a(basis.o)] Error 127
make[1]: Leaving directory '/home/hp/computation2/nwchem6.8/src/basis'
GNUmakefile:103: recipe for target 'libraries' failed
make: *** [libraries] Error 1
NWCHEM6.6 encounters the same error on the identical environment
..
Making libraries in basis
make[1]: Entering directory '/home/hp/computation/nwchem6.6/src/basis'
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
gfortran -c -m64 -ffast-math -Wuninitialized -fdefault-integer-8 -g -g -O -I. -I/home/hp/computation/nwchem6.6/src/include -I/home/hp/computation/nwchem6.6/src/tools/install/include -DGFORTRAN -DCHKUNDFLW -DGCC4 -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG basis.F
make[1]: gfortran??????
../config/makefile.h:2532: recipe for target '/home/hp/computation/nwchem6.6/lib/LINUX64/libnwcutil.a(basis.o)' failed
make[1]: *** [/home/hp/computation/nwchem6.6/lib/LINUX64/libnwcutil.a(basis.o)] Error 127
make[1]: Leaving directory '/home/hp/computation/nwchem6.6/src/basis'
GNUmakefile:103: recipe for target 'libraries' failed
make: *** [libraries] Error 1
Perhaps I should use old versions of gcc.
Very Best Regards!
|