Introduction to Multigrid and its Parallelization

Size: px
Start display at page:

Download "Introduction to Multigrid and its Parallelization"

Transcription

1 Introduction to Multigrid and its Parallelization! Thomas D. Economon Lecture 14a May 28, 2014

2 Announcements 2 HW 1 & 2 have been returned. Any questions? Final projects are due June 11, 5 pm. If you are not doing a research project, please complete the assigned project. Poll: would you like to have 10 min. project presentations during the exam period (starting at 9 am on Wednesday, June 11)? This would be for folks completing a research project. Tom s office hours are now Fridays from 1:00-2:45 pm in the conference room inside of Durand 464.

3 Outline 3 Motivation for Multigrid Geometric Multigrid (linear) Parallelization Nonlinear Multigrid (SUmb)

4 Multigrid Introduction 4 Multigrid is a very powerful and elegant algorithm for convergence acceleration. Often used for solving elliptic PDEs, hyperbolic PDEs (computational fluid dynamics!), purely algebraic problems. We ll focus on geometric multigrid for problems with physical grids. At first, the Poisson equation will be used as a model problem (your project). Main ideas behind multigrid: Due to local stencils, typical iterative methods damp local (high frequency) errors effectively, but global (low frequency) errors are reduced more slowly. Multigrid generates effective convergence at all length scales by using a sequence of grids at various resolutions.

5 Multigrid References 5 Some very useful references (that also list many others): Briggs, A Multigrid Tutorial, SIAM, Brandt, 1984 Guide to Multigrid Development, with applications to computational fluid dynamics. Chow et al., A Survey of Parallelization Techniques for Multigrid Solvers, on class website. Mavriplis, D., On Convergence Acceleration Techniques for Unstructured Meshes, NASA/CR (ICASE Report No ).

6 Poisson Example 6 After applying 2nd-order finite differencing on a 2D, uniform grid to the Poisson }h {i, j+1} } h {i 1,j} {i, j} {i+1,j} ar 2 = f in = g {i, j 1} a h 2 ( i,j 1 + i 1,j 4 i,j + i+1,j + i,j+1 )=f i,j in initialize i,j = g i,j and do not update

7 Poisson Example 7 Test Problem with Analytic Solution: =[0, 1] [0, 1] a =1 f(x, y) = 5.0 exp(x)exp( 2.0 y) (x, y) = exp(x)exp( 2.0 y) Set known solution values on boundaries, set initial guess to zero, and solve using Gauss-Seidel smoothing: n+1 i,j = 1 4 n+1 i,j 1 + n+1 i 1,j + n i+1,j + n i,j+1 + h2 a f i,j

8 Poisson Example 8 We might reduce cell size to improve accuracy or to include more physics.

9 Poisson Example 9 But decreasing the cell size makes the problem more stiff.

10 Geometric Multigrid 10 As we decrease the cell size on our mesh, the low frequency errors are difficult to eliminate and cause slow solver convergence. These are global errors spanning the larger solution domain that are not well treated by our stencil s local influence. Key idea: use a coarse mesh representation to provide a better initial solution guess or to correct the solution on the fine mesh. Low frequency (smooth) errors on the fine mesh appear as high frequency (oscillatory) errors on the coarse mesh. Cells on coarsest level may span the majority of the solution domain. Smoothing iterations are cheaper on the smaller coarse mesh. Apply these ideas recursively to cover all length scales (frequencies).

11 Geometric Multigrid 11 Linear multigrid for our model Poisson problem (1/2). Starting with our linear system (discrete Poisson) A = f, (1) define the error in the solution to be the di erence between the solution the approximation to the solution, or and e =, (2) where e is the error vector (one value per node in the computational mesh). We can also define a residual vector r, which is a measure of how well the discretized governing equations are being satisfied by our numerical solution procedure, as r = f A. (3)

12 Geometric Multigrid 12 Linear multigrid for our model Poisson problem (2/2). Introducing the error into our original system gives A + e = f, (1) and by then introducing our definition of the residual, we recover the following expression: A e = r, (2) which relates the error in the solution to the residual. We can now compute a measure of the error on coarser mesh levels after transferring the values of the residual from the fine mesh level onto the coarse level. After calculating e on a coarse level, we can form a correction to the solution on the fine mesh as = + e, (3)

13 Geometric Multigrid 13 So then, how do we coarsen the mesh and move information up and down between levels? Coarsening with structured meshes is straightforward: remove every other node in each direction of the grid with each level (vertex-based) or combine 2 cells in each direction (cell-centered). Some definitions: Smoother: solution relaxation method that is applied on each grid level for a number of iterations (or sweeps). Gauss-Seidel in our Poisson example. Restriction operator: an operator that transfers information from a fine grid down to a coarse grid. Prolongation operator: an operator that transfers information from a coarse grid up to a fine grid.

14 Geometric Multigrid 14 Typical restriction operators Injection: copy information at coincident nodes from fine to coarse mesh. Weighted: surrounding & coincident fine mesh nodes contribute information to the coarse mesh node. Typical prolongation operators Bilinear/Trilinear interpolation: information from coincident nodes is transferred coarse to fine mesh and remaining fine nodes are interpolated. Weighted: surrounding & coincident coarse mesh nodes contribute information to the fine mesh node.

15 Geometric Multigrid 15 Downstroke and upstroke of a multigrid V-cycle. SMOOTH RESTRICT SMOOTH RESTRICT SMOOTH RESTRICT SMOOTH RESTRICT SMOOTH SMOOTH PROLONGATE SMOOTH PROLONGATE SMOOTH PROLONGATE SMOOTH PROLONGATE SMOOTH

16 Geometric Multigrid 16

17 Geometric Multigrid 17 With full coarsening, solutions on any evenly divisible grid (n = 2 m +1) can be converged to machine precision in O(10) multigrid cycles.

18 Geometric Multigrid 18

19 Geometric Multigrid 19 Often use variable number of smoothing iterations on the different levels (coarser levels are cheaper). Other cycles are possible, another typical choice is a multigrid W-cycle (see SUmb slides). Full Multigrid: use the multigrid V-cycle to converge the solution on each mesh level, starting from the coarsest moving to the finest.

