Some of the CAC's Private Clusters are managed with OpenHPC, which includes the Slurm Workload Manager (Slurm for short). Slurm (Simple Linux Utility for Resource Management) is a group of utilities used for managing workloads on compute clusters.
This page is intended to give users an overview of Slurm. Some of the information on this page has been adapted from the Cornell Virtual Workshop topics on the Stampede2 Environment and Advanced Slurm. For a more in-depth tutorial, please review these topics directly.
A few Slurm commands to initially get familiar with:
scontrol show nodes scontrol show partition
Submit a job:
srun -p short --pty /bin/bash
scontrol show job [job id] scancel [job id] sinfo -l
- Slurm Docs
- Quick Start User Guide - this page lists all of the available Slurm commands
- Command/Option Summary (two page PDF)
- Frequently Asked Questions includes FAQs for Management, Users and Administrators
- Convenient SLURM Commands has examples for getting information on jobs and controlling jobs
- sbatch - used to submit a job script for later execution. The script will typically contain one or more srun commands to launch parallel tasks.