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 revision Previous revision
Next revision
Previous revision
ray-software [2014/09/26 14:00]
aorth [Usage]
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: 
-<code>module avail ray</code>+<code>module avail ray</code>
  
-=== See the built-in help === +See the built-in help: 
-<code>Ray -help | less</code>+<code>Ray -help | less</code>
  
 === Example batch job === === Example batch job ===
-Running Ray on two different nodes with MPI and 15 total CPUs:+Running Ray on two different nodes via MPI with a total of 15 CPUs: 
 <code>#!/bin/env bash <code>#!/bin/env bash
 #SBATCH -p batch #SBATCH -p batch
 #SBATCH -n 15 #SBATCH -n 15
 #SBATCH -J ray #SBATCH -J ray
-#SBATCH -w mammoth,taurus+#SBATCH --nodes=2
  
 module load ray/2.3.1 module load ray/2.3.1
Line 35: Line 36:
  
 Save in a file and submit using ''sbatch ray-mpi.sbatch''. 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:
  
-<code>cd /tmp +<code>cd /tmp 
-git clone https://github.com/sebhtml/RayPlatform.git +git clone https://github.com/sebhtml/RayPlatform.git 
-git clone https://github.com/sebhtml/ray.git +git clone https://github.com/sebhtml/ray.git 
-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/1.8.2 +module load openmpi/1.8.2 
-make PREFIX=/export/apps/ray/2.3.1 HAVE_LIBZ=y HAVE_LIBBZ2=y +make PREFIX=/export/apps/ray/2.3.1 HAVE_LIBZ=y HAVE_LIBBZ2=y 
-strip Ray +strip Ray 
-sudo mkdir -p /export/apps/ray/2.3.1 +sudo mkdir -p /export/apps/ray/2.3.1 
-sudo chown -R aorth:aorth /export/apps/ray/2.3.1 +sudo chown -R aorth:aorth /export/apps/ray/2.3.1 
-make install +make install 
-sudo chown -R root:root /export/apps/ray/2.3.1</code>+sudo chown -R root:root /export/apps/ray/2.3.1</code>
ray-software.1411740015.txt.gz · Last modified: 2014/09/26 14:00 by aorth