20 Geometric Multigrid 20 What about unstructured meshes? Could create your own sequence of coarse meshes or use an agglomeration approach for automatic generation. From Mavriplis D., On Convergence Acceleration Techniques for Unstructured Meshes

21 Parallel Multigrid 21 For mesh-based PDE problems, a common approach to parallelization of multigrid is similar to the single grid procedure: 1. Partition fine mesh using a typical decomposition approach while first ignoring coarse levels (one partition per processor). For example, divide into blocks for simple structured meshes or use METIS for unstructured grids. Construct appropriate halo layers and communication schedules. 2. Each processor constructs their own coarse mesh levels. 3. Traverse the multigrid cycle in the same manner, one level at a time.

22 Parallel Multigrid 22 Two issues in particular to consider in parallel: coarsening and smoothers. Coarsening Can inherit coarse mesh partitions directly from fine mesh partitions, i.e., nodes/cells on partition boundaries remain on boundaries on lower levels. Usually straightforward for structured meshes. See Chow et al. for more discussion on unstructured grids. Communications required after restriction/prolongation. Smoothers Classical iterative smoothers are sequential, except for Jacobi. Recall multi-coloring concepts from previous lectures on iterative solvers. A very popular choice is red-black Gauss-Seidel (SOR) for 5-point stencils. Communications required after updating each color for the smoother.

23 Parallel Multigrid 23 {i, j+1} {i 1,j} {i, j} {i+1,j} {i, j 1} Red-black ordering for Gauss-Seidel allows for the partitioning of the domain. Alternate colors and communicate between.

24 Parallel Multigrid 24 Other issues to consider when parallelizing multigrid: Load-balancing on all levels relatively easy on structured meshes, but what about unstructured? Communication costs vs. compute time on coarse levels. On coarsest level, operator may be small and communication cost high. Operator may be dense on coarsest level. Use a direct solve? Based on this, the time spent on coarse levels in parallel MG solvers is often minimized W-cycles and full MG are often avoided. Voluntarily communicate less on the coarse/coarsest mesh levels?

Multigrid Pattern. I. Problem. II. Driving Forces. III. Solution

Multigrid Pattern. I. Problem. II. Driving Forces. III. Solution Multigrid Pattern I. Problem Problem domain is decomposed into a set of geometric grids, where each element participates in a local computation followed by data exchanges with adjacent neighbors. The grids

More information

Smoothers. < interactive example > Partial Differential Equations Numerical Methods for PDEs Sparse Linear Systems

Smoothers. < interactive example > Partial Differential Equations Numerical Methods for PDEs Sparse Linear Systems Smoothers Partial Differential Equations Disappointing convergence rates observed for stationary iterative methods are asymptotic Much better progress may be made initially before eventually settling into

More information

Multigrid Algorithms for Three-Dimensional RANS Calculations - The SUmb Solver

Multigrid Algorithms for Three-Dimensional RANS Calculations - The SUmb Solver Multigrid Algorithms for Three-Dimensional RANS Calculations - The SUmb Solver Juan J. Alonso Department of Aeronautics & Astronautics Stanford University CME342 Lecture 14 May 26, 2014 Outline Non-linear

More information

What is Multigrid? They have been extended to solve a wide variety of other problems, linear and nonlinear.

What is Multigrid? They have been extended to solve a wide variety of other problems, linear and nonlinear. AMSC 600/CMSC 760 Fall 2007 Solution of Sparse Linear Systems Multigrid, Part 1 Dianne P. O Leary c 2006, 2007 What is Multigrid? Originally, multigrid algorithms were proposed as an iterative method to

More information

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001)

An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (2000/2001) An Investigation into Iterative Methods for Solving Elliptic PDE s Andrew M Brown Computer Science/Maths Session (000/001) Summary The objectives of this project were as follows: 1) Investigate iterative

More information

Multigrid solvers M. M. Sussman sussmanm@math.pitt.edu Office Hours: 11:10AM-12:10PM, Thack 622 May 12 June 19, 2014 1 / 43 Multigrid Geometrical multigrid Introduction Details of GMG Summary Algebraic

More information

Numerical Modelling in Fortran: day 6. Paul Tackley, 2017

Numerical Modelling in Fortran: day 6. Paul Tackley, 2017 Numerical Modelling in Fortran: day 6 Paul Tackley, 2017 Today s Goals 1. Learn about pointers, generic procedures and operators 2. Learn about iterative solvers for boundary value problems, including

More information

PROGRAMMING OF MULTIGRID METHODS

PROGRAMMING OF MULTIGRID METHODS PROGRAMMING OF MULTIGRID METHODS LONG CHEN In this note, we explain the implementation detail of multigrid methods. We will use the approach by space decomposition and subspace correction method; see Chapter:

More information

Contents. I The Basic Framework for Stationary Problems 1

Contents. I The Basic Framework for Stationary Problems 1 page v Preface xiii I The Basic Framework for Stationary Problems 1 1 Some model PDEs 3 1.1 Laplace s equation; elliptic BVPs... 3 1.1.1 Physical experiments modeled by Laplace s equation... 5 1.2 Other

More information

PARALLEL METHODS FOR SOLVING PARTIAL DIFFERENTIAL EQUATIONS. Ioana Chiorean

