Difference between revisions of "Slurm"

From KENET Training
Jump to: navigation, search
Line 10: Line 10:
 
These commands include:
 
These commands include:
 
<code bash>
 
<code bash>
   $ sinfo
+
   $ sinfo : to view the cluster, resources and partition
   $ squeue  
+
   $ squeue : view submitted job.
   $ sbatch
+
   $ sbatch : submit a batch job.
   $ sacct  
+
   $ sacct : for admins
 +
  $ scancel :  to cancel your own job that has been submitted.
 
</code>
 
</code>
These will be explained in the subsequent pages.
+
Usage will be illustrated in the subsequent pages.

Revision as of 15:00, 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;

  1. What resources are available on the cluster.
  2. Queuing and allocation of jobs based on specified resources.
  3. Job monitoring and status reporting.

These commands include:

 $ sinfo : to view the cluster, resources and partition
 $ squeue : view submitted job.
 $ sbatch : submit a batch job.
 $ sacct : for admins
 $ scancel :  to cancel your own job that has been submitted.

Usage will be illustrated in the subsequent pages.