sbatch

Submit a batch job to the SLURM scheduler.

Install

All systems
curl cmd.cat/sbatch.sh
Debian Debian
apt-get install slurm-client
Ubuntu
apt-get install slurm-client
image/svg+xml Kali Linux
apt-get install slurm-client
Fedora
dnf install slurm
OS X
brew install slurm
Raspbian
apt-get install slurm-client

Submit a batch job to the SLURM scheduler.

  • Submit a batch job:
    sbatch path/to/job.sh
  • Submit a batch job with a custom name:
    sbatch --job-name=myjob path/to/job.sh
  • Submit a batch job with a time limit of 30 minutes:
    sbatch --time=00:30:00 path/to/job.sh
  • Submit a job and request multiple nodes:
    sbatch --nodes=3 path/to/job.sh

© tl;dr; authors and contributors