Compiling NwChem 6.8.1 on Ubuntu 18.04 with OpenMPI 4.0 failed


Click here for full thread
Forum Vet
Setting compiler options and/or FC=mpifor and/or CC=mpicc is not going to build a working NWChem executable please set only the following env. variables and UNSET the other ones.

export USE_NOIO=TRUE
export NWCHEM_TOP=$(pwd)
export NWCHEM_TARGET=LINUX64
export NWCHEM_MODULES="all python"
export BLAS_SIZE=4
export BLASOPT="-L/opt/OpenBLAS-0.2.20-no_threads/lib -lopenblas"
export USE_MPI=y
export USE_MPIF=y
export USE_MPIF4=y
export MRCC_METHODS=TRUE
export CCSDTQ=y
export CCSDTLR=y
export IPCCSD=y
export EACCSD=y
export PYTHONHOME=/usr
export PYTHONVERSION=2.7
export PYTHONLIBTYPE=so
export PYTHONCONFIGDIR=config-x86_64-linux-gnu

Then use the following commands

rm -f 64_to_32 32_to_64 tools/build tools/install
make 64_to_32
make FC=ifort