Slurm Guide =========== This page describes how hpc-runner maps job fields onto Slurm submission flags, and how it reads a job's status and exit code back. Requirements ------------ - **Slurm 22.05 or later.** hpc-runner is tested against 22.05 and 24.11. - **Accounting.** Job status is read from ``sacct``, so the cluster needs Slurm accounting and ``sacct`` on the submit host. - **A shared filesystem.** The job script, the working directory and the output files are read on the submit host and on the nodes by the same paths. Name the scheduler once, in the project config: .. code-block:: toml config_version = 1 scheduler = "slurm" How each option reaches Slurm ----------------------------- A batch job is submitted with ``sbatch