Dear NWChem developers,
I am trying to compile NWChem (v. 7.2.3) together with the automatic build of OpenBLAS and ScaLapack libraries.
I am using the following settings:
export NWCHEM_TOP=/path/to/nwchem-master
export NWCHEM_TARGET=LINUX64
export USE_MPI=Y
export NWCHEM_MODULES="all"
export FC=gfortran
export CC=gcc
export CXX=g++
export USE_64TO32=y
export USE_INTERNALBLAS=y
export BUILD_OPENBLAS=1
export BUILD_SCALAPACK=1
export BLAS_SIZE=4
export SCALAPACK_SIZE=4
export NUM_THREADS=8
export USE_OPENMP=1
cd $NWCHEM_TOP/src
make clean
make nwchem_config
make 64_to_32
make -j16
However, upon compilation, I get the following error:
(path/to/)/nwchem-master/src/util/util_blasthreads.F:34: undefined reference to `openblas_get_num_threads_
I tried to add:
export NUM_THREADS=8
export USE_OPENMP=1
and repeated the procedure. However, it did not improve the results.
I have not found any discussions on this issue on any of the NWChem forums, so your help will be much appreciated.
Best regards,
Oleksii
P.S. The reason why I need the full build of NWChem with full LaPack support is that I need to solve the generalised eigenvalue problem directly inside the NWChem code. For that purpose, I use the "dggev" function from LAPACK, which is not present in the "standard" NWChem build.