Hi,
I am having a weird error message when I try compiling NWChem6.1 on my Ubuntu 12.04, I have OpenMPI 1.6
the errors are
/usr/bin/ld: cannot find -lmpi_f90
/usr/bin/ld: cannot find -lmpi_f77
This is weird because i see the libraries 'libmpi_f77.so' and 'libmpi_f90.so' in my '/usr/local/ib'
The following are my environment variables:
setenv NWCHEM_TOP /home/doudou/Programs/nwchem-6.1.1-src
setenv NWCHEM_TARGET LINUX64
setenv USE_MPI y
setenv USE_MPIF y
setenv MPI_LOC /usr/local/
setenv MPI_LIB $MPI_LOC/lib
setenv LIBMPI "-lmpi_f90 -lmpi_f77 -lmpi -lpthread"
setenv MPI_INCLUDE $MPI_LOC/include
setenv LARGE_FILES TRUE
setenv NWCHEM_MODULES all
cd $NWCHEM_TOP/src
make nwchem_config
make FC=gfortran >& make.log
any ideas? Thanks
|