Biowulf

From 太極
Revision as of 21:32, 13 May 2016 by Brb (talk | contribs) (Created page with "* [https://hpc.nih.gov/docs/userguide.html Biowulf User Guide] = Quota = <syntaxhighlight lang='bash'> checkquota </syntaxhighlight> = freen = = Single file - sbatch = <spa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Quota

checkquota

freen

Single file - sbatch

Don't use swarm for a single file

sbatch --cpus-per-task=2 --mem=4g MYSCRIPT

Multiple files - swarm

swarm -t 3 -g 20 -f run_seqtools_vc.sh --module samtools,picard,bwa --verbose 1 --devel
# 3 commands run in 3 subjobs, each command requiring 10 gb and 3 threads, allocating 6 cores and 12 cpus
swarm -t 3 -g 20 -f run_seqtools_vc.sh --module samtools,picard,bwa --verbose 1

# To change the default walltime, use --time=24:00:00

swarm -t 8 -g 24 --module tophat samtools htseq -f run_master.sh
cat sw3n17156.o

Monitor/Delete jobs

sjobs
scancel -u XXXXX
scancel NNNNN
scancel --state=PENDING
scancel --state=RUNNING
squeue -u XXXX

Interactive debugging

sinteractive --mem=8g -c 4