Hi all,
As per title, I have compiled NWChem 7.0.2 using PGI 16.7, but running with the test file nwchem.nw segfaults in libpthreads.so and I haven't seen this exact error elsewhere.
Also as a note, I had to edit two of the source files before PGI would compile them -- changing the "ISNAN" call in nwpwxc_vdw3a.F to ieee_is_nan, and escaping the backslashes in '\' instances (-> '\\') in nwpwxc_vdw3c.F. So it is possible I have missed something in the process, since I had to make these changes!
The error output is in the attached txt file. The environment variables for the setup are as listed here. Compiled with `make nwchem_config NWCHEM_MODULES=all; make FC=pgf90 CC=pgcc`.
export USE_MPI=y
export USE_64TO32=y
export NWCHEM_TARGET=LINUX64
export BLAS_SIZE=4
export LAPACK_SIZE=4
export SCALAPACK_SIZE=4
export USE_PYTHONCONFIG=y
export PYTHONVERSION=2.7
export PYTHONHOME=/usr
export BLASOPT=" -L${MKLROOT}/lib/intel64 -lmkl_intel_ilp64 -lmkl_pgi_thread -lmkl_core -pgf90libs -mp -lpthread -lm -ldl" #for pgi
export LAPACK_LIB=$BLASOPT
export LD_LIBRARY_PATH=/usr/lib64/:$LD_LIBRARY_PATH
export PATH=/usr/lib64/openmpi/bin/:$PATH
It's quite possible there is a simple mistake causing this, but thanks in advance for any help!