The easiest way of using xbat is to submit jobs via the Slurm CLI. This allows you to use your existing job scripts without any changes while benefiting from the monitoring and analysis capabilities of xbat. Simply add the --constraint=xbat
and --exclusive
parameters to your sbatch
command. When submitting multi-node jobs, it is also advised to use --wait-all-nodes=1
as xbat may defer the start of a job on individual nodes to assess their hardware capabilities.
sbatch --constraint=xbat --exclusive --wait-all-nodes=1 my_job_script.sh
xbat provides additional features like parameter studies, API support and collaboration when using job configurations via the UI. See here for more details on job configurations.