Search⌘ K
AI Features

Slurm array jobs

Explore how Slurm array jobs simplify running groups of similar HPC tasks by submitting a single job script and using the environment variable SLURM_ARRAY_TASK_ID for parallel processing. This lesson helps you understand data-level parallelization and job ID management to optimize HPC workflows.

We'll cover the following...

Job array allows you to run a group of identical/similar jobs. To do that, just add the following statement in your submission script:

Shell
#SBATCH --array=1-10

You can also do ...