Solving the Convection Diffusion Equation on Distributed Systems

Size: px
Start display at page:

Download "Solving the Convection Diffusion Equation on Distributed Systems"

Transcription

1 Solving the Convection Diffusion Equation on Distributed Systems N. Missirlis, F. Tzaferis, G. Karagiorgos, A. Theodorakos, A. Kontarinis, A. Konsta Department of Informatics and Telecommunications University of Athens

2 This presentation Considers the local MSOR Determines the optimum parameters. Parallel Implementation. Considers the Load Balancing Problem Results

3 The problem Assume a N N array of processors and assign a processor to each grid point. Jacobi is highly parallel but (local communication) SOR is difficult to parallelize T Needs multicoloring Adaptive use of needs global communication and results in same as Jacobi! = O( N) T ω = O( N)

4 The solution Use local iterative methods (Ehrlich, Botta, Russel) Use of for each grid point. Local communication ω T = O( N) Related research work Local SOR (Kuo et. Al. 1987) Local MSOR (Boukas and Missirlis 1997). Local SI-MEGS (Missirlis and Tzaferis 2002).

5 Introduction

6 Introduction ( Convection Diffusion Equation ) 2 2 u + u f( x, y) u g( x, y) u = x y x y (1) Discretization u = u + r u + t u + b u i 1, j i+ 1, j i, j+ 1 i, j 1 i = 1,2,..., N j = 1, 2,..., N. (2)

7 Introduction Jacobi Ax = b u = u + r u + t u + b u ( n+ 1) ( n) ( n) ( n) ( n) i 1, j i+ 1, j i, j+ 1 i, j 1 i, j point stencil i 1, j i, j i+ 1, j i, j 1

8 Ordering x x 1 ih u k 1 ih u k 0 jk 2 y 0 jk 2 y natural red-black

9 R/B ordering 5,0 5,1 5,2 5,3 5,4 5, ,0 4,1 4,2 4,3 4,4 4,5 Boundary points ,0 3,1 3,2 3,3 3,4 3, ,0 2,1 2,2 2,3 2,4 2, ,0 1,1 1,2 1,3 1,4 1,5 0,0 0,1 0,2 0,3 0,4 0,5

10 Local Modified ESOR u = (1 τ ) u + τ J u ( n+ 1) ( n) ( n) (i+j even) u = (1 τ ) u + ω Ju + ( τ ω ) Ju ( n 1) ( n) ( n 1) ( n) (i+j odd) where J u = u + ru + t u + b u ( n) ( n) ( n) ( n) ( n) i 1, j i+ 1, j i, j+ 1 i, j 1

11 Local Modified SOR u = (1 ω ) u + ω J u ( n+ 1) ( n) ( n) u = (1 ω ) u + ω J u ( n 1) ( n) ( n 1) (i+j even) (i+j odd)

12 Optimum Parameters J The Jacobi operator has real eigenvalues ω = ω1, i, j : = 2 2 µµ + µ µ 2 1 (1 )(1 ) ω = ω2, i, j : = µµ + µ µ 2 1 (1 )(1 )

13 Optimum Parameters J The Jacobi operator has imaginary eigenvalues ω = ω1, i, j : = 2 2 µµ + + µ + µ 2 1 (1 )(1 ) ω = ω2, i, j : = µµ + + µ + µ Optimum values for complex eigenvalues? Open Problem 2 1 (1 )(1 )

14 Optimum Parameters µ = If then 0 Local MSOR = Local SOR ω ω 2 = µ 2 2 = µ 2 real complex

15 Local Modified SOR Real I = ( 1)( 1) = ( ) S ω, ω ω1, i, j ω2, i, j 1, i, j 2, i, j Imaginary I = (1 )(1 ) = ( ) S ω, ω ω1, i, j ω2, i, j 1, i, j 2, i, j 1 µ 1 µ µ + 1 µ µ 1+ µ µ + 1+ µ 2 2

16 Local Modified SOR Conclusion Local MSOR will attain at least the convergence rate of local SOR, whereas its convergence rate will increase as µ increases.

17 Numerical Results The coefficients used in each problem are: f( x, y) = Re(2x 10), gxy (, ) = Re(2y 10) 3 2. f( x, y) = Re(2x 10), gxy (, ) = Re(2y 10) (i) (ii) µ max < 0.1 ( ) min max µ, µ [0.1,1.2] µ (iii) LMSOR outperforms all methods min 1

18 Numerical Results Comparison of local iterative methods for h=1/81, * indicates no convergence after iterations. # Method Re = 1 Re = 10 Re = 10 2 Re = 10 3 Re = 10 4 ( R, I ) (0,6400) (0,6400) (0,6400) (0,6400) (0,6400) 1 µ min µ max LSOR Nat * LSOR R/B * LMSOR

19 Numerical Results # Method Re = 1 Re = 10 Re = 10 2 Re = 10 3 Re = 10 4 ( R, I ) (6400,0) (6400,0) (0,6400) (0,6400) (0,6400) 2 µ min µ max LSOR Nat LSOR R/B LMSOR

20 Local Modified EGS The scheme for the Local Modified EGS is: u = (1 τ ) u + τ ( u + ru + t u + b u ) ( n+ 1) ( n) ( n) ( n) ( n) ( n) i 1, j i+ 1, j i, j+ 1 i, j 1 red points u = (1 τ ) u + ( u + ru + t u + b u ) + ( n+ 1) ( n) ( n+ 1) ( n+ 1) ( n+ 1) ( n+ 1) i 1, j i+ 1, j i, j+ 1 i, j 1 ( ) ( ) ( ) ( ) ( τ 1)( ui 1, j + ru i+ 1, j + tui, j+ 1 + bui, j 1) black points

21 LMEGS Optimum values Case Optimum τ Optimum ( ) τ S I τ, τ R1 µ < µ < µ µ 2 2(1 µ ) µ µ 2 2 µ µ µ µ R2 µ > µ > µ µ 2 2(1 µ ) µ µ 2 2 µ µ 2 2 µ + µ 2

