Difference between revisions of "HPC Introduction 03/2020"

From HPC users
Jump to navigationJump to search
(Created page with "= 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 an...")
 
 
(13 intermediate revisions by the same user 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.}}


== Description ==
== Description ==
Line 19: Line 21:
* Date: March 30 – April 1, 2020
* Date: March 30 – April 1, 2020
* Time: 10:00 to 17:00  
* Time: 10:00 to 17:00  
* Room: W1 0-008
* Room: online, Meeting in Stud.IP


The schedule for the course can be found [[media:HPC_Introduction_Course_Mar2020.pdf | here]] soon.
The schedule for the course can be found [[media:HPC_Introduction_Course_Mar2020.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=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].
== 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, [https://uol.de/en/school5/sc/high-perfomance-computing/request-an-account request an HPC account] (if you have problems contact {{sc}})
* 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 [[Login#VPN:_Internet_.2F_From_Home|GlobalProtect client to establish a VPN]].
* on Windows computers use [[Login#Connect_to_CARL.2FEDDY_using_MobaXterm|MobaXterm to login]] to the cluster, Linux and Mac users can use <tt>ssh</tt> 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 [https://elearning.uni-oldenburg.de/plugins.php/meetingplugin/index/joinMeeting/714?cid=0f7293a692a07eec4e96614bb5295ec5 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 ==
== Lecture Slides and Materials ==


==== Day 1 - Tuesday, September 17th ====
==== Day 1 - Monday, March 30th ====


<!-- * 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_Sep19.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session01_Mar20.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_Sep19.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session02_Mar20.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_Sep19.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session03_Mar20.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 - Wednesday, September 18th ====
==== Day 2 - Tuesday, March 31st ====


<!--* Session 4: '''Introduction to Parallel Computing''' ''(10:15-11:15am)
*Session 4: '''Introduction to Parallel Computing''' ''(10:15-11:15am)
** lecture slides [[media:IntroductionHPC_Session04_Sep19.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session04_Mar20.pdf |[pdf]]]
* Session 5: '''Introduction to OpenMP''' ''(11:30-13:00pm)''
* Session 5: '''Introduction to OpenMP''' ''(11:30-13:00pm)''
** lecture slides [[media:IntroductionHPC_Session05_Sep19.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session05_Mar20.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''' ''(13:45-15:15pm)''
* Session 6: '''Introduction to OpenMP''' ''(14:00-15:15pm)''
** lecture slides [[media:IntroductionHPC_Session06_Sep19.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session06_Mar20.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]]]
** excercise: Pi Calculation Exercise [[media:pi.tar.gz|[tgz]]]
** excercise: Pi Calculation Exercise [[media:pi.tar.gz|[tgz]]]
** 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_Sep19.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session07_Mar20.pdf |[pdf]]]
** example: Stencil code [[media:stencil.tar.gz|[tgz]]]-->
** example: Stencil code [[media:stencil.tar.gz|[tgz]]]


==== Day 3 - Thursday, September 19th ====
==== Day 3 - Wednesday, April 1st ====


<!--* Session 8: '''Introduction to MDCS''' ''(10:15-16:00pm)''
* Session 8: '''Introduction to MDCS''' ''(10:15-16:00pm)''
** lecture slides [[media:IntroductionHPC_Session08_Mar18.pdf |[pdf]]]
** lecture slides [[media:IntroductionHPC_Session08_Mar20.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 07:59, 1 April 2020

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 30 – April 1, 2020
  • 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 30th

  • 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 31st

  • Session 4: Introduction to Parallel Computing (10:15-11:15am)
  • Session 5: Introduction to OpenMP (11:30-13:00pm)
  • Session 6: Introduction to OpenMP (14:00-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, April 1st

  • 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]