NWChem/QA/dolibxctests.mpi
2025-08-21 14:38:43 -07:00

49 lines
1.3 KiB
Bash
Executable file

#!/usr/bin/env bash
#
# $Id$
#
# jochen: modification of doqmtests.mpi, I really want only a few
# small tests for HF, DFT, response, TDDFT
#
let np=1
if [ -n "$1" ]; then
np="$1"
fi
echo
echo " ======================================================="
echo " QM: Running tests for the libxc interface"
echo " ======================================================="
echo
#
myexit=0
if [[ -z "${USE_LIBXC}" ]]; then
echo 'not running libxc QAs since USE_LIBXC is not defined'
else
./runtests.mpi.unix procs $np libxc_he2+
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_li2freq
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc-h2o-camb3lyp-pol
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_he2p_wb97
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_ne2p_wb97x
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_o2_bnl
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_tddftgrad_n2_uks
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_tddftgrad_h2
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_rscan
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_scanl
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_waterdimer_bmk
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_h2o_cf22d
let "myexit+=$?"
./runtests.mpi.unix procs $np libxc_ch3_cf22d
fi
exit $myexit