snippetbashTip
sbatch — Submit a batch job to the SLURM scheduler. More information: <https://manned.org/sbatch>.
Viewed 0 times
thecommandbatchslurmclisbatchjobsubmit
linux
Problem
How to use the
sbatch command: Submit a batch job to the SLURM scheduler. More information: <https://manned.org/sbatch>.Solution
sbatch — Submit a batch job to the SLURM scheduler. More information: <https://manned.org/sbatch>.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}}Code Snippets
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}}Context
tldr-pages: linux/sbatch
Revisions (0)
No revisions yet.