User Tools

Site Tools


using-slurm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
using-slurm [2022/11/03 11:36] – amended script to remove the comment on the shebang line jean-bakausing-slurm [2022/11/03 11:38] (current) jean-baka
Line 50: Line 50:
 blastn -query ~/data/sequences/drosoph_14_sequences.seq -db nt -num_threads 4</code> blastn -query ~/data/sequences/drosoph_14_sequences.seq -db nt -num_threads 4</code>
  
-In the above, please **DO NOT FORGET the '-l' option** on the first ("sha-bang") line, as it enables the module command.+In the above, please **DO NOT FORGET the '-l' option** on the first ("sha-bang") line, as it is compulsory for correct interpretation of the ''module load'' commands.
  
 We then submit the script with the ''sbatch'' command: We then submit the script with the ''sbatch'' command:
Line 61: Line 61:
 Instead, you can use a local "scratch" folder on the compute nodes to alleviate this burden, for example: Instead, you can use a local "scratch" folder on the compute nodes to alleviate this burden, for example:
  
-<code>#!/usr/bin/bash -l # <--- DO NOT FORGET '-l', it enables the module command+<code>#!/usr/bin/bash -l
 #SBATCH -p batch #SBATCH -p batch
 #SBATCH -J blastn #SBATCH -J blastn
using-slurm.txt · Last modified: 2022/11/03 11:38 by jean-baka