diff --git a/batchspawner/batchspawner.py b/batchspawner/batchspawner.py index 866bf51..4666ebf 100644 --- a/batchspawner/batchspawner.py +++ b/batchspawner/batchspawner.py @@ -686,6 +686,7 @@ class SlurmSpawner(UserEnvMixin, BatchSpawnerRegexStates): {% endif %}{% if gres %}#SBATCH --gres={{gres}} {% endif %}{% if nprocs %}#SBATCH --cpus-per-task={{nprocs}} {% endif %}{% if reservation%}#SBATCH --reservation={{reservation}} +{% endif %}{% if account %}#SBATCH --account={{account}} {% endif %}{% if options %}#SBATCH {{options}}{% endif %} set -euo pipefail