summaryrefslogtreecommitdiff
path: root/omega/ROSE_INSTALL.txt
diff options
context:
space:
mode:
authordhuth <derickhuth@gmail.com>2014-11-21 13:35:20 -0700
committerdhuth <derickhuth@gmail.com>2014-11-21 13:35:20 -0700
commita1834b22c43c282442b0cb164767e6c877cf0e5b (patch)
treebedc5be7d1bdb8d32c1868caa496a8a1530d8d8a /omega/ROSE_INSTALL.txt
parentded84bb4aec7461738e7b7033d782a518e2c606b (diff)
parenteb9236c5353785472ae132f27e1cfb9f1e4264a5 (diff)
downloadchill-a1834b22c43c282442b0cb164767e6c877cf0e5b.tar.gz
chill-a1834b22c43c282442b0cb164767e6c877cf0e5b.tar.bz2
chill-a1834b22c43c282442b0cb164767e6c877cf0e5b.zip
Merge branch 'master' into doe
Diffstat (limited to 'omega/ROSE_INSTALL.txt')
-rw-r--r--omega/ROSE_INSTALL.txt77
1 files changed, 77 insertions, 0 deletions
diff --git a/omega/ROSE_INSTALL.txt b/omega/ROSE_INSTALL.txt
new file mode 100644
index 0000000..79e0c43
--- /dev/null
+++ b/omega/ROSE_INSTALL.txt
@@ -0,0 +1,77 @@
+INSTALLATION STEPS:
+
+1) Please install Boost library version <= 1.45.0 using these instruccions
+
+1. Download BOOST.
+Download BOOST at www.boost.org/users/download.
+
+2. Untar BOOST.
+Type tar -zxf BOOST-[VersionNumber].tar.gz to untar the BOOST distribution.
+
+3. Create a separate install tree.
+Type mkdir installTree to create a location for the install.
+
+4. Run the bootstrap.sh script.
+Type ./bootstrap.sh --prefix=[installTree]
+
+5. Run bjam.
+Type ./bjam install --prefix=[installTree]
+
+
+6) set your BOOSTHOME environment variable to where you've installed BOOST.
+
+7) Download the latest version of rose from the website.
+ https://outreach.scidac.gov/frs/?group_id=24
+
+8) set the JAVA_HOME environment variable in your ${HOME}/.bashrc
+ eg. export JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk
+
+9) add this to the LD_LIBRARY_PATH environment variable
+
+ LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/i386/server:$LD_LIBRARY_PATH
+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${BOOSTHOME}/lib
+
+10) make a new empty directory separate from the downloaded source directory($ROSE_SRC) for rose.
+ eg. mkdir ${HOME}/compileTree
+
+11) set your ROSEHOME environment variable in ${HOME}/.bashrc to ${HOME}/compileTree
+
+12) run the following command from this ${ROSEHOME}
+ ${ROSE_SRC}/configure --prefix=${ROSEHOME} --with-boost=${BOOSTHOME} --with-boost-libdir=${BOOSTHOME}/lib -with-haskell=no
+
+13) run the following command to compile:
+ make install-core
+
+
+14) Install lua version <= 5.1 (usually not necessary to set the LUAHOME environment variable unless
+ you installed it in a local directory, in which case set LUAHOME to that directory). Lua is only required for
+ cuda-chill and not plain chill.
+
+15) If you are installing for CUDA-CHILL set the CUDACHILL environment variable to true
+ else false
+
+
+16) Install omega by doing the following commands
+ i) make clean
+ ii) make veryclean
+ iii)make depend
+ iv) make
+
+17) Set your OMEGAHOME environment variable to the appropriate directory in ${HOME}/.bashrc
+
+18) Install cuda-chill by doing the following commands
+ i) make clean
+ ii) make veryclean
+ iii)make depend-cuda-chill
+ iv) make cuda-chill
+
+ else if you are installing just plain chill
+ export CUDACHILL=false; (remember to rebuild plain omega as well)
+ i) make clean
+ ii) make veryclean
+ iii)make depend
+ iv) make
+
+19) Go to examples/cuda-chill and run ../../cuda-chill mm.lua
+
+20) If running plain Chill go to examples/chill and run ../../chill gemm.script