Advertisement
Guest User

Untitled

a guest
Nov 14th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1.  
  2. INSTALL DEPENDENCIES
  3. sudo apt-get install libboost-all-dev libgoogle-perftools-dev libtool m4 automake cmake libtbb-dev libgsl0-dev
  4. sudo apt-get install libboost-all-dev
  5. sudo apt-get install libgoogle-perftools-dev
  6. sudo apt-get install libtool m4 automake
  7. sudo apt-get install cmake
  8. sudo apt-get install libtbb-dev
  9. sudo apt-get install libgsl0-dev
  10. INSTALL GCC 7
  11. sudo apt-get update && \
  12. sudo apt-get install build-essential software-properties-common -y && \
  13. sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
  14. sudo apt-get update && \
  15. sudo apt-get install gcc-snapshot -y && \
  16. sudo apt-get update && \
  17. sudo apt-get install gcc-7 g++-7 -y && \
  18. sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 && \
  19. sudo apt-get install gcc-4.8 g++-4.8 -y && \
  20. sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8;
  21. sudo update-alternatives --config gcc
  22. gcc -v
  23. // PERF may not be needed, but I'll leave here in case it is.
  24. INSTALL PERF
  25. sudo apt-get install libgoogle-perftools-dev
  26. sudo apt install linux-tools-common gawk
  27. sudo apt-get install linux-tools-generic
  28. sudo apt-get install linux-tools-4.13.0-45-generic
  29. sudo apt-get install linux-cloud-tools-4.13.0-45-generic
  30. GET FROM GITLAB
  31. mkdir lftt
  32. cd lftt
  33. git clone http://cse.eecs.ucf.edu/gitlab/pierrelaborde/lftt.git
  34. (change "lftt" folder name to "trans-dev")
  35. cd trans-dev
  36. bash bootstrap.sh
  37. cd ../trans-compile
  38. ../trans-dev/configure
  39. MAKE and TEST
  40. cd trans-compile
  41. make -j8
  42. cd trans-dev/script
  43. python pqtest.py '/home/lance/Transactional/lftt/trans-compile/src/trans'
  44. DEBUG
  45. cd trans-compile
  46. make -j8 CXXFLAGS='-O0 -g'
  47. cd src
  48. gdb --args ./trans <data-structure> <nthreads> <iterations> <txn-size> <key-range> <percent-insert> <percent-delete>
  49. (or)
  50. libtool --mode=execute gdb trans
  51. (or)
  52. gdb ./trans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement