-
Notifications
You must be signed in to change notification settings - Fork 3
Running tests
There is a test suite that requires python 3 with NumPy and YAML that can be used to test various implementation usages.
Examples (assuming <outputPath>
is replaced by a writeable directory):
buildSystem/runTests.py -a -o <outputPath> --compile-only
TBG_TPLFILE=submit/bash/bash_mpirun.tpl TBG_SUBMIT=bash buildSystem/runTests.py -e examples/ModuleTest/ -o <outputPath> -t "*"
Requires MPI and 1 GPU. Can be used on a batch system by setting appropriate TBG_* templates/submit command.
Can be done in parallel by adding -j
for compilation and -k
for submitting multiple tests at once.
TBG_TPLFILE=submit/bash/bash_mpirun.tpl TBG_SUBMIT=bash buildSystem/runTests.py -e examples/hdf5Test/ -o <outputPath> -t "*"
Requires MPI and 1 and/or 8 GPUs. Usage is the same as the ModuleTests so could be run together.