Difference between revisions of "Basic Usage: CPU Based Resources With Slurm"
From KENET Training
								
												
				 (Created page with "== Introduction == Slurm [https://slurm.schedmd.com/documentation.html] is a workload manager for clusters, offering both batch and interactive job scheduling.  It works over...")  | 
				|||
| Line 9: | Line 9: | ||
== Simple  commands with SLURM ==  | == Simple  commands with SLURM ==  | ||
| + | You can obtain information on the Slurm  "Partitions" that accept jobs using the sinfo command:   | ||
| + | |||
| + | $ sinfo  | ||
| + | PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST  | ||
| + | test         up   infinite      1   idle gnt-usiu-gpu-00.kenet.or.ke  | ||
| + | gpu1         up   infinite      1   idle gnt-usiu-gpu-00.kenet.or.ke  | ||
| + | normal*      up   infinite      1   idle gnt-usiu-gpu-00.kenet.or.ke  | ||
Revision as of 13:21, 1 April 2025
Introduction
Slurm [1] is a workload manager for clusters, offering both batch and interactive job scheduling. It works over a text based interface on the linux terminal.
Slurm will provide you with the following to help you make use of the cluster;
- What resources are available on the cluster.
 - Queuing and allocation of jobs based on specified resources.
 - Job monitoring and status reporting.
 
Simple commands with SLURM
You can obtain information on the Slurm "Partitions" that accept jobs using the sinfo command:
$ sinfo PARTITION AVAIL TIMELIMIT NODES STATE NODELIST test up infinite 1 idle gnt-usiu-gpu-00.kenet.or.ke gpu1 up infinite 1 idle gnt-usiu-gpu-00.kenet.or.ke normal* up infinite 1 idle gnt-usiu-gpu-00.kenet.or.ke