Six-day course in parallel programming with MPI/OpenMP

ETH HPC training room.
This course will be provided as an ONLINE course (using Zoom) in three 2-day-blocks.

The goal of this course is to give people with some programming experience an introduction to the MPI and OpenMP parallel programming models. It starts at beginner level, but also covers advanced features of the current standards. Hands-on exercises (in C, Fortran, and Python) will allow participants to immediately test and understand the Message Passing Interface (MPI) constructs and OpenMP's shared memory directives.

The first block (Wed+Thu, Aug 16-17, 2023) will be an introduction to OpenMP, covering also newer OpenMP 4.0/4.5/5.0 features such as the vectorization directives, thread affinity, and OpenMP places. (Fri-Sun are not course days).

The second block (Mon+Tue, Aug 21-22, 2023) is an introduction to MPI, which includes a comprehensive introduction to nonblocking MPI communication, but also covers some intermediate topics such as derived data types and virtual process topologies.

The third block (Wed+Thu, Aug 23-24, 2023) is dedicated to intermediate & advanced methods in MPI, e.g., the group and communicator concept, advanced derived data types and one-sided communication. This block also includes latest features of MPI-3.0/3.1/4.0, e.g., the shared memory programming model within MPI, the new Fortran language binding, nonblocking collectives, neighborhood communication, and long counts.

You can choose any of the three 2-day blocks individually or combined.

Location

Online course
Organizer: Scientific IT Services at ETHzürich, Zürich, Switzerland.

Start date

Aug 16, 2023
08:45

End date

Aug 24, 2023
16:00

Language

English

Entry level

Basic

Intermediate

Course subject areas

Parallel Programming

Topics

MPI

OpenMP

Back to list

Prerequisites and content levels

Prerequisites

Linux command shell commands and some basic programming knowledge in C or Fortran (or Python for the MPI part).

To be able to do the hands-on exercises of this course, you need a computer with an OpenMP capable C/C++ or Fortran compiler and a corresponding, up-to-date MPI library (in case of Fortran, the mpi_f08 module is required).

If you have access, you can also use a high performance compute (HPC) cluster for the exercises (such as e.g. Euler, for members of ETH Zurich; Euler has these software requirements readily available). Please note that the course organizers will not grant you access to an HPC system nor any other compute environment. Therefore, please make sure to have a functioning working environment / access to an HPC cluster prior to the course.

To check if your MPI and OpenMP installation is valid, please either

  • download TEST.tar.gz from this link and run tar -xvzf TEST.tar.gz or
  • download TEST.zip from this link and run unzip TEST.zip.

After that follow the instructions in TEST/README.txt within the archive.

In addition, you can perform most MPI exercises in Python with mpi4py + numpy. In this case, an appropriate installation on your system is required (together with a C/C++ or Fortran installation for the other exercises).

The optional exercise about race-condition detection (in the morning of the 2nd day) requires an installation of a race-condition detection tool, e.g., the Intel Inspector together with the Intel compiler. It is recommended to install it.

Please make sure to have a functioning working environment / access to an HPC cluster prior to the start of the course. In case of questions, please contact the course organizer (see below).

Content levels
  • Beginner: 14 hours (40%)
  • Intermediate: 10 hours 30 minutes (30%)
  • Advanced: 10 hours 30 minutes (30%)

Learn more about course curricula and content levels.

Instructor

Dr. Rolf Rabenseifner is a world-renowned expert in parallel computing and teacher of courses in the areas of parallel programming with the Message Passing Interface (MPI), shared memory parallelization with OpenMP, and the Partitioned Global Address Space (PGAS) languages UPC and Co-Array Fortran.

Agenda

For details, see the six-day course agenda / content (preliminary).

The course hours are usually between 9:00-16:30, with Zoom login starting at 8:45, and two exceptions:

  • On Days 3+4 (Mon+Tue, Aug 21+22), there is an additional homework of 20-30 Minutes which will be supported until 17:00 if they wish.

  • On the last day (Day 6, Thu, Aug 24), the course ends on 16:00.

Registration and further information

Please refer to the course web-page at ETH Zurich for registration, fee and contact information.

Further courses

See the training overview and the Supercomputing Academy pages.

Related training

All training

January 13 - 31, 2025

Hybrid Event - Stuttgart, Germany


January 21 - 23, 2025

Hybrid Event - Stuttgart, Germany


February 17 - 21, 2025

Stuttgart, Germany


March 17 - 21, 2025

Dresden, Germany