mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-16 14:49:10 +00:00
Update cheatsheets
This commit is contained in:
25
linux/sbatch
Normal file
25
linux/sbatch
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user