THE UNIVERSITY of EDINBURGH

DEGREE REGULATIONS & PROGRAMMES OF STUDY 2011/2012
- ARCHIVE for reference only
THIS PAGE IS OUT OF DATE

University Homepage
DRPS Homepage
DRPS Search
DRPS Contact
DRPS : Course Catalogue : School of Physics and Astronomy : Postgraduate (School of Physics and Astronomy)

Postgraduate Course: Threaded Programming (PGPH11077)

Course Outline
SchoolSchool of Physics and Astronomy CollegeCollege of Science and Engineering
Course typeStandard AvailabilityNot available to visiting students
Credit level (Normal year taken)SCQF Level 11 (Postgraduate) Credits10
Home subject areaPostgraduate (School of Physics and Astronomy) Other subject areaNone
Course website None Taught in Gaelic?No
Course descriptionAfter taking this course students should have a good practical understanding of multithreaded programming. They should be competent OpenMP programmers, and have some experience of programming with Java threads. Students should have an appreciation of alternative APIs for multithreaded programming, and their relative merits.

The course will cover the 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.
- Java threads: creating and joining threads, executor services.
- Thread synchronisation in Java: mutual exclusion, atomics, barriers, semaphores.
- Basic concepts of Posix threads, Boost/C++0x threads, Intel TBB.
- 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
Additional Costs None
Course Delivery Information
Delivery period: 2011/12 Semester 1, Not available to visiting students (SS1) WebCT enabled:  Yes Quota:  None
Location Activity Description Weeks Monday Tuesday Wednesday Thursday Friday
King's BuildingsLecture1-11 15:00 - 15:50
King's BuildingsLecture1-11 15:00 - 15:50
King's BuildingsLaboratory1-11 12:10 - 13:00
First Class Week 1, Tuesday, 15:00 - 15:50, Zone: King's Buildings. Room 6206 JCMB
No Exam Information
Summary of Intended Learning Outcomes
On completion of this course students should 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.
- Java knowledge of the syntax and sematics of Java threads
- Be able to write a correct mutlithreaded Java program.
- Understand the key concepts of the other APIs.
- Appreciate the differences between the APIs and their relative merits.
Assessment Information
100% Coursework
Special Arrangements
None
Additional Information
Academic description Not entered
Syllabus Not entered
Transferable skills Not entered
Reading list Not entered
Study Abroad Not entered
Study Pattern Not entered
KeywordsTP
Contacts
Course organiserDr Judy Hardy
Tel: (0131 6)50 6716
Email: j.hardy@ed.ac.uk
Course secretary Yuhua Lei
Tel: (0131 6) 517067
Email: yuhua.lei@ed.ac.uk
Navigation
Help & Information
Home
Introduction
Glossary
Search DPTs and Courses
Regulations
Regulations
Degree Programmes
Introduction
Browse DPTs
Courses
Introduction
Humanities and Social Science
Science and Engineering
Medicine and Veterinary Medicine
Other Information
Timetab
Prospectuses
Important Information
 
© Copyright 2011 The University of Edinburgh - 16 January 2012 6:35 am