From 86106689ef1f7cf748ace2af7078f9e9d08b2c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix-Antoine=20Fortin?= Date: Thu, 17 Oct 2024 16:48:50 -0400 Subject: [PATCH] Add account to SlurmSpawner template --- batchspawner/batchspawner.py | 1 + 1 file changed, 1 insertion(+) 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