Message Passing Programming with MPI
Dates: 17-19 July 2019
Location: EPCC - University of Edinburgh
Note: These are draft materials based on a previous run of this course, and may be subject to change.
Lecture Slides
Unless otherwise indicated all material is Copyright © EPCC, The University of Edinburgh, and is only made available for private study.
Wednesday
- ARCHER and the training programme
- Overview of MPI course
- Message-Passing Concepts
- Parallel Traffic Modelling
- Parallel Traffic Modelling: solution
- MPI Programs
- MPI on Cirrus and ARCHER (only ARCHER relevant for this course)
- Point-to-Point Communication
- Communicators, Tags and Modes
Thursday
Friday
- Case Study
- Dynamic Memory Allocation in C
- MPI Quiz - enter the Room Name HPCQUIZ
- MPI Design
- MPI Scaling
Notes
Course Chat
The Chat page is a live collaborative online document which we will use to share links, information and comments. All course participants are encouraged to contribute.
Exercise Material
Unless otherwise indicated all material is Copyright © EPCC, The University of Edinburgh, and is only made available for private study.
- Traffic modelling exercise sheet
- Instructions for logging on, compiling and running on ARCHER
- Useful files and pieces of code: MPP-templates.tar
- MPI exercise sheet
- Detailed solutions to pi calculation example
- Simple example solutions to all exercises
- Case Study exercise sheet
- Case Study source code
- Simple Case Study solutions (serial)
- Simple Case Study solutions (parallel)
- Code for dynamic array allocation in C
- Serial and parallel solutions to the traffic model