User Tools

Site Tools


ray-software

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
ray-software [2014/09/01 14:23] – [Information] aorthray-software [2014/09/26 14:00] – [Usage] aorth
Line 17: Line 17:
 === See the built-in help === === See the built-in help ===
 <code>Ray -help | less</code> <code>Ray -help | less</code>
 +
 +=== Example batch job ===
 +Running Ray on two different nodes with MPI and 15 total CPUs:
 +<code>#!/bin/env bash
 +#SBATCH -p batch
 +#SBATCH -n 15
 +#SBATCH -J ray
 +#SBATCH -w mammoth,taurus
 +
 +module load ray/2.3.1
 +
 +readonly DATADIR=~/data/bfusca
 +readonly OUTDIR=~/data/bfusca/ray-sept26
 +
 +# mpirun gets the number of processors from SLURM
 +mpirun Ray -k 27 -p ${DATADIR}/1_S1_L001_R1_001_val_1.fastq.gz ${DATADIR}/1_S1_L001_R2_001_val_2.fastq.gz -o ${OUTDIR}</code>
 +
 +Save in a file and submit using ''sbatch ray-mpi.sbatch''.
 ===== Installation ====== ===== Installation ======
 Notes from the sysadmin during installation: Notes from the sysadmin during installation:
ray-software.txt · Last modified: 2015/06/09 16:37 by aorth