Info: Zenodo’s user support line is staffed on regular business days between Dec 23 and Jan 5. Response times may be slightly longer than normal.

Published June 27, 2022 | Version v1
Lesson Open

HPC Code Optimisation Workshop

  • 1. LRZ

Description

In the ever-growing complexity of computer architectures, code optimisation has become the main route to keep pace with hardware advancements and effectively make use of current and upcoming High Performance Computing systems.

Have you ever asked yourself:

  • Where are the performance bottlenecks of my application?
  • What is the maximum speed-up achievable on the architecture I am using?
  • Does my code scale well across multiple machines?
  • Does my implementation match my HPC objectives?

In this workshop, we will discuss these questions and provide a unique opportunity to learn techniques, methods and solutions on how to improve code, how to enable the new hardware features and how to use visualise the potential benefits of an optimisation process.

We will describe the latest micro-processor architectures and how developers can efficiently use modern HPC hardware, including SIMD vector units and the memory hierarchy. We will also touch upon exploiting intra-node and inter-node parallelism.

Attendees will be guided along the optimisation process through the incremental improvement of an example application. Through hands-on exercises they will learn how to enable vectorisation using simple pragmas and more effective techniques like changing data layout and alignment.

The work is guided by hints from compiler reports, and profiling tools such as Intel® AdvisorIntel® VTune™ AmplifierIntel® Application Performance Snapshot and LIKWID for investigating and improving the performance of an HPC application.

You can ask the lecturers in the Q&A session about how to optimise your code. Please provide a description of your code in the registration form.

Notes

https://doku.lrz.de/display/PUBLIC/PRACE+Course%3A+HPC+Code+Optimisation+Workshop+2022

Files

1_1_Principles.pdf

Files (41.2 MB)

Name Size Download all
md5:2444cc912e7319af7752c961805f455f
968.2 kB Preview Download
md5:0f1fc49d6a63273ae33abad7024110a5
3.2 MB Preview Download
md5:eff7cef1218d88271ca510dc2fe571b6
2.6 MB Preview Download
md5:a38524e46a1eee738dbabfaaf5a3b1f5
2.0 MB Preview Download
md5:8612ecf770a0749ecd77024d42baedc4
60.0 kB Download
md5:b3fd0d3978f39df1f7b38f394bf71bc1
67.1 kB Download
md5:9da7770062d1515f1219ad68845088f2
452.3 kB Preview Download
md5:57ab7cc459fe22d465d2f400147aab2c
191.7 kB Preview Download
md5:6b3e0a839553f1a9b4818dde2c67c716
20.5 kB Download
md5:0bc9d3bb756b4a26366b65883c283ad7
2.1 MB Preview Download
md5:fc0f38d3b1b0c57c3f525ecf21a68e20
13.6 MB Preview Download
md5:d47e66bdc7ea15670bda07eb850b77da
1.5 MB Preview Download
md5:03e81de46b19cee79f2ab46f3e85d004
7.6 MB Preview Download
md5:f0a20314dbbd8146b049e0753ae8578b
3.3 MB Preview Download
md5:1ab97e838191114507e2b0c4d0ab8df7
750.5 kB Preview Download
md5:a6761a256040735ecd935242e2676f4b
2.7 MB Preview Download