Skip to content

SLURM Script Generator

Interaktívny generátor pre CPU/GPU/multi-node batch skripty na PERUN clusteri.

PERUN Slurm Script Generator
Interactive generator for CPU / GPU / multi-node batch scripts
Slurm · PERUN · HPC

Job Configuration

Fill in the form and the Slurm script will be generated below.

Force specific node
Append output (no overwrite)
Set OMP_NUM_THREADS
ℹ️
Note
For GPU jobs, always use the GPU partition and request GPUs via --gres=gpu:X.
💡
Tip
Start with shorter runtimes (e.g., 00:30:00) while testing your script. Shorter jobs are often scheduled faster.
⚠️
Warning
For normal usage, avoid forcing a specific node. Let Slurm decide where to run your job.

Generated Slurm Script

#!/bin/bash · #SBATCH · cpu / GPU · OMP_NUM_THREADS
🛑
Danger
Never request GPUs in the cpu partition, and do not run heavy GPU workloads without --gres=gpu:X.
🧪
Example
Submit your script with: sbatch job.sh and inspect your job using squeue -u $USER.