Postgraduate Course: Threaded Programming (INFR11178)
This course will be closed from 31 July 2024
Course Outline
School | School of Informatics |
College | College of Science and Engineering |
Credit level (Normal year taken) | SCQF Level 11 (Postgraduate) |
Availability | Available to all students |
SCQF Credits | 10 |
ECTS Credits | 5 |
Summary | This course has been replaced by EPCC11003. This change is primarily administrative.
This course is a practical introduction to parallel programming using the threading model, which is commonly used on shared memory and multicore hardware. The majority of the course is focused on teaching the use of the industry standard OpenMP API. |
Course description |
After taking this course students should have a good practical understanding of multithreaded programming and be competent OpenMP programmers.
The course will cover the following topics:
- Basic concepts of shared memory: threads, tasks, shared/private data, synchronisation.
- Concepts of OpenMP: parallel regions, shared/private variables, parallel loops, reductions
- OpenMP parallel regions and associated clauses
- OpenMP worksharing directives, scheduling of parallel loops
- OpenMP synchronisation: barriers, critical sections, atomics, locks.
- OpenMP tasks
- Additional features of OpenMP: nesting, orphaning, threadprivate globals, OpenMP 4.0 features
- OpenMP implementations
- Memory models.
Lectures will be followed by tutored practical sessions illustrating the key concepts. Students will have the choice of using either C or Fortran in the practical programming sessions on OpenMP.
|
Entry Requirements (not applicable to Visiting Students)
Pre-requisites |
|
Co-requisites | |
Prohibited Combinations | |
Other requirements | Students are required to be familiar with C or Fortran for practical exercises.
There are limited spaces on this course. Students not on the MSc in High Performance Computing or MSc High Performance Computing with Data Science should contact the course secretary to confirm availability and confirm that they have the required prerequisites before being enrolled on the course. |
Information for Visiting Students
Pre-requisites | Students are required to be familiar with C or Fortran for practical exercises. |
High Demand Course? |
Yes |
Course Delivery Information
Not being delivered |
Learning Outcomes
On completion of this course, the student will be able to:
- Understand the key concepts of multithreaded programming
- Have a knowledge of the syntax and semantics of the OpenMP API.
- Be able to write a correct OpenMP program in C/C++ or Fortran.
- Have an appreciation of the advanced features of OpenMP
- Understand key factors affecting performance of threaded programs
|
Learning Resources
https://mitpress.mit.edu/books/using-openmp
https://mitpress.mit.edu/books/using-openmp%E2%80%94-next-step
Further resources provided via Learn course. |
Additional Information
Graduate Attributes and Skills |
Effective written and diagrammatic communication.
Technical writing.
Data collection and analysis.
Reflection on learning and practice.
Adaptation to circumstances.
Solution Exploration, Evaluation and Prioritisation.
Programming. |
Special Arrangements |
There are limited spaces on this course. Students not on the MSc in High Performance Computing or MSc High Performance Computing with Data Science should contact the course secretary to confirm availability and confirm that they have the required prerequisites before being enrolled on the course.
The course is available to PhD students for class-only study. PhD students requiring a form of assessment must contact the course secretary to confirm method of enrolment. |
Additional Class Delivery Information |
Two lectures per week (weeks 1-7), one practical per week (weeks 1-11). |
Keywords | OpenMP,Threads,TP,EPCC,HPC,High Performance Computing,Parallel,Programming,Parallelism |
Contacts
Course organiser | Dr Mark Bull
Tel: (0131 6)50 6717
Email: markb@epcc.ed.ac.uk |
Course secretary | Mr James Richards
Tel: 90131 6)51 3578
Email: J.Richards@epcc.ed.ac.uk |
|
|