The example Slurm script BasicExample.sh can be used to submit a basic job in an HPC environment. It highlights key features such as cluster, partition, memory requirements, and more.
For additional SLURM directives, refer to slurm-options.sh
Portions of the example batch scripts which must be changed for the script to function are referred to as placeholders and denoted by square brackets. Replace the following placeholders in your script with details specific to your use case before submitting your job.
[cluster]
: ub-hpc, faculty[partition]
: general-compute, debug, industry, scavenger, ub-laser, other available options[qos]
: usually the same as[partition]
- refer to CCR docs[SlurmAccountName]
: Tell Slurm which account to run this job under. If not specified, your default account will be used. Use theslimits
command to see what accounts you have access to.