HPC - Algorithms and Applications - Winter 14

From Sccswiki
Jump to navigation Jump to search
Winter 14/15
Prof. Dr. Michael Bader
Time and Place
Lecture: Monday, 14.00-15.30, MI 02.07.023 (intro lecture on Oct 8; regular lectures start from Oct 13);
Tutorial: Wednesday, 12.00-14.00, MI 02.07.023 (starts Oct 8, roughly bi-weekly)
Elective topic in Informatics Bachelor/Master: students in mathematics or in any science or engineering discipline are welcome!
Oliver Meister
written exam, repeat exam on Monday, Apr 13, 2015; 17.15-19.00 in room MI 02.07.023;
Semesterwochenstunden / ECTS Credits
3 SWS (2V + 1Ü) / 4 ECTS
https://campus.tum.de/tumonline/lv.detail?clvnr=950160193 (lecture)
https://campus.tum.de/tumonline/wbStpModHB.detailPage?&pKnotenNr=705979 (module description)


  • The course will start on Wednesday, Oct 8 with an overview/introduction and some organizational issues (accounts for tutorials, e.g.)


The lecture will have a focus on parallel algorithms and implementation techniques in the field of numerical simulation and high performance computing, such as:

  • linear algebra problems on dense and sparse matrices
  • simulation on structured and unstructured meshes
  • particle-based simulations (with long-range and short-range interactions)
  • spectral methods (parallel FFT and related algorithms)
  • Monte Carlo and statistical methods

(a.k.a. the seven dwarfs of HPC).

The accompanying tutorials will include practical assignments, and will concentrate on the programming of GPU and accelerator platforms.

Lecture Material

Lecture slides will be published here after the lessons: See also the lecture from winter term 2013/14.


Roughly every second week a two hour tutorial will take place (details at page top; days and time will be announced in TUMonline and in the lectures). The assignments and their solutions will be gradually posted here.

Date Slides Worksheet Source Source (solution)
Oct 8th Organizational remarks - - -
Oct 22nd Introduction to CUDA Worksheet 1 Exercise 1 included in Exercise 2
Nov 5th Further details on Dense LA in CUDA Worksheet 2 Exercise 2 Solution 2
Nov 19th Sparse LA in CUDA Worksheet 3 Exercise 3 included in Exercise 4
Dec 3rd Solving the heat equation with CUDA Worksheet 4 Exercise 4 Solution 4
Dec 17th The Shallow Water Equations and CUDA Worksheet 5 Exercise 5 included in Exercise 6
Jan 14th Further topics on SWE and CUDA Worksheet 6 Exercise 6 -


  • Repeat Exam:
    • the same rules as for the written exam will apply (esp. no helping material, questions on the tutorials)
    • if less than 10 participants register for the exam, it will be executed as a series of oral exams (announcement with details will follow by email)
    • written exam on Mon, Apr 13, 2015, from 17.15 (room MI 02.07.023)
    • please be in (front of) the lecture room in time (at 17.00); the exam will start on 17.15, at the latest, and there will be announcements before the start!
  • no helping material of any kind will be allowed for the exam
  • please make sure that you register for the exam in TUMonline
  • the exam will extend over all topics discussed in the lectures and tutorials:
    • approx. 30% of the questions will deal with questions related to the tutorials; basic knowledge about GPU programming with CUDA is thus necessary

Literature and Online Material

Books on CUDA


Helpful, but not strictly required is knowledge in:

  • basics of numerical methods (e.g.: lecture IN0019 Numerical Programming or similar)
  • basics of parallel programming (lecture Parallel Programming, HPC - Programming Paradigms and Scalability, or similar)

Most important is a certain interest in problems from scientific computing and numerical simulation!