Skip to main content

Writing Parallel Applications Using MPI

Message Passing is presently the most widely deployed programming model in massively parallel high performance computing. Message passing is suitable for programming a wide range of current computer architectures, ranging from multi-core desktop equipment to the fastest HPC systems in the world, offering several hundred thousand processing elements.

Time: Tue 2019-12-03 09.00 - 17.00

Location: Room 304, 3rd floor Teknikringen 14, PDC, KTH main campus

Participating: PDC staff

Export to calendar


This one day course will teach you how to write parallel programs using MPI. The course will be delivered by PDC staff.

The course is at beginners level and assumes no prior experience in parallel computing. The concepts behind message passing and distributed memory computing will be introduced and the syntax of the key MPI calls will be explained. The course will include point-to-point communications, non-blocking communication and collective communications calls.

Presentations and type-along sessions will be interspersed with practical exercises where participants get experience in writing MPI programs and gain an understanding different parallelisation strategies. At the end of the course, participants should be able to write their own MPI programs at an intermediate level. The teaching language for the course will be English.


You will need to have an account on the PDC systems in order to participate in this workshop. Please apply for an account in good time before the course if you do not already have a PDC account. Participants should be able to write programs in either C, Fortran or Python.


09:00 1. Introduction to Parallel Computing
09:45 2. Serial and Parallel Regions
10:05 3. MPI_Send and MPI_Recv
10:30 4. Coffee Break
10:50 5. Parallel Paradigms and Parallel Algorithms
11:10 6. Non-blocking Communication
11:40 7. Collective Operations
12:10 8. Lunch Break
13:10 9. Serial to Parallel
14:10 10. Profiling Parallel Applications
15:10 11. Coffee Break
15:30 12. Serial to Parallel
16:40 13. Tips and Best Practices
17:00 Finish

Course material

The course material can be found at .


To register for the course, please fill in this form .

Note: This course is now fully booked so no further registrations will be accepted.


For more information, contact PDC Support: .