22 LMEGS Optimum values Case Optimum τ Optimum ( ) τ S I τ, τ I1 µ µ µ + µ 2 2( µ + 1) µ + µ 2 2 µ µ µ + µ

23 Semi-Iterative LMEGS Let ( ), σ = S Iτ τ and the sequence (2) δ = 1 ( 2 δ : 1 0.5σ ) 1 (1) = ( ) ( k+ 1) 2 ( k) δ : = σ δ 1 Improvement: u : = δ u + (1 δ ) u ( k 1) ( k) ( k 1) ( k) ( k 1)

24 Numerical Results Comparison of LMSOR and SI-LMEGS: 2 f ( xy, ) = gxy (, ) = Re x N = 40 Re = 1 Re = 10 Re = 10 2 Re = 10 3 Re = 10 4 (R, I) R R I I I min max SI-LMEGS LMSOR

25 Numerical Results N = 120 Re = 1 Re = 10 Re = 10 2 Re = 10 3 Re = 10 4 (R, I) R R R I I min max SI-LMEGS LMSOR

26 Numerical Results Conclusions: If µ max < 3, SI-LMEGS is better than LMSOR

27 Parallel Implementation We divide the 2 points mesh into p equal rectangles of size N x N y. p p y N T p y p N T + 1 T + 2 x p x p T 2xp 2 T1 T2 T x p x p x

28 Parallel Implementation Two phases in each step: Phase 1: Communication of black boundary points. Phase 2: Communication of red boundary points. Computation and communication time for every process: 2 N tcomp ( Ti ) = O( N p) tcomm( Ti ) = 2 + xp N y p

29 Parallel Implementation

30 Communication Halo points Boundary points Interior poimts

31 Parallel Implementation Speed up: Efficiency: S E p p T p O T 1 ( ) p + y p + xp N 1 = = S 1 p = = O p 1+ ( y ) p + xp N S p p O( p) and E p 1 while 0. N

32 Parallel Implementation 0,006 0,005 Time Tp 0,004 0,003 0,002 0,001 N=60 N=84 N= Processors

33 Parallel Implementation 3,5 3 Speedup Sp 2,5 2 1,5 1 0, Processors

34 Parallel Implementation 1,2 1 Efficiency Ep 0,8 0,6 0,4 0,2 N=60 N=84 N= Processors

35 The Load Balancing Problem

36 The Diffusion Method ( ) ( n+ 1) ( n) ( n) ( n) u i = ui + u j ui [ECMWF Conf 00] j A () i Initial Load Load Transfer Load Balanced

37 Domain Decomposition Initial Decomposition Adjusted Nesting Nesting

38 Load Transfer Policy

39 The Load f(x) M f ( x) = M e x x d d 0 x 0 x

40 Numerical Results 6 processors Without LB With LB size Comm. Comp. Time Comm. Comp. Time Gain % Scale Factor(M) = 0, x20 1,321 14,710 16,031 2,371 14,186 16,557-3,28% 40x40 1,620 14,729 16,349 15,250 6,541 21,791-33,29% 80x80 8,819 38,036 46, ,029 9, , ,37% 100x100 13,097 65,018 78, ,644 13, , ,9 % Scale Factor(M) = 0,001 20x20 1,332 17,256 18,588 2,371 15,277 17,648 5,06% 40x40 1,623 17,896 19,519 15,267 5,832 21,099-8,09% 80x80 8,745 38,927 47, ,098 10, , ,13% 100x100 12,586 66,280 78, ,027 13, , ,84% Scale Factor(M) = 0, 1 20x20 1,298 21,451 22,749 2,369 14,331 16,7 26,59% 40x40 1,601 48,174 49,775 15,380 27,548 42,928 13,76% 80x80 8, , , ,143 54, ,566-19,46% 100x100 12, , ,895 70, ,469-43,03%

41 Numerical Results 6 processors Without LB With LB Size Comm. Comp. Time Comm Comp. Time Gain% Scale Factor(M) = 1 20x20 1, , ,205 2, , ,974 36,44% 40x40 1, , ,153 15, , ,674 38,43% 80x80 8, , ,28 107, , ,871 39,62% 100x100 12, , ,52 197, , ,252 32,6 % Scale Factor(M) = x20 1, , ,452 2, , ,739 37,72% 40x40 1, , ,764 15, , ,261 41,83% 80x80 8, , , , , ,923 49,52% 100x100 13, , , , , ,667 46,89% Scale Factor(M) = x20 1, , ,188 2, , ,174 37,73% 40x40 1, , ,698 15, , ,917 41,86% 80x80 8, , , , , ,228 49,63% 100x100 12, , , , , ,636 47,04%

42 Numerical Results Gain 2 processors 100,00% 50,00% 0,00% -50,00% -100,00% 20x20 40x40 80x80 100x100 0, ,001 0,

43 Numerical Results Gain 100,00% 4 processors 50,00% 0,00% -50,00% -100,00% 20x20 40x40 80x80 100x100 0, ,001 0,

44 Numerical Results Gain 6 processors 100,00% 50,00% 0,00% -50,00% -100,00% 20x20 40x40 80x80 100x100 0, ,001 0,

45 Numerical Results Gain 100,00% 50,00% 0,00% -50,00% -100,00% 20x20 40x40 80x80 100x100 0, ,001 0,

46 CONCLUSIONS Local MSOR is easy to parallelize Efficient S p O( p) and E p 1 p while 0. N It does worth to LB!

47 Future Work Determination of optimum values for the Local MESOR Dynamic LB for Solving the Adjusted Nesting Problem Heterogeneous, Asynchronous Load Balancing

48 Thank you for your attention Any Questions?

Overview: Synchronous Computations

Overview: Synchronous Computations Overview: Synchronous Computations barriers: linear, tree-based and butterfly degrees of synchronization synchronous example 1: Jacobi Iterations serial and parallel code, performance analysis synchronous

