Slurm commands

sinfo:

show all nodes

sinfo

scontrol:

show the detailed information of the specified node

scontrol show node <node>

sbatch:

submit .slurm task file

sbatch <slurm file>

submit to a specified node

sbatch <slurm file> --nodelist=node0xx

squeue:

show the task list in slurm servers

squeue

show the specified task in slurm servers.

squeue | grep <task index>

scancel:

kill a slurm job

scancel <jobid>

发表回复