Resources¶
External references and guides for SLURM and LSF-to-SLURM migration.
Official SLURM documentation¶
- SLURM Documentation — comprehensive reference for all SLURM commands and configuration
- sbatch Manual — all
#SBATCHdirectives andsbatchoptions - srun Manual — interactive and parallel job launch
- Job Array Support — detailed job array documentation
- sacct Manual — job accounting and history
Migration guides¶
- SchedMD Rosetta Stone — the official PBS/LSF/SLURM command comparison (PDF)
- LLNL SLURM Tutorials — Lawrence Livermore National Laboratory's SLURM guides
- ETH Zurich LSF to SLURM — concise migration quick reference
- FIU LSF to SLURM — Florida International University's migration guide
Cheat sheets¶
- SLURM Quick Reference (PDF) — two-page command summary
- SLURM Command Comparison — web version of the Rosetta Stone
Tools¶
- IBM lsf-slurm-wrappers — drop-in wrapper scripts that translate LSF commands to SLURM equivalents in real time
lsf2slurm.sh— this project's sed-based directive converter
SLURM tips for LSF users¶
Key mindset shifts
- No input redirection: Use
sbatch script.sh, notsbatch < script.sh - Time format: SLURM prefers
HH:MM:SSorD-HH:MM:SS; bare minutes are not standard - Memory suffixes: Use
--mem=4Ginstead of bare numbers to be explicit about units sefffor efficiency: After jobs complete, runseff <jobid>to see how well you utilized your allocationsqueueformatting: Customize with--formator setSQUEUE_FORMATin your.bashrc- Default output: SLURM writes to
slurm-<jobid>.outby default (LSF usesLSFJOB_<jobid>/)