summaryrefslogtreecommitdiff
path: root/omega/ROSE_INSTALL.txt
diff options
context:
space:
mode:
authorDerick Huth <derickhuth@gmail.com>2014-10-06 12:42:34 -0600
committerDerick Huth <derickhuth@gmail.com>2014-10-06 12:42:34 -0600
commit8d73c8fcc75556c1df71dd39dd99783f8f86fc3e (patch)
tree157d627863d76a4c256a27cae27ce2e8566c7ea0 /omega/ROSE_INSTALL.txt
parente87b55ad69f0ac6211daae741b32c8ee9dcbe470 (diff)
parent8c646f24570079eac53e58fcf42d0d4fbc437ee3 (diff)
downloadchill-8d73c8fcc75556c1df71dd39dd99783f8f86fc3e.tar.gz
chill-8d73c8fcc75556c1df71dd39dd99783f8f86fc3e.tar.bz2
chill-8d73c8fcc75556c1df71dd39dd99783f8f86fc3e.zip
Merge pull request #2 from dhuth/master
Moved omega into chill.
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