Difference between revisions of "SLURM"

From UMIACS
Jump to navigation Jump to search
Line 1: Line 1:
 
'''Simple Linux Utility for Resource Management'''
 
'''Simple Linux Utility for Resource Management'''
 +
 +
UMIACS is transitioning away from our Torque/Maui batch resource manager to Slurm.  Slurm is now in use broadly with the regional and national super computing communities.
 +
 +
Terminology and command line changes are the biggest differences when coming from Torque/Maui to Slurm.
 +
 +
# Queues are Partitions
 +
 +
=Commands=
 +
 +
==sinfo==
 +
 +
To view partitions and nodes you can use the ```sinfo``` command.
 +
 +
<pre>
 +
adev0: sinfo
 +
PARTITION AVAIL  TIMELIMIT NODES  STATE NODELIST
 +
debug*      up      30:00    2  down* adev[1-2]
 +
debug*      up      30:00    3  idle adev[3-5]
 +
batch        up      30:00    3  down* adev[6,13,15]
 +
batch        up      30:00    3  alloc adev[7-8,14]
 +
batch        up      30:00    4  idle adev[9-12]
 +
</pre>
 +
 +
==squeue==
 +
 +
To show jobs in partitions the ```squeue``` command is used.  This will by default will show all jobs in all partitions.  You can restrict the
 +
 +
==srun==
 +
 +
==scancel==

Revision as of 21:28, 29 July 2015

Simple Linux Utility for Resource Management

UMIACS is transitioning away from our Torque/Maui batch resource manager to Slurm. Slurm is now in use broadly with the regional and national super computing communities.

Terminology and command line changes are the biggest differences when coming from Torque/Maui to Slurm.

  1. Queues are Partitions

Commands

sinfo

To view partitions and nodes you can use the ```sinfo``` command.

adev0: sinfo
PARTITION AVAIL  TIMELIMIT NODES  STATE NODELIST
debug*       up      30:00     2  down* adev[1-2]
debug*       up      30:00     3   idle adev[3-5]
batch        up      30:00     3  down* adev[6,13,15]
batch        up      30:00     3  alloc adev[7-8,14]
batch        up      30:00     4   idle adev[9-12]

squeue

To show jobs in partitions the ```squeue``` command is used. This will by default will show all jobs in all partitions. You can restrict the

srun

scancel