Second Official Candidate Release of NWCHEM6.8 cannot be compiled on Ubuntu17.10


Click here for full thread
Forum Vet
Dear Edoapra
 After the command export CC=/usr/bin/gcc-4.8 is added, the error becomes
...
( cd /home/hp/computation/nwchem6.6/src/config; make /home/hp/computation/nwchem6.6/bin/LINUX64/depend.x ; )
make[2]: Entering directory '/home/hp/computation/nwchem6.6/src/config'
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/usr/bin/gcc -g -o /home/hp/computation/nwchem6.6/bin/LINUX64/depend.x depend.c
make[2]: /usr/bin/gcc??????
GNUmakefile:45: recipe for target '/home/hp/computation/nwchem6.6/bin/LINUX64/depend.x' failed
make[2]: *** [/home/hp/computation/nwchem6.6/bin/LINUX64/depend.x] Error 127
make[2]: Leaving directory '/home/hp/computation/nwchem6.6/src/config'
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

The HP Z2 Mini G3 workstation seems to run Ubuntu 17.10 very fluently with an Intel core i7 6700 cpu, and a Z2 Turbo Drive G2 MLC PCIe SSD as well as a Samsung 16GB DDR4 2400MHz non-ECC memory, the latter two of which can be upgraded. It also has an additional 1TB HDD.

Thanks!
Very Best Regards!