ray-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
ray-software [2014/09/01 14:23] – [Information] aorth | ray-software [2014/09/26 14:01] – aorth | ||
---|---|---|---|
Line 17: | Line 17: | ||
=== See the built-in help === | === See the built-in help === | ||
< | < | ||
+ | |||
+ | === Example batch job === | ||
+ | Running Ray on two different nodes via MPI with a total of 15 CPUs: | ||
+ | |||
+ | < | ||
+ | #SBATCH -p batch | ||
+ | #SBATCH -n 15 | ||
+ | #SBATCH -J ray | ||
+ | #SBATCH --nodes=2 | ||
+ | |||
+ | module load ray/2.3.1 | ||
+ | |||
+ | readonly DATADIR=~/ | ||
+ | readonly OUTDIR=~/ | ||
+ | |||
+ | # mpirun gets the number of processors from SLURM | ||
+ | mpirun Ray -k 27 -p ${DATADIR}/ | ||
+ | |||
+ | Save in a file and submit using '' | ||
===== 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