PARALLEL METHODS FOR SOLVING PARTIAL DIFFERENTIAL EQUATIONS. Ioana Chiorean 5 Kragujevac J. Math. 25 (2003) 5 18. PARALLEL METHODS FOR SOLVING PARTIAL DIFFERENTIAL EQUATIONS Ioana Chiorean Babeş-Bolyai University, Department of Mathematics, Cluj-Napoca, Romania (Received May 28,

More information

Automatic Generation of Algorithms and Data Structures for Geometric Multigrid. Harald Köstler, Sebastian Kuckuk Siam Parallel Processing 02/21/2014

Automatic Generation of Algorithms and Data Structures for Geometric Multigrid. Harald Köstler, Sebastian Kuckuk Siam Parallel Processing 02/21/2014 Automatic Generation of Algorithms and Data Structures for Geometric Multigrid Harald Köstler, Sebastian Kuckuk Siam Parallel Processing 02/21/2014 Introduction Multigrid Goal: Solve a partial differential

More information

Recent developments for the multigrid scheme of the DLR TAU-Code

Recent developments for the multigrid scheme of the DLR TAU-Code www.dlr.de Chart 1 > 21st NIA CFD Seminar > Axel Schwöppe Recent development s for the multigrid scheme of the DLR TAU-Code > Apr 11, 2013 Recent developments for the multigrid scheme of the DLR TAU-Code

More information

SELECTIVE ALGEBRAIC MULTIGRID IN FOAM-EXTEND

SELECTIVE ALGEBRAIC MULTIGRID IN FOAM-EXTEND Student Submission for the 5 th OpenFOAM User Conference 2017, Wiesbaden - Germany: SELECTIVE ALGEBRAIC MULTIGRID IN FOAM-EXTEND TESSA UROIĆ Faculty of Mechanical Engineering and Naval Architecture, Ivana

More information

PhD Student. Associate Professor, Co-Director, Center for Computational Earth and Environmental Science. Abdulrahman Manea.

PhD Student. Associate Professor, Co-Director, Center for Computational Earth and Environmental Science. Abdulrahman Manea. Abdulrahman Manea PhD Student Hamdi Tchelepi Associate Professor, Co-Director, Center for Computational Earth and Environmental Science Energy Resources Engineering Department School of Earth Sciences

More information

Reconstruction of Trees from Laser Scan Data and further Simulation Topics

Reconstruction of Trees from Laser Scan Data and further Simulation Topics Reconstruction of Trees from Laser Scan Data and further Simulation Topics Helmholtz-Research Center, Munich Daniel Ritter http://www10.informatik.uni-erlangen.de Overview 1. Introduction of the Chair

More information

HPC Algorithms and Applications

HPC Algorithms and Applications HPC Algorithms and Applications Dwarf #5 Structured Grids Michael Bader Winter 2012/2013 Dwarf #5 Structured Grids, Winter 2012/2013 1 Dwarf #5 Structured Grids 1. dense linear algebra 2. sparse linear

More information

Multigrid Solvers in CFD. David Emerson. Scientific Computing Department STFC Daresbury Laboratory Daresbury, Warrington, WA4 4AD, UK

Multigrid Solvers in CFD. David Emerson. Scientific Computing Department STFC Daresbury Laboratory Daresbury, Warrington, WA4 4AD, UK Multigrid Solvers in CFD David Emerson Scientific Computing Department STFC Daresbury Laboratory Daresbury, Warrington, WA4 4AD, UK david.emerson@stfc.ac.uk 1 Outline Multigrid: general comments Incompressible

More information

Multigrid James Demmel

Multigrid James Demmel Multigrid James Demmel www.cs.berkeley.edu/~demmel/ma221 Review of Previous Lectures and Outline Review Poisson equation Overview of Methods for Poisson Equation Jacobi s method Gauss-Seidel method Red-Black

More information

An Efficient, Geometric Multigrid Solver for the Anisotropic Diffusion Equation in Two and Three Dimensions

An Efficient, Geometric Multigrid Solver for the Anisotropic Diffusion Equation in Two and Three Dimensions 1 n Efficient, Geometric Multigrid Solver for the nisotropic Diffusion Equation in Two and Three Dimensions Tolga Tasdizen, Ross Whitaker UUSCI-2004-002 Scientific Computing and Imaging Institute University

More information

Numerical Algorithms

Numerical Algorithms Chapter 10 Slide 464 Numerical Algorithms Slide 465 Numerical Algorithms In textbook do: Matrix multiplication Solving a system of linear equations Slide 466 Matrices A Review An n m matrix Column a 0,0

More information

ETNA Kent State University

ETNA Kent State University Electronic Transactions on Numerical Analysis. Volume, 2, pp. 92. Copyright 2,. ISSN 68-963. ETNA BEHAVIOR OF PLANE RELAXATION METHODS AS MULTIGRID SMOOTHERS IGNACIO M. LLORENTE AND N. DUANE MELSON Abstract.

More information

Highly Parallel Multigrid Solvers for Multicore and Manycore Processors

Highly Parallel Multigrid Solvers for Multicore and Manycore Processors Highly Parallel Multigrid Solvers for Multicore and Manycore Processors Oleg Bessonov (B) Institute for Problems in Mechanics of the Russian Academy of Sciences, 101, Vernadsky Avenue, 119526 Moscow, Russia

More information

Multigrid. James Demmel. Poisson s equation in 1D: T = Graph and stencil. 2 u/ x 2 = f(x)

Multigrid. James Demmel. Poisson s equation in 1D: T =   Graph and stencil. 2 u/ x 2 = f(x) Multigrid James Demmel www.cs.berkeley.edu/~demmel/ma221_spr16 Poisson s equation in 1D: 2 u/ x 2 = f(x) T = 2-1 -1 2-1 -1 2-1 -1 2-1 -1 2 Graph and stencil -1 2-1 1 2D Poisson s equation Similar to the

More information

Fast Iterative Solvers for Markov Chains, with Application to Google's PageRank. Hans De Sterck

Fast Iterative Solvers for Markov Chains, with Application to Google's PageRank. Hans De Sterck Fast Iterative Solvers for Markov Chains, with Application to Google's PageRank Hans De Sterck Department of Applied Mathematics University of Waterloo, Ontario, Canada joint work with Steve McCormick,

More information

How to Optimize Geometric Multigrid Methods on GPUs

How to Optimize Geometric Multigrid Methods on GPUs How to Optimize Geometric Multigrid Methods on GPUs Markus Stürmer, Harald Köstler, Ulrich Rüde System Simulation Group University Erlangen March 31st 2011 at Copper Schedule motivation imaging in gradient

More information

Multigrid Methods for Markov Chains

Multigrid Methods for Markov Chains Multigrid Methods for Markov Chains Hans De Sterck Department of Applied Mathematics, University of Waterloo collaborators Killian Miller Department of Applied Mathematics, University of Waterloo, Canada

More information

Multigrid Third-Order Least-Squares Solution of Cauchy-Riemann Equations on Unstructured Triangular Grids

Multigrid Third-Order Least-Squares Solution of Cauchy-Riemann Equations on Unstructured Triangular Grids INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS Int. J. Numer. Meth. Fluids ; : 6 Prepared using fldauth.cls [Version: /9/8 v.] Multigrid Third-Order Least-Squares Solution of Cauchy-Riemann Equations

More information

A Comparison of Algebraic Multigrid Preconditioners using Graphics Processing Units and Multi-Core Central Processing Units

A Comparison of Algebraic Multigrid Preconditioners using Graphics Processing Units and Multi-Core Central Processing Units A Comparison of Algebraic Multigrid Preconditioners using Graphics Processing Units and Multi-Core Central Processing Units Markus Wagner, Karl Rupp,2, Josef Weinbub Institute for Microelectronics, TU

More information

1 Exercise: 1-D heat conduction with finite elements

1 Exercise: 1-D heat conduction with finite elements 1 Exercise: 1-D heat conduction with finite elements Reading This finite element example is based on Hughes (2000, sec. 1.1-1.15. 1.1 Implementation of the 1-D heat equation example In the previous two

More information

Lecture 15: More Iterative Ideas

Lecture 15: More Iterative Ideas Lecture 15: More Iterative Ideas David Bindel 15 Mar 2010 Logistics HW 2 due! Some notes on HW 2. Where we are / where we re going More iterative ideas. Intro to HW 3. More HW 2 notes See solution code!

More information

Image deblurring by multigrid methods. Department of Physics and Mathematics University of Insubria

Image deblurring by multigrid methods. Department of Physics and Mathematics University of Insubria Image deblurring by multigrid methods Marco Donatelli Stefano Serra-Capizzano Department of Physics and Mathematics University of Insubria Outline 1 Restoration of blurred and noisy images The model problem

More information

AMath 483/583 Lecture 24. Notes: Notes: Steady state diffusion. Notes: Finite difference method. Outline:

AMath 483/583 Lecture 24. Notes: Notes: Steady state diffusion. Notes: Finite difference method. Outline: AMath 483/583 Lecture 24 Outline: Heat equation and discretization OpenMP and MPI for iterative methods Jacobi, Gauss-Seidel, SOR Notes and Sample codes: Class notes: Linear algebra software $UWHPSC/codes/openmp/jacobi1d_omp1.f90

More information

AMath 483/583 Lecture 24

AMath 483/583 Lecture 24 AMath 483/583 Lecture 24 Outline: Heat equation and discretization OpenMP and MPI for iterative methods Jacobi, Gauss-Seidel, SOR Notes and Sample codes: Class notes: Linear algebra software $UWHPSC/codes/openmp/jacobi1d_omp1.f90

More information

Adaptive Smoothed Aggregation (αsa) Multigrid

Adaptive Smoothed Aggregation (αsa) Multigrid SIAM REVIEW Vol. 47,No. 2,pp. 317 346 c 2005 Society for Industrial and Applied Mathematics Adaptive Smoothed Aggregation (αsa) Multigrid M. Brezina R. Falgout S. MacLachlan T. Manteuffel S. McCormick

More information

Dendro: Parallel algorithms for multigrid and AMR methods on 2:1 balanced octrees

Dendro: Parallel algorithms for multigrid and AMR methods on 2:1 balanced octrees Dendro: Parallel algorithms for multigrid and AMR methods on 2:1 balanced octrees Rahul S. Sampath, Santi S. Adavani, Hari Sundar, Ilya Lashuk, and George Biros University of Pennsylvania Abstract In this

More information

Study and implementation of computational methods for Differential Equations in heterogeneous systems. Asimina Vouronikoy - Eleni Zisiou

Study and implementation of computational methods for Differential Equations in heterogeneous systems. Asimina Vouronikoy - Eleni Zisiou Study and implementation of computational methods for Differential Equations in heterogeneous systems Asimina Vouronikoy - Eleni Zisiou Outline Introduction Review of related work Cyclic Reduction Algorithm

More information

Semester Final Report

Semester Final Report CSUMS SemesterFinalReport InLaTex AnnKimball 5/20/2009 ThisreportisageneralsummaryoftheaccumulationofknowledgethatIhavegatheredthroughoutthis semester. I was able to get a birds eye view of many different

More information

Dendro: Parallel algorithms for multigrid and AMR methods on 2:1 balanced octrees

Dendro: Parallel algorithms for multigrid and AMR methods on 2:1 balanced octrees Dendro: Parallel algorithms for multigrid and AMR methods on 2:1 balanced octrees Rahul S. Sampath, Santi S. Adavani, Hari Sundar, Ilya Lashuk, and George Biros Georgia Institute of Technology, Atlanta,

More information

Multigrid at Extreme scales: Communication Reducing Data Models and Asynchronous Algorithms. Mark Adams Columbia University

Multigrid at Extreme scales: Communication Reducing Data Models and Asynchronous Algorithms. Mark Adams Columbia University Multigrid at Extreme scales: Communication Reducing Data Models and Asynchronous Algorithms Mark Adams Columbia University Outline Establish a lower bound on solver complexity Apply ideas to Magnetohydrodynamics

More information

NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011

NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011 NIA CFD Seminar, October 4, 2011 Hyperbolic Seminar, NASA Langley, October 17, 2011 First-Order Hyperbolic System Method If you have a CFD book for hyperbolic problems, you have a CFD book for all problems.

More information

ACCELERATING CFD AND RESERVOIR SIMULATIONS WITH ALGEBRAIC MULTI GRID Chris Gottbrath, Nov 2016

ACCELERATING CFD AND RESERVOIR SIMULATIONS WITH ALGEBRAIC MULTI GRID Chris Gottbrath, Nov 2016 ACCELERATING CFD AND RESERVOIR SIMULATIONS WITH ALGEBRAIC MULTI GRID Chris Gottbrath, Nov 2016 Challenges What is Algebraic Multi-Grid (AMG)? AGENDA Why use AMG? When to use AMG? NVIDIA AmgX Results 2

More information

smooth coefficients H. Köstler, U. Rüde

smooth coefficients H. Köstler, U. Rüde A robust multigrid solver for the optical flow problem with non- smooth coefficients H. Köstler, U. Rüde Overview Optical Flow Problem Data term and various regularizers A Robust Multigrid Solver Galerkin

More information

ADAPTIVE SMOOTHED AGGREGATION (αsa)

ADAPTIVE SMOOTHED AGGREGATION (αsa) ADAPTIVE SMOOTHED AGGREGATION (αsa) M. BREZINA, R. FALGOUT, S. MACLACHLAN, T. MANTEUFFEL, S. MCCORMICK, AND J. RUGE Abstract. Substantial effort has been focused over the last two decades on developing

More information

Distributed NVAMG. Design and Implementation of a Scalable Algebraic Multigrid Framework for a Cluster of GPUs

Distributed NVAMG. Design and Implementation of a Scalable Algebraic Multigrid Framework for a Cluster of GPUs Distributed NVAMG Design and Implementation of a Scalable Algebraic Multigrid Framework for a Cluster of GPUs Istvan Reguly (istvan.reguly at oerc.ox.ac.uk) Oxford e-research Centre NVIDIA Summer Internship

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra)

AMS526: Numerical Analysis I (Numerical Linear Algebra) AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 20: Sparse Linear Systems; Direct Methods vs. Iterative Methods Xiangmin Jiao SUNY Stony Brook Xiangmin Jiao Numerical Analysis I 1 / 26

More information

A Hybrid Geometric+Algebraic Multigrid Method with Semi-Iterative Smoothers

A Hybrid Geometric+Algebraic Multigrid Method with Semi-Iterative Smoothers NUMERICAL LINEAR ALGEBRA WITH APPLICATIONS Numer. Linear Algebra Appl. 013; 00:1 18 Published online in Wiley InterScience www.interscience.wiley.com). A Hybrid Geometric+Algebraic Multigrid Method with

