Example job submission files
'Job submission file' is the official SLURM name for the file you use to submit your program and ask for resources from the job scheduler. Here we will be using it interchangeably with 'script' or 'batch script'.
Commands to the batch scheduler is prefaced with #SBATCH, these are also called directives. You can also add normal shell commands to the script.
All SLURM directives can be given on the command line instead of in the script.
Remember - the scripts and all programs called by them, must be executable!