Jul 17 – 19, 2018
University of Cambridge
Europe/London timezone

OpenMP is the industry standard for shared-memory programming, which enables serial programs to be parallelised using compiler directives.This course is aimed at programmers seeking to deepen their understanding of OpenMP and explore some of its more recent and advanced features.

This 3-day course will cover topics including nested parallelism, OpenMP tasks, the OpenMP memory model, performance tuning, hybrid OpenMP + MPI, OpenMP implementations, and new features in OpenMP 4.0/4.5. Hands-on practical programming exercises make up a significant, and integral, part of this course.

Attendees should be familiar with the basics of OpenMP, including parallel regions, data scoping, work sharing directives and synchronisation constructs. Access will be given to appropriate hardware for all the exercises, although many of them can also be performed on a standard Linux laptop.


Pre-course setup

All attendees should bring their own wireless-enabled laptop. Practical exercises will be done using a guest account on ARCHER. You will need an ssh client such as terminal on a Mac or Linux machine, or putty or MobaXterm on Windows. The course tutor will be able to assist with settings to connect on the day. You should also have a web browser, a pdf reader and a simple text editor.



Day 1

09:00 - 11:00  Lectures: OpenMP basics: Parallel regions, Worksharing, Synchronisation
11:00 - 11:30  Coffee
11:30 - 13:00  Practical: Parallel regions
13:00 - 14:00  Lunch
14:00 - 15:30  Lectures: Multicore and multithreaded CPUs, Caches, Cache coherency, NUMA
15:30 - 16:00  Tea
16:00 - 17:00  Practicals: Streams, Coherency

Day 2

09:00 - 11:00  Lectures: Tasks, Nested parallelism, Memory model
11:00 - 11:30  Coffee
11:30 - 13:00  Practicals: Mandelbrot with nested loops, collapse, and tasks
13:00 - 14:00  Lunch
14:00 - 15:30  Lectures: OpenMP + MPI
15:30 - 16:00  Tea
16:00 - 17:00  Practicals: OpenMP + MPI

Day 3

09:00 - 11:00  Lectures: OpenMP tips, tricks and pitfalls, Performance issues
11:00 - 11:30  Coffee
11:30 - 13:00  Practicals: MD tuning
13:00 - 14:00  Lunch
14:00 - 15:30  OpenMP 4.0/4.5 features, alternative APIs
15:30 - 16:00  Tea
16:00 - 17:00  Consultancy session: bring your own code!

Course Materials


University of Cambridge
Phoenix Teaching room 1
Phoenix Teaching Room Phoenix Building Ground Floor, New Museums Site, Pembroke St, Cambridge CB2 3QH http://www.archer.ac.uk/training/locations/ucambridge.php

This course is part-funded by the PRACE project and is free to all. Please register using the online form. If you have any questions, please consult the course forum page or contact support@archer.ac.uk