More information

Seed Point. Agglomerated Points

Seed Point. Agglomerated Points AN ASSESSMENT OF LINEAR VERSUS NON-LINEAR MULTIGRID METHODS FOR UNSTRUCTURED MESH SOLVERS DIMITRI J. MAVRIPLIS Abstract. The relative performance of a non-linear FAS multigrid algorithm and an equivalent

More information

On Convergence Acceleration Techniques for Unstructured Meshes

On Convergence Acceleration Techniques for Unstructured Meshes NASA/CR-1998-208732 ICASE Report No. 98-44 On Convergence Acceleration Techniques for Unstructured Meshes Dimitri J. Mavriplis ICASE, Hampton, Virginia Institute for Computer Applications in Science and

More information

A PARALLEL GEOMETRIC MULTIGRID METHOD FOR FINITE ELEMENTS ON OCTREE MESHES

A PARALLEL GEOMETRIC MULTIGRID METHOD FOR FINITE ELEMENTS ON OCTREE MESHES SIAM J. SCI. COMPUT. Vol. 32, No. 3, pp. 1361 1392 c 2010 Society for Industrial and Applied Mathematics A PARALLEL GEOMETRIC MULTIGRID METHOD FOR FINITE ELEMENTS ON OCTREE MESHES RAHUL S. SAMPATH AND

