Still getting the same error, so I am guessing a fresh install is necessary.
Sorry for the following newbie questions, but I've little experience installing/compiling things in linux.
I currently am running nwchem 6.8 which is a preinstalled module on the cluster I am using. I have no root or sudo permissions. The cluster has centOS 7.8 installed. I am aware nwchem 7.0.0 could be installed using EPEL but I don't think I can do that without root permission.
I am not sure exactly how to compile from source but tried the following script:
#!/bin/bash
#PBS -q condo
#PBS -N nwchem_compile
#PBS -l nodes=1:ppn=1
#PBS -l walltime=1:00:00
#PBS -o nwchem_compile.out
#PBS -e nwchem_compile.err
#PBS -V
#PBS -m abe
module load scalapack
export NWCHEM_TOP=local/src/nwchem-7.0.0
export NWCHEM_TARGET=LINUX64
export ARMCI_NETWORK=MPI-PR
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export MPI_LOC=$MPIHOME
export MPI_LIB=$MPIHOME/lib
export MPI_INCLUDE=$MPIHOME/include
export LIBMPI="-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi"
export BLASOPT="-lopenblas -lpthread -lrt"
export LAPACK_LIB="-lopenblas -lpthread -lrt"
export USE_SCALAPACK=y
export SCALAPACK=$SCALAPACKHOME
export SCALAPACK_SIZE=4
export USE_64TO32=y
export BLAS_SIZE=4
cd $NWCHEM_TOP/src
make nwchem_config NWCHEM_MODULES="all"
make 64_to_32
make
And am met with the following errors:
config/makefile.h:227: local/src/nwchem-7.0.0/src/config/nwchem_config.h: No such file or directory
config/makefile.h:227: local/src/nwchem-7.0.0/src/config/nwchem_config.h: No such file or directory
config/makefile.h:227: local/src/nwchem-7.0.0/src/config/nwchem_config.h: No such file or directory
fatal: Not a git repository (or any parent up to mount point /home/celemmon)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
../config/makefile.h:227: local/src/nwchem-7.0.0/src/config/nwchem_config.h: No such file or directory
make[1]: *** No rule to make target `local/src/nwchem-7.0.0/src/config/nwchem_config.h'. Stop.
make: *** [libraries] Error 1