Hunter Code Preparation Workshop

Hybrid course, we speak Englisch and German

In late summer / autumn 2024 HLRS is going to install its next supercomputer system called “Hunter”. As for every new system, users have to spent some effort into porting their code and workflow to the new environment. Furthermore, the vast majority of Hunter’s compute power will be delivered by GPUs, which requires users to adapt their hot loops in order to offload them to the GPUs. In this workshop we will hence support our users in doing both.

As Hunter is going to deploy the Cray Programming Enviroment (CPE) which is available (but not default!) on Hawk as well, it’s possible to do first porting steps already in July on Hawk. This allows to extend the timeframe available for porting. Work done in this workshop can be immediately reused on Hunter.
Those first porting steps will include building with the respective compilers, linking against highly optimized numerical libraries provided by CPE, and using CPE’s performance analysis tools. Based on the latter, the time till arrival of the new system can be used to identify and offload hot loops.

In order to offload to GPUs, multiple programming models (HIP, OpenMP device offloading, PSTL/do concurrent) are available depending on the programming language used. In this workshop we will also discuss pros and cons of those models based on your situation and provide you with information on how to use them.

Besides HLRS user support staff, HPE and AMD specialists will be available to help with issues related to tools provided by those companies.

Due to the large number of groups using HLRS’ systems but limited support staff, the number of participants unfortunately needs to be limited. In order to use the system as efficient as possible, we have to focus on groups holding medium and large compute time budgets. We hence reserve the right to select attendees!

To allow for easy attendance, we decided to provide this workshop in a hybrid fashion. Besides meeting in person at HLRS, we will also setup breakout rooms in a Zoom session, which enable remote participants to communicate as well as share screens and remote control applications with support staff, hence providing the same options of interaction as meeting in person.

Target audience: Groups holding a compute time budget to be used on Hawk and Hunter.

Location

This hybrid event will take place online and at
HLRS, University of Stuttgart
Nobelstraße 19
70569 Stuttgart, Germany
Location and nearby accommodations

Start date

Jul 15, 2024
09:00

End date

Jul 19, 2024
17:00

Language

English

Entry level

Advanced

Course subject areas

Performance Optimization & Debugging

Topics

Accelerators

Code Optimization

MPI

MPI+OpenMP

OpenMP

Back to list

Prerequisites and content levels

Prerequisites

In order to attend the workshop, you should already have an account on Hawk and your application should already be running on the system. Furthermore, we require that you bring your own code including a test case which is set up according to the following rules:

  • use case selection:

    • When processing the test case, your code should have a behavior and profile which is as close as possible to that of current and future production runs.

    • If possible, the test case should be representative for those production runs of your group which consume the largest part of your compute time budget.

  • number of cores:

    • In order to be representative, the test case should be in size comparable to the respective current and future production runs.

    • In order to save valuable resources and to allow for a productive workflow, it should, however, be as small as possible.

    • So please be prepared to reduce the size of your test case during the workshop! This can often be achieved by reducing the simulated domain or resolution and keep the computational load per core constant ("weak down scaling").

  • wall time:

    • In order to allow for a productive workflow, the wall time should be a few minutes only.

    • At the same time, it should cover all important parts of the code, i.e. computation, communication and I/O.

    • So take into account to reduce the number of simulated time steps and increase I/O frequency to render investigation of I/O possible within such a low number of timesteps.

If you are unsure about how to set up your test case, please contact Björn Dick (contact data can be found below).

In general the language of instruction is German, but can be changed to English, if required.

Content levels
  • Advanced level: 32 hour 30 minutes

Learn more about course curricula and content levels.

Instructors

HLRS, HPE and AMD user support staff

Learning outcomes

  • Knowledge about and practical experience with deploying your code in CPE
  • Overview of available programming models for AMD GPUs and how to use them

Agenda

Local times: Central European Time Zone (Berlin).
Communication format: Face-to-face, via Slack, Zoom and Email.

We start ON_SITE/ONLINE workshop on Monday with

  • 8:30 Local registration (verification, seating)/drop in to Zoom

Workshop ends on Friday, latest at 17:00.

Daily Mo-Fr agenda:

  • 9:00 - 17:30 Workshop ON-SITE/ONLINE
  • Porting your code and workflow together with HLRS/HPE/AMD support staf

Workshop talks:

  • 9:00 Monday, 15.07.2024
    •  "Introduction and overview of Cray Programming Environment", Andreas Prell (HPE)
  • 9:30 Tuesday, 16.07.2024
    • "Cray Performance Analysis Tools", Andreas Prell (HPE)
  • 9:00 Wednesday, 17.07.2024 (update)
    • "CPU to GPU porting with AMD's APU architecture", Giacomo Capodaglio (AMD)

Handout

Handouts will be available to participants in terms of PDFs.

Hybrid course

This course will be hybrid, i.e. it will take place at HLRS on-site but it will also be possible to attend online. Participants, online as well as on-site, have to be aware and agree that they might appear in the live video stream taken by a camera in the back of the lecture room or by a webcam on laptops. The live stream will not be saved. We strongly recommend to attend this course on-site since on-site attendance is much more effective and efficient in our experience. Therefore we might give priority to on-site over online participants during registration.

Registration Information

Course is fully booked.

Fees

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

Contact

Björn Dick phone 0711 - 685 87189, dick(at)hlrs.de
Khatuna Kakhiani phone 0711 685 65796, kakhiani(at)hlrs.de

PRACE PATC and bwHPC

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.

This course is not part of the PATC curriculum and is not sponsored by the PATC program.

HLRS is also member of the Baden-Württemberg initiative bwHPC.

Further courses

See the training overview and the Supercomputing Academy pages.

Related training

All training

October 14 - 18, 2024

Stuttgart, Germany


October 23 - 25, 2024

Dresden


December 02 - 05, 2024

Online by JSC


December 09 - 13, 2024

Online