sequenceDiagram autonumber User-)+Scheduler: sbatch $resource_args jobscript.sh Scheduler->>+Scheduler: add job to queue User-)+Scheduler: squeue / scontrol show job Scheduler-->>+User: job status Note right of Scheduler: scheduler loop Scheduler-)Compute Node: start job Compute Node->>Compute Node: execute job Compute Node-)+Scheduler: job complete