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:45] 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 ===== | ||
Line 50: | Line 72: | ||
<file> | <file> | ||
- | volker@malin1:~/Genga/Jobs/HitnRun/Reufer2012$ cat cC03m_conex.job | ||
#!/bin/bash | #!/bin/bash | ||
#SBATCH --output /home/ics/volker/Genga/Jobs/HitnRun/Reufer2012/Logs/cC03m_conex-%j.out | #SBATCH --output /home/ics/volker/Genga/Jobs/HitnRun/Reufer2012/Logs/cC03m_conex-%j.out |