7.8 Slurm Job Scripts

Slurm Job Scripts

This guide goes deeper than the PCluster Slurm overview with practical examples for common research workloads.

What You’ll Learn

  • Writing job scripts for different workload types
  • MPI, OpenMP, and hybrid parallelism
  • Array jobs for parameter sweeps
  • GPU job scripts
  • Job dependencies and pipelines
  • Common mistakes and how to avoid them

For a quick command reference, see the Slurm Quick Reference.