-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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.
Required Packages
- ccache
- openjdk-6-jdk
- libboost-dev
- gnuplot
- g++
sudo apt-get install ccache openjdk-6-jdk libboost-dev gnuplot g++
Steps
-
clone the git repository. You need write access to the location you clone into whenever you run the tool !
-
change to masterthesis/tool
-
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
- 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
-
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
-
for bash autocompleteion support: sudo cp rot.autocompletion /etc/bash_completion.d/rot
-
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