Thursday, 19 December, 2013
Installing Sniper 5.3 on UBUNTU 13.1 virtual machine Yinnon Meshi,
[email protected] Technion, Israel
Hi all, Because I had to install Sniper several times, and the installation is not that easy, I wrote myself a cheat sheet that would shorten things up. I decided to expand it and post it for other people to use. Hope this helps… If you find mistakes – please let me know How to install sniper: 1. Download and install VMware Player from vmware.com 2. Download Ubuntu 13.1 ISO (or later..) 3. Install the ISO and create a virtual machine with Ubuntu 13.1 4. Install the following packages (using Ubuntu Software Center) a. zlib1g-dev b. libbz2-dev c. g++ d. libsqlite3-dev e. libboost-dev f. m4 g. xsltproc h. libx11-dev i. libxext-dev j. libxt-dev k. libxmu-dev l. libxi-dev 5. download sniper into download folder: a. Go to http://snipersim.org/w/Download and request a download link. b. Cd Downloads c. Wget
d. extract it to library : /sniper (I did it from the file browser extract here)
Thursday, 19 December, 2013
6. download and extract PIN: a. wget http://software.intel.com/sites/landingpage/pintool/downloads/pin2.13-61206-gcc.4.4.7-linux.tar.gz b. extract it to a folder named /sniper/pin_kit i. notice – you now have 2 folders in you sniper dir – pin and pin_kit 7. Download and install boost (it might work without this step..) a. download from here: http://sourceforge.net/projects/boost/files/latest/download?source= dlp b. save in sniper/ library c. install boost: ~/Downloads/sniper$ tar --bzip2 -xf boost_1_55_0b1.tar.bz2 i. notice - the file name “boost_1_55_0b1.tar.bz2” might change between boost versions. 8. FINALLY - install sniper: a. ~/Downloads/sniper$ make -j 4 (for 4 cores) b. verify installation : cd test/fft; make run 9. install benchmarks – important! a. Go to sniper dir b. wget http://snipersim.org/packages/sniper-benchmarks.tbz c. tar xjf sniper-benchmarks.tbz d. cd benchmarks e. export GRAPHITE_ROOT=/path/to/sniper f. export BENCHMARKS_ROOT=$(pwd) g. make h. ./run-sniper -p splash2-fft -i test -n 4 -c gainestown # or ./run-sniper --benchmarks=splash2-fft-test-4 -c gainestown # or ./run-sniper --benchmarks=splash2-fft-test-1,splash2-fft-test1,splash2-fft-test-1,splash2-fft-test-1 -c gainestown Enjoy!