Skip to content

Commit 8610668

Browse files
committed
Add account to SlurmSpawner template
1 parent 8787400 commit 8610668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

batchspawner/batchspawner.py

+1
Original file line numberDiff line numberDiff line change
@@ -686,6 +686,7 @@ class SlurmSpawner(UserEnvMixin, BatchSpawnerRegexStates):
686686
{% endif %}{% if gres %}#SBATCH --gres={{gres}}
687687
{% endif %}{% if nprocs %}#SBATCH --cpus-per-task={{nprocs}}
688688
{% endif %}{% if reservation%}#SBATCH --reservation={{reservation}}
689+
{% endif %}{% if account %}#SBATCH --account={{account}}
689690
{% endif %}{% if options %}#SBATCH {{options}}{% endif %}
690691
691692
set -euo pipefail

0 commit comments

Comments
 (0)