More information

Barrier. Overview: Synchronous Computations. Barriers. Counter-based or Linear Barriers

Barrier. Overview: Synchronous Computations. Barriers. Counter-based or Linear Barriers Overview: Synchronous Computations Barrier barriers: linear, tree-based and butterfly degrees of synchronization synchronous example : Jacobi Iterations serial and parallel code, performance analysis synchronous

More information

Iterative Methods and Multigrid

Iterative Methods and Multigrid Iterative Methods and Multigrid Part 1: Introduction to Multigrid 2000 Eric de Sturler 1 12/02/09 MG01.prz Basic Iterative Methods (1) Nonlinear equation: f(x) = 0 Rewrite as x = F(x), and iterate x i+1

More information

Image Reconstruction And Poisson s equation

Image Reconstruction And Poisson s equation Chapter 1, p. 1/58 Image Reconstruction And Poisson s equation School of Engineering Sciences Parallel s for Large-Scale Problems I Chapter 1, p. 2/58 Outline 1 2 3 4 Chapter 1, p. 3/58 Question What have

More information

c 1999 Society for Industrial and Applied Mathematics

c 1999 Society for Industrial and Applied Mathematics SIAM J SCI COMPUT Vol 20, No 6, pp 2261 2281 c 1999 Society for Industrial and Applied Mathematics NEW PARALLEL SOR METHOD BY DOMAIN PARTITIONING DEXUAN XIE AND LOYCE ADAMS Abstract In this paper we propose

More information

= ( 1 P + S V P) 1. Speedup T S /T V p

= ( 1 P + S V P) 1. Speedup T S /T V p Numerical Simulation - Homework Solutions 2013 1. Amdahl s law. (28%) Consider parallel processing with common memory. The number of parallel processor is 254. Explain why Amdahl s law for this situation

More information

Finite difference method for elliptic problems: I

Finite difference method for elliptic problems: I Finite difference method for elliptic problems: I Praveen. C praveen@math.tifrbng.res.in Tata Institute of Fundamental Research Center for Applicable Mathematics Bangalore 560065 http://math.tifrbng.res.in/~praveen

More information

Answers to Exercises Computational Fluid Dynamics

Answers to Exercises Computational Fluid Dynamics Answers to Exercises Computational Fluid Dynamics Exercise - Artificial diffusion upwind computations.9 k=. exact.8 k=..7 k=..6 k=..5.4.3.2...2.3.4.5.6.7.8.9 x For k =.,. and., and for N = 2, the discrete

More information

CURRICULUM VITAE - N.M. MISSIRLIS

CURRICULUM VITAE - N.M. MISSIRLIS CURRICULUM VITAE - N.M. MISSIRLIS Name Nikolaos M. Missirlis Address Department of Informatics and Telecommunications, Section of Theoretical Informatics, National and Kapodistrian University of Athens,

More information

9. Iterative Methods for Large Linear Systems

9. Iterative Methods for Large Linear Systems EE507 - Computational Techniques for EE Jitkomut Songsiri 9. Iterative Methods for Large Linear Systems introduction splitting method Jacobi method Gauss-Seidel method successive overrelaxation (SOR) 9-1

More information

PDEs in Image Processing, Tutorials

PDEs in Image Processing, Tutorials PDEs in Image Processing, Tutorials Markus Grasmair Vienna, Winter Term 2010 2011 Direct Methods Let X be a topological space and R: X R {+ } some functional. following definitions: The mapping R is lower

More information

CME342 Parallel Methods in Numerical Analysis. Matrix Computation: Iterative Methods II. Sparse Matrix-vector Multiplication.

CME342 Parallel Methods in Numerical Analysis. Matrix Computation: Iterative Methods II. Sparse Matrix-vector Multiplication. CME342 Parallel Methods in Numerical Analysis Matrix Computation: Iterative Methods II Outline: CG & its parallelization. Sparse Matrix-vector Multiplication. 1 Basic iterative methods: Ax = b r = b Ax

More information

Jae Heon Yun and Yu Du Han

Jae Heon Yun and Yu Du Han Bull. Korean Math. Soc. 39 (2002), No. 3, pp. 495 509 MODIFIED INCOMPLETE CHOLESKY FACTORIZATION PRECONDITIONERS FOR A SYMMETRIC POSITIVE DEFINITE MATRIX Jae Heon Yun and Yu Du Han Abstract. We propose

More information

Modelling and implementation of algorithms in applied mathematics using MPI

Modelling and implementation of algorithms in applied mathematics using MPI Modelling and implementation of algorithms in applied mathematics using MPI Lecture 3: Linear Systems: Simple Iterative Methods and their parallelization, Programming MPI G. Rapin Brazil March 2011 Outline

More information

On the approximation of the principal eigenvalue for a class of nonlinear elliptic operators

On the approximation of the principal eigenvalue for a class of nonlinear elliptic operators On the approximation of the principal eigenvalue for a class of nonlinear elliptic operators Fabio Camilli ("Sapienza" Università di Roma) joint work with I.Birindelli ("Sapienza") I.Capuzzo Dolcetta ("Sapienza")

More information

Review: From problem to parallel algorithm

Review: From problem to parallel algorithm Review: From problem to parallel algorithm Mathematical formulations of interesting problems abound Poisson s equation Sources: Electrostatics, gravity, fluid flow, image processing (!) Numerical solution:

More information

IMPLEMENTATION OF A PARALLEL AMG SOLVER

IMPLEMENTATION OF A PARALLEL AMG SOLVER IMPLEMENTATION OF A PARALLEL AMG SOLVER Tony Saad May 2005 http://tsaad.utsi.edu - tsaad@utsi.edu PLAN INTRODUCTION 2 min. MULTIGRID METHODS.. 3 min. PARALLEL IMPLEMENTATION PARTITIONING. 1 min. RENUMBERING...

More information

Cache Oblivious Stencil Computations

