error with opmpi1.65 and gfortran


Click here for full thread
Clicked A Few Times
Hi everyone
Could someone give me some suggestion on the error?
mpif90 -show
gfortran44 -I/afs/ihep.ac.cn/soft/common/openmpi/1.65/include -pthread -I/afs/ihep.ac.cn/soft/common/openmpi/1.65/lib -L/afs/ihep.ac.cn/soft/common/openmpi/1.65/lib -lmpi_f90 -lmpi_f77 -lmpi -ldl -lm -Wl,--export-dynamic -lrt -lnsl -lutil -lm -ldl

my script is
export NWCHEM_TOP=/workfs/cac/zhanfei/Nwchem65
export NWCHEM_TARGET=LINUX64
export ARMCI_NETWORK=MPI-TS
export MSG_COMMS=MPI
export LARGE_FILES=TRUE
export USE_NOFSCHECK=TRUE
export LIB_DEFINES="-DDFLT_TOT_MEM=16777216"
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y

export MPI_LOC=/afs/ihep.ac.cn/soft/common/openmpi/1.65
export MPI_INCLUDE=$MPI_LOC/include
export MPI_LIB=$MPI_LOC/lib
export LIBMPI="-lmpi_f90-lmpi_f77 -lmpi -ldl -Wl,--export-dynamic -lnsl -lutil"
export NWCHEM_MPIF_WRAP=/opt/Chem_soft/openmpi-1.6.4/bin/mpif90
export NWCHEM_MPIC_WRAP=/opt/Chem_soft/openmpi-1.6.4/bin/mpicc
export NWCHEM_MPICXX_WRAP=/opt/Chem_soft/openmpi-1.6.4/bin/mpicxx

export FC=gfortran
export CC=gcc
export CXX=gcc

  1. export BLASOPT="-L/usr/lib64/atlas -lf77blas -latlas"
export PYTHON_EXE=/usr/bin/python
export PYTHONHOME=/usr

export PYTHONLIBTYPE=so
export PYTHONPATH=$NWCHEM_TOP/contrib/python/:/usr/include/python2.6/
export PYTHONVERSION=2.6
export USE_PYTHON64=y
export NWCHEM_MODULES="all python"

export MRCC_METHODS=TRUE


cd $NWCHEM_TOP/src
make nwchem_config && make>& make.log &
the error is below
/workfs/cac/zhanfei/Nwchem65-6.5/bin/LINUX64
../config/makefile.h:145: /workfs/cac/zhanfei/Nwchem65-

6.5/src/config/nwchem_config.h: No such file or directory
./util/util_nwchem_version.bash
make[1]: warning: -jN forced in

submake: disabling jobserver mode.
make[1]: *** No rule to make target `/workfs/cac/zhanfei/Nwchem65-

6.5/src/config/nwchem_config.h'. Stop.
make: *** [libraries] Error 1


thanks
Sincerely