Difference between revisions of "HPC Introduction 03/2021"

From HPC users
Jump to navigationJump to search
(Created page with "= Introduction to HPC at the University Oldenburg = {{warningbox| Due to the anti-Corona measures the course will be given online in a web conference. See Video Conference bel...")
 
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Introduction to HPC at the University Oldenburg =
= Introduction to HPC at the University Oldenburg =
{{warningbox|
 
Due to the anti-Corona measures the course will be given online in a web conference. See Video Conference below.}}
Due to the anti-Corona measures the course will be given online in a web conference. See Video Conference below.


== Description ==
== Description ==
Line 19: Line 19:
The course will be held by Stefan Harfst and Wilke Trei:
The course will be held by Stefan Harfst and Wilke Trei:


* Date: March 30 April 1, 2020
* Date: March 15 17, 2021
* Time: 10:00 to 17:00  
* Time: 10:00 to 17:00  
* Room: online, Meeting in Stud.IP  
* Room: online, Meeting in Stud.IP  


The schedule for the course can be found [[media:HPC_Introduction_Course_Mar2020.pdf | here]].
The schedule for the course can be found [[media:HPC_Introduction_Course_Mar2021.pdf | here]].


We kindly ask you to [https://elearning.uni-oldenburg.de/dispatch.php/course/details?sem_id=0f7293a692a07eec4e96614bb5295ec5 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 [mailto:stefan.harfst@uol.de?subject=HPC course registration send us an e-mail].
We kindly ask you to [https://elearning.uni-oldenburg.de/dispatch.php/course/details?sem_id=35e7664f7ff494741dc452ac9260c65c 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 [mailto:stefan.harfst@uol.de?subject=HPC course registration send us an e-mail].


== Web Conference ==
== Web Conference ==
Line 43: Line 43:
==== Day 1 - Monday, March 15th ====
==== Day 1 - Monday, March 15th ====


<--
* Session 1: '''Introduction to High-Performance Computing''' ''(10:15-11:15am)''
* Session 1: '''Introduction to High-Performance Computing''' ''(10:15-11:15am)''
** lecture slides [[media:IntroductionHPC_Session01_Mar20.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session01_Mar21.pdf |[pdf]]]
* Session 2: '''Basic HPC Clusters Usage''' ''(11:30-13:00pm)''
* Session 2: '''Basic HPC Clusters Usage''' ''(11:30-13:00pm)''
** lecture slides [[media:IntroductionHPC_Session02_Mar20.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session02_Mar21.pdf |[pdf]]]
** example: SLURM HelloWorld [[media:HelloWorld.tar.gz|[tgz]]]
** example: SLURM HelloWorld [[media:HelloWorld.tar.gz|[tgz]]]
* Session 3: '''HPC Cluster Environment''' ''(13:45-17:00pm)''
* Session 3: '''HPC Cluster Environment''' ''(13:45-17:00pm)''
** lecture slides [[media:IntroductionHPC_Session03_Mar20.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session03_Mar21.pdf |[pdf]]]
** example: RandomWalk [[media:RandomWalk.tar.gz|[tgz]]]
** example: RandomWalk [[media:RandomWalk.tar.gz|[tgz]]]
** example: Matrix-Matrix Multiplication [[media:mm.tar.gz|[tgz]]]
** example: Matrix-Matrix Multiplication [[media:mm.tar.gz|[tgz]]]
** example: Array Job [[media:array.tar.gz|[tgz]]]
** example: Array Job [[media:array.tar.gz|[tgz]]]
-->


==== Day 2 - Tuesday, March 16th ====
==== Day 2 - Tuesday, March 16th ====


<!--
* Session 4: '''Introduction to Parallel Computing''' ''(10:15-11:30am)
*Session 4: '''Introduction to Parallel Computing''' ''(10:15-11:15am)
** lecture slides [[media:IntroductionHPC_Session04_Mar21.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session04_Mar20.pdf |[pdf]]]
** example: MPI_HelloWorld [[media:MPI_HelloWorld.tar.gz | [tgz]]]
* Session 5: '''Introduction to OpenMP''' ''(11:30-13:00pm)''
* Session 5: '''Introduction to OpenMP''' ''(11:45-13:00pm)''
** lecture slides [[media:IntroductionHPC_Session05_Mar20.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session05_Mar21.pdf |[pdf]]]
** example: OMP_HelloWorld [[media:OMP_HelloWorld.tar.gz | [tgz]]]
** example: OMP_HelloWorld [[media:OMP_HelloWorld.tar.gz | [tgz]]]
* Session 6: '''Introduction to OpenMP''' ''(14:00-15:15pm)''
* Session 6: '''Introduction to OpenMP''' ''(13:45-15:15pm)''
** lecture slides [[media:IntroductionHPC_Session06_Mar20.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session06_Mar21.pdf |[pdf]]]
** example: Work Sharing Directives [[media:OMP_WorkShare.tar.gz|[tgz]]]
** example: Work Sharing Directives [[media:OMP_WorkShare.tar.gz|[tgz]]]
** example: Parallizing Program Random [[media:OMP_Random.tar.gz|[tgz]]]
** example: Parallizing Program Random [[media:OMP_Random.tar.gz|[tgz]]]
Line 71: Line 69:
<!--** example: Pi Calculation Exercise Solution [[media:pi_sol.tar.gz|[tgz]]] -->
<!--** example: Pi Calculation Exercise Solution [[media:pi_sol.tar.gz|[tgz]]] -->
* Session 7: '''Performance Optimization''' ''(15:30-17:00pm)''
* Session 7: '''Performance Optimization''' ''(15:30-17:00pm)''
** lecture slides [[media:IntroductionHPC_Session07_Mar20.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session07_Mar21.pdf |[pdf]]]
** example: Stencil code [[media:stencil.tar.gz|[tgz]]]
** example: Stencil code [[media:stencil.tar.gz|[tgz]]]
-->


==== Day 3 - Wednesday, March 17th ====
==== Day 3 - Wednesday, March 17th ====


<!--
* Session 8: '''Introduction to MDCS''' ''(10:15-16:00pm)''
* Session 8: '''Introduction to MDCS''' ''(10:15-16:00pm)''
** lecture slides [[media:IntroductionHPC_Session08_Mar20.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session08_Mar21.pdf |[pdf]]]
** SPMD example: Noise Reduction [[media:spmd_noise.zip |[zip]]]  
** SPMD example: Noise Reduction [[media:spmd_noise.zip |[zip]]]  
** SPMD example: Contrast Adjustment [[media:spmd_contrast.zip |[zip]]]  
** SPMD example: Contrast Adjustment [[media:spmd_contrast.zip |[zip]]]  
** heat exercise [[media:heat_example.zip |[zip]]] <!-- and solution [[media:heat_spmd.zip |[zip]]]
** heat exercise [[media:heat_example.zip |[zip]]] <!-- and solution [[media:heat_spmd.zip |[zip]]]
-->
-->

Latest revision as of 10:11, 17 March 2021

Introduction to HPC at the University Oldenburg

Due to the anti-Corona measures the course will be given online in a web conference. See Video Conference below.

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 part. Special topics may be covered if requested.

Date, Time and Registration

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

  • Date: March 15 – 17, 2021
  • Time: 10:00 to 17:00
  • Room: online, Meeting in Stud.IP

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.

Web Conference

This time, the course is given in the form of a web conference which will be a new experience for most, it certainly is for the lecturers. If you want to participate, you should make the following preparations":

  • sign up for the course as mentioned above
  • if you do not have one yet, request an HPC account (if you have problems contact Scientific Computing)
  • have a computer connected to the internet available during the time of the course
  • you also need speakers or headphones, a microphone is not needed (if you have one, please use headphones to avoid feedback loops). A webcam should not be used as it takes up too much bandwidth.
  • your computer should also be able to connect to the HPC cluster, for this you need to install and use the GlobalProtect client to establish a VPN.
  • on Windows computers use MobaXterm to login to the cluster, Linux and Mac users can use ssh in a terminal

On Monday, a little before the course starts at 10:15 am, go to the course page in Stud.IP, select the Meetings tab and join the web conference (or use the link before). In the web conference, we will show slides and use audio for the lecturers, you can ask questions in the text chat.

Lecture Slides and Materials

Day 1 - Monday, March 15th

  • 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 16th

  • 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: Parallizing Program Random [tgz]
    • excercise: Pi Calculation Exercise [tgz]
  • Session 7: Performance Optimization (15:30-17:00pm)

Day 3 - Wednesday, March 17th

  • Session 8: Introduction to MDCS (10:15-16:00pm)
    • lecture slides [pdf]
    • SPMD example: Noise Reduction [zip]
    • SPMD example: Contrast Adjustment [zip]
    • heat exercise [zip]