Cache Oblivious Stencil Computations Cache Oblivious Stencil Computations S. HUNOLD J. L. TRÄFF F. VERSACI Lectures on High Performance Computing 13 April 2015 F. Versaci (TU Wien) Cache Oblivious Stencil Computations 13 April 2015 1 / 19

More information

Asynchronous Parareal in time discretization for partial differential equations

Asynchronous Parareal in time discretization for partial differential equations Asynchronous Parareal in time discretization for partial differential equations Frédéric Magoulès, Guillaume Gbikpi-Benissan April 7, 2016 CentraleSupélec IRT SystemX Outline of the presentation 01 Introduction

More information

Poisson Equation in 2D

Poisson Equation in 2D A Parallel Strategy Department of Mathematics and Statistics McMaster University March 31, 2010 Outline Introduction 1 Introduction Motivation Discretization Iterative Methods 2 Additive Schwarz Method

More information

Background. Background. C. T. Kelley NC State University tim C. T. Kelley Background NCSU, Spring / 58

Background. Background. C. T. Kelley NC State University tim C. T. Kelley Background NCSU, Spring / 58 Background C. T. Kelley NC State University tim kelley@ncsu.edu C. T. Kelley Background NCSU, Spring 2012 1 / 58 Notation vectors, matrices, norms l 1 : max col sum... spectral radius scaled integral norms

More information

A stencil of the finite-difference method for the 2D convection diffusion equation and its new iterative scheme

A stencil of the finite-difference method for the 2D convection diffusion equation and its new iterative scheme International Journal of Computer Mathematics Vol. 87, No. 11, September 2010, 2588 2600 A stencil of the finite-difference method for the 2D convection diffusion equation and its new iterative scheme

More information

Earth System Modeling Domain decomposition

Earth System Modeling Domain decomposition Earth System Modeling Domain decomposition Graziano Giuliani International Centre for Theorethical Physics Earth System Physics Section Advanced School on Regional Climate Modeling over South America February

More information

Here is an example of a block diagonal matrix with Jordan Blocks on the diagonal: J

Here is an example of a block diagonal matrix with Jordan Blocks on the diagonal: J Class Notes 4: THE SPECTRAL RADIUS, NORM CONVERGENCE AND SOR. Math 639d Due Date: Feb. 7 (updated: February 5, 2018) In the first part of this week s reading, we will prove Theorem 2 of the previous class.

More information

Aspects of Multigrid

Aspects of Multigrid Aspects of Multigrid Kees Oosterlee 1,2 1 Delft University of Technology, Delft. 2 CWI, Center for Mathematics and Computer Science, Amsterdam, SIAM Chapter Workshop Day, May 30th 2018 C.W.Oosterlee (CWI)

More information

Domain decomposition for the Jacobi-Davidson method: practical strategies

Domain decomposition for the Jacobi-Davidson method: practical strategies Chapter 4 Domain decomposition for the Jacobi-Davidson method: practical strategies Abstract The Jacobi-Davidson method is an iterative method for the computation of solutions of large eigenvalue problems.

More information

Domain Decomposition-based contour integration eigenvalue solvers

Domain Decomposition-based contour integration eigenvalue solvers Domain Decomposition-based contour integration eigenvalue solvers Vassilis Kalantzis joint work with Yousef Saad Computer Science and Engineering Department University of Minnesota - Twin Cities, USA SIAM

More information

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs

Chapter Two: Numerical Methods for Elliptic PDEs. 1 Finite Difference Methods for Elliptic PDEs Chapter Two: Numerical Methods for Elliptic PDEs Finite Difference Methods for Elliptic PDEs.. Finite difference scheme. We consider a simple example u := subject to Dirichlet boundary conditions ( ) u

More information

A Hybrid Method for the Wave Equation. beilina

A Hybrid Method for the Wave Equation.   beilina A Hybrid Method for the Wave Equation http://www.math.unibas.ch/ beilina 1 The mathematical model The model problem is the wave equation 2 u t 2 = (a 2 u) + f, x Ω R 3, t > 0, (1) u(x, 0) = 0, x Ω, (2)

More information

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners Eugene Vecharynski 1 Andrew Knyazev 2 1 Department of Computer Science and Engineering University of Minnesota 2 Department

More information

Sparse Linear Systems. Iterative Methods for Sparse Linear Systems. Motivation for Studying Sparse Linear Systems. Partial Differential Equations

Sparse Linear Systems. Iterative Methods for Sparse Linear Systems. Motivation for Studying Sparse Linear Systems. Partial Differential Equations Sparse Linear Systems Iterative Methods for Sparse Linear Systems Matrix Computations and Applications, Lecture C11 Fredrik Bengzon, Robert Söderlund We consider the problem of solving the linear system

More information

LMI MODELLING 4. CONVEX LMI MODELLING. Didier HENRION. LAAS-CNRS Toulouse, FR Czech Tech Univ Prague, CZ. Universidad de Valladolid, SP March 2009

LMI MODELLING 4. CONVEX LMI MODELLING. Didier HENRION. LAAS-CNRS Toulouse, FR Czech Tech Univ Prague, CZ. Universidad de Valladolid, SP March 2009 LMI MODELLING 4. CONVEX LMI MODELLING Didier HENRION LAAS-CNRS Toulouse, FR Czech Tech Univ Prague, CZ Universidad de Valladolid, SP March 2009 Minors A minor of a matrix F is the determinant of a submatrix

More information

Computational Linear Algebra

Computational Linear Algebra Computational Linear Algebra PD Dr. rer. nat. habil. Ralf-Peter Mundani Computation in Engineering / BGU Scientific Computing in Computer Science / INF Winter Term 2018/19 Part 4: Iterative Methods PD

More information

Study of Effect in Convergence of a Solution with the Variation in Accelerating Factor in Successive Over Relaxation Method

