Applied Linear Algebra - in honor of Hans SchneiderMay 25, 2010 A Look-Back Technique of Restart for the GMRES(m) Method Akira IMAKURA † Tomohiro SOGABE.

Slides:



Advertisements
Similar presentations
M. Dumbser 1 / 23 Analisi Numerica Università degli Studi di Trento Dipartimento dIngegneria Civile ed Ambientale Dr.-Ing. Michael Dumbser Lecture on Numerical.
Advertisements

Lecture on Numerical Analysis Dr.-Ing. Michael Dumbser
A Large-Grained Parallel Algorithm for Nonlinear Eigenvalue Problems Using Complex Contour Integration Takeshi Amako, Yusaku Yamamoto and Shao-Liang Zhang.
CSE 245: Computer Aided Circuit Simulation and Verification Matrix Computations: Iterative Methods (II) Chung-Kuan Cheng.
Algebraic, transcendental (i.e., involving trigonometric and exponential functions), ordinary differential equations, or partial differential equations...
Point-wise Discretization Errors in Boundary Element Method for Elasticity Problem Bart F. Zalewski Case Western Reserve University Robert L. Mullen Case.
Asymptotic error expansion Example 1: Numerical differentiation –Truncation error via Taylor expansion.
Error Measurement and Iterative Methods
Steepest Decent and Conjugate Gradients (CG). Solving of the linear equation system.
Modern iterative methods For basic iterative methods, converge linearly Modern iterative methods, converge faster –Krylov subspace method Steepest descent.
Computational Solutions of Helmholtz Equation Yau Shu Wong Department of Mathematical & Statistical Sciences University of Alberta Edmonton, Alberta, Canada.
Finite Element Method Introduction General Principle
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Scientific Computing Seminar AMLS, Spectral Schur Complements and Iterative Computation of Eigenvalues * C. BekasY. Saad Comp. Science & Engineering Dept.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
Sparse Matrix Methods Day 1: Overview Day 2: Direct methods
The Landscape of Ax=b Solvers Direct A = LU Iterative y’ = Ay Non- symmetric Symmetric positive definite More RobustLess Storage (if sparse) More Robust.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
CS240A: Conjugate Gradients and the Model Problem.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
Monica Garika Chandana Guduru. METHODS TO SOLVE LINEAR SYSTEMS Direct methods Gaussian elimination method LU method for factorization Simplex method of.
1) CG is a numerical method to solve a linear system of equations 2) CG is used when A is Symmetric and Positive definite matrix (SPD) 3) CG of Hestenes.
Center for Machine Perception Department of Cybernetics, Faculty of Electrical Engineering Czech Technical University in Prague Methods for Solving Systems.
ECE 530 – Analysis Techniques for Large-Scale Electrical Systems Prof. Hao Zhu Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
MATH 175: NUMERICAL ANALYSIS II Lecturer: Jomar Fajardo Rabajante IMSP, UPLB 2 nd Semester AY
AN ITERATIVE METHOD FOR MODEL PARAMETER IDENTIFICATION 4. DIFFERENTIAL EQUATION MODELS E.Dimitrova, Chr. Boyadjiev E.Dimitrova, Chr. Boyadjiev BULGARIAN.
Solving Scalar Linear Systems Iterative approach Lecture 15 MA/CS 471 Fall 2003.
Algorithms for a large sparse nonlinear eigenvalue problem Yusaku Yamamoto Dept. of Computational Science & Engineering Nagoya University.
Efficient Integration of Large Stiff Systems of ODEs Using Exponential Integrators M. Tokman, M. Tokman, University of California, Merced 2 hrs 1.5 hrs.
In-Won Lee, Professor, PE In-Won Lee, Professor, PE Structural Dynamics & Vibration Control Lab. Structural Dynamics & Vibration Control Lab. Korea Advanced.
A more reliable reduction algorithm for behavioral model extraction Dmitry Vasilyev, Jacob White Massachusetts Institute of Technology.
1 Incorporating Iterative Refinement with Sparse Cholesky April 2007 Doron Pearl.
On the Use of Sparse Direct Solver in a Projection Method for Generalized Eigenvalue Problems Using Numerical Integration Takamitsu Watanabe and Yusaku.
* 김 만철, 정 형조, 박 선규, 이 인원 * 김 만철, 정 형조, 박 선규, 이 인원 구조동역학 및 진동제어 연구실 구조동역학 및 진동제어 연구실 한국과학기술원 토목공학과 중복 또는 근접 고유치를 갖는 비비례 감쇠 구조물의 자유진동 해석 1998 한국전산구조공학회 가을.
1 Marijn Bartel Schreuders Supervisor: Dr. Ir. M.B. Van Gijzen Date:Monday, 24 February 2014.
CS240A: Conjugate Gradients and the Model Problem.
Hong-Ki Jo 1), Man-Gi Ko 2) and * In-Won Lee 3) 1) Graduate Student, Dept. of Civil Engineering, KAIST 2) Professor, Dept. of Civil Engineering, Kongju.
*Man-Cheol Kim, Hyung-Jo Jung and In-Won Lee *Man-Cheol Kim, Hyung-Jo Jung and In-Won Lee Structural Dynamics & Vibration Control Lab. Structural Dynamics.
Domain Decomposition in High-Level Parallelizaton of PDE codes Xing Cai University of Oslo.
Dr. Jacob Barhen Computer Science and Mathematics Division.
Direct and Iterative Methods for Sparse Linear Systems
Consider Preconditioning – Basic Principles Basic Idea: is to use Krylov subspace method (CG, GMRES, MINRES …) on a modified system such as The matrix.
Krylov-Subspace Methods - I Lecture 6 Alessandra Nardi Thanks to Prof. Jacob White, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Programming Massively Parallel Graphics Multiprocessors using CUDA Final Project Amirhassan Asgari Kamiabad
F. Fairag, H Tawfiq and M. Al-Shahrani Department of Math & Stat Department of Mathematics and Statistics, KFUPM. Nov 6, 2013 Preconditioning Technique.
Circuit Simulation using Matrix Exponential Method Shih-Hung Weng, Quan Chen and Chung-Kuan Cheng CSE Department, UC San Diego, CA Contact:
A Parallel Hierarchical Solver for the Poisson Equation Seung Lee Deparment of Mechanical Engineering
Camera calibration from multiple view of a 2D object, using a global non linear minimization method Computer Engineering YOO GWI HYEON.
Multipole-Based Preconditioners for Sparse Linear Systems. Ananth Grama Purdue University. Supported by the National Science Foundation.
Finding Rightmost Eigenvalues of Large, Sparse, Nonsymmetric Parameterized Eigenvalue Problems Minghao Wu AMSC Program Advisor: Dr. Howard.
Krylov-Subspace Methods - II Lecture 7 Alessandra Nardi Thanks to Prof. Jacob White, Deepak Ramaswamy, Michal Rewienski, and Karen Veroy.
Conjugate gradient iteration One matrix-vector multiplication per iteration Two vector dot products per iteration Four n-vectors of working storage x 0.
TEMPLATE DESIGN © H. Che 2, E. D’Azevedo 1, M. Sekachev 3, K. Wong 3 1 Oak Ridge National Laboratory, 2 Chinese University.
1) CG is a numerical method to solve a linear system of equations 2) CG is used when A is Symmetric and Positive definite matrix (SPD) 3) CG of Hestenes.
The Landscape of Sparse Ax=b Solvers Direct A = LU Iterative y’ = Ay Non- symmetric Symmetric positive definite More RobustLess Storage More Robust More.
Numeric/symbolic exact rational linear system solver Bryan Youse, David Wood, B. David Saunders University of Delaware, Newark, Delaware Outlook [1] Zhendong.
Symbolic/numeric exact rational linear system solver Bryan Youse, B. David Saunders University of Delaware, Newark, Delaware Outlook [1] Zhendong Wan.
A Scalable Parallel Preconditioned Sparse Linear System Solver Murat ManguoğluMiddle East Technical University, Turkey Joint work with: Ahmed Sameh Purdue.
Xing Cai University of Oslo
d-Fold Hermite-Gauss Quadrature and Computation of Special Functions
ENGG 1801 Engineering Computing
Model Order Reduction for Parametric Systems
Conjugate Gradient Method
Numerical Analysis Lecture14.
University of South Florida and Eindhoven University of Technology
Numerical Analysis Lecture13.
Numerical Linear Algebra
Administrivia: November 9, 2009
RKPACK A numerical package for solving large eigenproblems
Numerical Modeling Ramaz Botchorishvili
Presentation transcript:

