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.
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.
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
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
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!
http://www.archer.ac.uk/training/course-material/2017/12/advOpenMP-imperial/index.php