More information

An introduction to mesh generation Part IV : elliptic meshing

An introduction to mesh generation Part IV : elliptic meshing Elliptic An introduction to mesh generation Part IV : elliptic meshing Department of Civil Engineering, Université catholique de Louvain, Belgium Elliptic Curvilinear Meshes Basic concept A curvilinear

More information

Multigrid Reduction in Time for Nonlinear Parabolic Problems

Multigrid Reduction in Time for Nonlinear Parabolic Problems University of Colorado, Boulder CU Scholar Applied Mathematics Graduate Theses & Dissertations Applied Mathematics Spring 1-1-2017 Multigrid Reduction in Time for Nonlinear Parabolic Problems Ben O'Neill

More information

A Parallel Multigrid Solver Based on Processor Virtualization Techniques

A Parallel Multigrid Solver Based on Processor Virtualization Techniques A Parallel Multigrid Solver Based on Processor Virtualization Techniques Kai Wang and Laxmikant V. Kale Parallel Programming Lab Department of Computer Science University of Illinois at Urbana-Champaign,

More information

An Investigation of Directional-Coarsening And Line-Implicit Smoothing Applied to Agglomeration Multigrid

An Investigation of Directional-Coarsening And Line-Implicit Smoothing Applied to Agglomeration Multigrid An Investigation of Directional-Coarsening And Line-Implicit Smoothing Applied to Agglomeration Multigrid J. V. Lassaline Ryerson University 35 Victoria St, Toronto, ON, M5B 2K3, Canada D. W. Zingg University

More information

An Upwind Multigrid Method for Solving Viscous Flows on Unstructured Triangular Meshes

An Upwind Multigrid Method for Solving Viscous Flows on Unstructured Triangular Meshes An Upwind Multigrid Method for Solving Viscous Flows on Unstructured Triangular Meshes by Daryl Lawrence Bonhaus B.S. June 1990, University of Cincinnati A Thesis submitted to The Faculty of The School

More information

f xx + f yy = F (x, y)

f xx + f yy = F (x, y) Application of the 2D finite element method to Laplace (Poisson) equation; f xx + f yy = F (x, y) M. R. Hadizadeh Computer Club, Department of Physics and Astronomy, Ohio University 4 Nov. 2013 Domain

More information

Numerical Methods for PDEs. SSC Workgroup Meetings Juan J. Alonso October 8, SSC Working Group Meetings, JJA 1

Numerical Methods for PDEs. SSC Workgroup Meetings Juan J. Alonso October 8, SSC Working Group Meetings, JJA 1 Numerical Methods for PDEs SSC Workgroup Meetings Juan J. Alonso October 8, 2001 SSC Working Group Meetings, JJA 1 Overview These notes are meant to be an overview of the various memory access patterns

More information

HIGH ACCURACY MULTISCALE MULTIGRID COMPUTATION FOR PARTIAL DIFFERENTIAL EQUATIONS

