This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
slurm [2015/03/24 11:46] volker |
slurm [2015/03/24 11:47] (current) volker [Basics] |
||
---|---|---|---|
Line 6: | Line 6: | ||
* Cf. [[https://computing.llnl.gov/linux/slurm/man_index.html]] | * Cf. [[https://computing.llnl.gov/linux/slurm/man_index.html]] | ||
* Especially [[https://computing.llnl.gov/linux/slurm/sbatch.html]] | * Especially [[https://computing.llnl.gov/linux/slurm/sbatch.html]] | ||
+ | |||
+ | ===== Basics ====== | ||
+ | |||
+ | * Submit batch jobs | ||
+ | |||
+ | <code> | ||
+ | $ sbatch script.job | ||
+ | </code> | ||
+ | |||
+ | * Cancel jobs | ||
+ | |||
+ | <code> | ||
+ | $ scancel jobid | ||
+ | </code> | ||
+ | |||
+ | * View the queue | ||
+ | |||
+ | <code> | ||
+ | $ squeue | ||
+ | </code> | ||
+ | |||
+ | See below for example job scripts. | ||
===== Random Tips & Tricks ===== | ===== Random Tips & Tricks ===== |