rsnt_translations
56,420
edits
No edit summary |
No edit summary |
||
Line 146: | Line 146: | ||
=== Serial job === <!--T:146--> | === Serial job === <!--T:146--> | ||
A serial job is a job which only requests a single core. It is the simplest type of job. The "simple_job.sh" which appears above in [[#Use_sbatch_to_submit_jobs| | A serial job is a job which only requests a single core. It is the simplest type of job. The "simple_job.sh" which appears above in [[#Use_sbatch_to_submit_jobs|Use sbatch to submit jobs]] is an example. | ||
=== Array job === <!--T:27--> | === Array job === <!--T:27--> | ||
Also known as a | Also known as a <i>task array</i>, an array job is a way to submit a whole set of jobs with one command. The individual jobs in the array are distinguished by an environment variable, <code>$SLURM_ARRAY_TASK_ID</code>, which is set to a different value for each instance of the job. The following example will create 10 tasks, with values of <code>$SLURM_ARRAY_TASK_ID</code> ranging from 1 to 10: | ||
<!--T:147--> | <!--T:147--> | ||
Line 164: | Line 164: | ||
<!--T:142--> | <!--T:142--> | ||
For more examples, see [[Job arrays]]. See [https://slurm.schedmd.com/job_array.html Job Array Support] | For more examples, see [[Job arrays]]. See [https://slurm.schedmd.com/job_array.html Job Array Support] for detailed documentation. | ||
=== Threaded or OpenMP job === <!--T:21--> | === Threaded or OpenMP job === <!--T:21--> |