User Tools

Site Tools


usingslurm

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
usingslurm [2013/05/27 14:45] – [Batch jobs] aorthusingslurm [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Using SLURM ====== 
  
-==== Interactive jobs ==== 
-How to get an interactive session, ie when you want to interact with a program (like R, etc): 
-<code>[aorth@hpc: ~]$ interactive  
-salloc: Granted job allocation 1080 
-[aorth@taurus: ~]$</code> 
- 
-==== Batch jobs ==== 
-Request 4 CPUs for a batch NCBI BLAST+ job: 
-<code>#!/bin/bash 
-#SBATCH -p batch 
-#SBATCH -n 4 
- 
-export BLASTDB=/export/data/bio/ncbi/blast/db 
- 
-blastn -query ~/data/sequences/drosoph_14_sequences.seq -db nt -num_threads 4</code> 
usingslurm.1369665956.txt.gz · Last modified: by aorth