Hi,
These are the env variables:
alias nwchem='/apps/nwchem/nwchem-7.0.2-release/bin/LINUX64/nwchem'
export CC=gcc
export FC=gfortran
export USE_NOFSCHECK=TRUE
export USE_SCALAPACK=y
export USE_64TO32=y
export BLAS_SIZE=8
export NWCHEM_TOP=/apps/nwchem/nwchem-7.0.2-release
export NWCHEM_TARGET=LINUX64
export ARMCI_NETWORK=MPI-PR
export LARGE_FILES=1
export USE_NOFSCHECK=1
export TCGRSH="/usr/bin/ssh"
export USE_MPI=y
export USE_MPIF=y
export MPI_LOC=/usr/lib/x86_64-linux-gnu/openmpi
export MPI_LIB=$MPI_LOC/lib
export MPI_INCLUDE=$MPI_LOC/include
export LIBMPI="-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi"
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH
export BLASOPT=/usr/lib/x86_64-linux-gnu/libopenblas.so
export LAPACK_LIB=/usr/lib/x86_64-linux-gnu/liblapack.so
export SCALAPACK=/usr/lib/x86_64-linux-gnu/libmkl_scalapack_ilp64.so
export NWCHEM_MODULES="all python"
export PYTHONVERSION=3.8
However, for some reason I need to introduce them in the command line when invoking make, otherwise it displays following message (even having BLASOPT in the bashrc):
NWChem's Performance is degraded by not setting BLASOPT
Please consider using ATLAS, GotoBLAS2, OpenBLAS, Intel MKL,
IBM ESSL, AMD ACML, etc. to improve performance.
If you decide to not use a fast implementation of BLAS/LAPACK,
please define USE_INTERNALBLAS=y and the internal Netlib will be used.
Once I included in the bashrc the env. variables, I proceed with make. But, as I sais, only works if I put all the variables at once togetehr with make in the shell.
Hope this helps...
Thank you very much,
Carlos