Applied Linear Algebra - in honor of Hans SchneiderMay 25, 2010 A Look-Back Technique of Restart for the GMRES(m) Method Akira IMAKURA † Tomohiro SOGABE ‡ Shao-Liang ZHANG † † Nagoya University, Japan. ‡ Aichi Prefectural University, Japan. 1/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Introduction Main subject -- Nonsymmetric linear systems of the form Krylov subspace methods -- Symmetric linear systems Based on Lanczos algorithm : CG, MINRES, … -- Nonsymmetric linear systems Based on two-sided Lanczos algorithm : Bi-CG, Bi-CGSTAB, GPBi-CG… Based on Arnoldi algorithm : GCR, GMRES, … + restart → GMRES(m) method 2/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Introduction GMRES(m) method [Y. Saad and M. H. Schultz:1986] -- Algorithm (focus on restart) Algorithm : GMRES(m) Run m iterations of GMRES Input:, Output: -- Update the initial guess l : number of restart cycle 3/29

Motivation May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Introduction GMRES(m) method [Y. Saad and M. H. Schultz:1986] -- Residual polynomials : residual polynomial l : number of restart /29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Introduction GMRES(m) method with readjustment -- Numerical result compared with GMRES(m) method : parameters CAVITY05XENON1 ― GMRES(m)― GMRES(m) with readjustment Readjustment leads to be better convergence Question How does we readjust the function s.t. the root is moved? 5/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Introduction Look-Back GMRES(m) method -- Algorithm (focus on update the initial guess) Algorithm : Look-Back GMRES(m) Run m iterations of GMRES Input:, Output: We can simply achieve the readjustment 6/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Introduction Look-Back GMRES(m) method -- Extension of the GMRES(m) method -- A Look-Back technique of restart → Analyze based on error equations → Analyze based on residual polynomials 7/29