Study of Effect in Convergence of a Solution with the Variation in Accelerating Factor in Successive Over Relaxation Method Study of Effect in Convergence of a Solution with the Variation in Accelerating Factor in Successive Over Relaxation Method Priti V. Tandel Department of Mathematics, Veer Narmad South Gujarat niversity,

More information

Introduction to Multigrid Methods

Introduction to Multigrid Methods Introduction to Multigrid Methods Chapter 9: Multigrid Methodology and Applications Gustaf Söderlind Numerical Analysis, Lund University Textbooks: A Multigrid Tutorial, by William L Briggs. SIAM 1988

More information

Motivation: Sparse matrices and numerical PDE's

Motivation: Sparse matrices and numerical PDE's Lecture 20: Numerical Linear Algebra #4 Iterative methods and Eigenproblems Outline 1) Motivation: beyond LU for Ax=b A little PDE's and sparse matrices A) Temperature Equation B) Poisson Equation 2) Splitting

More information

6. Iterative Methods for Linear Systems. The stepwise approach to the solution...

6. Iterative Methods for Linear Systems. The stepwise approach to the solution... 6 Iterative Methods for Linear Systems The stepwise approach to the solution Miriam Mehl: 6 Iterative Methods for Linear Systems The stepwise approach to the solution, January 18, 2013 1 61 Large Sparse

More information

ITERATIVE PROJECTION METHODS FOR SPARSE LINEAR SYSTEMS AND EIGENPROBLEMS CHAPTER 3 : SEMI-ITERATIVE METHODS

ITERATIVE PROJECTION METHODS FOR SPARSE LINEAR SYSTEMS AND EIGENPROBLEMS CHAPTER 3 : SEMI-ITERATIVE METHODS ITERATIVE PROJECTION METHODS FOR SPARSE LINEAR SYSTEMS AND EIGENPROBLEMS CHAPTER 3 : SEMI-ITERATIVE METHODS Heinrich Voss voss@tu-harburg.de Hamburg University of Technology Institute of Numerical Simulation

More information

Numerical Programming I (for CSE)

Numerical Programming I (for CSE) Technische Universität München WT 1/13 Fakultät für Mathematik Prof. Dr. M. Mehl B. Gatzhammer January 1, 13 Numerical Programming I (for CSE) Tutorial 1: Iterative Methods 1) Relaxation Methods a) Let

More information

Kasetsart University Workshop. Multigrid methods: An introduction

Kasetsart University Workshop. Multigrid methods: An introduction Kasetsart University Workshop Multigrid methods: An introduction Dr. Anand Pardhanani Mathematics Department Earlham College Richmond, Indiana USA pardhan@earlham.edu A copy of these slides is available

More information

Practical Course Scientific Computing and Visualization

Practical Course Scientific Computing and Visualization May 3, 24 Page 1 of 18 1 gridpoints for pressure p: j i p, p 1, p 2, p 3, p 4, p,1 p 1,1 p 2,1 p 3,1 p 4,1 p,2 p 1,2 p 2,2 p 3,2 p 4,2 p,3 p 1,3 p 2,3 p 3,3 p 4,3 p,4 p 1,4 p 2,4 p 3,4 p 4,4 Page 2 of

More information

Iterative Methods. Splitting Methods

Iterative Methods. Splitting Methods Iterative Methods Splitting Methods 1 Direct Methods Solving Ax = b using direct methods. Gaussian elimination (using LU decomposition) Variants of LU, including Crout and Doolittle Other decomposition

More information

Lecture 18 Classical Iterative Methods

Lecture 18 Classical Iterative Methods Lecture 18 Classical Iterative Methods MIT 18.335J / 6.337J Introduction to Numerical Methods Per-Olof Persson November 14, 2006 1 Iterative Methods for Linear Systems Direct methods for solving Ax = b,

More information

Numerical Analysis of Differential Equations Numerical Solution of Elliptic Boundary Value

Numerical Analysis of Differential Equations Numerical Solution of Elliptic Boundary Value Numerical Analysis of Differential Equations 188 5 Numerical Solution of Elliptic Boundary Value Problems 5 Numerical Solution of Elliptic Boundary Value Problems TU Bergakademie Freiberg, SS 2012 Numerical

More information

An Introduction to Algebraic Multigrid (AMG) Algorithms Derrick Cerwinsky and Craig C. Douglas 1/84

An Introduction to Algebraic Multigrid (AMG) Algorithms Derrick Cerwinsky and Craig C. Douglas 1/84 An Introduction to Algebraic Multigrid (AMG) Algorithms Derrick Cerwinsky and Craig C. Douglas 1/84 Introduction Almost all numerical methods for solving PDEs will at some point be reduced to solving A

More information

CONTROLLABILITY OF NONLINEAR DISCRETE SYSTEMS

CONTROLLABILITY OF NONLINEAR DISCRETE SYSTEMS Int. J. Appl. Math. Comput. Sci., 2002, Vol.2, No.2, 73 80 CONTROLLABILITY OF NONLINEAR DISCRETE SYSTEMS JERZY KLAMKA Institute of Automatic Control, Silesian University of Technology ul. Akademicka 6,

More information

Theory of Iterative Methods

Theory of Iterative Methods Based on Strang s Introduction to Applied Mathematics Theory of Iterative Methods The Iterative Idea To solve Ax = b, write Mx (k+1) = (M A)x (k) + b, k = 0, 1,,... Then the error e (k) x (k) x satisfies

More information

1. Fast Iterative Solvers of SLE

1. Fast Iterative Solvers of SLE 1. Fast Iterative Solvers of crucial drawback of solvers discussed so far: they become slower if we discretize more accurate! now: look for possible remedies relaxation: explicit application of the multigrid

More information

Nonparametric density estimation for elliptic problems with random perturbations

Nonparametric density estimation for elliptic problems with random perturbations Nonparametric density estimation for elliptic problems with random perturbations, DqF Workshop, Stockholm, Sweden, 28--2 p. /2 Nonparametric density estimation for elliptic problems with random perturbations

More information

Boundary value problems on triangular domains and MKSOR methods

