The aim of this course is to introduce participants to the HPX library (http://stellar-group.org/libraries/hpx/ and https://github.com/STEllAR-GROUP/hpx and http://stellar-group.org/) and demonstrate how it can be used to write task based programs. The HPX library implements a lightweight threading model that allows both concurrent, asynchronous, parallel and distributed programming constructs to coexist within the same application with a consistent API based on C++ standards and using futures to synchronize between tasks.
The course is aimed at participants with a good understanding of C++. The material covered will include an introduction to the HPX programming model; asynchronous programming concepts, execution policies and executors; parallel algorithms using tasks (including the parallel STL); writing distributed applications with HPX; profiling and debugging and a final section introducing heterogeneous programming using targets for GPU devices.
Objective: The attendee will gain an understanding of the HPX library and task based programming in general.
09:00 - 09:30: Registration
09:30 - 11:00: Introduction to HPX - Part 1 (overview)
11:00 - 13:00: Introduction to HPX - Part 2 (API)
13:00 - 14:00: Lunch Break
14:00 - 15:30: Hello World (hands on) - Building & Running, Options & Configuration
15:30 - 17:30: Hands on examples in detail
09:00 - 10:30: Worked Stencil Examples - From Serial to Distributed with hands on
10:30 - 13:00: Resource Management and Performance Issues
13:00 - 14:00: Lunch Break
14:00 - 15:30: Debugging and Profiling HPX Applications
The attendee is expected to be confident with C++ syntax and the object oriented features of the language. Basic familiarity with templates is expected.
The course language is English.
All material (slides, example code) will be accessible online.
for registration is June 23 (extended deadline)
Late registrations after the deadline are still possible but maybe with reduced quality of the handouts.
Students without Diploma/Master: none
Members of German universities and public research institutes: none.
Members of universities and public research institutes within EU or PRACE-member countries: none.
Members of other universities and public research institutes: 120 EUR.
Others: 400 EUR.
(includes coffee breaks)
see our How to find us page.
HLRS is part of the Gauss Centre for Supercomputing (GCS), which is one of the six PRACE Advanced Training Centres (PATCs) that started in Feb. 2012. The mandate for the PATCs is as follows: "The PRACE Advanced Training Centres will serve as European hubs of advanced, world-class training for researchers working in the computational sciences." (see D3.2.3)
This course is a PATC course, see also the PRACE Training Portal and Events. For participants from public research institutions in PRACE countries, the course fee is sponsored through the PRACE PATC program.