Commit 70972e97 authored by MIJIEUX Thomas's avatar MIJIEUX Thomas

update LABBOOK entry for papi test

parent 007f4469
......@@ -276,3 +276,33 @@ private:
CLOCK: [2017-05-14 Sun 04:51]--[2017-05-14 Sun 04:52] => 0:01
:END:
[2017-05-14 Sun 04:51]
*** 2017-05-15 Monday
**** cmake code
Add to generate pkg-config and to include fabulous into another
CMake project
file:~/fabulous/fabulous-config.cmake
file:~/fabulous/cmake_modules/GenPkgConfig.cmake based on chameleon GenPkgConfig
:LOGBOOK:
CLOCK: [2017-05-15 Mon 19:14]--[2017-05-15 Mon 19:16] => 0:02
:END:
[2017-05-15 Mon 19:14]
**** FLOPS counter
Try to validate flops/s performance estimation with hardware PAPI counter.
(commit 20c31809be1f04a1b575008f9527abbec07a2f21 / branch papi)
file:./RESULTS.org
--> two new entry in RESULTS/Run Examples/qr ib dr timing/plot/
Seem to work rather well with non-optimized reference LAPACK.
(even if both measure doesnt match perfectly).
No interessant results can be deduced from papi with just this
code when linking with MKL.
:LOGBOOK:
CLOCK: [2017-05-15 Mon 19:16]
:END:
[2017-05-15 Mon 19:16]
......@@ -297,6 +297,10 @@ mkdir -p ../data/res
./testMatrixMarketChoice -n 100 -t BLOCK -s CGS -m 700 -e 1e-4 -A QRIBDR \
-r DEFLATED -p 5 -u -o "QR-IB-BGMRES-DR"
#+END_SRC
RESULTS FILES:
file:~/fabulous/build/src/data/res/IB-BGMRES-DR.res
file:~/fabulous/build/src/data/res/QR-IB-BGMRES-DR.res
**** plot
#+BEGIN_SRC R
library(ggplot2)
......@@ -309,13 +313,26 @@ ggplot(df, aes(x=nb_mvp)) +
ggtitle("young1c (nrhs=100, m=500 k=5, max_mvp=10000)") +
ylab("time (s)")
#+END_SRC
**** papi (commit 20c31809be1f04a1b575008f9527abbec07a2f21 / branch papi)
Try to compare PAPI hw counter with estimation of Gflops/s we computed:
#+BEGIN_SRC R
library(ggplot2)
df <- read.csv("./build/src/data/res/IB-BGMRES-DR.res")
df <- rbind(df, read.csv("./build/src/data/res/QR-IB-BGMRES-DR.res"))
ggplot(df, aes(x=nb_mvp)) +
geom_line(aes(y=ortho_flops/(ortho_time*1000000000.0), color=paste(name, " Estimate Gflops/s"))) +
geom_line(aes(y=papi_flop_s/1000.0, color=paste(name, " PAPI Gflops/s"))) +
# geom_line(aes(y=papi_flop_s, color=paste(name, " PAPI Mflops/s")) +
ggtitle("young1c (nrhs=100, m=500 k=5, max_mvp=10000)") +
ylab("time (s)")
#+END_SRC
#+BEGIN_SRC R
library(ggplot2)
df <- read.csv("./build/src/data/res/IB-BGMRES-DR.res")
df <- rbind(df, read.csv("./build/src/data/res/QR-IB-BGMRES-DR.res"))
ggplot(df, aes(x=nb_mvp)) +
geom_line(aes(y=ortho_flops/(ortho_time*1000000000.0), color="f/s")) +
geom_point(aes(y=papi_flop_s, color=paste(name, " PAPI Mflops/s"))) +
ggtitle("young1c (nrhs=100, m=500 k=5, max_mvp=10000)") +
ylab("time (s)")
#+END_SRC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment