Skip to content

Commit

Permalink
Add account to SlurmSpawner template
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Oct 17, 2024
1 parent 8787400 commit 99c33a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions batchspawner/batchspawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99c33a3

Please sign in to comment.