| 研究生: |
陳威勝 Wei-Sheng Chen |
|---|---|
| 論文名稱: |
Sparse PCG Solver之物件導向設計在叢集電腦上的應用 |
| 指導教授: |
吳維漢
Wei-Han Wu |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
理學院 - 數學系 Department of Mathematics |
| 畢業學年度: | 93 |
| 語文別: | 中文 |
| 論文頁數: | 74 |
| 中文關鍵詞: | 平行化 、物件導向程式語言 、叢集電腦 |
| 外文關鍵詞: | Parallel, MPI, PC Cluster, Object-Oriented, C++, Prec |
| 相關次數: | 點閱:20 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在本篇論文中,我們採C++物件導向程式設計的方式,並利用最常使用的數值方法conjugate gradient method (CG)和preconjugate gradient method (PCG),來解 Ax = b 的問題,並且加以比較。
通常在數值分析處理問題時,經由Finite Difference Method或者是Finite Element Method所產生的矩陣,都是Sparse Matrix。本論文採用Finite Difference Method作數值模擬,並列兩種sparse matrix的儲存方式來處理問題,達到節省儲存空間的成效;但是,在利用CG或PCG分析問題時,我們發現,需要耗費相當多的時間在做矩陣乘向量的乘法上,當矩陣愈大時,所花的時間相對增加。因此,我們將利用叢集電腦系統(PC Cluster),並使用MPI函式庫,對CG和PCG此兩種方法做平行化;在此,我們將兩種稀疏矩陣的儲存格式平行化,並且舉出兩個數值範例,在平行化之後,分別用CG和PCG去模擬分析,然後加以比較,是否在效能上有所提升。
[1] 蔡佳璋、張西亞、黃國展、李先知、周朝宜、鄭守成、陳敏、沈
澄宇,科學計算應用之新寵;個人電腦叢集,高速計算世界,卷7,
期4,頁17-25,1994
[2] 鄭守成,MPI平行計算程式設計<1>,
http://www.nchc.gov.tw/chinese/07_publication/nchcs/Other/V6N3/P24-38.html
[3] 紀良育,物件導向複合區域網格生成系統在叢集電腦系統的應
用,中央大學數學系碩士論文,2001
[4] Bjarne Stroustrup 著,葉秉哲譯,C++程式語言經典本(The C++
Programing Language,3rd ed.) 儒林發行,1999
[5] MGCG Method: A Robust And Highly Parallel Iterative Method (Make
Corrections) , By Osamu Tatebe. ... ,December 1996
[6]CGCODE: SOFTWARE FOR SOLVING LINEAR SYSTEMS WITH CONJUGATE GRADIENT METHODS
http://scicomp.ucsd.edu/~mholst/pubs/dist/Hols90.pdf
[7] Preconditioned Conjugate Gradient-Like Methods for Nonsymmetric Linear
Systems , By Ulrike Meier Yang , July 19 , 1994
[8] THE MULTIGRADE PRECONDITIONED CONJUGATE GRADIENT
METHOD (Department of InformATION Science University of Tokyo ,Japan)
[9] Message Passing Interface Forum, MPI: A Message Passing Interface
Standard, Version 1.1, June 1998
[10] Parallelization of a Preconditioned Conjugate Gradient Method
Algorithm using the Message-Passing Paradigm (Matt Newman ,1999/11/29)
[11] G.D.SMITH : Numerical Solution of Partial Differential Equations:Finite
Difference Methods, Third Edition, 1985
[12] Jonathan Richard Shewchuk , An Introduction to the Conjugate Gradient
Method Without the Agonizing Pain , March 7 , 1994
http://www.maths.uq.edu.au/~kb/mn475_320/mn475/CG_notes.ps
[13] Performance of Parallel Conjugate Gradient Solvers in Meshfree Analysis
http://css.engineering.uiowa.edu/~swan/inreview/iccg_040703.pdf
[14] Barry Wilkinson, C. Michael Allen, Parallel Programming: Techniques and
Applications Using Networked Workstations and Parallel Computers,
Prentice Hall, August 1998
[15] Parallel Methods in Numerical Analysis
Introduction to Sparse Direct Solver(Symmetric Positive Definite Systems) Kincho H. Law Professor of Civil and Environmental Engineering…November 10, 2003 Page 2. ...