Skip to content

Commit 41d4ee7

Browse files
committed
On Frontier, the node count is mandatory. We should probably discuss
having one node as a default and specify that in the spec. In the mean time, add one node as default for slurm.
1 parent 5d05d02 commit 41d4ee7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/psij/executors/batch/slurm/slurm.mustache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
#SBATCH --cpus-per-task={{.}}
3939
{{/cpu_cores_per_process}}
4040
{{/job.spec.resources}}
41+
{{^job.spec.resources}}
42+
#SBATCH --nodes=1
43+
{{/job.spec.resources}}
4144

4245
{{#formatted_job_duration}}
4346
#SBATCH --time={{.}}

0 commit comments

Comments
 (0)