Skip to content

SLURM Script Generator

Interaktívny generátor pre CPU/GPU/multi-node batch skripty na PERUN clusteri s podporou automatického scratch.

PERUN Slurm Script Generator
Interactive generator with automatic scratch support
Slurm · PERUN · HPC

Job Configuration

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

🚀 Enable automatic scratch
Force specific node
Append output
Set OMP_NUM_THREADS
🚀
Automatic Scratch (Recommended)
When enabled, your job automatically runs in fast Lustre scratch with 40x faster I/O. Just add source .activate_scratch and everything else is handled by prolog/epilog. Results are synced to ~/results_job_XXXXX/ after completion.
ℹ️
GPU Jobs
For GPU jobs, always use the GPU partition and request GPUs via --gres=gpu:X.
⚠️
Node Selection
Avoid forcing a specific node in production. Let Slurm schedule your job optimally.

Generated Slurm Script

#!/bin/bash · #SBATCH · automatic scratch · prolog/epilog
📂
How It Works
PROLOG (automatic): Creates scratch, copies files
YOUR JOB: Runs in fast scratch with source .activate_scratch
EPILOG (automatic): Syncs results back, cleanup
🧪
Submit & Monitor
sbatch job.sh · squeue -u $USER · tail -f ~/results_job_*/output.log