This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
|
using-slurm [2019/02/01 12:26] jean-baka |
using-slurm [2020/10/08 13:06] jean-baka [Batch jobs] |
||
|---|---|---|---|
| Line 8: | Line 8: | ||
| * highmem | * highmem | ||
| - | " | + | " |
| To see more information about the queue configuration, | To see more information about the queue configuration, | ||
| + | |||
| + | < | ||
| + | Fri Feb 1 15:27:44 2019 | ||
| + | NODELIST | ||
| + | compute2 | ||
| + | compute03 | ||
| + | compute03 | ||
| + | compute04 | ||
| + | hpc 1 debug* | ||
| + | mammoth | ||
| + | taurus | ||
| + | </ | ||
| + | |||
| + | The above tells you, for instance, that compute04 has 8 CPUs while compute2 has 64 CPUs. And that a job sent to the " | ||
| ===== Submitting jobs ===== | ===== Submitting jobs ===== | ||
| ==== Interactive jobs ==== | ==== Interactive jobs ==== | ||
| - | How to get an interactive session, | + | How to get an interactive session, |
| < | < | ||
| salloc: Granted job allocation 1080 | salloc: Granted job allocation 1080 | ||
| Line 27: | Line 41: | ||
| ==== Batch jobs ==== | ==== Batch jobs ==== | ||
| - | Request | + | We are writing a SLURM script below. The parameters in its header request |
| < | < | ||
| #SBATCH -p batch | #SBATCH -p batch | ||
| Line 50: | Line 64: | ||
| < | < | ||
| #SBATCH -p batch | #SBATCH -p batch | ||
| - | #SBATCH -n 4 | ||
| #SBATCH -J blastn | #SBATCH -J blastn | ||
| + | #SBATCH -n 4 | ||
| # load the blast module | # load the blast module | ||
| Line 71: | Line 85: | ||
| ==== Check queue status ==== | ==== Check queue status ==== | ||
| - | '' | + | '' |
| < | < | ||
| JOBID PARTITION | JOBID PARTITION | ||