
Tips, Help & Wrap-Up
Slurm cheatsheet, troubleshooting,
and where to go from here
Resources
isambard-support@exeter.ac.ukSection 7 — 15 min


Directives to explore on your own — man sbatch is the
full reference
| Directive | Purpose |
|---|---|
--mem |
Total memory for the job |
--mem-per-cpu |
Memory per allocated CPU core |
--cpus-per-task |
CPU cores per task (threads) |
--ntasks-per-node |
Number of tasks on each node |
Other useful man pages:
man srun · man squeue ·
man scancel · man sacct ·
man scontrol · man sacctmgr ·
man sinfo
All are also available online at https://slurm.schedmd.com.
Useful for clean parseable output — but keep them merged while debugging
By default Slurm merges both streams into --output.
Splitting them gives you clean output you can parse or post-process.
Trade-off: you lose the interleaving that shows how stdout and stderr relate in time. Keep them merged while debugging, split them when you need machine-readable output.
sacct tells you how efficiently your job used its allocation
| Column | Meaning |
|---|---|
TotalCPU |
User + sys CPU time summed over all tasks |
Elapsed |
Wall-clock time |
NCPUS |
Cores allocated |
CPUTime |
Elapsed × NCPUS — the budget
you could have used |
MaxRSS |
Peak memory usage |
Utilisation = TotalCPU / CPUTime. A
healthy run is near 1.0.
If TotalCPU > NCPUS × Elapsed, threads are fighting
for cores — you have allocated fewer cores than the job actually
uses.
Commands worth bookmarking — reference, not memorisation
rsync is the universal workhorse
# Push a directory to Isambard
rsync -avz my_project/ e6c.3.isambard:${PROJECTDIR}/my_project/
# Pull results back
rsync -avz e6c.3.isambard:${SCRATCHDIR}/results/ ./results/-a archive mode (preserves permissions, timestamps,
symlinks)-v verbose-z compress during transferrsync only transfers changed files on subsequent runs —
safe to re-run after interrupted transfers.
Garbled output on SSH? Your terminal might be setting an unknown
$TERM
Slurm docs
https://slurm.schedmd.com/documentation.html
Full reference for every command and directive.
UoE RSE support (workshop follow-up, usage questions):
isambard-support@exeter.ac.uk
BriCS helpdesk (system issues, accounts, allocations):
Q & A
Questions, comments, or things you want to try next?
We will send a short feedback survey by email after the workshop.
Please fill it in — your responses directly shape future sessions.
Thank you for attending!