using-slurm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
using-slurm [2017/06/07 06:29] – aorth | using-slurm [2019/02/01 12:20] – [Check queue status] jean-baka | ||
---|---|---|---|
Line 19: | Line 19: | ||
[aorth@taurus: | [aorth@taurus: | ||
- | **NB:** interactive jobs have a time limit of 8 hours, if you need more then you should write a batch script. | + | **NB:** interactive jobs have a time limit of 8 hours: if you need more, then you should write a batch script. |
+ | |||
+ | You can also open an interactive session on a specific node of the cluster by specifying it through the '' | ||
+ | < | ||
+ | salloc: Granted job allocation 16349 | ||
+ | [jbaka@compute03 ~]$</ | ||
==== Batch jobs ==== | ==== Batch jobs ==== | ||
Request 4 CPUs for a NCBI BLAST+ job in the '' | Request 4 CPUs for a NCBI BLAST+ job in the '' | ||
Line 62: | Line 68: | ||
blastn -query ~/ | blastn -query ~/ | ||
- | All output is directed to '' | + | All output is directed to '' |
==== Check queue status ==== | ==== Check queue status ==== | ||
- | < | + | '' |
- | + | < | |
- | ==== Receive mail notifications ==== | + | JOBID PARTITION |
- | To receive mail notifications | + | 16330 batch interact |
- | #SBATCH --mail-user | + | 16339 batch interact ckeambou |
- | #SBATCH --mail-type ALL</code> | + | 16340 batch interact ckeambou |
- | + | 16346 batch velvet_o | |
- | Notification mail types(--mail-type) can be BEGIN, END, FAIL, REQUEUE and ALL(any state change). | + | |
- | + | | |
- | Example: | + | </ |
- | < | + | |
- | #SBATCH --mail-user J.Doe@cgiar.org | + | |
- | #SBATCH --mail-type ALL</ | + |
using-slurm.txt · Last modified: 2022/11/03 11:38 by jean-baka