Impi+omp.conf

From VASP Wiki
Revision as of 15:35, 3 February 2020 by Vaspmaster (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
#
# define the commands that run vasp_std, vasp_ncl, and vasp_gam
#
nthrds=4
nranks=2

mpi="-np $nranks -ppn $nranks"
omp="-genv OMP_NUM_THREADS=$nthrds -genv OMP_STACKSIZE=512m"

export VASP_TESTSUITE_EXE_STD="mpirun $mpi $omp $PWD/../bin/vasp_std"
export VASP_TESTSUITE_EXE_NCL="mpirun $mpi $omp $PWD/../bin/vasp_ncl"
export VASP_TESTSUITE_EXE_GAM="mpirun $mpi $omp $PWD/../bin/vasp_gam"