HIGH ACCURACY MULTISCALE MULTIGRID COMPUTATION FOR PARTIAL DIFFERENTIAL EQUATIONS University of Kentucky UKnowledge University of Kentucky Doctoral Dissertations Graduate School 2010 HIGH ACCURACY MULTISCALE MULTIGRID COMPUTATION FOR PARTIAL DIFFERENTIAL EQUATIONS Yin Wang University

More information

T6: Position-Based Simulation Methods in Computer Graphics. Jan Bender Miles Macklin Matthias Müller

T6: Position-Based Simulation Methods in Computer Graphics. Jan Bender Miles Macklin Matthias Müller T6: Position-Based Simulation Methods in Computer Graphics Jan Bender Miles Macklin Matthias Müller Jan Bender Organizer Professor at the Visual Computing Institute at Aachen University Research topics

More information

FOR ALL GRID SIZES. Thor Gjesdal. Christian Michelsen Research A/S. N-5036 Fantoft, Norway SUMMARY

FOR ALL GRID SIZES. Thor Gjesdal. Christian Michelsen Research A/S. N-5036 Fantoft, Norway SUMMARY A CELL-CENTERED MULTIGRID ALGORITHM FOR ALL GRID SIZES Thor Gjesdal Christian Michelsen Research A/S N-5036 Fantoft, Norway SUMMARY Multigrid methods are optimal; that is, their rate of convergence is

More information

Geometric Multigrid on Multicore Architectures: Performance-Optimized Complex Diffusion

Geometric Multigrid on Multicore Architectures: Performance-Optimized Complex Diffusion Geometric Multigrid on Multicore Architectures: Performance-Optimized Complex Diffusion M. Stürmer, H. Köstler, and U. Rüde Lehrstuhl für Systemsimulation Friedrich-Alexander-Universität Erlangen-Nürnberg

More information

Parallel FEM Computation and Multilevel Graph Partitioning Xing Cai

Parallel FEM Computation and Multilevel Graph Partitioning Xing Cai Parallel FEM Computation and Multilevel Graph Partitioning Xing Cai Simula Research Laboratory Overview Parallel FEM computation how? Graph partitioning why? The multilevel approach to GP A numerical example

More information

A PARALLEL GEOMETRIC MULTIGRID METHOD FOR FINITE ELEMENTS ON OCTREE MESHES

A PARALLEL GEOMETRIC MULTIGRID METHOD FOR FINITE ELEMENTS ON OCTREE MESHES A PARALLEL GEOMETRIC MULTIGRID METHOD FOR FINITE ELEMENTS ON OCTREE MESHES RAHUL S. SAMPATH AND GEORGE BIROS Abstract. In this article, we present a parallel geometric multigrid algorithm for solving elliptic

More information

Structured-grid multigrid with Taylor-Hood finite elements

Structured-grid multigrid with Taylor-Hood finite elements Structured-grid multigrid with Taylor-Hood finite elements by c Lukas Spies A thesis submitted to the School of Graduate Studies in partial fulfillment of the requirements for the degree of Masters of

More information

Why Use the GPU? How to Exploit? New Hardware Features. Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid. Semiconductor trends

Why Use the GPU? How to Exploit? New Hardware Features. Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid. Semiconductor trends Imagine stream processor; Bill Dally, Stanford Connection Machine CM; Thinking Machines Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid Jeffrey Bolz Eitan Grinspun Caltech Ian Farmer

More information

An Agglomeration Multigrid Method for Unstructured Grids

An Agglomeration Multigrid Method for Unstructured Grids Contemporary Mathematics Volume 218, 1998 B 0-8218-0988-1-03002-8 An Agglomeration Multigrid Method for Unstructured Grids Tony F. Chan, Jinchao Xu, and Ludmil Zikatanov 1. Introduction A new agglomeration

More information

LINE SEARCH MULTILEVEL OPTIMIZATION AS COMPUTATIONAL METHODS FOR DENSE OPTICAL FLOW

LINE SEARCH MULTILEVEL OPTIMIZATION AS COMPUTATIONAL METHODS FOR DENSE OPTICAL FLOW LINE SEARCH MULTILEVEL OPTIMIZATION AS COMPUTATIONAL METHODS FOR DENSE OPTICAL FLOW EL MOSTAFA KALMOUN, LUIS GARRIDO, AND VICENT CASELLES Abstract. We evaluate the performance of different optimization

More information

On the regularizing power of multigrid-type algorithms

On the regularizing power of multigrid-type algorithms On the regularizing power of multigrid-type algorithms Marco Donatelli Dipartimento di Fisica e Matematica Università dell Insubria www.mat.unimi.it/user/donatel Outline 1 Restoration of blurred and noisy

More information

A node-based agglomeration AMG solver for linear elasticity in thin bodies

A node-based agglomeration AMG solver for linear elasticity in thin bodies COMMUNICATIONS IN NUMERICAL METHODS IN ENGINEERING Commun. Numer. Meth. Engng 2000; 00:1 6 [Version: 2002/09/18 v1.02] A node-based agglomeration AMG solver for linear elasticity in thin bodies Prasad

More information

An algebraic multigrid method for isotropic linear elasticity problems on anisotropic meshes

An algebraic multigrid method for isotropic linear elasticity problems on anisotropic meshes INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN BIOMEDICAL ENGINEERING Int. J. Numer. Meth. Biomed. Engng. 2010; 26:534 553 Published online 10 July 2008 in Wiley InterScience (www.interscience.wiley.com)..1140

More information

Efficient Multigrid based solvers for Isogeometric Analysis

Efficient Multigrid based solvers for Isogeometric Analysis Efficient Multigrid based solvers for Isogeometric Analysis R. Tielen, M. Möller and C. Vuik Delft Institute of Applied Mathematics (DIAM) Numerical Analysis / 22 Isogeometric Analysis (IgA) Extension

More information

Higher Order Multigrid Algorithms for a 2D and 3D RANS-kω DG-Solver

