Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:services:application_services:high_performance_computing:running_jobs_slurm:job_arrays [2020/11/13 09:43]
mboden [Job Arrays]
en:services:application_services:high_performance_computing:running_jobs_slurm:job_arrays [2020/11/13 11:19]
mboden [Example Job Array]
Line 15: Line 15:
   * ''-a 0-11%4'' only four jobs at once   * ''-a 0-11%4'' only four jobs at once
   * ''-a 0-11%1'' run all jobs sequentially   * ''-a 0-11%1'' run all jobs sequentially
-  * '''-a 0-5:2,20%2'' everything combined. Run IDs 0,2,4,20, but only two at a time.+  * ''-a 0-5:2,20%2'' everything combined. Run IDs 0,2,4,20, but only two at a time.
 You can read everything on array indexing in the [[https://slurm.schedmd.com/sbatch.html#OPT_array|sbatch man page]]. You can read everything on array indexing in the [[https://slurm.schedmd.com/sbatch.html#OPT_array|sbatch man page]].
  
Line 36: Line 36:
  
 ===== Example Job Array ===== ===== Example Job Array =====
-This is an example of a job array, creates a job for every file ending in ".inp" in the current workding directory:+This is an example of a job array, creates a job for every file ending in ".inp" in the current workding directory:
  
 <code bash> <code bash>