Boundary value problems on triangular domains and MKSOR methods Applied and Computational Mathematics 2014; 3(3): 90-99 Published online June 30 2014 (http://www.sciencepublishinggroup.com/j/acm) doi: 10.1164/j.acm.20140303.14 Boundary value problems on triangular

More information

Value and Policy Iteration

Value and Policy Iteration Chapter 7 Value and Policy Iteration 1 For infinite horizon problems, we need to replace our basic computational tool, the DP algorithm, which we used to compute the optimal cost and policy for finite

More information

Multigrid absolute value preconditioning

Multigrid absolute value preconditioning Multigrid absolute value preconditioning Eugene Vecharynski 1 Andrew Knyazev 2 (speaker) 1 Department of Computer Science and Engineering University of Minnesota 2 Department of Mathematical and Statistical

More information

An Introduction of Multigrid Methods for Large-Scale Computation

An Introduction of Multigrid Methods for Large-Scale Computation An Introduction of Multigrid Methods for Large-Scale Computation Chin-Tien Wu National Center for Theoretical Sciences National Tsing-Hua University 01/4/005 How Large the Real Simulations Are? Large-scale

More information

Numerical Method for Fuzzy Partial Differential Equations

Numerical Method for Fuzzy Partial Differential Equations Applied Mathematical Sciences, Vol. 1, 2007, no. 27, 1299-1309 Numerical Method for Fuzzy Partial Differential Equations M. Afshar Kermani 1 and F. Saburi Department of Mathematics Science and Research

More information

OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative methods ffl Krylov subspace methods ffl Preconditioning techniques: Iterative methods ILU

OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative methods ffl Krylov subspace methods ffl Preconditioning techniques: Iterative methods ILU Preconditioning Techniques for Solving Large Sparse Linear Systems Arnold Reusken Institut für Geometrie und Praktische Mathematik RWTH-Aachen OUTLINE ffl CFD: elliptic pde's! Ax = b ffl Basic iterative

More information

Parallel Preconditioning Methods for Ill-conditioned Problems

Parallel Preconditioning Methods for Ill-conditioned Problems Parallel Preconditioning Methods for Ill-conditioned Problems Kengo Nakajima Information Technology Center, The University of Tokyo 2014 Conference on Advanced Topics and Auto Tuning in High Performance

More information

Parallel Programming in C with MPI and OpenMP

Parallel Programming in C with MPI and OpenMP Parallel Programming in C with MPI and OpenMP Michael J. Quinn Chapter 13 Finite Difference Methods Outline n Ordinary and partial differential equations n Finite difference methods n Vibrating string

More information

MULTIGRID METHODS FOR NONLINEAR PROBLEMS: AN OVERVIEW

MULTIGRID METHODS FOR NONLINEAR PROBLEMS: AN OVERVIEW MULTIGRID METHODS FOR NONLINEAR PROBLEMS: AN OVERVIEW VAN EMDEN HENSON CENTER FOR APPLIED SCIENTIFIC COMPUTING LAWRENCE LIVERMORE NATIONAL LABORATORY Abstract Since their early application to elliptic

More information

FINE-GRAINED PARALLEL INCOMPLETE LU FACTORIZATION

FINE-GRAINED PARALLEL INCOMPLETE LU FACTORIZATION FINE-GRAINED PARALLEL INCOMPLETE LU FACTORIZATION EDMOND CHOW AND AFTAB PATEL Abstract. This paper presents a new fine-grained parallel algorithm for computing an incomplete LU factorization. All nonzeros

More information

Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids

Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids Jochen Garcke joint work with Axel Kröner, INRIA Saclay and CMAP, Ecole Polytechnique Ilja Kalmykov, Universität

More information

y y i LB k+1 f(x, y k+1 ) Ax + By k+1 b,

y y i LB k+1 f(x, y k+1 ) Ax + By k+1 b, a b b a b min x,y f(x, y) g j (x, y) 0 j = 1,... l, Ax + By b, x R n, y Z m. f, g 1,..., g l : R n R m R y x { (x i, y i ) } k i=0 k y k+1 min x,y,µ µ [ ] f(x i, y i ) + f(x i, y i ) T x x i y y i g j

More information

Parameter robust methods for second-order complex-valued reaction-diffusion equations

Parameter robust methods for second-order complex-valued reaction-diffusion equations Postgraduate Modelling Research Group, 10 November 2017 Parameter robust methods for second-order complex-valued reaction-diffusion equations Faiza Alssaedi Supervisor: Niall Madden School of Mathematics,

More information

9.1 Preconditioned Krylov Subspace Methods

9.1 Preconditioned Krylov Subspace Methods Chapter 9 PRECONDITIONING 9.1 Preconditioned Krylov Subspace Methods 9.2 Preconditioned Conjugate Gradient 9.3 Preconditioned Generalized Minimal Residual 9.4 Relaxation Method Preconditioners 9.5 Incomplete

More information

Non-Conforming Finite Element Methods for Nonmatching Grids in Three Dimensions

Non-Conforming Finite Element Methods for Nonmatching Grids in Three Dimensions Non-Conforming Finite Element Methods for Nonmatching Grids in Three Dimensions Wayne McGee and Padmanabhan Seshaiyer Texas Tech University, Mathematics and Statistics (padhu@math.ttu.edu) Summary. In

More information

FINE-GRAINED PARALLEL INCOMPLETE LU FACTORIZATION

FINE-GRAINED PARALLEL INCOMPLETE LU FACTORIZATION FINE-GRAINED PARALLEL INCOMPLETE LU FACTORIZATION EDMOND CHOW AND AFTAB PATEL Abstract. This paper presents a new fine-grained parallel algorithm for computing an incomplete LU factorization. All nonzeros

More information

1e N

1e N Spectral schemes on triangular elements by Wilhelm Heinrichs and Birgit I. Loch Abstract The Poisson problem with homogeneous Dirichlet boundary conditions is considered on a triangle. The mapping between

More information

CLASSICAL ITERATIVE METHODS

CLASSICAL ITERATIVE METHODS CLASSICAL ITERATIVE METHODS LONG CHEN In this notes we discuss classic iterative methods on solving the linear operator equation (1) Au = f, posed on a finite dimensional Hilbert space V = R N equipped

More information

Numerical Solution Techniques in Mechanical and Aerospace Engineering

Numerical Solution Techniques in Mechanical and Aerospace Engineering Numerical Solution Techniques in Mechanical and Aerospace Engineering Chunlei Liang LECTURE 3 Solvers of linear algebraic equations 3.1. Outline of Lecture Finite-difference method for a 2D elliptic PDE

More information

OPTIMIZED SCHWARZ METHODS

OPTIMIZED SCHWARZ METHODS SIAM J. NUMER. ANAL. Vol. 44, No., pp. 699 31 c 006 Society for Industrial and Applied Mathematics OPTIMIZED SCHWARZ METHODS MARTIN J. GANDER Abstract. Optimized Schwarz methods are a new class of Schwarz

More information

Finite Difference and Finite Element Methods for Solving Elliptic Partial Differential Equations

Finite Difference and Finite Element Methods for Solving Elliptic Partial Differential Equations An-Najah National University Faculty of Graduate Studies Finite Difference and Finite Element Methods for Solving Elliptic Partial Differential Equations By Malik Fehmi Ahmed Abu Al-Rob Supervisor Prof.

More information

ADDITIVE SCHWARZ FOR SCHUR COMPLEMENT 305 the parallel implementation of both preconditioners on distributed memory platforms, and compare their perfo

ADDITIVE SCHWARZ FOR SCHUR COMPLEMENT 305 the parallel implementation of both preconditioners on distributed memory platforms, and compare their perfo 35 Additive Schwarz for the Schur Complement Method Luiz M. Carvalho and Luc Giraud 1 Introduction Domain decomposition methods for solving elliptic boundary problems have been receiving increasing attention

More information

Applications of Linear Programming

Applications of Linear Programming Applications of Linear Programming lecturer: András London University of Szeged Institute of Informatics Department of Computational Optimization Lecture 9 Non-linear programming In case of LP, the goal

More information

Algebra C Numerical Linear Algebra Sample Exam Problems

Algebra C Numerical Linear Algebra Sample Exam Problems Algebra C Numerical Linear Algebra Sample Exam Problems Notation. Denote by V a finite-dimensional Hilbert space with inner product (, ) and corresponding norm. The abbreviation SPD is used for symmetric

More information

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE]

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE] Chapter 5 Fourier Analysis of Finite Difference Methods In this lecture, we determine the stability of PDE discretizations using Fourier analysis. First, we begin with Fourier analysis of PDE s, and then

