Parallel Numerics - Winter 10: Difference between revisions

From Sccswiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(38 intermediate revisions by 2 users not shown)
Line 5: Line 5:
| credits = SWS (2V + 2Ü) / 5 Credits
| credits = SWS (2V + 2Ü) / 5 Credits
| audience = CSE (compulsory course, 3rd semester), Mathematics (Master), Informatics (Master) (Modul [https://www.in.tum.de/myintum/kurs_verwaltung/cm.html?id=IN2012 IN2012])
| audience = CSE (compulsory course, 3rd semester), Mathematics (Master), Informatics (Master) (Modul [https://www.in.tum.de/myintum/kurs_verwaltung/cm.html?id=IN2012 IN2012])
| exam = To be announced
| exam = February 4th, 11:30-13:30, room MW 1050
| tutorials = [[Matous Sedlacek]]
| tutorials = [[Matous Sedlacek]]
}}
}}
Line 17: Line 17:
# First lecture: Monday, October 25: 10:15-11:45 am
# First lecture: Monday, October 25: 10:15-11:45 am
# First tutorial: Friday, November 5: 10:15-11:45 am
# First tutorial: Friday, November 5: 10:15-11:45 am
# <span style="color:#ff0000"> No lecture on Monday, November 1 because of holiday. Second lecture: Monday, November 8. </span>
# No lecture on Monday, November 1 because of holiday. Second lecture: Monday, November 8.
# Exam takes place February 4th, 2011. Please register till January 15th, 2011 via TumOnline.
# Last Lecture this year: Monday, December 20 <br> Last Tutorial (Tutorial 7) this year: Friday, December 17 <br> First Lecture in year 2011: Monday, January 10 <br> First Tutorial (Tutorial 8) in year 2011: Friday, January 14
# Post-exam review in MI 02.07.023: Friday, February 11: 10:15-11:45 am
# New book: Introduction to High Performance Scientific Computing (Eijkhout, Chow, van de Geijn) [[http://www.lulu.com/product/paperback/introduction-to-high-performance-scientific-computing/14455750 free download]]
# <span style="color:#ff0000">'''Dates for the oral re-exam are known. See details below!'''</span>


== Contents ==  
== Contents ==  
Line 37: Line 42:


=== Slides ===
=== Slides ===
* [[http://www5.in.tum.de/persons/huckle/PARNUM_1_a_intro.pdf Lecture 1, Introduction]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_1.pdf Lecture 1, Introduction]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_2.pdf Lecture 2, MPI, OpenMP, Graphs]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_3.pdf Lecture 3, Graphs, Colouring, BLAS]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_4.pdf Lecture 4, BLAS, Linear equations with dense matrices]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_5.pdf Lecture 5, Linear equations with dense matrices, sparse storage formats]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_6.pdf Lecture 6, Sparse storage formats, Schur complement]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_7.pdf Lecture 7, Reordering, Perfect Matching, Iterative methods]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_8.pdf Lecture 8, Stationary Methods, CG]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_9.pdf Lecture 9, GMRES, Preconditioning]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_10.pdf Lecture 10, Sparse Approximate Inverses, Domain Decomposition]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_11.pdf Lecture 11, Multigrid, Eigenvalues]]
* [[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/PARNUM_12.pdf Lecture 12, Eigenvalues (Jacobi-Davidson), MRRR, Twostep Tridiagonalization]]


=== Tutorials ===
=== Tutorials ===
Corrections with new version are marked in red.
{| class="wikitable"
{| class="wikitable"
|-
|-
| '''Tutorial ''' || '''Topics''' || '''Worksheet''' || '''Proposal for solution / code'''  
| '''Tutorial ''' || '''Topics''' || '''Worksheet''' || '''Proposal for solution / code''' || '''Slides'''
|-
|-
| '''1''' || Flynn's Taxonomy & MPI Basics || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet1.pdf worksheet1.pdf] || coming soon...
| '''1''' || Flynn's Taxonomy & MPI Basics || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet1.pdf worksheet1.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet1_solution.pdf worksheet1_solution.pdf] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws1/ws1_task6.cpp ws1_task6.cpp] ||
|-
|-
| '''2''' || Numerical Integration & P2P Communication I || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet2.pdf worksheet2.pdf] || coming soon...
| '''2''' || Numerical Integration & P2P Communication I || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet2.pdf worksheet2.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet2_solution.pdf worksheet2_solution.pdf] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws2/ws2_task1.cpp ws2_task1.cpp] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/Flynn_SPMD.pdf Flynn_SPMD.pdf]
|-
|-
 
