SLURM Reference Manual for HP XC System Software
Table Of Contents
- Preface
- Introduction
- SLURM Goals and Roles
- SLURM Features
- SLURM Operation
- SLURM Utilities
- SRUN (Submit Jobs)
- SQUEUE (List Jobs)
- SINFO (List Nodes)
- SMAP (Show Job Geometry)
- SCONTROL (Manage Configurations)
- Disclaimer
- Keyword Index
- Alphabetical List of Keywords
- Date and Revisions
[2]
GOAL: To build a customized status report about specific nodes on a SLURM-managed cluster
(here, MCR), for example, showing only CPUs/node, temporary disk space per node, and
allowed nodes/job.
STRATEGY: (1) Specify which nodes you want reported by using SINFO's -n (--nodes) option (which
here selects MCR nodes from 1 to 500 inclusive).
(2) Use SINFO's -o (lowercase oh, --format) option to specify which specific columns
(node properties) you want to report, the width of each column in characters, and the
order for the columns to appear (left to right). SINFO's general column-specification
language is described with -o in the options section (page 54) above. Here, %15N requests
a 15-character node-list column, %.6c requests a 6-character right-justified CPUs/node
column, %.8d requests an 8-character right-justified disk-space column, and %.12s requests
a 12-character right-justified nodes/job column. For an explanation of each possible
column heading in an SINFO report, see the SINFO Output Fields section (page 58)
above.
User: sinfo -n "mcr[1-500]" -o "%15N %.6c %.8d %.12s"
Rtne:
NODELIST CPUS TMP_DISK JOB_SIZE
mcr[40-103] 2 1 1-16
mcr[104-500] 2 1 1-infinite
SLURM Reference Manual - 62