NWChem/contrib/xeonphi/build4xeonphi.sh
Yuri Victorovich 7b3d60dce7 Fix bash shebangs: make /usr/bin/env find bash in paths
This is needed on FreeBSD and other systems where bash isn't located in /bin/bash.
2021-11-07 14:06:22 -08:00

14 lines
280 B
Bash
Executable file

#!/usr/bin/env bash -f
cd nwchem-6.5
export NWCHEM_TOP=`pwd`
export NWCHEM_TARGET=LINUX64
export USE_MPI=y
export USE_OPENMP=y
export USE_OFFLOAD=y
export NWCHEM_MODULES=tce
export BLASOPT=-mkl
export BLAS_SIZE=8
cd src
pwd
make nwchem_config NWCHEM_MODULES="tce"
make FC=ifort