We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abbfbc6 commit 0b7555cCopy full SHA for 0b7555c
src/psij/executors/batch/slurm/slurm.mustache
@@ -33,15 +33,15 @@
33
{{/processes_per_node}}
34
35
{{#gpu_cores_per_process}}
36
-#SBATCH --gpus_per_task={{.}}
+#SBATCH --gpus-per-task={{.}}
37
{{/gpu_cores_per_process}}
38
39
{{#cpu_cores_per_process}}
40
{{!SLURM has different meanings for 'CPU', depending on the exact allocation plugin being
41
used. The default plugin uses the literal meaning for 'CPU' - physical processor. The
42
consumable resource allocation plugin, on the other hand, equates 'CPU' to a thread (if
43
hyperthreaded CPUs are used) or CPU core (for non-hyperthreaded CPUs).}}
44
-#SBATCH --cpus_per_task={{.}}
+#SBATCH --cpus-per-task={{.}}
45
{{/cpu_cores_per_process}}
46
{{/job.spec.resources}}
47
0 commit comments