Applied Linear Algebra - in honor of Hans SchneiderMay 25, 2010 Extension of the GMRES(m) method -- Analysis based on error equation -- 8/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Extension of the GMRES(m) method Algorithm : GMRES(m) Run m iterations of GMRES Input:, Output: Run m iterations of GMRES Input:, Output: Algorithm : Extension of GMRES(m) ? 9/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Extension of the GMRES(m) method Analysis based on error equations -- Introduction of error eq. and iterative refinement scheme Definition : error equation Let and be the exact solution and the numerical solution respectively. Then the error vector can be computed by solving the so-called error equation, i.e., where is residual vector corresponding to. Definition : iterative refinement scheme The technique based on solving error equations recursively to achieve the higher accuracy of the numerical solution is called the iterative refinement scheme. 10/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Extension of the GMRES(m) method Algorithm : GMRES(m) Run m iterations of GMRES Input:, Output: Run m iterations of GMRES Input:, Output: Algorithm : Extension of GMRES(m) Algorithm : Iterative refinement Run m iterations of GMRES Input:, Output: Mathematically equivalent Natural extension Run m iterations of GMRES Input:, Output: Algorithm : Iterative refinement 11/29

Applied Linear Algebra - in honor of Hans SchneiderMay 25, 2010 A Look-Back technique of restart -- Analysis based on residual polynomials -- 12/29

Extension of GMRES(m) method GMRES(m) method May 25, 2010Applied Linear Algebra - in honor of Hans Schneider A Look-Back technique of restart Difference between GMRES(m) and its Extension l : number of restart residual polynomial If we set. Then the rational function s.t. is exist. 13/29

l : number of restart Extension of GMRES(m) method Look-Back GMRES(m) method GMRES(m) method May 25, 2010Applied Linear Algebra - in honor of Hans Schneider A Look-Back technique of restart Difference between GMRES(m) and its Extension Set by some techniqueLook-Back technique residual polynomial 14/29

Extension of GMRES(m) method Look-Back GMRES(m) method May 25, 2010Applied Linear Algebra - in honor of Hans Schneider A Look-Back technique of restart A Look-Back technique Set by Look-Back technique Look-Back strategy → Readjust s.t. root is moved Look-Back at the past polynomials and rational functions 15/29

Extension of GMRES(m) method Look-Back GMRES(m) method May 25, 2010Applied Linear Algebra - in honor of Hans Schneider A Look-Back technique of restart A Look-Back technique Motivation Root of the function is moved ( → ) It is expected that readjustment leads to be high convergence 16/29