Higher Order Multigrid Algorithms for a 2D and 3D RANS-kω DG-Solver www.dlr.de Folie 1 > HONOM 2013 > Marcel Wallraff, Tobias Leicht 21. 03. 2013 Higher Order Multigrid Algorithms for a 2D and 3D RANS-kω DG-Solver Marcel Wallraff, Tobias Leicht DLR Braunschweig (AS - C

More information

The Finite Element Method

The Finite Element Method The Finite Element Method A Practical Course G. R. Liu and S. S. Quek Chapter 1: Computational modeling An overview 1 CONTENTS INTRODUCTION PHYSICAL PROBLEMS IN ENGINEERING COMPUTATIONAL MODELLING USING

More information

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t

The WENO Method in the Context of Earlier Methods To approximate, in a physically correct way, [3] the solution to a conservation law of the form u t An implicit WENO scheme for steady-state computation of scalar hyperbolic equations Sigal Gottlieb Mathematics Department University of Massachusetts at Dartmouth 85 Old Westport Road North Dartmouth,

More information

On the regularizing power of multigrid-type algorithms. Marco Donatelli. Stefano Serra Capizzano

On the regularizing power of multigrid-type algorithms. Marco Donatelli. Stefano Serra Capizzano On the regularizing power of multigrid-type algorithms Marco Donatelli Stefano Serra Capizzano Università dell Insubria, Dip. Fisica e Matematica - Sede di Como Via Valleggio 11-22100 Como, Italy (donatelli@uninsubria.it)

More information

Parallel Multigrid on Cartesian Meshes with Complex Geometry +

Parallel Multigrid on Cartesian Meshes with Complex Geometry + Parallel Multigrid on Cartesian Meshes with Complex Geometry + Marsha Berger a and Michael Aftosmis b and Gedas Adomavicius a a Courant Institute, New York University, 251 Mercer St., New York, NY 10012

More information

Memory Efficient Adaptive Mesh Generation and Implementation of Multigrid Algorithms Using Sierpinski Curves

Memory Efficient Adaptive Mesh Generation and Implementation of Multigrid Algorithms Using Sierpinski Curves Memory Efficient Adaptive Mesh Generation and Implementation of Multigrid Algorithms Using Sierpinski Curves Michael Bader TU München Stefanie Schraufstetter TU München Jörn Behrens AWI Bremerhaven Abstract

More information

τ-extrapolation on 3D semi-structured finite element meshes

τ-extrapolation on 3D semi-structured finite element meshes τ-extrapolation on 3D semi-structured finite element meshes European Multi-Grid Conference EMG 2010 Björn Gmeiner Joint work with: Tobias Gradl, Ulrich Rüde September, 2010 Contents The HHG Framework τ-extrapolation

More information

Resilient geometric finite-element multigrid algorithms using minimised checkpointing

Resilient geometric finite-element multigrid algorithms using minimised checkpointing Resilient geometric finite-element multigrid algorithms using minimised checkpointing Dominik Göddeke, Mirco Altenbernd, Dirk Ribbrock Institut für Angewandte Mathematik (LS3) Fakultät für Mathematik TU

More information

Driven Cavity Example

Driven Cavity Example BMAppendixI.qxd 11/14/12 6:55 PM Page I-1 I CFD Driven Cavity Example I.1 Problem One of the classic benchmarks in CFD is the driven cavity problem. Consider steady, incompressible, viscous flow in a square

More information

A node-based agglomeration AMG solver for linear elasticity in thin bodies

A node-based agglomeration AMG solver for linear elasticity in thin bodies COMMUNICATIONS IN NUMERICAL METHODS IN ENGINEERING Commun. Numer. Meth. Engng 2009; 25:219 236 Published online 3 April 2008 in Wiley InterScience (www.interscience.wiley.com)..1116 A node-based agglomeration

More information

Comparison of different solvers for two-dimensional steady heat conduction equation ME 412 Project 2

Comparison of different solvers for two-dimensional steady heat conduction equation ME 412 Project 2 Comparison of different solvers for two-dimensional steady heat conduction equation ME 412 Project 2 Jingwei Zhu March 19, 2014 Instructor: Surya Pratap Vanka 1 Project Description The purpose of this

More information

1.2 Numerical Solutions of Flow Problems

1.2 Numerical Solutions of Flow Problems 1.2 Numerical Solutions of Flow Problems DIFFERENTIAL EQUATIONS OF MOTION FOR A SIMPLIFIED FLOW PROBLEM Continuity equation for incompressible flow: 0 Momentum (Navier-Stokes) equations for a Newtonian

More information

results obtained using the distributive relaxation scheme employed by Ehret [6] and the new relaxation

results obtained using the distributive relaxation scheme employed by Ehret [6] and the new relaxation A new relaxation scheme for solving EHL problems (E. Nurgat and M. Berzins) a a School of Computer Studies, University of Leeds, Leeds LS 9JT, United Kingdom A New Relaxation Scheme (NRS) is presented

More information

Multiscale Methods. Introduction to Network Analysis 1

Multiscale Methods. Introduction to Network Analysis 1 Multiscale Methods In many complex systems, a big scale gap can be observed between micro- and macroscopic scales of problems because of the difference in physical (social, biological, mathematical, etc.)

More information

A parallel finite-volume spatial/angular agglomeration multigrid method for radiative heat transfer computation

A parallel finite-volume spatial/angular agglomeration multigrid method for radiative heat transfer computation Advanced Computational Methods and Experiments in Heat Transfer XIII 275 A parallel finite-volume spatial/angular agglomeration multigrid method for radiative heat transfer computation G N Lygidakis &

More information

Communication-Avoiding Optimization of Geometric Multigrid on GPUs

Communication-Avoiding Optimization of Geometric Multigrid on GPUs Communication-Avoiding Optimization of Geometric Multigrid on GPUs Amik Singh James Demmel, Ed. Electrical Engineering and Computer Sciences University of California at Berkeley Technical Report No. UCB/EECS-2012-258

More information

A PARALLEL AGGLOMERATION MULTIGRID METHOD FOR THE ACCELERATION OF COMPRESSIBLE FLOW COMPUTATIONS ON 3D HYBRID UNSTRUCTURED GRIDS

A PARALLEL AGGLOMERATION MULTIGRID METHOD FOR THE ACCELERATION OF COMPRESSIBLE FLOW COMPUTATIONS ON 3D HYBRID UNSTRUCTURED GRIDS 11th World Congress on Computational Mechanics (WCCM XI) 5th European Conference on Computational Mechanics (ECCM V) 6th European Conference on Computational Fluid Dynamics (ECFD VI) E. Oñate, J. Oliver

More information

computational Fluid Dynamics - Prof. V. Esfahanian

computational Fluid Dynamics - Prof. V. Esfahanian Three boards categories: Experimental Theoretical Computational Crucial to know all three: Each has their advantages and disadvantages. Require validation and verification. School of Mechanical Engineering

More information

Block-asynchronous Multigrid Smoothers for GPU-accelerated Systems

Block-asynchronous Multigrid Smoothers for GPU-accelerated Systems Block-asynchronous Multigrid Smoothers for GPU-accelerated Systems Hartwig Anzt 1, Stanimire Tomov 2, Mark Gates 2, Jack Dongarra 2,3,4, and Vincent Heuveline 1 1 Karlsruhe Institute of Technology (KIT),

More information

1 2 (3 + x 3) x 2 = 1 3 (3 + x 1 2x 3 ) 1. 3 ( 1 x 2) (3 + x(0) 3 ) = 1 2 (3 + 0) = 3. 2 (3 + x(0) 1 2x (0) ( ) = 1 ( 1 x(0) 2 ) = 1 3 ) = 1 3

1 2 (3 + x 3) x 2 = 1 3 (3 + x 1 2x 3 ) 1. 3 ( 1 x 2) (3 + x(0) 3 ) = 1 2 (3 + 0) = 3. 2 (3 + x(0) 1 2x (0) ( ) = 1 ( 1 x(0) 2 ) = 1 3 ) = 1 3 6 Iterative Solvers Lab Objective: Many real-world problems of the form Ax = b have tens of thousands of parameters Solving such systems with Gaussian elimination or matrix factorizations could require

More information

Generation of Multigrid-based Numerical Solvers for FPGA Accelerators

Generation of Multigrid-based Numerical Solvers for FPGA Accelerators Generation of Multigrid-based Numerical Solvers for FPGA Accelerators Christian Schmitt, Moritz Schmid, Frank Hannig, Jürgen Teich, Sebastian Kuckuk, Harald Köstler Hardware/Software Co-Design, System

More information

Richardson Extrapolation-Based High Accuracy High Efficiency Computation for Partial Differential Equations

Richardson Extrapolation-Based High Accuracy High Efficiency Computation for Partial Differential Equations University of Kentucky UKnowledge Theses and Dissertations--Computer Science Computer Science 24 Richardson Extrapolation-Based High Accuracy High Efficiency Computation for Partial Differential Equations

More information

Parallelizing Adaptive Triangular Grids with Refinement Trees and Space Filling Curves

Parallelizing Adaptive Triangular Grids with Refinement Trees and Space Filling Curves Parallelizing Adaptive Triangular Grids with Refinement Trees and Space Filling Curves Daniel Butnaru butnaru@in.tum.de Advisor: Michael Bader bader@in.tum.de JASS 08 Computational Science and Engineering

More information

ADAPTIVE FINITE ELEMENT

ADAPTIVE FINITE ELEMENT Finite Element Methods In Linear Structural Mechanics Univ. Prof. Dr. Techn. G. MESCHKE SHORT PRESENTATION IN ADAPTIVE FINITE ELEMENT Abdullah ALSAHLY By Shorash MIRO Computational Engineering Ruhr Universität

More information

Auto-tuning Multigrid with PetaBricks

Auto-tuning Multigrid with PetaBricks Auto-tuning with PetaBricks Cy Chan Joint Work with: Jason Ansel Yee Lok Wong Saman Amarasinghe Alan Edelman Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology

More information

Parallel Computing. Slides credit: M. Quinn book (chapter 3 slides), A Grama book (chapter 3 slides)

Parallel Computing. Slides credit: M. Quinn book (chapter 3 slides), A Grama book (chapter 3 slides) Parallel Computing 2012 Slides credit: M. Quinn book (chapter 3 slides), A Grama book (chapter 3 slides) Parallel Algorithm Design Outline Computational Model Design Methodology Partitioning Communication

More information

Algorithms, System and Data Centre Optimisation for Energy Efficient HPC

Algorithms, System and Data Centre Optimisation for Energy Efficient HPC 2015-09-14 Algorithms, System and Data Centre Optimisation for Energy Efficient HPC Vincent Heuveline URZ Computing Centre of Heidelberg University EMCL Engineering Mathematics and Computing Lab 1 Energy

More information

Adaptive-Mesh-Refinement Pattern

Adaptive-Mesh-Refinement Pattern Adaptive-Mesh-Refinement Pattern I. Problem Data-parallelism is exposed on a geometric mesh structure (either irregular or regular), where each point iteratively communicates with nearby neighboring points

More information

Equations. resid(3:jm2:2,2:jm1:2)=a(3:jm2:2,2:jm1:2)*u(4:jm1:2,2:jm1:2)+& b(3:jm2:2,2:jm1:2)*u(2:jm3:2,2:jm1:2)+&

Equations. resid(3:jm2:2,2:jm1:2)=a(3:jm2:2,2:jm1:2)*u(4:jm1:2,2:jm1:2)+& b(3:jm2:2,2:jm1:2)*u(2:jm3:2,2:jm1:2)+& Chapter B19. Partial Differential Equations SUBROUTINE sor(a,b,c,d,e,f,u,rjac),nrerror REAL(DP), DIMENSION(:,:), INTENT(IN) :: a,b,c,d,e,f REAL(DP), INTENT(IN) :: rjac INTEGER(I4B), PARAMETER :: MAXITS=1000

More information

ERCODO2004_238. ERCOFTAC Design Optimization: Methods & Applications. Sequential Progressive Optimization Using Evolutionary and Gradient Algorithms

ERCODO2004_238. ERCOFTAC Design Optimization: Methods & Applications. Sequential Progressive Optimization Using Evolutionary and Gradient Algorithms ERCOFTAC Design Optimization: Methods & Applications International Conference & Advanced Course Athens, Greece, March 31- April 2, 2004 Conference Proceedings Editors: K.C. Giannakoglou (NTUA), W. Haase

More information