nwchem-6.6 ifort, segmentation fault


Click here for full thread
Clicked A Few Times
mpif90 gives me the following:
[bobo@cerberus src]$ mpif90 -show
ifort -I/opt/intel/impi/5.0.1.035/intel64/include -I/opt/intel/impi/5.0.1.035/intel64/lib -L/opt/intel/impi/5.0.1.035/intel64/lib

however, there is no path of /opt/intel/impi/5.0.1.035/intel64 in my machine. but mpif90 is in /opt/software/openmpi/1.4.3-gcc/bin/, so I am not sure why mpif90 -show isn't giving the same path
[bobo@cerberus src]$ ls /opt/software/openmpi/1.4.3-gcc/bin/
mpic++ mpiCC-vt mpiexec mpif90-vt ompi-iof opari orte-ps otfconfig otfmerge vtf90
mpicc mpic++-vt mpif77 mpirun ompi-ps orte-clean orterun otfdecompress vtcc vtfilter
mpiCC mpicxx mpif77-vt ompi-clean ompi-server orted otfaux otfdump vtcxx vtunify
mpicc-vt mpicxx-vt mpif90 ompi_info opal_wrapper orte-iof otfcompress otfinfo vtf77

so I tried:
export NWCHEM_TOP=~/Softwares/nwchem-6.6
export NWCHEM_TARGET=LINUX64
export NWCHEM_MODULES=all
export USE_INTERNALBLAS=y
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
  1. export PATH=/opt/software/openmpi/1.4.3-gcc/bin:$PATH
  2. export PATH=/opt/intel/impi/5.0.1.035/intel64/bin:$PATH
export MPI_LOC=/opt/software/openmpi/1.4.3-gcc/
export MPI_LIB=$MPI_LOC/lib
export MPI_INCLUDE=$MPI_LOC/include
unset USE_OPENMP
unset BLASOPT
unset SCALAPACK
unset BLAS_SIZE
unset SCALAPACK_SIZE
  1. unset MPI_LIB
  2. unset MPI_INCLUDE
  3. unset LIBMPI
cd $NWCHEM_TOP/src
make realclean
rm -rf tools/build tools/install
rm -rf ../lib/LINUX64/*
make nwchem_config
make FC=ifort >& make_simple.log

and It compiled successfully and I can run it without error!

Then do I need to try adding something like MKL and Scalapack?
I will try some of those and let you know.

Thank you very much.

Bobo