More information

An Introduction to the Discontinuous Galerkin Method

An Introduction to the Discontinuous Galerkin Method An Introduction to the Discontinuous Galerkin Method Krzysztof J. Fidkowski Aerospace Computational Design Lab Massachusetts Institute of Technology March 16, 2005 Computational Prototyping Group Seminar

More information

Domain decomposition schemes with high-order accuracy and unconditional stability

Domain decomposition schemes with high-order accuracy and unconditional stability Domain decomposition schemes with high-order accuracy and unconditional stability Wenrui Hao Shaohong Zhu March 7, 0 Abstract Parallel finite difference schemes with high-order accuracy and unconditional

More information

Finite Difference Method for PDE. Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36

Finite Difference Method for PDE. Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36 Finite Difference Method for PDE Y V S S Sanyasiraju Professor, Department of Mathematics IIT Madras, Chennai 36 1 Classification of the Partial Differential Equations Consider a scalar second order partial

More information

On solving linear systems arising from Shishkin mesh discretizations

On solving linear systems arising from Shishkin mesh discretizations On solving linear systems arising from Shishkin mesh discretizations Petr Tichý Faculty of Mathematics and Physics, Charles University joint work with Carlos Echeverría, Jörg Liesen, and Daniel Szyld October

More information

Fine-grained Parallel Incomplete LU Factorization

Fine-grained Parallel Incomplete LU Factorization Fine-grained Parallel Incomplete LU Factorization Edmond Chow School of Computational Science and Engineering Georgia Institute of Technology Sparse Days Meeting at CERFACS June 5-6, 2014 Contribution

More information

Solution of Matrix Eigenvalue Problem

Solution of Matrix Eigenvalue Problem Outlines October 12, 2004 Outlines Part I: Review of Previous Lecture Part II: Review of Previous Lecture Outlines Part I: Review of Previous Lecture Part II: Standard Matrix Eigenvalue Problem Other Forms

More information

NUMERICAL STUDY OF CONVECTION DIFFUSION PROBLEM IN TWO- DIMENSIONAL SPACE

NUMERICAL STUDY OF CONVECTION DIFFUSION PROBLEM IN TWO- DIMENSIONAL SPACE IJRRAS 5 () November NUMERICAL STUDY OF CONVECTION DIFFUSION PROBLEM IN TWO- DIMENSIONAL SPACE. K. Sharath Babu,* & N. Srinivasacharyulu Research Scholar, Department of Mathematics, National Institute

More information

AN EFFICIENT QUARTER-SWEEP MODIFIED SOR ITERATIVE METHOD FOR SOLVING HELMHOLTZ EQUATION

AN EFFICIENT QUARTER-SWEEP MODIFIED SOR ITERATIVE METHOD FOR SOLVING HELMHOLTZ EQUATION International Journal of Pure and Applied Mathematics Volume 80 No. 5 2012, 751-764 ISSN: 1311-8080 (printed version) url: http://www.ijpam.eu PA ijpam.eu AN EFFICIENT QUARTER-SWEEP MODIFIED SOR ITERATIVE

More information

Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions

Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions R. S. Sellers MAE 5440, Computational Fluid Dynamics Utah State University, Department of Mechanical and Aerospace Engineering