| '''3''' || Vector-Vector Operations & P2P Communication II || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet3.pdf worksheet3.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet3_solution.pdf worksheet3_solution.pdf] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws3/ws3_task5.cpp ws3_task5.cpp] ||
| '''3''' || Vector-Vector Operations & P2P Communication II || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet3.pdf worksheet3.pdf] || coming soon...
|-
|-
| '''4''' || Matrix-Matrix-Operations & P2P Communication III || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet4.pdf worksheet4.pdf] || coming soon...
| '''4''' || Matrix-Matrix-Operations & P2P Communication III || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet4.pdf worksheet4.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet4_solution.pdf worksheet4_solution.pdf] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws4/ws4_task5.cpp ws4_task5.cpp] ||
|-
|-
| '''5''' || Parallel Gaussian elimination & Collective Operations  || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet5.pdf worksheet5.pdf] || coming soon...
| '''5''' || Parallel Gaussian elimination & Collective Operations  || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet5.pdf worksheet5.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet5_solution.pdf worksheet5_solution.pdf] <span style="color:#ff0000">(v1.1)</span> <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws5/ws5_task3.cpp ws5_task3.cpp] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/Comm_Modes.pdf Comm_Modes.pdf]
|-
|-
| '''6''' || Tridiagonal Matrices, Hockney/Golub method & Message Tags || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet6.pdf worksheet6.pdf] || coming soon...
| '''6''' || Tridiagonal Matrices, Hockney/Golub method & Message Tags || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet6.pdf worksheet6.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet6_solution.pdf worksheet6_solution.pdf] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws6/ws6_task1_serial.cpp ws6_task1_serial.cpp] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws6/ws6_task1_parallel.cpp ws6_task1_parallel.cpp] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws6/ws6_task3.cpp ws6_task3.cpp] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/Hockney_Golub_Notes.pdf Hockney_Golub_Notes.pdf]
|-
|-
| '''7''' || Sparse Matrix-Vector Multiplication & MPI Communicators  || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet7.pdf worksheet7.pdf] || coming soon...
| '''7''' || Sparse Matrix-Vector Multiplication & MPI Communicators  || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet7.pdf worksheet7.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet7_solution.pdf worksheet7_solution.pdf] <br>[http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws7/ws7_task3.cpp ws7_task3.cpp]||
|-
|-
| '''8''' || Stationary Methods || coming soon... || coming soon...
| '''8''' || Stationary Methods || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet8.pdf worksheet8.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet8_solution.pdf worksheet8_solution.pdf] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws8/ws8_task3_serial.cpp ws8_task3_serial.cpp] <br> [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/code/ws8/ws8_task3_parallel.cpp ws8_task3_parallel.cpp] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/Jacobi_Relaxation_Notes.pdf Jacobi_Relaxation_Notes.pdf]
|-
|-
| '''9''' || Domain Decomposition || coming soon... || coming soon...
| '''9''' || Domain Decomposition || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet9.pdf worksheet9.pdf] || [http://www5.in.tum.de/lehre/vorlesungen/parnum/WS10/worksheet9_solution.pdf worksheet9_solution.pdf] <span style="color:#ff0000">(v1.1)</span>  ||
|}
|}


== Literature & External Links ==
== Literature & External Links ==


