-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathREADME
More file actions
48 lines (30 loc) · 1.19 KB
/
README
File metadata and controls
48 lines (30 loc) · 1.19 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
The listings 3.1 and 3.2 are just snippets and can't be run
The code in this directory is for command line examples (not listings)
# Roofline toolkit is now updated to python 3
Roofline toolkit
cd roofline_toolkit
cd cs-roofline-toolkit/Empirical_Roofline_Tool-1.1.0
cp Config/config.madonna.lbl.gov.01 Config/MacLaptop2017
edit Config/MacLaptop2017
Test mpirun command (Just type 'mpirun') and see if there is any extraneous output; if so,
modify preprocess.py to remove it as in the following sed command:
sed -i -e '/for l in os.sys.stdin:/a\ \ l=l.replace("Invalid MIT-MAGIC-COOKIE-1 key","")' Scripts/preprocess.py
Run the tests with ./ert Config/MacLaptop2017
View Results.MacLaptop2017/Run.001/roofline.ps
Call-graph
Need Valgrind and Callgrind
cd into Call-graph directory
run callgraph.sh
Likwid-perfctr
Need Likwid and CloverLeaf
cd into likwid-perfctr
run likwid_perfctr.sh
Jupyter notebook
Need python3, numpy, scipy, matplotlib, and jupyter
cd jupyter
Start up jupyter notebook
jupyter notebook HardwarePlatformCharacterization.ipynb
Run the notebook
plot_roofline
cd plot_roofline
python2 plot_roofline.py