Skip to content
GeorgOfenbeck edited this page May 10, 2012 · 4 revisions

The roofline tool is desgined to ease the effort to create roofline plots for performance analysis. The initial version was designed and created by Ruedi Steinman during his master thesis within the Advanced Computing Laboratory at ETH Zurich.

How to install

Required Packages


  • ccache
  • openjdk-6-jdk
  • libboost-dev
  • gnuplot
  • g++

sudo apt-get install ccache openjdk-6-jdk libboost-dev gnuplot g++

Steps


  1. clone the git repository. You need write access to the location you clone into whenever you run the tool !

  2. change to masterthesis/tool

  3. build tool ./gradlew --daemon build eclipse

==> builds the tool, generates eclipse project files This might take a while, since all dependencies are downloaded, including Gradle

  1. install libpfm4 and libpfm4-dev located in masterthesis/tool/lib i386: sudo dpkg -i lib/libpfm4_2.0_i386.deb lib/libpfm4-dev_2.0_i386.deb

amd64: sudo dpkg -i lib/libpfm4_2.0_amd64.deb lib/libpfm4-dev_2.0_amd64.deb

  1. link masterthesis/tool/frontend/build/rot from a directory which is in the shell path cd /usr/local/bin sudo ln -s .../frontend/build/rot

  2. for bash autocompleteion support: sudo cp rot.autocompletion /etc/bash_completion.d/rot

  3. For Core, CoreDuo: build the system configurator cd systemConfigurator; sudo make super; cd ..

Additional Libraries


Various kernels require additional libraries:

-MKL: Intel Math Kernel Libraries They can be downloaded for free for non-commercial purposes from the Intel website. Go to evaluation, the link is at the very bottom.

The libraries have to be put into the search path IA32: sudo bash -c "echo '/opt/intel/mkl/lib/ia32' >/etc/ld.so.conf.d/mkl.conf && ldconfig"

IA64: sudo bash -c "echo '/opt/intel/mkl/lib/intel64' >/etc/ld.so.conf.d/mkl.conf && ldconfig"

-FFTW sudo apt-get install libfftw3-dev

-OpenBlas sudo apt-get install libopenblas-dev libblas-dev

-Spiral-WHT got to tools/lib and install the library contained in spiral-wht-1.8.tgz

  • extract
  • ./configure
  • make
  • sudo make install
Clone this wiki locally