Hi,
I'm building nwchem-6.6 (patches applied) with Intel 2017.4, and getting the following error:
mpif90 -i8 -g -I. -I/projects/chch5350/Packages/nwchem-6.6/src/include -I/projects/chch5350/Packages/nwchem-6.6/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG -DCOMPILATION_DATE="'`date +%a_%b_%d_%H:%M:%S_%Y`'" -DCOMPILATION_DIR="'/projects/chch5350/Packages/nwchem-6.6'" -DNWCHEM_BRANCH="'6.6'" -c -o nwchem.o nwchem.F
nwchem.F(471): error #5082: Syntax error, found ':' when expecting one of: <END-OF-STATEMENT> ;
& Tue_Sep_05_10:10:39_2017
--------------------^
nwchem.F(471): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: , )
& Tue_Sep_05_10:10:39_2017
-------------------------------^
nwchem.F(471): error #6404: This name does not have a type, and must have an explicit type. [TUE_SEP_05_10]
& Tue_Sep_05_10:10:39_2017
-------^
nwchem.F(471): error #6514: Substring or array slice notation requires CHARACTER type or array. [TUE_SEP_05_10]
& Tue_Sep_05_10:10:39_2017
-------^
nwchem.F(470): error #6200: A colon (:) is not valid in this context.
compiled =
^
nwchem.F(471): error #6684: This is an incorrect value for a kind type parameter in this context. [2017]
& Tue_Sep_05_10:10:39_2017
---------------------------^
nwchem.F(475): error #6054: A CHARACTER data type is required in this context. [6.6]
& 6.6
-------^
compilation aborted for nwchem.F (code 1)
make[1]: *** [nwchem.o] Error 1
make[1]: Leaving directory `/projects/chch5350/Packages/nwchem-6.6/src'
This line in nwchem.F
compiled =
& COMPILATION_DATE
is having both sets of quotes supplied from the command line stripped off, as seen in the intermediate file (nwchem.i),
compiled =
& Fri_Sep_01_16:26:18_2017
Any idea how to avoid that?
Thanks; Chris
|