Compiling NWChem fails on Ubuntu 16.04

From NWChem

Viewed 664 times, With a total of 1 Posts
Jump to: navigation, search

Just Got Here
Threads 1
Posts 1
i follow the instruction for Ubuntu 14.04 here
https://github.com/nwchemgit/nwchem/wiki/Compiling-NWChem#nwchem-66-on-ubuntu-1404-trusty-...

export USE_MPI=y
export NWCHEM_TARGET=LINUX64
export USE_PYTHONCONFIG=y
export PYTHONVERSION=2.7
export PYTHONHOME=/usr
export BLASOPT="-lopenblas -lpthread -lrt"
export BLAS_SIZE=4
export USE_64TO32=y

make nwchem_config NWCHEM_MODULES="all python"
make 64_to_32
make

this yields an error in src/basis

mpif90 -c -i8 -g -I. -I/home/anhvt89/Documents/nwchem/nwchem-6.8/src/include -I/home/anhvt89/Documents/nwchem/nwchem-6.8/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DPARALLEL_DIAG basis.F
gfortran: error: unrecognized command line option ‘-i8’

it seems somebody has put a Intel flag for GNU compiler... please correct me if i'm wrong

Forum Vet
Threads 9
Posts 1570
Please unset the env. variables FC and CC


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