Commit c68231a
committed
Add ntasks for older slurm versions.
Without this flag, on slurm 23.11.10 we get this error:
```
sbatch: error: Failed to validate job spec. --gpus-per-task or --tres-per-task used without either --gpus or -n/--ntasks is not allowed.
sbatch: error: Invalid generic resource (gres) specification
```1 parent 50da5af commit c68231a
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
0 commit comments