Extension of GMRES(m) method Look-Back GMRES(m) method May 25, 2010Applied Linear Algebra - in honor of Hans Schneider A Look-Back technique of restart A Look-Back technique e.g. 17/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider A Look-Back technique of restart Proposal of Look-Back GMRES(m) method -- Algorithm (focus on update the initial guess) Run m iterations of GMRES Input:, Output: -- extra costs for Look-Back technique : 1 matrix-vector multiplication per 1 restart Algorithm : Look-Back GMRES(m) 18/29

Applied Linear Algebra - in honor of Hans SchneiderMay 25, 2010 Numerical experiments -- Comparison with GMRES(m) -- 19/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Compared methods (without preconditioner) -- GMRES(m) method -- Look-Back GMRES(m) method Parameters -- right-hand-side: -- initial guess: -- stopping criterion: Experimental conditions -- AMD Phenom II X4 940 (3.0GHz); -- Standard Fortran 77 using double precision. Test problems [obtained from UF Sparse Matrix Collection] -- CAVITY05,CAVITY16,CHIPCOOL0, MEMPLUS,NS3DA,RAJAT03, RDB5000,XENON1,XENON2. (m = 30, 100) 20/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Numerical results for m = 30 CAVITY05CAVITY16CHIPCOOL0 MEMPLUSNS3DARAJAT03 RDB5000XENON1XENON2 ― GMRES(m)― Look-Back GMRES(m) 21/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Numerical results for m = 30 CAVITY05CAVITY16CHIPCOOL0 MEMPLUSNS3DARAJAT03 RDB5000XENON1XENON2 Time [sec.] Total1 Restart Time [sec.] Total1 Restart Time [sec.] Total1 Restart Time [sec.] Total1 Restart Time [sec.] Total1 Restart Time [sec.] Total1 Restart Time [sec.] Total1 Restart Time [sec.] Total1 Restart Time [sec.] Total1 Restart 1.86 E E E E E E E E E E E E E E E E+00 † 3.15 E+01 † 7.83 E E E E E+01 † 9.16 E E E E E E E E E-03 ― GMRES(m)― Look-Back GMRES(m) 22/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Numerical results for m = 100 ― GMRES(m)― Look-Back GMRES(m) CAVITY05CAVITY16CHIPCOOL0 MEMPLUSNS3DARAJAT03 RDB5000XENON1XENON2 23/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Numerical results for m = 100 ― GMRES(m)― Look-Back GMRES(m) Time [sec.] Total1 Restart †1.23 E E E-01 Time [sec.] Total1 Restart †5.47 E E E-01 Time [sec.] Total1 Restart 1.35 E E E E-01 Time [sec.] Total1 Restart 2.11 E E E E+00 Time [sec.] Total1 Restart †1.71 E E E-01 Time [sec.] Total1 Restart 4.18 E E E E-01 Time [sec.] Total1 Restart 6.41 E E E E+00 Time [sec.] Total1 Restart 2.70 E E E E+00 Time [sec.] Total1 Restart 2.65 E E E E-02 CAVITY05CAVITY16CHIPCOOL0 MEMPLUSNS3DARAJAT03 RDB5000XENON1XENON2 24/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Test problems -- From discretization of partial differential equation of the form over the unit square. 25/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Compared methods (with ILU(0) preconditioner) -- GMRES(m) method -- Look-Back GMRES(m) method Parameters -- initial guess: -- stopping criterion: Experimental conditions -- AMD Phenom II X4 940 (3.0GHz); -- Standard Fortran 77 using double precision. (m = 10) 26/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments Numerical results ― GMRES(m)― Look-Back GMRES(m) α = 0α = 0.5 α = 1.0α = /29

Applied Linear Algebra - in honor of Hans SchneiderMay 25, 2010 Conclusion and Future works 28/29

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Conclusion and Future works Conclusion -- In this talk, from analysis based on residual polynomials, we proposed the Look-Back GMRES(m) method. -- From our numerical experiments, we learned that the Look- Back GMRES(m) method shows a good convergence than the GMRES(m) method in many cases. -- Therefore the Look-Back GMRES(m) method will be an efficient variant of the GMRES(m) method. Future works -- Analyze details of the Look-Back technique. -- Compare with other techniques for the GMRES(m) method. 29/29

Thank you for your kind attention

May 25, 2010Applied Linear Algebra - in honor of Hans Schneider Numerical experiments 31/29