forked from msasongko17/hpctoolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReuseTracker.Install
executable file
·25 lines (21 loc) · 1.35 KB
/
ReuseTracker.Install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Requirement
===============
- Linux kernel version 5.0.0 or higher
- An Intel machine that supports Processor Event-Based Sampling (PEBS), i.e. Nehalem or its successors
- An AMD machine that supports Instruction-Based Sampling (IBS), i.e. AMD family 10h or its successors
Installation
===============
0. (In AMD) Install the Linux kernel module for IBS from https://github.com/ParCoreLab/AMD_IBS_Toolkit
1. Install hpctoolkit-externals from https://github.com/ParCoreLab/hpctoolkit-externals
by typing the following command in the directory of hpctoolkit-externals:
./configure && make && make install
2. Install the custom libmonitor from https://github.com/WitchTools/libmonitor
by typing the following command in the directory of libmonitor:
./configure --prefix=<libmonitor-installation directory> && make && make install
3. Install HPCToolkit with ReuseTracker extensions from
https://github.com/ParCoreLab/hpctoolkit pointing to the installations of
hpctoolkit-externals and libmonitor from steps \#1 and \#2.
Assuming that the underlying architecture is x86_64 and compiler is gcc, this step is performed with the following commands.
a. ./configure --prefix=<targeted installation directory for ComDetective> --with-externals=<directory of hpctoolkit externals>/x86_64-unknown-linux-gnu --with-libmonitor=<libmonitor-installation directory>
b. make
c. make install