More information

Solution to Laplace Equation using Preconditioned Conjugate Gradient Method with Compressed Row Storage using MPI

Solution to Laplace Equation using Preconditioned Conjugate Gradient Method with Compressed Row Storage using MPI Solution to Laplace Equation using Preconditioned Conjugate Gradient Method with Compressed Row Storage using MPI Sagar Bhatt Person Number: 50170651 Department of Mechanical and Aerospace Engineering,

More information

16.2 Iterated Integrals

16.2 Iterated Integrals 6.2 Iterated Integrals So far: We have defined what we mean by a double integral. We have estimated the value of a double integral from contour diagrams and from tables of values. We have interpreted the

More information

Multigrid Methods and their application in CFD

Multigrid Methods and their application in CFD Multigrid Methods and their application in CFD Michael Wurst TU München 16.06.2009 1 Multigrid Methods Definition Multigrid (MG) methods in numerical analysis are a group of algorithms for solving differential

More information

Celebrating Fifty Years of David M. Young s Successive Overrelaxation Method

Celebrating Fifty Years of David M. Young s Successive Overrelaxation Method Celebrating Fifty Years of David M. Young s Successive Overrelaxation Method David R. Kincaid Department of Computer Sciences University of Texas at Austin, Austin, Texas 78712 USA Abstract It has been

More information

Direct solution methods for sparse matrices. p. 1/49

Direct solution methods for sparse matrices. p. 1/49 Direct solution methods for sparse matrices p. 1/49 p. 2/49 Direct solution methods for sparse matrices Solve Ax = b, where A(n n). (1) Factorize A = LU, L lower-triangular, U upper-triangular. (2) Solve

More information

Algebraic Multigrid as Solvers and as Preconditioner

Algebraic Multigrid as Solvers and as Preconditioner Ò Algebraic Multigrid as Solvers and as Preconditioner Domenico Lahaye domenico.lahaye@cs.kuleuven.ac.be http://www.cs.kuleuven.ac.be/ domenico/ Department of Computer Science Katholieke Universiteit Leuven

More information

Scientific Computing II

Scientific Computing II Technische Universität München ST 008 Institut für Informatik Dr. Miriam Mehl Scientific Computing II Final Exam, July, 008 Iterative Solvers (3 pts + 4 extra pts, 60 min) a) Steepest Descent and Conjugate

More information

Finite difference methods. Finite difference methods p. 1

Finite difference methods. Finite difference methods p. 1 Finite difference methods Finite difference methods p. 1 Overview 1D heat equation u t = κu xx +f(x,t) as a motivating example Quick intro of the finite difference method Recapitulation of parallelization

More information

A Comparison of Solving the Poisson Equation Using Several Numerical Methods in Matlab and Octave on the Cluster maya

A Comparison of Solving the Poisson Equation Using Several Numerical Methods in Matlab and Octave on the Cluster maya A Comparison of Solving the Poisson Equation Using Several Numerical Methods in Matlab and Octave on the Cluster maya Sarah Swatski, Samuel Khuvis, and Matthias K. Gobbert (gobbert@umbc.edu) Department

More information

Bootstrap AMG. Kailai Xu. July 12, Stanford University

Bootstrap AMG. Kailai Xu. July 12, Stanford University Bootstrap AMG Kailai Xu Stanford University July 12, 2017 AMG Components A general AMG algorithm consists of the following components. A hierarchy of levels. A smoother. A prolongation. A restriction.

More information

MATH2070 Optimisation

MATH2070 Optimisation MATH2070 Optimisation Nonlinear optimisation with constraints Semester 2, 2012 Lecturer: I.W. Guo Lecture slides courtesy of J.R. Wishart Review The full nonlinear optimisation problem with equality constraints

More information

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C. Lecture 9 Approximations of Laplace s Equation, Finite Element Method Mathématiques appliquées (MATH54-1) B. Dewals, C. Geuzaine V1.2 23/11/218 1 Learning objectives of this lecture Apply the finite difference

More information

Final: Solutions Math 118A, Fall 2013

Final: Solutions Math 118A, Fall 2013 Final: Solutions Math 118A, Fall 2013 1. [20 pts] For each of the following PDEs for u(x, y), give their order and say if they are nonlinear or linear. If they are linear, say if they are homogeneous or

More information

COURSE ON LMI PART I.2 GEOMETRY OF LMI SETS. Didier HENRION henrion

COURSE ON LMI PART I.2 GEOMETRY OF LMI SETS. Didier HENRION   henrion COURSE ON LMI PART I.2 GEOMETRY OF LMI SETS Didier HENRION www.laas.fr/ henrion October 2006 Geometry of LMI sets Given symmetric matrices F i we want to characterize the shape in R n of the LMI set F

More information

3.3 Discrete Hopfield Net An iterative autoassociative net similar to the nets described in the previous sections has been developed by Hopfield

3.3 Discrete Hopfield Net An iterative autoassociative net similar to the nets described in the previous sections has been developed by Hopfield 3.3 Discrete Hopfield Net An iterative autoassociative net similar to the nets described in the previous sections has been developed by Hopfield (1982, 1984). - The net is a fully interconnected neural

More information

Sample Exam for On the answer booklet write your Name, Registration number, Test Code, Number of the booklet etc. in the appropriate places.

Sample Exam for On the answer booklet write your Name, Registration number, Test Code, Number of the booklet etc. in the appropriate places. Sample Exam for 2012 Booklet No. TEST CODE: REI Forenoon Questions: 9 Time: 2 hours On the answer booklet write your Name, Registration number, Test Code, Number of the booklet etc. in the appropriate

More information

Accuracy, Precision and Efficiency in Sparse Grids

Accuracy, Precision and Efficiency in Sparse Grids John, Information Technology Department, Virginia Tech.... http://people.sc.fsu.edu/ jburkardt/presentations/ sandia 2009.pdf... Computer Science Research Institute, Sandia National Laboratory, 23 July

More information