Submitting a job to a slurm queue

From HPC Guide
Revision as of 14:32, 13 March 2023 by Dvory (talk | contribs)
Jump to navigation Jump to search

submit commands

sbatch - submits script

salloc - submit interactive job - allocates what it needs, but will not start to work on the node/s

srun - submits interactive job w mpi ("job step")

sattach - connect stdin/out/err for an existing job (or job step)

So for example, may submit a job with command:

sbatch script.sh

info commands

sinfo<-- to see all queues (partitions) squeue <-- to see all jobs scontrol show partition <-- to see all partitions scontrol show job <number> <-- to see job's attributes