launcher
launcher copied to clipboard
Example slurm script fails on Stampede2
The example slurm script is missing -N
:
https://github.com/TACC/launcher/blob/a3c87c908a7a2d197c54a5fa211f9bae8dccc66b/extras/batch-scripts/launcher.slurm#L17
I'm assuming it should be #SBATCH -N 1
?
This triggers the following error on TACC Stampede2:
Submission error: please define total node count with the "-N" option
Hi @cpacker:
Yes, this should be included. Stampede1 did not have the requirement of specifying a single node (in fact, you can see that the number of tasks - 16 - is a holdover from previous systems). I will update the repo templates, but for now adding the -N options should fix it.