5–6 May 2025
ONLINE
Europe/Vienna timezone

Course Material

SLIDES

The links below will always point to the newest version of the MPI slides.

MPI course: mpi_3.1_rab.pdf (PDF)     or     MPI course: mpi_3.1_rab-animated.pdf (PDF)

STANDARD DOCUMENT

MPI: A Message-Passing Interface Standard Version 4.1 (PDF)

MPI4PY DOCUMENTATION

MPI4PY: https://mpi4py.readthedocs.io

EXERCISES

Hands-on labs are prepared for the course participants on the VSC JupyterHub.

Outside of the course or if you prefer to use your own laptop or system to do the hands-on labs during the course, you'll need either Python + numpy + mpi4py or a C, C++, or Fortran compiler and an up-to-date MPI library, e.g., open-mpi or mpich, as well as a proper Jupyter environment if you want to run the Jupyter Notebooks locally.

The VSC exercise material (Jupyter Notebooks based on the HLRS course) is available from the:

VSC MPI GIT REPO     git clone https://gitlab.tuwien.ac.at/vsc-public/training/MPI

The HLRS exercise material can be downloaded from: (To verify your MPI library/installation please download either TEST.tar.gz or TEST.zip and do the tests described in the upper part at "A) Testing MPI" in the file TEST/README.txt within the archive.)

MPI31single.tar.gz     or     MPI31single.zip

ACKNOWLEDGMENTS & COPYRIGHT

The VSC MPI course is based on the MPI course developed by Rolf Rabenseifner, HLRS at the University of Stuttgart,   
the copyrighted material is used with permission.

The HLRS material (slides and exercises) is copyrighted by the HLRS at the University of Stuttgart. You may download the slides and exercises for your personal use and pass on the link above. Any other form of public distribution of the provided pdf files themselves or any derived material is not allowed, except with written permission by HLRS; in this case, please contact training(at)hlrs.de to request such a permission.

The VSC exercise material (Jupyter Notebooks based on the HLRS course) is available under a CC BY-SA 4.0 license.

 

FEEDBACK

Please provide your feedback (at the end of the course) here:

https://events.vsc.ac.at/event/184/surveys/183

 


 

AGENDA + SLIDE NUMBERS

 

1st day – 5 May 2025 – Monday

09:15  Join in
09:30   

 
Groups & communicators (slides 209-221)   
--> BR (30 min): Exercise 1 (slide 218) + (Exercise 2 advanced (slide 220, only if time)),   
     Quiz 8(1) (slide 221), see Sol.)
10:30Break
10:45   


 
Virtual topologies (slides 241-269 + 274, 279-281 + 286)   
--> BR (20 min): Exercise 1 (slides 252-253) + Advanced Exercise 1 b (slide 255, if time/later)   
--> BR (30 min): Exercise 2 (slides 264-265) + Exercises 3+4 advanced (slides 267-268),   
     Quiz 9(1) (slide 269, see Sol.)                    + Exercises 5+6 advanced (slides 280-281)
12:30Break
12:45   



 
Derived datatypes (slides 425-449)   
--> Exercise 1 (slides 432-433, demo)   
--> BR (30 min): Exercise 2 (slides 445-446)   
                          (Advanced: Exercise 1 b (slide 435), Exercises 3+4 (slide 448)   
     Quiz 12(1) (slide 449, see Sol.)
14:00End of third day

 

2nd day – 6 May 2025 – Tuessday

09:15  Join in
09:30   


 
One-sided communication (slides 321-360)   
--> BR (20 min): Exercise 1 (slides 337-339)   
--> BR (30 min): Exercises 2 (slides 355-357) + Advanced Exercise 3 (slide 359)   
     Quiz 10 (slide 360, see Sol.)
11:00Break
11:15   


 
Shared memory one-sided communication (slides 361-381 + 400)   
--> BR (20 min): Exercise 1 (slides 368-370)   
--> BR (15 min): Exercise 2 (slides 380-381)   
     Quiz 11(1) (slide 400, see Sol.)
12:30Break
12:45Short tour: other MPI topics
13:00Short tour: MPI I/O (link to pdf)
13:30Best practice (link to pdf), Summary, Q&A
14:00End of fourth day (course)