ATS - Automated Testing System - is an open-source, Python-based tool for automating the running of tests of an application across a broad range of high performance computers.
BSD 3-Clause "New" or "Revised" License
7
stars
5
forks
source link
per-test option cpusPerTask should work with the slurm module #118
The command line option --cpusPerTask works with the slurm module.
This option will add this to the srun line so it looks like so if run with ats -cpusPerTask=2
srun --nodes=2-3 --cpus-per-task=2 --ntasks=40
However if the cpusPerTask=2 is specified on the ATS test line for an individual test case, it is ignored. That is, this line is generated.
srun --nodes=2-3 --cpus-per-task=1 --ntasks=40
The slurm module should honor that option on a per test basis, so that non threaded codes can reserve 2 CPUs for a test in order to undersubscribe nodes, or for any other reason.
The command line option --cpusPerTask works with the slurm module. This option will add this to the srun line so it looks like so if run with ats -cpusPerTask=2
srun --nodes=2-3 --cpus-per-task=2 --ntasks=40
However if the cpusPerTask=2 is specified on the ATS test line for an individual test case, it is ignored. That is, this line is generated.
srun --nodes=2-3 --cpus-per-task=1 --ntasks=40
The slurm module should honor that option on a per test basis, so that non threaded codes can reserve 2 CPUs for a test in order to undersubscribe nodes, or for any other reason.