Postgraduate Course: Threaded Programming (PGPH11077)
Course Outline
School | School of Physics and Astronomy |
College | College of Science and Engineering |
Credit level (Normal year taken) | SCQF Level 11 (Postgraduate) |
Availability | Not available to visiting students |
SCQF Credits | 10 |
ECTS Credits | 5 |
Summary | 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. They should be competent OpenMP programmers, and have have an appreciation of alternative APIs for multithreaded programming, and their relative merits.
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
- Basic concepts of Posix threads, Boost/C++0x threads, Intel TBB, Java threads
- Comparison of APIs
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 | None |
Course Delivery Information
|
Academic year 2017/18, Not available to visiting students (SS1)
|
Quota: None |
Course Start |
Semester 1 |
Timetable |
Timetable |
Learning and Teaching activities (Further Info) |
Total Hours:
100
(
Lecture Hours 14,
Seminar/Tutorial Hours 11,
Programme Level Learning and Teaching Hours 2,
Directed Learning and Independent Learning Hours
73 )
|
Additional Information (Learning and Teaching) |
Please contact the School for further information
|
Assessment (Further Info) |
Written Exam
0 %,
Coursework
100 %,
Practical Exam
0 %
|
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 |
Feedback |
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 may contact the course co-ordinator to discuss the feedback further in person if required. |
No Exam Information |
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 advenced features of OpenMP
- Understand the key concepts of other threaded APIs.
|
Additional Information
Graduate Attributes and Skills |
Not entered |
Additional Class Delivery Information |
1x 1 hour lab per-week during Weeks 1-11.
2x 1-hour lectures per week during Weeks 1-7. |
Keywords | Programming,threads,parallel,shared memory,OpenMP,hpc |
Contacts
Course organiser | Dr Mark Bull
Tel: (0131 6)50 6717
Email: |
Course secretary | Mr Ben Morse
Tel: (0131 6)51 3398
Email: |
|
|