rsnt_translations
56,430
edits
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
sbatch --array=0-7 # $SLURM_ARRAY_TASK_ID takes values from 0 to 7 inclusive | sbatch --array=0-7 # $SLURM_ARRAY_TASK_ID takes values from 0 to 7 inclusive | ||
sbatch --array=1,3,5,7 # $SLURM_ARRAY_TASK_ID takes the listed values | sbatch --array=1,3,5,7 # $SLURM_ARRAY_TASK_ID takes the listed values | ||
sbatch --array=1-7:2 # Step | sbatch --array=1-7:2 # Step size of 2, same as the previous example | ||
sbatch --array=1-100%10 # Allows no more than 10 of the jobs to run simultaneously | sbatch --array=1-100%10 # Allows no more than 10 of the jobs to run simultaneously | ||