This is from Chapter 4 of Parallel and High Performance Computing, Robey and Zamora, Manning Publications, available at http://manning.com
The book may be obtained at http://www.manning.com/?a_aid=ParallelComputingRobey
Copyright 2019-2020 Robert Robey, Yuliana Zamora, and Manning Publications Emails: brobey@earthlink.net, yzamora215@gmail.com
See License.txt for licensing information.
Requirements for Data design and performance models likwid
Most of these small code examples are in the main directory. They are built with the Makefile in the main directory.
Build with make
Run the program ./Listing1
No output -- code is the example
Build with make
Run the program ./Listing2
No output -- code is the example
Build with make
Run the program ./Malloc2D
No output -- code is the example
Build with make
Run the program ./Listing5
No output -- code is the example
Build with make
Run the program ./Listing6
No output -- code is the example
Build with make
Run the program ./Listing7
No output -- code is the example
Build with make
Run the program ./Listing8
No output -- code is the example
Build with make
Run the program ./Listing9
No output -- code is the example
Build with make. Only generates an object file
No program to run -- code is the example
Build with make
Run the program ./Listing11
No output -- code is the example
Build with make. Only generates an object file
No program to run -- code is the example
Build with make
Run the program ./Listing13
No output -- code is the example
In Stencil directory
Build with make
Run the program with ./stencil
Measure the performance with
likwid-perfctr -C 0 -g MEM_DP -m ./stencil
Roofline plot is done with plot_roofline_stencil.py
Build with cmake
Run the program with ./MultiMatTest
Performance numbers and expected values from performance model are output