HPC Introduction 03/2023

From HPC users
Revision as of 14:52, 31 March 2023 by Harfst (talk | contribs) (→‎Day 3 - Wednesday, March 29th)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction to HPC at the University Oldenburg

Description

This 3-day course is aimed at HPC beginners as well as experienced users who wish to learn about HPC and the use of the local clusters CARL and EDDY. The course will cover the following topics:

  • General Introduction to HPC and the use of CARL and EDDY
  • Introduction to the Job Scheduler SLURM
  • Programming in an HPC Environment
  • Introduction to Parallel Programming (MPI, OpenMP, OpenACC)
  • Introduction to Matlab Distributed Compute Server (MDCS)

The course will consist of lectures and hands-on practical parts. Special topics may be covered if requested.

Date, Time and Registration

The course will be held by Stefan Harfst and Wilke Trei:

  • Date: March 27 – 29, 2023
  • Time: 10:00 to 17:00 (see schedule for details)
  • Room: W01 0-008

The schedule for the course can be found here.

We kindly ask you to register for the course in Stud.IP (look for course No. 5.WR.1036 in case the link does not work). If you have problems please send us an e-mail.

Lecture Slides and Materials

Day 1 - Monday, March 27th

  • Session 1: Introduction to High-Performance Computing (10:15-11:15am)
  • Session 2: Basic HPC Clusters Usage (11:30-13:00pm)
    • lecture slides [pdf]
    • example: SLURM HelloWorld [tgz]
  • Session 3: HPC Cluster Environment (13:45-17:00pm)
    • lecture slides [pdf]
    • example: RandomWalk [tgz]
    • example: Matrix-Matrix Multiplication [tgz]
    • example: Array Job [tgz]

Day 2 - Tuesday, March 28th

  • Session 4: Introduction to Parallel Computing (10:15-11:30am)
  • Session 5: Introduction to OpenMP (11:45-13:00pm)
  • Session 6: Introduction to OpenMP (13:45-15:15pm)
    • lecture slides [pdf]
    • example: Work Sharing Directives [tgz]
    • example: Parallelizing Program Random [tgz]
    • excercise: Pi Calculation Exercise [tgz]
  • Session 7: Performance Optimization (15:30-17:00pm)

Day 3 - Wednesday, March 29th

  • Session 8: Introduction to MDCS (I) (10:15-13:00pm)
    • lecture slides [pdf]
    • Basic Parfor example: Parameter Sweep [zip]
  • Session 9: Introduction to MDCS (II) (13:45-16:00pm)
    • lecture slides [pdf]
    • SPMD example: Noise Reduction [zip]
    • SPMD example: Contrast Adjustment [zip]
    • heat exercise [zip]