Compiling NWChem 6.1 on Ubuntu 12.04


Clicked A Few Times
Hi,
I have trouble compiling NWChem 6.1 on Ubuntu 12.04

This is the error message I get
gfortran -c -fdefault-integer-8  -I.  -I/home/cm07/nwchem/nwchem-6.1/src/include -I/home/cm07/nwchem/nwchem-6.1/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG   inp.F
inp.F:27.19:

      data xback /'\\'/         ! Backslash ... note backslash for cpp  
                   1
Warning: Initialization string starting at (1) was truncated to fit the variable (1/2)
inp.F:21.10:

      data xtab  /9/            ! Tab ... g77 has trouble with escape se
          1
Error: Incompatible types in DATA statement at (1); attempted conversion of INTEGER(8) to CHARACTER(1)
make[2]: *** [/home/cm07/nwchem/nwchem-6.1/lib/LINUX64/libnwcutil.a(inp.o)] Error 1
make[1]: *** [optimized] Error 2
make: *** [libraries] Error 1


Any help is appreciated, thank you!

Forum Vet
I am not able to reproduce this failure on my Ubuntu 12.04 box.
Could you please send us all the environment variables you are using,
the make command you are using (that should be make FC=gfortran), plus the output of
gfortran -v

Thanks, Edo

Clicked A Few Times
I have figured out the error, it was my mistake to assume that i was running 64 bit linux when it was a 32 bit installation. I mistakenly entered LINUX64 into my env variables.

Thank you.


Forum >> NWChem's corner >> Compiling NWChem