Similar compilation problems NWChem-6.6


Click here for full thread
Forum Vet
Please try the following

unset MPI_INCLUDE
unset MPI_LIB
unset LIBMPI
export PATH=/opt/openmpi/1.8.4-intel15.0-noib/bin:$PATH
unset FC
unset CC

cd $NWCHEM_TOP/src/tools
rm -rf build install
make FC=ifort

If this still fails, please upload the following files to a website of your choice (e.g. dropbox, github, etc ...)
$NWCHEM_TOP/src/tools/build/config.log
$NWCHEM_TOP/src/tools/build/comex/config.log
and send the output of the commands

which mpif90
mpif90 -show