TACC / launcher

A simple utility for executing multiple sequential or multi-threaded applications in a single multi-node batch job
MIT License
63 stars 33 forks source link

Example slurm script fails on Stampede2 #49

Open cpacker opened 5 years ago

cpacker commented 5 years ago

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
lwilson commented 5 years ago

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.