ray-software
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ray-software [2014/09/01 14:23] – [Information] aorth | ray-software [2015/06/09 16:37] (current) – aorth | ||
---|---|---|---|
Line 12: | Line 12: | ||
===== Usage ===== | ===== Usage ===== | ||
- | === See versions of ray which are available === | + | See versions of ray which are available: |
- | < | + | < |
+ | |||
+ | 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 | ||
+ | |||
+ | 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 '' | ||
- | === See the built-in help === | ||
- | < | ||
===== Installation ====== | ===== Installation ====== | ||
Notes from the sysadmin during installation: | Notes from the sysadmin during installation: | ||
- | < | + | < |
- | git clone https:// | + | $ git clone https:// |
- | git clone https:// | + | $ git clone https:// |
- | cd ray | + | $ cd ray |
- | git checkout v2.3.1 | + | $ git checkout v2.3.1 |
- | scl enable devtoolset-1.1 bash | + | $ scl enable devtoolset-1.1 bash |
- | module load openmpi/ | + | $ module load openmpi/ |
- | make PREFIX=/ | + | $ make PREFIX=/ |
- | strip Ray | + | $ strip Ray |
- | sudo mkdir -p / | + | $ sudo mkdir -p / |
- | sudo chown -R aorth:aorth / | + | $ sudo chown -R aorth:aorth / |
- | make install | + | $ make install |
- | sudo chown -R root:root / | + | $ sudo chown -R root:root / |
ray-software.1409581389.txt.gz · Last modified: 2014/09/01 14:23 by aorth