# Introduction to High Performance Scientific Computing (Eijkhout, Chow, van de Geijn) [[http://www.lulu.com/product/paperback/introduction-to-high-performance-scientific-computing/14455750 free download]]
# Numerical Linear Algebra for High-Performance Computers (Dongarra, Duff, Sorensen, van der Vorst)
# Numerical Linear Algebra for High-Performance Computers (Dongarra, Duff, Sorensen, van der Vorst)
# Parallel Algorithms for Matrix Computations (Gallivan, Heath, Ng, Ortega,...)
# Parallel Algorithms for Matrix Computations (Gallivan, Heath, Ng, Ortega,...)
Line 75: Line 95:


== Exam ==
== Exam ==
coming soon...
* '''Date''': 2011 February 4th, 11:30-13:30
* '''Room''': MW 1050 (Johann-Bauschinger-Zeichensaal, Departement of mechanical engineering)
* '''Registration''': Via TumOnline till 2011, January 15th. <br> You can sign off till 2011, January 28th.
 
== Re-exam ==
<span style="color:#ff0000">'''The re-exam will be oral.'''
* '''Dates''': 24.2.2011 and 27.4.2011
* '''Room''': 02.05.044 (Office of Prof. Dr. Huckle)
* <span style="color:#ff0000">'''Registration: If you want to participate in the re-exam you have to register in TumOnline and in the hanged out lists on Prof. Dr. Huckle's office door (02.05.044). Choose a given time slot in the list and fill out all requested information, i.e. your name, matriculation number, and your E-Mail.'''</span>


=== Allowed Material for the exam ===
=== Allowed Material for the exam ===
Line 82: Line 110:


=== Regulations ===
=== Regulations ===
coming soon...
The exam takes place on February 4th, 2011 at 11:30 in room MW 1050 (Departement of mechanical engineering). Make sure you are in place on time. As the lecture hall is reserved from 11:30, and as we have to leave at 13:30, there's no chance to wait for late arrivals. A handwritten sheet of paper (size A4, front and back page) may be used during the exam as mnemonic as well as the MPI operation reference distributed during the tutorials. No other material besides dictionaries is allowed.
 
Please study your examination regulations. Students in most disciplines have to register for the exams throughout the semester via TumOnline.
 
Students that did not pass the exam or did not participate and still need the credits should contact Prof. Thomas Huckle for an appointment as soon as possible. In this case, the appointment always is the second try, i.e. if you do not take part in the exam, it is a failed try.  





Latest revision as of 09:46, 17 February 2011

Term
Winter 10
Lecturer
Univ.-Prof. Dr. Thomas Huckle
Time and Place
Lecture: Monday 10:15 - 11:45 Uhr (MI 02.07.023), Tutorial Friday 10:15 - 11:45 Uhr (MI 02.07.023)
Audience
CSE (compulsory course, 3rd semester), Mathematics (Master), Informatics (Master) (Modul IN2012)
Tutorials
Matous Sedlacek
Exam
February 4th, 11:30-13:30, room MW 1050
Semesterwochenstunden / ECTS Credits
SWS (2V + 2Ü) / 5 Credits
TUMonline
{{{tumonline}}}



IN2012

This course will be given in every winter term. The lectures and tutorials are conducted in English, and the course substitutes the German lecture "Numerik auf Parallelrechnern".

News

  1. First lecture: Monday, October 25: 10:15-11:45 am
  2. First tutorial: Friday, November 5: 10:15-11:45 am
  3. No lecture on Monday, November 1 because of holiday. Second lecture: Monday, November 8.
  4. Exam takes place February 4th, 2011. Please register till January 15th, 2011 via TumOnline.
  5. Last Lecture this year: Monday, December 20
    Last Tutorial (Tutorial 7) this year: Friday, December 17
    First Lecture in year 2011: Monday, January 10
    First Tutorial (Tutorial 8) in year 2011: Friday, January 14
  6. Post-exam review in MI 02.07.023: Friday, February 11: 10:15-11:45 am
  7. New book: Introduction to High Performance Scientific Computing (Eijkhout, Chow, van de Geijn) [free download]
  8. Dates for the oral re-exam are known. See details below!

