Hybrid Programming in HPC – MPI+X

While this course will be provided as a HYBRID course (on-site + using Zoom), we strongly recommend to attend this course on-site

Most HPC systems are clusters of shared memory nodes. To use such systems efficiently both memory consumption and communication time has to be optimized. Therefore, hybrid 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. Hands-on sessions are included on all days. 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.

This course is a joint training event of EuroCC@GCS and EuroCC-Austria, the German and Austrian National Competence Centres for High-Performance Computing. It is organized by the HLRS in cooperation with the VSC Research Center, TU Wien and NHR@FAU.

 

Location

This hybrid event will take place online and at
HLRS, University of Stuttgart
Nobelstraße 19
70569 Stuttgart, Germany
Room 0.439 / Rühle Saal
Location and nearby accommodations

Start date

Jan 21, 2025
08:45

End date

Jan 23, 2025
16:30

Language

English

Entry level

Advanced

Course subject areas

Parallel Programming

Programming Languages for Scientific Computing

Topics

MPI

MPI+OpenMP

OpenMP

Back to list

Prerequisites and content levels

Prerequisites:
  • Basic MPI and OpenMP knowledge as presented in our HLRS courses on MPI and OpenMP.
  •  For the hands-on sessions you should know Unix/Linux and either C/C++ or Fortran.
  •  The hands-on labs will be done on the HRLS Hawk supercomputer, all participants will get a training user account on Hawk for the duration of the course.

 

Content levels:
  • Advanced: 16 hours

Learn more about course curricula and content levels.

 

Instructors

Claudia Blaas-Schenner (VSC Research Center, TU Wien and EuroCC-Austria),
Georg Hager (NHR@FAU, Uni. Erlangen),
Rolf Rabenseifner (HLRS, Uni. Stuttgart)

Agenda

The presentation times listed in the agenda are tentative.

1st day – 21 January 2025
--- PRELIMINARY AGENDA ---

08:45   Join in
09:00      Welcome
09:10      Hunter's hardware architecture and its programming models
                    Dr. Christian Simmendinger (HPE) and Igor Pasichnyk (AMD)
10:00   Break
10:15      Introduction to the general MPI+X course with exercises
11:00      Programming Models
11:05         - MPI + OpenMP
11:45            Practical (how to compile and start)
12:30   Lunch
14:00         - continue: MPI + OpenMP
14:45   Break
15:00         - continue: MPI + OpenMP
15:45            Practical (how to do pinning)
16:15            Q & A
16:30   End of first day

2nd day – 22 January 2025

08:45   Join in
09:00         - continue: MPI + OpenMP
09:00            Practical (hybrid through OpenMP parallelization)
10:30   Break
10:45         - Overlapping Communication and Computation
11:15            Practical (taskloops)
12:15         - MPI + OpenMP Conclusions
12:30   Lunch
14:00         - MPI + Accelerators
15:00   Break
15:15         - MPI + Accelerators (continued)
16:15           Q & A
16:30   End of second day

3rd day – 23 January 2025

08:45   Join in
09:00      Programming Models (continued)
09:05         - MPI + MPI-3.0 Shared Memory
10:00   Break
10:15         - MPI Memory Models and Synchronization
11:00   Break
11:15         - Pure MPI
11:35         - Recap - MPI Virtual Topologies
12:05         - Topology Optimization
12:30   Lunch
14:00         - Topology Optimization, continued
14:10      Conclusions
14:25            Practical (replicated data)
15:45      Q & A, Feedback
16:00            Q & A
16:30   End of third day (course)

Handout

A link to the course material (slides and exercises) will be available at course start

Registration information

Register via the button at the top of this page.
This course will be hybrid, i.e. it will take place at HLRS on-site but it will also be possible to attend online. Participants, online as well as on-site, have to be aware and agree that they might appear in the live video stream taken by a camera in the back of the lecture room or by a webcam on laptops. We strongly recommend to attend this course on-site since on-site attendance is much more effective and efficient in our experience. Therefore we might give priority to on-site over online participants during registration.

Session will be recorded

Please be aware that the Zoom session will be recorded. You declare that you are aware of and consent to the recording by registering.

Deadline

Registration closes on Friday 27 Dec 2024.

Fees

Students without Master's degree or equivalent. Participants from EU or EuroCC countries only: 0 EUR
PhD students or employees at a German university or public research institute: 0 EUR
PhD students or employees at a university or public research institute in an EU or EuroCC country other than Germany: 0 EUR.
Other participants, e.g., from industry, other public service providers, or government. Participants from EU or EuroCC countries only: 0 EUR

Our course fee includes coffee breaks (in classroom courses only).

For lists of EU and EuroCC countries have a look at the Horizon Europe and EuroCC website.

Only participants from institutions belonging to these countries can take part in this course.

Contact

Maksym Deliyergiyev phone 0711 685 87261, maksym.deliyergiyev(at)hlrs.de

HLRS Training Collaborations in HPC

HLRS is part of the Gauss Centre for Supercomputing (GCS), together with JSC in Jülich and LRZ in Garching near Munich. EuroCC@GCS is the German National Competence Centre (NCC) for High-Performance Computing. HLRS is also a member of the Baden-Württemberg initiative bwHPC.

This course is provided within the framework of EuroCC2 and the bwHPC training program.

This is a joint training event of EuroCC@GCS and EuroCC-Austria.

HLRS concept for on-site courses

Besides the content of the training itself, an important aspect of this event is the scientific exchange among the participants. We try to facilitate such communication by

  • a social event on the evening of the first course day,
  • offering common coffee and lunch breaks and
  • working together in groups of two during the exercises.

Further courses

See the training overview and the Supercomputing Academy pages.

Related training

All training

January 13 - 31, 2025

Hybrid Event - Stuttgart, Germany


February 17 - 21, 2025

Stuttgart, Germany


March 17 - 21, 2025

Dresden, Germany