slurm array job
snippet in c

slurm array job

user6058

sbatch --array=x-y submission.script

sbatch array set max jobs at once

user8145

sbatch --array=x-y%z submission.script