Job arrays: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 4: Line 4:


<!--T:1-->
<!--T:1-->
''Parent page: [[Running jobs]]''
<i>Parent page: [[Running jobs]]</i>


<!--T:2-->
<!--T:2-->
If your work consists of a large number of tasks which differ only in some parameter, you can conveniently submit many tasks at once using a ''job array,'' also known as a ''task array'' or an ''array job''. The individual tasks in the array are distinguished by an environment variable, <code>$SLURM_ARRAY_TASK_ID</code>, which Slurm sets to a different value for each task. You set the range of values with the <code>--array</code> parameter.
If your work consists of a large number of tasks which differ only in some parameter, you can conveniently submit many tasks at once using a <i>job array,</i> also known as a <i>task array</i> or an <i>array job</i>. The individual tasks in the array are distinguished by an environment variable, <code>$SLURM_ARRAY_TASK_ID</code>, which Slurm sets to a different value for each task. You set the range of values with the <code>--array</code> parameter.


See [https://slurm.schedmd.com/job_array.html Job Array Support] at SchedMD.com for detailed documentation.
See [https://slurm.schedmd.com/job_array.html Job Array Support] at SchedMD.com for detailed documentation.
rsnt_translations
56,430

edits

Navigation menu