Introduction to Hybrid Programming in HPC

Research & Science
Introduction to Hybrid Programming in HPC


Most HPC systems are clusters of shared memory nodes. Such SMP nodes can be small multi-core CPUs up to large many-core CPUs. Parallel programming may combine the distributed memory parallelization on the node interconnect (e.g., with MPI) with the shared memory parallelization inside of each node (e.g., with OpenMP or MPI-3.0 shared memory). This course analyzes the strengths and weaknesses of several parallel programming models on clusters of SMP nodes. Multi-socket-multi-core systems in highly parallel environments are given special consideration. MPI-3.0 has introduced a new shared memory programming interface, which can be combined with inter-node MPI communication. It can be used for direct neighbor accesses similar to OpenMP or for direct halo copies, and enables new hybrid programming models. These models are compared with various hybrid MPI+OpenMP approaches and pure MPI. Numerous case studies and micro-benchmarks demonstrate the performance-related aspects of hybrid programming.

Tools for hybrid programming such as thread/process placement support and performance analysis are presented in a "how-to" section. This course provides scientific training in Computational Science, and in addition, the scientific exchange of the participants among themselves. The course is a PRACE Advanced Training Center event. It is organized by LRZ in cooperation with HLRS and RRZE.

Agenda & Content

Agenda & Content

10:00 Welcome
10:05 Motivation
10:15 Introduction
10:45 Programming Models
           - Pure MPI
11:15 Coffee break
11:35  - MPI + MPI-3.0 Shared Memory
13:10 Lunch
14:10  - MPI + OpenMP
15:10 Coffee break
15:30     MPI + OpenMP continued
16:00  - MPI + Accelerators
16:15 Tools
16:25 Conclusions
16:45 Q&A
17:00 End


Basic MPI and OpenMP knowledge as presented in the LRZ course "Parallel programming of High Performance Systems".


The course language is English.


Dr. habil. Georg Hager (RRZE/HPC, Uni. Erlangen), Dr. Rolf Rabenseifner (Stuttgart)

Registration & Further Information

See course pages


Local Organizer

Volker Weinberg phone 089 35831 8863,

Shortcut-URL & Course Number