introduction to scientific computing ii
DESCRIPTION
Gaussian Elimination. Scientific Computing In Computer Science. Institut für Informatik. Dr. Miriam Mehl. Introduction to Scientific Computing II. Typical SLE. sparse band structure. Example. Gaussian Elimination. Gaussian Elimination. Gaussian Elimination. Gaussian Elimination. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/1.jpg)
Introduction to Scientific
Computing II
Gaussian Elimination
Dr. Miriam Mehl
Institut für
Informatik
Scientific Computing
In Computer Science
![Page 2: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/2.jpg)
Typical SLE
• sparse• band structure
411
1411
11411
1141
114
![Page 3: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/3.jpg)
Example
]9[
]8[
]7[
]6[
]5[
]4[
]3[
]2[
]1[
]9[
]8[
]7[
]6[
]5[
]4[
]3[
]2[
]1[
410100000
141010000
014001000
100410100
010141010
001014001
000100410
000010141
000001014
f
f
f
f
f
f
f
f
f
u
u
u
u
u
u
u
u
u
![Page 4: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/4.jpg)
Gaussian Elimination
411
1411
141
1411
11411
****
141
****
114
![Page 5: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/5.jpg)
Gaussian Elimination
411
1411
141
1411
*****
****
****
****
114
![Page 6: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/6.jpg)
Gaussian Elimination
411
1411
141
****
****
****
****
****
114
![Page 7: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/7.jpg)
Gaussian Elimination
411
1411
****
****
****
****
****
****
114
![Page 8: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/8.jpg)
Gaussian Elimination
411
****
***
****
****
****
****
****
114
![Page 9: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/9.jpg)
Gaussian Elimination
***
***
***
****
****
****
****
****
114
![Page 10: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/10.jpg)
Gaussian Elimination
**
**
***
****
****
****
****
****
114
![Page 11: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/11.jpg)
Gaussian Elimination
*
**
***
****
****
****
****
****
114
![Page 12: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/12.jpg)
Gaussian Elimination (LU)
411
1411
141
1411
11411
1141
141
1141
114
1
1
1
1
1
1
1
1
1
![Page 13: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/13.jpg)
Gaussian Elimination (LU)
411
1411
141
1411
11411
****
141
****
114
1
1
1
1
1
1*
1
1*
1
![Page 14: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/14.jpg)
Gaussian Elimination (LU)
411
1411
141
1411
*****
****
****
****
114
1
1
1
1
1*
1**
1*
1*
1
![Page 15: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/15.jpg)
Gaussian Elimination (LU)
411
1411
141
****
****
****
****
****
114
1
1
1
1*
1**
1***
1*
1*
1
![Page 16: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/16.jpg)
Gaussian Elimination (LU)
411
1411
****
****
****
****
****
****
114
1
1
1*
1**
1***
1***
1*
1*
1
![Page 17: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/17.jpg)
Gaussian Elimination (LU)
411
****
***
****
****
****
****
****
114
1
1*
1**
1***
1***
1***
1*
1*
1
![Page 18: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/18.jpg)
Gaussian Elimination (LU)
***
***
***
****
****
****
****
****
114
1*
1**
1***
1***
1***
1***
1*
1*
1
![Page 19: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/19.jpg)
Gaussian Elimination (LU)
**
**
***
****
****
****
****
****
114
1**
1***
1***
1***
1***
1***
1*
1*
1
![Page 20: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/20.jpg)
Gaussian Elimination (LU)
*
**
***
****
****
****
****
****
114
1***
1***
1***
1***
1***
1***
1*
1*
1
![Page 21: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/21.jpg)
Gaussian Elimination – Costs
1
1
1
1
1
1
1
1
1
411
1411
141
1411
11411
1141
141
1141
114
![Page 22: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/22.jpg)
Gaussian Elimination – Costs
O(1/h)2
411
1411
141
1411
11411
****
141
****
114
1
1
1
1
1
**
1
**
1
![Page 23: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/23.jpg)
Gaussian Elimination – Costs
O(1/h)2*(1/h)2
*
**
***
****
****
****
****
****
114
****
****
****
****
****
****
**
**
1
![Page 24: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/24.jpg)
*
**
***
****
****
****
****
****
114
****
****
****
****
****
****
**
**
1
Gaussian Elimination – Costs
O(1/h)2*(1/h)2 + O(1/h)
![Page 25: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/25.jpg)
Gaussian Elimination – Costs
O(1/h)2*(1/h)2 + O(1/h)*(1/h)2
*
**
***
****
****
****
****
****
114
****
****
****
****
****
****
**
**
1
![Page 26: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/26.jpg)
Gaussian Elimination – Costs
O(1/h)2*(1/h)2 + O(1/h)*(1/h)2 + O(1/h)
*
**
***
****
****
****
****
****
114
![Page 27: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/27.jpg)
Gaussian Elimination – Costs
O(1/h)2*(1/h)2 + O(1/h)*(1/h)2 + O(1/h)*(1/h)2
*
**
***
****
****
****
****
****
114
![Page 28: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/28.jpg)
Gaussian Elimination – Costs
2D: O(1/h)4
3D: O(1/h)7
![Page 29: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/29.jpg)
Gaussian Elimination – Costs 2D
halloh runtime (HLRB2, 62 TFlop/s)
2-7 0.02 sec
2-8 0.27 sec
2-9 4.4 sec
2-10 1 min 16 sec
2-11 18 min 55 sec
2-12 5 h 02 min 40 sec
2-13 3 d 8 h 37 min 15 sec
![Page 30: Introduction to Scientific Computing II](https://reader036.vdocuments.mx/reader036/viewer/2022081515/5681328d550346895d992413/html5/thumbnails/30.jpg)
Gaussian Elimination – Costs 3D
hallo
h runtime (HLRB2, 62 TFlop/s)
2-6 4 min 44 sec
2-7 10 h 05 min 24 sec
2-8 53 d 19 h 21 min 17 sec
2-9 18 a 313 d 21 h 54 min 22 sec