Skip to content

Resources

External references and guides for SLURM and LSF-to-SLURM migration.

Official SLURM documentation

Migration guides

Cheat sheets

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

  1. No input redirection: Use sbatch script.sh, not sbatch < script.sh
  2. Time format: SLURM prefers HH:MM:SS or D-HH:MM:SS; bare minutes are not standard
  3. Memory suffixes: Use --mem=4G instead of bare numbers to be explicit about units
  4. seff for efficiency: After jobs complete, run seff <jobid> to see how well you utilized your allocation
  5. squeue formatting: Customize with --format or set SQUEUE_FORMAT in your .bashrc
  6. Default output: SLURM writes to slurm-<jobid>.out by default (LSF uses LSFJOB_<jobid>/)