Postgraduate Course: Threaded Programming (INFD11012)
|School||School of Informatics
||College||College of Science and Engineering
|Credit level (Normal year taken)||SCQF Level 11 (Postgraduate)
|Course type||Online Distance Learning
||Availability||Available to all students
|Summary||*This course is delivered online for students on Online Learning programmes within the College of Science and Engineering only. On-campus students interested in the material should refer to INFR11178 Threaded Programming*
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.
After taking this course students should have a good practical understanding of multithreaded programming and be competent OpenMP programmers.
The course makes use of lecture content delivered in both video form and delivered live via e.g. Blackboard Collaborate. Practical activities will be set for students to undertake in their own time in advance of regular tutorial sessions run via Blackboard Collaborate, with discussion and support available from other students, demonstrators, and staff via dedicated discussion areas (e.g. Learn Discussion Boards, Slack).
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 a practical examples illustrating the key concepts. Students will have the choice of using either C or Fortran in the practical programming sessions on OpenMP.
Information for Visiting Students
|Pre-requisites||Students are required to be familiar with C or Fortran for practical exercises.
|High Demand Course?
Course Delivery Information
|Academic year 2019/20, Available to all students (SV1)
|Course Start Date
|Learning and Teaching activities (Further Info)
Online Activities 30,
Programme Level Learning and Teaching Hours 2,
Directed Learning and Independent Learning Hours
|Assessment (Further Info)
|Additional Information (Assessment)
||100% Coursework, split into two assignments. Feedback will be given on the first assignment before students are expected to start work on the second
||Students receive detailed individual text-based feedback on all components of the coursework. The coursework is split into two parts, with feedback given on the first part before students are expected to start work on the second part. Students are very welcome contact the course team to discuss the feedback.
|No Exam Information
On completion of this course, the student will be able to:
- Understand the key concepts of multithreaded programming
- Understand syntax and semantics of the OpenMP API
- Apply their knowledge to write a correct OpenMP program in C/C++ or Fortran
- Understand and apply the advanced features of OpenMP
- Analyse and evaluate key factors affecting performance of threaded programs
|Graduate Attributes and Skills
||Effective written and diagrammatic communication.
Data collection and analysis.
Reflection on learning and practice.
Adaptation to circumstances.
Solution Exploration, Evaluation and Prioritisation.
|Additional Class Delivery Information
||Fully delivered online
|Course organiser||Dr Mark Bull
Tel: (0131 6)50 6717
|Course secretary||Mr Ben Morse
Tel: (0131 6)51 3398