Download NWChem 6.0 at: http://www.nwchem-sw.org
Building NWChem
Extract NWChem
% tar xvfz Nwchem-6.0.tar.gz
Environment Variables for using Intel compilers
Prior to compiling the NWChem software, some of the environmental variables are needed to be set first.
export NWCHEM_TOP=~/nwchem/nwchem-6.0
export LARGE_FILES=TRUE
export ENABLE_COMPONENT=yes
export TCGRSH=/usr/bin/ssh
export NWCHEM_TARGET=LINUX64
export USE_MPI=y
export USE_MPIF=y
export IB_HOME=/usr
export IB_INCLUDE=$IB_HOME/include
export IB_LIB=$IB_HOME/lib64
export IB_LIB_NAME="-libumad -libverbs -lpthread"
export ARMCI_NETWORK=OPENIB
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/application/intel/impi/lib64
export NWCHEM_MODULES=all
export FOPTIMIZE="-O3 -xSSE2,SSE3,SSSE3,SSE4.1,SSE4.2 -no-prec-div -funroll-loops -unroll-aggressive"
export COPTIMIZE="-O3 -xSSE2,SSE3,SSSE3,SSE4.1,SSE4.2 -no-prec-div -funroll-loops"
For more information on building NWChem with different compilers, you can visit this this Argonne wiki page:
https://wiki.alcf.anl.gov/index.php/NWChem