Hybrid Programming in HPC – MPI+X

This course will be provided as a HYBRID course (on-site + using Zoom)

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.

 

Veranstaltungsort

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

Veranstaltungsbeginn

23. Jan 2024
08:45

Verstaltungsende

25. Jan 2024
16:30

Sprache

Englisch

Einstiegslevel

Fortgeschritten

Themenbereiche

Paralleles Programmieren

Programmiersprachen für wissenschaftliches Rechnen

Themen

MPI

MPI+OpenMP

OpenMP

Zurück zur Liste

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

An introduction will be given by Prof. Dr.-Ing. Michael M. Resch, director of the HLRS, and by HPE about the next HLRS systems Hunter and Herder on the first day.

The presentation times listed in the agenda are tentative.

1st day – 23 January 2024

08:45   Join in
09:00      Welcome
09:03      Exascale Supercomputing is coming to Stuttgart: Hunter and Herder
                    Prof. Michael Resch (Director, HLRS)
09:30      Hunter's hardware architecture and its programming models
                    Dr. Christian Simmendinger (HPE) and Igor Pasichnyk (AMD)
10:15   Break
10:30      Introduction to the general MPI+X course with exercises on existing Hawk cluster
11:15      Programming Models
11:20         - MPI + OpenMP
11:50            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 – 24 January 2024

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 – 25 January 2024

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.

Extended Deadline late

Registration closes on Tuesday 9 January, 2024 (extended deadline).

Late registrations after the deadline are still possible according to the course capacity, possibly with reduced quality of the handout.

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, another 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.

Ähnliche Trainingskurse

Alle Trainingskurse

Mai 06 - 07, 2024

Online


Juni 03 - 07, 2024

Hybrid Event - Stuttgart, Germany


Oktober 14 - 18, 2024

Stuttgart, Germany