- Put all your SLURM directives at the top of the script file, above any commands. Any directive after an executable line in the script is ignored.
- Note that you can pass SLURM directives as options to the
sbatch command. - Check man sbatch for a complete reference of all the options and their description.
|