Error message in compiling nwchem with mpi


Click here for full thread
Clicked A Few Times
Hello all, here are my exported variables.

export NWCHEM_TOP="/home/cmjohns6/nwchem-mpi"
export NWCHEM_TARGET="LINUX64"
export LARGE_FILES="TRUE"
export ARMCI_NETWORK="SOCKETS"
export USE_NOFSCHECK="TRUE"
export NWCHEM_MODULES="all"
export NWCHEM_MPIF_WRAP="mpif90"
export NWCHEM_MPIC_WRAP="mpicc"
export NWCHEM_MPICXX_WRAP="mpicxx"
export CC="mpicc"
export FC="mpif90"
export F77="mpif77"
export MPI_LOC="/opt/openmpi"
export MPI_LIB=$MPI_LOC/lib
export MPI_INCLUDE=$MPI_LOC/include
export LIB_MPI="-pthread -lmpi_f77 -lmpi_f90 -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl"
export USE_MPI='t'
export IPCCSD="y"
export EACCSD="y"

But when I try to compile I get the following error:
/home/cmjohns6/nwchem-mpi/lib/LINUX64/libnwcutil.a(util_wallsec.o): In function `util_wallsec_':
/home/cmjohns6/nwchem-mpi/src/util/util_wallsec.F:18: undefined reference to `mpi_wtime_'
/home/cmjohns6/nwchem-mpi/src/util/util_wallsec.F:20: undefined reference to `mpi_wtime_'
/home/cmjohns6/nwchem-mpi/src/util/util_wallsec.F:24: undefined reference to `mpi_wtime_'
collect2: ld returned 1 exit status
make: *** [all] Error 1

What exactly is the problem here?
Thanks