Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:services:application_services:high_performance_computing:running_jobs_slurm:job_arrays [2020/11/13 11:19]
mboden [Example Job Array]
en:services:application_services:high_performance_computing:running_jobs_slurm:job_arrays [2020/11/13 11:20] (current)
mboden [Job Arrays]
Line 1: Line 1:
 ====== Job Arrays ====== ====== Job Arrays ======
  
-Job arrays are the preferred way to submit many similar ​job. Jobs, for instance, if you need to run the same program on a number of input files, or with different settings or run them with a range of parameters.+Job arrays are the preferred way to submit many similar ​jobs, for instance, if you need to run the same program on a number of input files, or with different settings or run them with a range of parameters.
 Arrays are created with the ''​-a start-finish''​ sbatch parameter. E.g. ''​sbatch -a 0-19''​ will create 20 jobs indexed from 0 to 19. There are different ways to index the arrays, which are described below. Arrays are created with the ''​-a start-finish''​ sbatch parameter. E.g. ''​sbatch -a 0-19''​ will create 20 jobs indexed from 0 to 19. There are different ways to index the arrays, which are described below.