Slurm Builder

mrt-compute · command workshop

Online
Command builder

Build the right Slurm command, the first time.

Pick a partition and node, dial in CPUs, RAM and an 8 GB MPS slice or a full GPU, then copy an interactive srun shell or a ready-to-submit sbatch script.

6nodes
4partitions
8 GBper MPS slice

Partition

Choose the queue for your job.

Node

Pin a specific node or let Slurm choose one that fits.

Resources

CPU and memory limits are enforced per node.

cores
GiB

GPU / MPS

Reserve a full card or an 8 GB MPS slice.

Job settings

Set a time limit and, for batch jobs, a name and log file.

Advanced options

Appended to the srun command.

One option per line. #SBATCH is added automatically.

Script body

This runs after the Slurm allocation starts.

Shebang and #SBATCH lines are generated automatically.

Partition map

Choose which nodes belong to each partition. This drives validation and auto-node selection; Slurm remains the source of truth.

At least one node is required per partition. Defaults: GPU → 3–6, CPU → 1–2, Stud/LMD → all six.