Compiling NWChem 6.1 on Ubuntu 12.04

From NWChem

Viewed 2494 times, With a total of 2 Posts
Jump to: navigation, search

Clicked A Few Times
Threads 2
Posts 5
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
Threads 9
Posts 1541
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
Threads 2
Posts 5
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.
Edited On 9:52:37 PM PST - Tue, Nov 27th 2012 by Flaregunhobo


Forum >> NWChem's corner >> Compiling NWChem



Who's here now Members 0 Guests 1 Bots/Crawler 0


AWC's: 2.5.10 MediaWiki - Stand Alone Forum Extension
Forum theme style by: AWC