The slurm system has three main parts: • slurmctld, a central control
daemon running on a single control node (optionally with
failover backups); • Many computing nodes, each with one or more slurmd daemons; • Clients that connect to the manager node, often with
ssh. • The clients can issue commands to the control daemon, which would accept and divide the workload to the computing daemons. For clients, the main commands are srun (queue up an interactive job), sbatch (queue up a job), squeue (print the job queue) and scancel (remove a job from the queue). Jobs can be run in
batch mode or
interactive mode. For interactive mode, a compute node would start a shell, connects the client into it, and run the job. From there the user may observe and interact with the job while it is running. Usually, interactive jobs are used for initial debugging, and after debugging, the same job would be submitted by sbatch. For a batch mode job, its stdout and stderr outputs are typically directed to text files for later inspection. ==See also==