srun
Run a command under the Slurm workload manager. More information: https://slurm.schedmd.com/srun.html.
- Run a simple command interactively:
srun hostname
- Run a job with 4 tasks (CPUs):
srun 4
- Allocate 8 GB of memory:
srun --mem 8G
- Run a job on a specific partition:
srun gpu
- Run a job and save the output to a file:
srun >
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
