Submitting array jobs
Overview
Teaching: 15 min
Exercises: 15 minQuestions
How to submit, monitor or cancel array jobs (and why).
Objectives
Be able to submit, monitor and cancel array jobs applicable for several input scenarios
- Why
- Scenarios / examples
- Distributed computing
--array=1-10
- simple example
#!/bin/bash
##FIXME include additional opts here
#SBATCH --array=1-10
sleep 120
hostname
echo $SLURM_TASK_ID
- complex example (real data crunching)
squeue, sacct, scancel
Key Points
First key point. Brief Answer to questions. (FIXME)