mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
sbatch: add page (#2584)
This commit is contained in:
parent
c2fc8203ae
commit
0b0d5a3cce
1 changed files with 19 additions and 0 deletions
19
pages/linux/sbatch.md
Normal file
19
pages/linux/sbatch.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# sbatch
|
||||||
|
|
||||||
|
> 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}}`
|
Loading…
Add table
Reference in a new issue