2018-b-NK
國家理論中心數學組「高效能計算 」短期課程
Introduction to Parallel Programming for Multicore/Manycore Clusters
2018年2月22日星期四至2月25日星期日 (9:00-17:00)
國立臺灣大學 天文數學館 301 室
最新訊息
- [2018/02/24] Facebook: HPC_for_tomorrow https://www.facebook.com/groups/429967024055789/
- [2018/02/24] 2/24 ~ 2/25 教材網址 http://nkl.cc.u-tokyo.ac.jp/NTU2018/
- [2018/02/22] 2/22 ~ 2/23教材網址 http://www.abc-lib.org/MyHTML/Lectures/NU/class-matrNTU2018.htm
- [2018/02/22] 問問題可至 slido (sli.do/IPPMMC)
- [2018/02/12] 請於 2/16 星期五前填寫 「高效能計算」短期課程出席確認調查表
- [2018/01/25] 報名已經額滿截止,錄取通知將於近日寄出。
- [2018/01/06] 臺灣大學地圖:PDF 檔,Google 版地圖
直播/紀錄 (有兩個畫面可切換)
- [2018/02/25] 2/25 直播 Part 2 https://www.youtube.com/watch?v=oKzHgnEUR08
- [2018/02/25] 2/25 直播 Part 1 https://www.youtube.com/watch?v=INkxDp60bKM
- [2018/02/24] 2/24 直播 Part 2 https://www.youtube.com/watch?v=0Yzyhw8z6dk
- [2018/02/24] 2/24 直播 Part 1 https://www.youtube.com/watch?v=8c8AyzEzMJ8
- [2018/02/23] 2/23 直播 Part 2 https://www.youtube.com/watch?v=WsTFzkC0S-w
- [2018/02/23] 2/23 直播 Part 1 https://www.youtube.com/watch?v=t1b0BsQ4QDE
- [2018/02/22] 2/22 直播 Part 3 https://www.youtube.com/watch?v=T1YJO5GEW30
- [2018/02/22] 2/22 直播 Part 2 https://www.youtube.com/watch?v=ZrwrUrFl9tw
- [2018/02/22] 2/22 直播 Part 1 https://www.youtube.com/watch?v=_AV8j7luAbQ
常用連結
- 線上註冊網址:https://goo.gl/forms/83xCsTWCsYFo87Yo1 (報名截止日期: 2018/01/25。本課程名額有限,獲得錄取學員將另行通知。)
- Prof. Nakajima 課程檔案下載連結:http://nkl.cc.u-tokyo.ac.jp/NTU2018/
- Prof. Katagiri 課程檔案下載連結:http://www.abc-lib.org/MyHTML/Lectures/NU/class-matrNTU2018.htm
課程簡介
快速累積的大量數據,以及高速發展的超級電腦,是當今與未來的重要趨勢。具備高速計算能力,才能解決更大更複雜的問題,也能大幅提升進行尖端研究與開發產業應用的競爭力。在這個四天的密集課程,我們將簡介 MPI 與 OpenMP 的平行計算環境,說明如何在此平行環境求解稠密矩陣的特徵值問題,並將有限體積法以及大型線性系統疊代法平行化,求解三維 Poisson 方程。課程中將使用最先進的超級電腦實機操作。(註:帳號須經申請,並依相關規定審核通過後,方得使用。) 這個短期課程提供一個非常難得的機會,可以接觸到目前全世界最尖端的高速平行計算環境。歡迎教師、碩博士生、大學部同學報名參加。本課程以英語講授。
Overview
In order to make full use of modern supercomputer systems with multicore/manycore architectures, hybrid parallel programming with message-passing and multithreading is essential. MPI for message-passing and OpenMP for multithreading are the most popular ways for parallel programming on multicore/manycore clusters.
This 4-day tutorial provides essential knowledge and experiences for parallel programming using MPI and OpenMP. Hands-on exercise by the Readbush-U supercomputer at the University of Tokyo (Intel Broadwell-EP) is also given. (https://www.cc.u-tokyo.ac.jp/system/reedbush/index-e.html).
- The 1st Part is focusing on training of fundamental MPI and OpenMP. The basic functions and usage of MPI and OpenMP are explained. Several training of parallelization by using sample programs based on fundamental numerical computations, such as matrix-matrix multiplication, are provided.
- In the 2nd Part, MPI and OpenMP/MPI are applied to 3D Poisson equation solver by finite-volume method (FVM) with preconditioned conjugate gradient iterative method (PCG). Detailed lectures on data structure for parallel FVM are also provided.
預備知識 (Prerequisites)
- Experiences in Unix/Linux
- Experiences in emacs or vi
- Experiences of programming (Fortran or C/C++)
- Fundamental numerical algorithms (Gaussian Elimination, LU Factorization, Jacobi/Gauss-Seidel/SOR Iterative Solvers)
- Experiences in SSH Public Key Authentication Method
課程講義 (Course Handouts)
- http://www.abc-lib.org/MyHTML/Lectures/NU/class-matrNTU2018.htm (Available soon)
- http://nkl.cc.u-tokyo.ac.jp/NTU2018/ (Available soon)
- Materials in 2017
相關軟體 (Software)
- Windows:
- Cygwin
- Please make sure to install
- gcc (C) or gfortran (Fortran) from “Devel”
- OpenSSH from “Net”
- ParaView
- MacOS, UNIX/Linux
- ParaView
- Cygwin: https://www.cygwin.com/
- ParaView: http://www.paraview.org/
授課教授 (Instructors)
- Professor Kengo Nakajima (中島 研吾 教授,東京大學 情報基盤中心 超級計算研究部門)
- Professor Takahiro Katagiri (片桐 孝洋 教授,名古屋大學 情報基盤中心 大規模計算支援環境研究部門)
課程內容 (Schedule and Contents)
February 22, 2018(Th)
09:10-10:00 Introduction (KN)
10:10-11:00 Overview of OpenMP (TK)
11:10-12:00 Functions of OpenMP (TK)
13:10-14:00 Training of OpenMP (TK)
14:10-15:00 Overview of MPI (TK)
15:10-16:00 How to use the Reedbush-U (KN)
16:10-17:00 Trainings on the Reedbush-U (KN)
Exercise 1
February 23, 2018 (F) (Katagiri)
09:10-10:00 Functions of MPI Non-blocking and Persistent Communication
10:10-11:00 Parallelization of dense Matrix-Vector Multiplications (1/2)
11:10-12:00 Parallelization of dense Matrix-Vector Multiplications (2/2)
Exercise 2
13:10-14:00 Parallelization of dense Power Method for eigenvalue problem (1/2)
14:10-15:00 Parallelization of dense Power Method for eigenvalue problem (2/2)
Exercise 3
15:10-16:00 Parallelization of Fully Distributed dense Matrix-Matrix Multiplication (1/2)
Exercise 4
16:10-17:00 Parallelization of Fully Distributed dense Matrix-Matrix Multiplication (2/2)
Exercise 5
February 24, 2018 (Sa) (Nakajima)
09:10-10:00 FVM code (1/4)
10:10-11:00 FVM code (2/4)
11:10-12:00 FVM code (3/4)
13:10-14:00 FVM code (4/4) and sparse linear solver
14:10-15:00 Parallel Data Structure (1/2)
15:10-16:00 Parallel Data Structure (2/2)
16:10-17:00 Parallel FVM (1/4)
February 25, 2018 (Su) (Nakajima)
09:10-10:00 Parallel FVM (2/4)
10:10-11:00 Parallel FVM (3/4)
11:10-12:00 Parallel FVM (4/4)
13:10-14:00 OpenMP/MPI Hybrid (1/4)
14:10-15:00 OpenMP/MPI Hybrid (2/4)
15:10-16:00 OpenMP/MPI Hybrid (3/4)
16:10-17:00 OpenMP/MPI Hybrid (4/4)
Report (topics including strong scaling, weak scaling, preconditioning, performance comparison, etc.)
主辦單位與聯絡人
主辦單位:國家理論中心數學組
協辦單位:東京大學情報基盤中心,臺灣大學數學系與應用數學科學研究所,台灣工業與應用數學學會 GPU與高效能計算活動學群
主持人:王偉仲 (台灣大學應數所),林文偉 (交通大學應數系),舒宇宸 (成功大學數學系),黃聰明 (台灣師範大學數學系)
聯絡人:游墨霏小姐 (02-3366-8814, murphyyu@ncts.ntu.edu.tw)