Contents

  1. High-Performance Computing
  2. Performance: Analysis, Modeling, and Measurements
  3. Basic Linear Algebra Subprograms
  4. Direct Solution of Sparse Linear Systems
  5. Iterative Methods for Linear Systems
  6. Linear Eigenvalue Problems
  7. Programming in MPI

Course Material

Lecture Notes

Slides

Tutorials

Corrections with new version are marked in red.

Tutorial Topics Worksheet Proposal for solution / code Slides
1 Flynn's Taxonomy & MPI Basics worksheet1.pdf worksheet1_solution.pdf
ws1_task6.cpp
2 Numerical Integration & P2P Communication I worksheet2.pdf worksheet2_solution.pdf
ws2_task1.cpp
Flynn_SPMD.pdf
3 Vector-Vector Operations & P2P Communication II worksheet3.pdf worksheet3_solution.pdf
ws3_task5.cpp
4 Matrix-Matrix-Operations & P2P Communication III worksheet4.pdf worksheet4_solution.pdf
ws4_task5.cpp
5 Parallel Gaussian elimination & Collective Operations worksheet5.pdf worksheet5_solution.pdf (v1.1)
ws5_task3.cpp
Comm_Modes.pdf
6 Tridiagonal Matrices, Hockney/Golub method & Message Tags worksheet6.pdf worksheet6_solution.pdf
ws6_task1_serial.cpp
ws6_task1_parallel.cpp
ws6_task3.cpp
Hockney_Golub_Notes.pdf
7 Sparse Matrix-Vector Multiplication & MPI Communicators worksheet7.pdf worksheet7_solution.pdf
ws7_task3.cpp
8 Stationary Methods worksheet8.pdf worksheet8_solution.pdf
ws8_task3_serial.cpp
ws8_task3_parallel.cpp
Jacobi_Relaxation_Notes.pdf
9 Domain Decomposition worksheet9.pdf worksheet9_solution.pdf (v1.1)


Literature & External Links

  1. Introduction to High Performance Scientific Computing (Eijkhout, Chow, van de Geijn) [free download]
  2. Numerical Linear Algebra for High-Performance Computers (Dongarra, Duff, Sorensen, van der Vorst)
  3. Parallel Algorithms for Matrix Computations (Gallivan, Heath, Ng, Ortega,...)
  4. A User's Guide to MPI (Pacheco)
  5. Iterative Methods for Sparse Linear Systems (Saad)
  6. Loesung linearer Gleichungssysteme auf Parallelrechnern (Frommer)
  1. [An Introduction To Quantum Computing for Non-Physicists]

Exam

  • Date: 2011 February 4th, 11:30-13:30
  • Room: MW 1050 (Johann-Bauschinger-Zeichensaal, Departement of mechanical engineering)
  • Registration: Via TumOnline till 2011, January 15th.
    You can sign off till 2011, January 28th.

Re-exam

The re-exam will be oral.

  • Dates: 24.2.2011 and 27.4.2011
  • Room: 02.05.044 (Office of Prof. Dr. Huckle)
  • Registration: If you want to participate in the re-exam you have to register in TumOnline and in the hanged out lists on Prof. Dr. Huckle's office door (02.05.044). Choose a given time slot in the list and fill out all requested information, i.e. your name, matriculation number, and your E-Mail.

Allowed Material for the exam

  • 1 two-sided hand-written sheet of paper
  • "Message Passing Interface Quick Reference in C" [MPI Quick Reference]

Regulations

The exam takes place on February 4th, 2011 at 11:30 in room MW 1050 (Departement of mechanical engineering). Make sure you are in place on time. As the lecture hall is reserved from 11:30, and as we have to leave at 13:30, there's no chance to wait for late arrivals. A handwritten sheet of paper (size A4, front and back page) may be used during the exam as mnemonic as well as the MPI operation reference distributed during the tutorials. No other material besides dictionaries is allowed.

Please study your examination regulations. Students in most disciplines have to register for the exams throughout the semester via TumOnline.

Students that did not pass the exam or did not participate and still need the credits should contact Prof. Thomas Huckle for an appointment as soon as possible. In this case, the appointment always is the second try, i.e. if you do not take part in the exam, it is a failed try.


Old Exams