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 [2013/08/14 10:55] – aorth | using-slurm [2013/12/02 14:21] – aorth | ||
---|---|---|---|
Line 3: | Line 3: | ||
Our SLURM is configured with the following job queues (also called " | Our SLURM is configured with the following job queues (also called " | ||
+ | |||
* debug | * debug | ||
* batch | * batch | ||
* highmem | * highmem | ||
- | " | + | " |
To see more information about the queue configuration, | To see more information about the queue configuration, | ||
Line 25: | Line 26: | ||
#SBATCH -n 4 | #SBATCH -n 4 | ||
- | export BLASTDB=/ | + | # load the blast module |
module load blast/ | module load blast/ | ||
+ | # run the blast with 4 CPU threads (cores) | ||
blastn -query ~/ | blastn -query ~/ | ||
Line 34: | Line 35: | ||
< | < | ||
Submitted batch job 1082</ | Submitted batch job 1082</ | ||
+ | |||
+ | ==== Batch job using local storage ==== | ||
+ | Users' home folders are mounted over the network (on " | ||
+ | |||
+ | Instead, you can use a local " | ||
+ | |||
+ | < | ||
+ | #SBATCH -p batch | ||
+ | #SBATCH -n 4 | ||
+ | #SBATCH -J blastn | ||
+ | |||
+ | # load the blast module | ||
+ | module load blast/ | ||
+ | |||
+ | WORKDIR=/ | ||
+ | mkdir -p $WORKDIR | ||
+ | |||
+ | echo "Using $WORKDIR on $SLURMD_NODENAME" | ||
+ | echo | ||
+ | |||
+ | # run the blast with 4 CPU threads (cores) | ||
+ | blastn -query ~/ | ||
+ | |||
+ | All output is directed to '' | ||
==== Check queue status ==== | ==== Check queue status ==== | ||
< | < |
using-slurm.txt · Last modified: 2022/11/03 11:38 by jean-baka