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
Next revision
Previous revision
Next revisionBoth sides next revision
using-slurm [2015/03/18 15:43] aorthusing-slurm [2015/05/11 06:33] joguya
Line 50: Line 50:
 module load blast/2.2.30+ module load blast/2.2.30+
  
-WORKDIR=/var/scratch/$SLURM_JOBID+WORKDIR=/var/scratch/$USER/$SLURM_JOBID
 mkdir -p $WORKDIR mkdir -p $WORKDIR
  
Line 66: Line 66:
 ==== Check queue status ==== ==== Check queue status ====
 <code>squeue</code> <code>squeue</code>
 +
 +==== Receive mail notifications ====
 +To receive mail notifications about the state of your job, add the following lines to your sbatch script: whereby <EMAIL_ADDRESS> is your email address<code>
 +#SBATCH --mail-user <EMAIL_ADDRESS>
 +#SBATCH --mail-type ALL</code>
 +
 +Notification mail types(--mail-type) can be BEGIN, END, FAIL, REQUEUE and ALL(any state change).
 +
 +
using-slurm.txt · Last modified: 2022/11/03 11:38 by jean-baka