Description
The course introduces the basics of parallel programming with the message-passing interface (MPI) and OpenMP paradigms. MPI is the dominant parallelization paradigm in high performance computing and enables one to write programs that run on distributed memory machines, such as Sisu and Taito. OpenMP is a threading based approach which enables one to parallelize a program over a single shared memory machine, such as a single node in Taito. The course consists of lectures and hands-on exercises on parallel programming.
Learning outcome
After the course the participants should be able to write simple parallel programs and parallelize existing programs with basic features of MPI or OpenMP. This course is also a prerequisite for the PTC course "Advanced Parallel Programming" in 2019.
Prerequisites
The participants are assumed to have working knowledge of Fortran and/or C programming languages. In addition, fluent operation in a Linux/Unix environment will be assumed.
Agenda
Day 1, Wednesday 3.10
- 09.00 – 10.30 What is parallel computing?
- 10.30 – 10.45 Coffee break
- 10.45 – 11.30 OpenMP basic concepts
- 11.30 – 12.00 Exercises
- 12.00 – 13.00 Lunch
- 13.00 – 13.30 Work-sharing constructs
- 13.30 – 14.00 Exercises
- 14.00 – 14.30 Execution control, library functions
- 14.30 – 14.45 Coffee break
- 14.45 – 15.30 Exercises
- 15.30 – 15.45 Wrap-up and further topics
- 15.45 – 16.00 Q&A, exercises walkthrough
Day 2, Thursday 4.10
- 09.00 – 09.40 Introduction to MPI
- 09.40 – 10.00 Exercises
- 10.00 – 10.30 Point-to-point communication
- 10.30 – 10.45 Coffee break
- 10.45 – 12.00 Exercises
- 12.00 – 13.00 Lunch
- 13.00 – 13.45 Collective operations
- 13.45 – 14.30 Exercises
- 14.30 – 14.45 Coffee break
- 14.45 – 15.45 Exercises
- 15.45 – 16.00 Q&A, exercises walkthrough
Day 3, Friday 5.10
- 09.00 – 09.30 User-defined communicators
- 09.30 – 10.30 Exercises
- 10.30 – 10.45 Coffee break
- 10.45 – 11.30 Non-blocking communication
- 11.30 – 12.00 Exercises
- 12.00 – 13.00 Lunch
- 13.00 – 13.45 Exercises
- 13.45 – 14.30 User-defined datatypes
- 14.30 – 14.45 Coffee break
- 14.45 – 15.45 Exercises
- 15.45 – 16.00 Q&A, exercises walkthrough
Lecturers:
Juhani Kataja (CSC), Martti Louhivuori (CSC)
Language: English
Price: Free of charge