Parallel-in-Time Optimization with the General-Purpose XBraid Package

Size: px
Start display at page:

Download "Parallel-in-Time Optimization with the General-Purpose XBraid Package"

Transcription

1 Parallel-in-Time Optimization with the General-Purpose XBraid Package Stefanie Günther, Jacob Schroder, Robert Falgout, Nicolas Gauger 7th Workshop on Parallel-in-Time methods Wednesday, May 3 rd, 2018 LLNL-PRES This work was performed under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA Lawrence Livermore National Security, LLC Lawrence Livermore National Laboratory LLNL-PRES

2 Outline Motivation: parallelizing optimization problems Parallel-in-time overview: Multigrid reduction in time (MGRT) XBraid-adjoint code interface : Open source implementation Non-intrusively uses existing user code Example: user-interface for simple scalar ODE problem Lawrence Livermore National Laboratory LLNL-PRES

3 Motivation: PDE constrained optimization Example 1 Objective: Lift maximization Design: Amplitudes of actuation Base flow Runtimes Simulation: 2.5h Optimization: 1,152h Optimized flow 54% lift increase 1. Ötzkaya, Nemili et al., 2015 Lawrence Livermore National Laboratory LLNL-PRES

4 Problem description: Optimization with unsteady PDEs Optimize object function J, with a design variable u (continuous) min 1 T Z T 0 J(y(t),u)dt While satisfying constraint of the forward in time process, (continuous) with state variable y and initial condition g y(t) + c(y(t),u)=0, t 8t 2 (0,T) y(0) = g Lawrence Livermore National Laboratory LLNL-PRES

5 Problem description: Optimization with unsteady PDEs Optimize object function J, with a design variable u (discrete) min 1 NX J(y i,u) J n := J(y n,u) N i=1 While satisfying constraint of the forward in time process, (discrete) with state variable y and initial condition g y n = (y n 1,u), n =1,...,N y 0 = g Lawrence Livermore National Laboratory LLNL-PRES

6 First Order Optimality Conditions Form Lagrangian L = NX (J n +(ȳ n ) T ( n 1 y n )) i 1. State equations: y n = (y n 1,u ), n =1,...,N y 0 = g 2. Adjoint equations: ȳ n = r y nj n +( y n ) T ȳ n, n = N,...,1 ȳ N+1 =0 3. Design equation: NX r u J n +( u n 1 ) T ȳ n 1 =0 n=1 Lawrence Livermore National Laboratory LLNL-PRES

7 Nested Optimization Approach nitial design u i For i = 1, 2, State equations solve: y n = (y n 1,u i ), n =1,...,N y 0 = g 2. Adjoint equations solve: 3. Design update: ȳ n y n ȳ n = r y nj n +( y n ) T ȳ n, n = N,...,1 ȳ N+1 =0 u i+1 = u i B 1 i! NX (r u J n n +( 1 u ) T ȳ n ) n=1 Time Parallel! Time Parallel! Lawrence Livermore National Laboratory LLNL-PRES

8 Outline Motivation: parallelizing optimization problems Parallel-in-time overview: Multigrid reduction in time (MGRT) XBraid-adjoint code interface : Open source implementation Non-intrusively uses existing user code Example: user-interface for simple scalar ODE problem Lawrence Livermore National Laboratory LLNL-PRES

9 Parallel-in-time overview: Approach leverages spatial multigrid research Motivation: Clock speeds are stagnate but speedup still possible through more concurrency à Parallel-in-time is needed The Multigrid V-cycle smoothing (relaxation) prolongation (interpolation) Error on the fine grid restriction Error approximated on a smaller coarse grid Lawrence Livermore National Laboratory LLNL-PRES

10 Multigrid reduction in time (MGRT) General one-step method for a forward evolution process y n = (y n 1,u i ), n =1,...,N n the linear setting (for simplicity), sequential marching forward solve Ay C B y 0 y 1. y N 1 0 C A = g 0 g 1. g N 1 C A g We solve this system iteratively with multigrid reduction (MGR 1979) Replace sequential O(N) method with O(N) parallel alternative Coarsens only in time à non-intrusive, i.e. is "arbitrary" Lawrence Livermore National Laboratory LLNL-PRES

11 Multigrid reduction in time (MGRT) General one-step method for a backward evolution process n the linear setting (for simplicity), sequential marching forward solve Āȳ ȳ n = r y nj n +( y n ) T ȳ n, n = N,...,1 0 T T T 1 0 C B ȳ 0 ȳ 1. ȳ N 1 0 C A = r y 0J 0 r y 1J 1. r y N J N 1 C A We solve this system iteratively with multigrid reduction (MGR 1979) Replace sequential O(N) method with O(N) parallel alternative Coarsens only in time à non-intrusive, i.e. is "arbitrary" Lawrence Livermore National Laboratory LLNL-PRES

12 MGRT for forward solve T 0 T 1 t 0 t 1 t 2 t 3 DT = mdt dt t N F-point (fine grid only) C-point (coarse & fine grid) Relaxation is highly parallel Alternates between F-points and C-points F-relaxation = block Jacobi on each coarse time interval F-relaxation Coarse system approximates fine system m Approximate impractical with (e.g., time rediscretization with ) m A = C A ) B = C A ṁ T Apply recursively for multilevel hierarchy Lawrence Livermore National Laboratory LLNL-PRES

13 A broader summary of MGRT Expose concurrency in the evolution dimension with multigrid Non-intrusive, with unchanged fine-grid problem Converges to same solution as sequential marching C A Only store C-points to minimize storage Optimal for variety of parabolic problems t 0 t 1 t 2 t 3 Converges in ~10 iterations for any coarsening factor Extends to nonlinear problems with FAS formulation n specialized two-level setting, MGRT Parareal Large speedups available, but in a new way Time stepping is already O(N) Useful only beyond a crossover More time steps à more speedup potential Example strong scaling of the 2D heat eqn Much future work to do... dt t N Lawrence Livermore National Laboratory LLNL-PRES

14 Outline Motivation: parallelizing optimization problems Parallel-in-time overview: Multigrid reduction in time (MGRT) XBraid-adjoint code interface : Open source implementation Non-intrusively uses existing user code Example: user-interface for simple scalar ODE problem Lawrence Livermore National Laboratory LLNL-PRES

15 XBraid-adjoint: open source & non-intrusive Solve for y, ȳ, ū := ( J/ u) T (reduced gradient of J w.r.t. design u) Wrap existing user code to obtain time parallelism Standard XBraid: forward in time solve 1. Step: 2. Clone 3. Sum: 4. SpatialNorm: ky n k 5. Buf[Un]Pack 6. nit 7. Free 8. Access y n = (y n 1,u) y m = y n + y m teration k of XBraid: y k+1 XBraid(y k,u k ) J J(y k,u k ) Lawrence Livermore National Laboratory LLNL-PRES

16 XBraid-adjoint: open source & non-intrusive Solve for y, ȳ, ū := ( J/ u) T (reduced gradient of J w.r.t. design u) Wrap existing user code to obtain time parallelism XBraid-Adjoint 1. ObjectiveT: J(y n,u) 2. Step_diff: ȳ n =( y n ) T ȳ n+1 ū +=( u n ) T ȳ n+1 3. ObjectiveT_diff: ȳ n += r y nj n ū += r u J n teration k of XBraid-adjoint: ȳ k+1 XBraid adjoint(y k, ȳ k,u k ) ū J(y k,u k ) u Functions 2 and 3 allow XBraid to compute ȳ n = r y nj n +( y n ) T ȳ n+1 u i+1 = u i B 1 i! NX (r u J n n +( 1 u ) T ȳ n ) n=1 Reduced gradient: ū Lawrence Livermore National Laboratory LLNL-PRES

17 XBraid example: ex-01-adjoint.c Solve for the reduced gradient ū := ( J/ u) T (later use in optimization) Begin with simple problem: J(y, )=1/T s.t. y t = y y(0) = 1 Z T First, user must define objects: App and Vector 0 kykdt Lawrence Livermore National Laboratory LLNL-PRES

18 XBraid example: ex-01-adjoint.c Step(): y n = (y n 1,u)... Lawrence Livermore National Laboratory LLNL-PRES

19 XBraid example: ex-01-adjoint.c Step_diff(): ȳ n =( y n ) T ȳ n+1 ū +=( u n ) T ȳ n+1... Lawrence Livermore National Laboratory LLNL-PRES

20 XBraid example: ex-01-adjoint.c ObjectiveT() and ObjectiveT_diff() are similar nitialize and run XBraid-adjoint:... ū ( J/ u) T Lawrence Livermore National Laboratory LLNL-PRES

21 XBraid example: ex-01-adjoint.c Run it! Lawrence Livermore National Laboratory LLNL-PRES

22 XBraid example: ex-01-optimization.c XBraid-adjoint solver Generically solves adjoint equations, backwards in time Generically computes reduced gradients ū à Designed to work with many optimization methods! Example: ex-01-optimization.c mplements simple reduced space optimization loop (This is a template for implementing your favorite optimization method) Requires: - Global objective evaluation function (and derivative) - Design update function - Halting metric (e.g., gradient norm) Again, the goal is to wrap existing user code! Lawrence Livermore National Laboratory LLNL-PRES

23 Model Problem: 1D advection-diffusion Advection dominated, with Van Der Pol oscillator on left boundary y t + y x y xx =0, =10 5 Tracking objective: Minimize difference of space-time averaged solution to preset value When used with one-shot strategies, the max speedup is 25x runtime primal (sec) N = N = N = cores primal adjoint Scaling of primal (solid lines) and adjoint (dashed lines) XBraid solvers runtime adjoint (sec) Lawrence Livermore National Laboratory LLNL-PRES

24 Summary and Conclusions Parallel time integration is needed on future architectures, especially for adjoint-based optimization techniques New XBraid-adjoint non-intrusively couples with existing codes Available in May, 2018 release References BRAD PARALLEL MULTGRD N TME 1. Günther, Gauger, and Schroder. A Non-ntrusive Parallel-in-Time Approach for Simultaneous Optimization with Unsteady PDEs. Optimization Methods and Software, (submitted), (2018). 2. Günther, Gauger, and Schroder. A Non-ntrusive Parallel-in-Time Adjoint Solver with the XBraid Library. CVS, Springer, (accepted), (2017). Lawrence Livermore National Laboratory LLNL-PRES

25 Thank You! Any Questions? A good read, Parallel Time ntegration with Multigrid, SAM J. Sci. Comp. Open Source XBraid Code BRAD PARALLEL MULTGRD N TME Our Team Rob Falgout Stefanie Günther Matthieu Lecouvez Tzanio Kolev Jacob Schroder Scott MacLachlan Hans De Sterck Stephanie Friedhoff Collaborators CU Boulder (Manteuffel, McCormick, O'Neill), Red Deer (Howse), U Stuttgart (Roehrle, Hessenthaler), Kaiserslautern (Günther, Gauger), LLNL (Woodward, Top) Lawrence Livermore National Laboratory LLNL-PRES

26 Done Lawrence Livermore National Laboratory LLNL-PRES

Multigrid Solvers in Space and Time for Highly Concurrent Architectures

Multigrid Solvers in Space and Time for Highly Concurrent Architectures Multigrid Solvers in Space and Time for Highly Concurrent Architectures Future CFD Technologies Workshop, Kissimmee, Florida January 6-7, 2018 Robert D. Falgout Center for Applied Scientific Computing

More information

High Performance Multigrid Software

High Performance Multigrid Software High Performance Multigrid Software Ulrike Meier Yang This work was performed under the auspices of the U.S. Department of Energy by under Contract DE-AC52-07NA27344. Lawrence Livermore National Security,

More information

Solving PDEs with Multigrid Methods p.1

Solving PDEs with Multigrid Methods p.1 Solving PDEs with Multigrid Methods Scott MacLachlan maclachl@colorado.edu Department of Applied Mathematics, University of Colorado at Boulder Solving PDEs with Multigrid Methods p.1 Support and Collaboration

More information

New Multigrid Solver Advances in TOPS

New Multigrid Solver Advances in TOPS New Multigrid Solver Advances in TOPS R D Falgout 1, J Brannick 2, M Brezina 2, T Manteuffel 2 and S McCormick 2 1 Center for Applied Scientific Computing, Lawrence Livermore National Laboratory, P.O.

More information

Parallel-in-Time for Parabolic Optimal Control Problems Using PFASST

Parallel-in-Time for Parabolic Optimal Control Problems Using PFASST Zuse Institute Berlin Takustr. 7 14195 Berlin Germany SEBASTIAN GÖTSCHEL, MICHAEL L. MINION Parallel-in-Time for Parabolic Optimal Control Problems Using PFASST ZIB Report 17-51 (May 2017) Zuse Institute

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

hypre MG for LQFT Chris Schroeder LLNL - Physics Division

hypre MG for LQFT Chris Schroeder LLNL - Physics Division hypre MG for LQFT Chris Schroeder LLNL - Physics Division This work performed under the auspices of the U.S. Department of Energy by under Contract DE-??? Contributors hypre Team! Rob Falgout (project

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

Markov Chains and Web Ranking: a Multilevel Adaptive Aggregation Method

Markov Chains and Web Ranking: a Multilevel Adaptive Aggregation Method Markov Chains and Web Ranking: a Multilevel Adaptive Aggregation Method Hans De Sterck Department of Applied Mathematics, University of Waterloo Quoc Nguyen; Steve McCormick, John Ruge, Tom Manteuffel

More information

arxiv: v1 [math.oc] 21 Jan 2019

arxiv: v1 [math.oc] 21 Jan 2019 An Efficient Parallel-in-Time Method for Optimization with Parabolic PDEs Sebastian Götschel Michael L. Minion arxiv:1901.06850v1 [math.oc] 21 Jan 2019 January 17, 2019 Abstract To solve optimization problems

More information

Using an Auction Algorithm in AMG based on Maximum Weighted Matching in Matrix Graphs

Using an Auction Algorithm in AMG based on Maximum Weighted Matching in Matrix Graphs Using an Auction Algorithm in AMG based on Maximum Weighted Matching in Matrix Graphs Pasqua D Ambra Institute for Applied Computing (IAC) National Research Council of Italy (CNR) pasqua.dambra@cnr.it

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

An Algebraic Multigrid Method for Eigenvalue Problems

An Algebraic Multigrid Method for Eigenvalue Problems An Algebraic Multigrid Method for Eigenvalue Problems arxiv:1503.08462v1 [math.na] 29 Mar 2015 Xiaole Han, Yunhui He, Hehu Xie and Chunguang You Abstract An algebraic multigrid method is proposed to solve

More information

Is My CFD Mesh Adequate? A Quantitative Answer

Is My CFD Mesh Adequate? A Quantitative Answer Is My CFD Mesh Adequate? A Quantitative Answer Krzysztof J. Fidkowski Gas Dynamics Research Colloqium Aerospace Engineering Department University of Michigan January 26, 2011 K.J. Fidkowski (UM) GDRC 2011

More information

University of Illinois at Urbana-Champaign. Multigrid (MG) methods are used to approximate solutions to elliptic partial differential

University of Illinois at Urbana-Champaign. Multigrid (MG) methods are used to approximate solutions to elliptic partial differential Title: Multigrid Methods Name: Luke Olson 1 Affil./Addr.: Department of Computer Science University of Illinois at Urbana-Champaign Urbana, IL 61801 email: lukeo@illinois.edu url: http://www.cs.uiuc.edu/homes/lukeo/

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

Spectral element agglomerate AMGe

Spectral element agglomerate AMGe Spectral element agglomerate AMGe T. Chartier 1, R. Falgout 2, V. E. Henson 2, J. E. Jones 4, T. A. Manteuffel 3, S. F. McCormick 3, J. W. Ruge 3, and P. S. Vassilevski 2 1 Department of Mathematics, Davidson

More information

Efficient numerical solution of the Biot poroelasticity system in multilayered domains

Efficient numerical solution of the Biot poroelasticity system in multilayered domains Efficient numerical solution of the Biot poroelasticity system Anna Naumovich Oleg Iliev Francisco Gaspar Fraunhofer Institute for Industrial Mathematics Kaiserslautern, Germany, Spain Workshop on Model

More information

The Lifted Newton Method and Its Use in Optimization

The Lifted Newton Method and Its Use in Optimization The Lifted Newton Method and Its Use in Optimization Moritz Diehl Optimization in Engineering Center (OPTEC), K.U. Leuven, Belgium joint work with Jan Albersmeyer (U. Heidelberg) ENSIACET, Toulouse, February

More information

c 2007 Society for Industrial and Applied Mathematics

c 2007 Society for Industrial and Applied Mathematics SIAM J. SCI. COMPUT. Vol. 29, No. 2, pp. 556 578 c 27 Society for Industrial and Applied Mathematics ANALYSIS OF THE PARAREAL TIME-PARALLEL TIME-INTEGRATION METHOD MARTIN J. GANDER AND STEFAN VANDEWALLE

More information

LEAST-SQUARES FINITE-ELEMENT DISCRETIZATION OF THE NEUTRON TRANSPORT EQUATION IN SPHERICAL GEOMETRY

LEAST-SQUARES FINITE-ELEMENT DISCRETIZATION OF THE NEUTRON TRANSPORT EQUATION IN SPHERICAL GEOMETRY LEAST-SQUARES FINITE-ELEMENT DISCRETIZATION OF THE NEUTRON TRANSPORT EQUATION IN SPHERICAL GEOMETRY C. KETELSEN, T. MANTEUFFEL, AND J. B. SCHRODER Abstract. The main focus of this paper is the numerical

More information

Chapter 5. Methods for Solving Elliptic Equations

Chapter 5. Methods for Solving Elliptic Equations Chapter 5. Methods for Solving Elliptic Equations References: Tannehill et al Section 4.3. Fulton et al (1986 MWR). Recommended reading: Chapter 7, Numerical Methods for Engineering Application. J. H.

More information

Parallelizing large scale time domain electromagnetic inverse problem

Parallelizing large scale time domain electromagnetic inverse problem Parallelizing large scale time domain electromagnetic inverse problems Eldad Haber with: D. Oldenburg & R. Shekhtman + Emory University, Atlanta, GA + The University of British Columbia, Vancouver, BC,

More information

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II Elliptic Problems / Multigrid Summary of Hyperbolic PDEs We looked at a simple linear and a nonlinear scalar hyperbolic PDE There is a speed associated with the change of the solution Explicit methods

More information

AN AGGREGATION MULTILEVEL METHOD USING SMOOTH ERROR VECTORS

AN AGGREGATION MULTILEVEL METHOD USING SMOOTH ERROR VECTORS AN AGGREGATION MULTILEVEL METHOD USING SMOOTH ERROR VECTORS EDMOND CHOW Abstract. Many algebraic multilevel methods for solving linear systems assume that the slowto-converge, or algebraically smooth error

More information

Comparison of V-cycle Multigrid Method for Cell-centered Finite Difference on Triangular Meshes

Comparison of V-cycle Multigrid Method for Cell-centered Finite Difference on Triangular Meshes Comparison of V-cycle Multigrid Method for Cell-centered Finite Difference on Triangular Meshes Do Y. Kwak, 1 JunS.Lee 1 Department of Mathematics, KAIST, Taejon 305-701, Korea Department of Mathematics,

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

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

On the Development of Implicit Solvers for Time-Dependent Systems

On the Development of Implicit Solvers for Time-Dependent Systems School o something FACULTY School OF OTHER o Computing On the Development o Implicit Solvers or Time-Dependent Systems Peter Jimack School o Computing, University o Leeds In collaboration with: P.H. Gaskell,

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

A Recursive Trust-Region Method for Non-Convex Constrained Minimization

A Recursive Trust-Region Method for Non-Convex Constrained Minimization A Recursive Trust-Region Method for Non-Convex Constrained Minimization Christian Groß 1 and Rolf Krause 1 Institute for Numerical Simulation, University of Bonn. {gross,krause}@ins.uni-bonn.de 1 Introduction

More information

Robust solution of Poisson-like problems with aggregation-based AMG

Robust solution of Poisson-like problems with aggregation-based AMG Robust solution of Poisson-like problems with aggregation-based AMG Yvan Notay Université Libre de Bruxelles Service de Métrologie Nucléaire Paris, January 26, 215 Supported by the Belgian FNRS http://homepages.ulb.ac.be/

More information

Parallel-in-time integrators for Hamiltonian systems

Parallel-in-time integrators for Hamiltonian systems Parallel-in-time integrators for Hamiltonian systems Claude Le Bris ENPC and INRIA Visiting Professor, The University of Chicago joint work with X. Dai (Paris 6 and Chinese Academy of Sciences), F. Legoll

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 11 Partial Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002.

More information

Constrained Minimization and Multigrid

Constrained Minimization and Multigrid Constrained Minimization and Multigrid C. Gräser (FU Berlin), R. Kornhuber (FU Berlin), and O. Sander (FU Berlin) Workshop on PDE Constrained Optimization Hamburg, March 27-29, 2008 Matheon Outline Successive

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

Multigrid Approaches to Non-linear Diffusion Problems on Unstructured Meshes

Multigrid Approaches to Non-linear Diffusion Problems on Unstructured Meshes NASA/CR-2001-210660 ICASE Report No. 2001-3 Multigrid Approaches to Non-linear Diffusion Problems on Unstructured Meshes Dimitri J. Mavriplis ICASE, Hampton, Virginia ICASE NASA Langley Research Center

More information

Nonlinear Iterative Solution of the Neutron Transport Equation

Nonlinear Iterative Solution of the Neutron Transport Equation Nonlinear Iterative Solution of the Neutron Transport Equation Emiliano Masiello Commissariat à l Energie Atomique de Saclay /DANS//SERMA/LTSD emiliano.masiello@cea.fr 1/37 Outline - motivations and framework

More information

A Generalized Eigensolver Based on Smoothed Aggregation (GES-SA) for Initializing Smoothed Aggregation Multigrid (SA)

A Generalized Eigensolver Based on Smoothed Aggregation (GES-SA) for Initializing Smoothed Aggregation Multigrid (SA) NUMERICAL LINEAR ALGEBRA WITH APPLICATIONS Numer. Linear Algebra Appl. 2007; 07: 6 [Version: 2002/09/8 v.02] A Generalized Eigensolver Based on Smoothed Aggregation (GES-SA) for Initializing Smoothed Aggregation

More information

PDE Constrained Optimization selected Proofs

PDE Constrained Optimization selected Proofs PDE Constrained Optimization selected Proofs Jeff Snider jeff@snider.com George Mason University Department of Mathematical Sciences April, 214 Outline 1 Prelim 2 Thms 3.9 3.11 3 Thm 3.12 4 Thm 3.13 5

More information

Advanced numerical methods for transport and reaction in porous media. Peter Frolkovič University of Heidelberg

Advanced numerical methods for transport and reaction in porous media. Peter Frolkovič University of Heidelberg Advanced numerical methods for transport and reaction in porous media Peter Frolkovič University of Heidelberg Content R 3 T a software package for numerical simulation of radioactive contaminant transport

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

Advanced numerical methods for nonlinear advectiondiffusion-reaction. Peter Frolkovič, University of Heidelberg

Advanced numerical methods for nonlinear advectiondiffusion-reaction. Peter Frolkovič, University of Heidelberg Advanced numerical methods for nonlinear advectiondiffusion-reaction equations Peter Frolkovič, University of Heidelberg Content Motivation and background R 3 T Numerical modelling advection advection

More information

Time-Parallel Algorithms for Weather Prediction and Climate Simulation

Time-Parallel Algorithms for Weather Prediction and Climate Simulation Time-Parallel Algorithms for Weather Prediction and Climate Simulation Jean Côté Adjunct Prof. ESCER Centre (Étude et la Simulation du Climat à l Échelle Régionale) Sciences de la Terre & de l Atmosphère

More information

6. Multigrid & Krylov Methods. June 1, 2010

6. Multigrid & Krylov Methods. June 1, 2010 June 1, 2010 Scientific Computing II, Tobias Weinzierl page 1 of 27 Outline of This Session A recapitulation of iterative schemes Lots of advertisement Multigrid Ingredients Multigrid Analysis Scientific

More information

On nonlinear adaptivity with heterogeneity

On nonlinear adaptivity with heterogeneity On nonlinear adaptivity with heterogeneity Jed Brown jed@jedbrown.org (CU Boulder) Collaborators: Mark Adams (LBL), Matt Knepley (UChicago), Dave May (ETH), Laetitia Le Pourhiet (UPMC), Ravi Samtaney (KAUST)

More information

Preprint ISSN

Preprint ISSN Fakultät für Mathematik und Informatik Preprint 2015-14 Allison H. Baker, Axel Klawonn, Tzanio Kolev, Martin Lanser, Oliver Rheinbach, and Ulrike Meier Yang Scalability of Classical Algebraic Multigrid

More information

ADAPTIVE ALGEBRAIC MULTIGRID

ADAPTIVE ALGEBRAIC MULTIGRID ADAPTIVE ALGEBRAIC MULTIGRID M. BREZINA, R. FALGOUT, S. MACLACHLAN, T. MANTEUFFEL, S. MCCORMICK, AND J. RUGE Abstract. Efficient numerical simulation of physical processes is constrained by our ability

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

Research Directions in Scalable Algorithms

Research Directions in Scalable Algorithms Research Directions in Scalable Algorithms Robert D. Falgout Center for Applied Scientific Computing Lawrence Livermore National Laboratory Panel Discussion SIAM Conference on CSE February 20, 2007 The

More information

minimize x subject to (x 2)(x 4) u,

minimize x subject to (x 2)(x 4) u, Math 6366/6367: Optimization and Variational Methods Sample Preliminary Exam Questions 1. Suppose that f : [, L] R is a C 2 -function with f () on (, L) and that you have explicit formulae for

More information

Numerical Optimal Control Overview. Moritz Diehl

Numerical Optimal Control Overview. Moritz Diehl Numerical Optimal Control Overview Moritz Diehl Simplified Optimal Control Problem in ODE path constraints h(x, u) 0 initial value x0 states x(t) terminal constraint r(x(t )) 0 controls u(t) 0 t T minimize

More information

Outline. 1 Partial Differential Equations. 2 Numerical Methods for PDEs. 3 Sparse Linear Systems

Outline. 1 Partial Differential Equations. 2 Numerical Methods for PDEs. 3 Sparse Linear Systems Outline Partial Differential Equations Numerical Methods for PDEs Sparse Linear Systems 1 Partial Differential Equations 2 Numerical Methods for PDEs 3 Sparse Linear Systems Michael T Heath Scientific

More information

Block-Structured Adaptive Mesh Refinement

Block-Structured Adaptive Mesh Refinement Block-Structured Adaptive Mesh Refinement Lecture 2 Incompressible Navier-Stokes Equations Fractional Step Scheme 1-D AMR for classical PDE s hyperbolic elliptic parabolic Accuracy considerations Bell

More information

Time-Parallel Algorithms for Weather Prediction and Climate Simulation

Time-Parallel Algorithms for Weather Prediction and Climate Simulation Time-Parallel Algorithms for Weather Prediction and Climate Simulation Jean Côté Adjunct Prof. ESCER Centre (Étude et la Simulation du Climat à l Échelle Régionale) Sciences de la Terre & de l Atmosphère

More information

Contents. Preface... xi. Introduction...

Contents. Preface... xi. Introduction... Contents Preface... xi Introduction... xv Chapter 1. Computer Architectures... 1 1.1. Different types of parallelism... 1 1.1.1. Overlap, concurrency and parallelism... 1 1.1.2. Temporal and spatial parallelism

More information

Iterative Methods and Multigrid

Iterative Methods and Multigrid Iterative Methods and Multigrid Part 1: Introduction to Multigrid 1 12/02/09 MG02.prz Error Smoothing 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Initial Solution=-Error 0 10 20 30 40 50 60 70 80 90 100 DCT:

More information

Solving Distributed Optimal Control Problems for the Unsteady Burgers Equation in COMSOL Multiphysics

Solving Distributed Optimal Control Problems for the Unsteady Burgers Equation in COMSOL Multiphysics Excerpt from the Proceedings of the COMSOL Conference 2009 Milan Solving Distributed Optimal Control Problems for the Unsteady Burgers Equation in COMSOL Multiphysics Fikriye Yılmaz 1, Bülent Karasözen

More information

Partial Differential Equations

Partial Differential Equations Partial Differential Equations Introduction Deng Li Discretization Methods Chunfang Chen, Danny Thorne, Adam Zornes CS521 Feb.,7, 2006 What do You Stand For? A PDE is a Partial Differential Equation This

More information

A multigrid method for large scale inverse problems

A multigrid method for large scale inverse problems A multigrid method for large scale inverse problems Eldad Haber Dept. of Computer Science, Dept. of Earth and Ocean Science University of British Columbia haber@cs.ubc.ca July 4, 2003 E.Haber: Multigrid

More information

AM 205: lecture 19. Last time: Conditions for optimality, Newton s method for optimization Today: survey of optimization methods

AM 205: lecture 19. Last time: Conditions for optimality, Newton s method for optimization Today: survey of optimization methods AM 205: lecture 19 Last time: Conditions for optimality, Newton s method for optimization Today: survey of optimization methods Quasi-Newton Methods General form of quasi-newton methods: x k+1 = x k α

More information

A Line search Multigrid Method for Large-Scale Nonlinear Optimization

A Line search Multigrid Method for Large-Scale Nonlinear Optimization A Line search Multigrid Method for Large-Scale Nonlinear Optimization Zaiwen Wen Donald Goldfarb Department of Industrial Engineering and Operations Research Columbia University 2008 Siam Conference on

More information

AMG for a Peta-scale Navier Stokes Code

AMG for a Peta-scale Navier Stokes Code AMG for a Peta-scale Navier Stokes Code James Lottes Argonne National Laboratory October 18, 2007 The Challenge Develop an AMG iterative method to solve Poisson 2 u = f discretized on highly irregular

More information

PARAREAL TIME DISCRETIZATION FOR PARABOLIC CONTROL PROBLEM

PARAREAL TIME DISCRETIZATION FOR PARABOLIC CONTROL PROBLEM PARAREAL TIME DISCRETIZATION FOR PARABOLIC CONTROL PROBLEM Daoud S Daoud Dept. of Mathematics Eastern Mediterranean University Famagusta-North Cyprus via Mersin 10-Turkey. e mail: daoud.daoud@emu.edu.tr

More information

Compact High Order Finite Difference Stencils for Elliptic Variable Coefficient and Interface Problems

Compact High Order Finite Difference Stencils for Elliptic Variable Coefficient and Interface Problems Compact High Order Finite Difference Stencils for Elliptic Variable Coefficient and Interface Problems Daniel Ritter 1, Ulrich Rüde 1, Björn Gmeiner 1, Rochus Schmid 2 Copper Mountain, March 18th, 2013

More information

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction

Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction Discrete Projection Methods for Incompressible Fluid Flow Problems and Application to a Fluid-Structure Interaction Problem Jörg-M. Sautter Mathematisches Institut, Universität Düsseldorf, Germany, sautter@am.uni-duesseldorf.de

More information

Preliminary Examination in Numerical Analysis

Preliminary Examination in Numerical Analysis Department of Applied Mathematics Preliminary Examination in Numerical Analysis August 7, 06, 0 am pm. Submit solutions to four (and no more) of the following six problems. Show all your work, and justify

More information

Edwin van der Weide and Magnus Svärd. I. Background information for the SBP-SAT scheme

Edwin van der Weide and Magnus Svärd. I. Background information for the SBP-SAT scheme Edwin van der Weide and Magnus Svärd I. Background information for the SBP-SAT scheme As is well-known, stability of a numerical scheme is a key property for a robust and accurate numerical solution. Proving

More information

Curriculum Vitae of Hans De Sterck

Curriculum Vitae of Hans De Sterck Curriculum Vitae of Hans De Sterck Name : e-mail : www : Hans DE STERCK hdesterck@uwaterloo.ca http://www.math.uwaterloo.ca/ hdesterc/ Work address : Department of Applied Mathematics University of Waterloo

More information

1.2 Derivation. d p f = d p f(x(p)) = x fd p x (= f x x p ). (1) Second, g x x p + g p = 0. d p f = f x g 1. The expression f x gx

1.2 Derivation. d p f = d p f(x(p)) = x fd p x (= f x x p ). (1) Second, g x x p + g p = 0. d p f = f x g 1. The expression f x gx PDE-constrained optimization and the adjoint method Andrew M. Bradley November 16, 21 PDE-constrained optimization and the adjoint method for solving these and related problems appear in a wide range of

More information

3D Space Charge Routines: The Software Package MOEVE and FFT Compared

3D Space Charge Routines: The Software Package MOEVE and FFT Compared 3D Space Charge Routines: The Software Package MOEVE and FFT Compared Gisela Pöplau DESY, Hamburg, December 4, 2007 Overview Algorithms for 3D space charge calculations Properties of FFT and iterative

More information

Multigrid Methods for Linear Systems with Stochastic Entries Arising in Lattice QCD. Andreas Frommer

Multigrid Methods for Linear Systems with Stochastic Entries Arising in Lattice QCD. Andreas Frommer Methods for Linear Systems with Stochastic Entries Arising in Lattice QCD Andreas Frommer Collaborators The Dirac operator James Brannick, Penn State University Björn Leder, Humboldt Universität Berlin

More information

Low-Communication, Parallel Multigrid Algorithms for Elliptic Partial Differential Equations

Low-Communication, Parallel Multigrid Algorithms for Elliptic Partial Differential Equations University of Colorado, Boulder CU Scholar Applied Mathematics Graduate Theses & Dissertations Applied Mathematics Summer 8-24-2017 Low-Communication, Parallel Multigrid Algorithms for Elliptic Partial

More information

A primal-dual mixed finite element method. for accurate and efficient atmospheric. modelling on massively parallel computers

A primal-dual mixed finite element method. for accurate and efficient atmospheric. modelling on massively parallel computers A primal-dual mixed finite element method for accurate and efficient atmospheric modelling on massively parallel computers John Thuburn (University of Exeter, UK) Colin Cotter (Imperial College, UK) AMMW03,

More information

AM 205: lecture 19. Last time: Conditions for optimality Today: Newton s method for optimization, survey of optimization methods

AM 205: lecture 19. Last time: Conditions for optimality Today: Newton s method for optimization, survey of optimization methods AM 205: lecture 19 Last time: Conditions for optimality Today: Newton s method for optimization, survey of optimization methods Optimality Conditions: Equality Constrained Case As another example of equality

More information

(bu) = f in Ω, (1.1) u = g on Γ I, (1.2)

(bu) = f in Ω, (1.1) u = g on Γ I, (1.2) A DUAL LEAST-SQUARES FINITE ELEMENT METHOD FOR LINEAR HYPERBOLIC PDES: A NUMERICAL STUDY LUKE OLSON Abstract. In this paper, we develop a least-squares finite element method for linear Partial Differential

More information

Static and Dynamic Optimization (42111)

Static and Dynamic Optimization (42111) Static and Dynamic Optimization (421) Niels Kjølstad Poulsen Build. 0b, room 01 Section for Dynamical Systems Dept. of Applied Mathematics and Computer Science The Technical University of Denmark Email:

More information

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY

A MULTIGRID ALGORITHM FOR. Richard E. Ewing and Jian Shen. Institute for Scientic Computation. Texas A&M University. College Station, Texas SUMMARY A MULTIGRID ALGORITHM FOR THE CELL-CENTERED FINITE DIFFERENCE SCHEME Richard E. Ewing and Jian Shen Institute for Scientic Computation Texas A&M University College Station, Texas SUMMARY In this article,

More information

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS

APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS LECTURE 10 APPLICATIONS OF FD APPROXIMATIONS FOR SOLVING ORDINARY DIFFERENTIAL EQUATIONS Ordinary Differential Equations Initial Value Problems For Initial Value problems (IVP s), conditions are specified

More information

- Part 4 - Multicore and Manycore Technology: Chances and Challenges. Vincent Heuveline

- Part 4 - Multicore and Manycore Technology: Chances and Challenges. Vincent Heuveline - Part 4 - Multicore and Manycore Technology: Chances and Challenges Vincent Heuveline 1 Numerical Simulation of Tropical Cyclones Goal oriented adaptivity for tropical cyclones ~10⁴km ~1500km ~100km 2

More information

Acceleration of Time Integration

Acceleration of Time Integration Acceleration of Time Integration edited version, with extra images removed Rick Archibald, John Drake, Kate Evans, Doug Kothe, Trey White, Pat Worley Research sponsored by the Laboratory Directed Research

More information

Numerical approximation for optimal control problems via MPC and HJB. Giulia Fabrini

Numerical approximation for optimal control problems via MPC and HJB. Giulia Fabrini Numerical approximation for optimal control problems via MPC and HJB Giulia Fabrini Konstanz Women In Mathematics 15 May, 2018 G. Fabrini (University of Konstanz) Numerical approximation for OCP 1 / 33

More information

AMS526: Numerical Analysis I (Numerical Linear Algebra)

AMS526: Numerical Analysis I (Numerical Linear Algebra) AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 24: Preconditioning and Multigrid Solver Xiangmin Jiao SUNY Stony Brook Xiangmin Jiao Numerical Analysis I 1 / 5 Preconditioning Motivation:

More information

Mathematical Methods - Lecture 9

Mathematical Methods - Lecture 9 Mathematical Methods - Lecture 9 Yuliya Tarabalka Inria Sophia-Antipolis Méditerranée, Titane team, http://www-sop.inria.fr/members/yuliya.tarabalka/ Tel.: +33 (0)4 92 38 77 09 email: yuliya.tarabalka@inria.fr

More information

Lateral Boundary Conditions

Lateral Boundary Conditions Lateral Boundary Conditions Introduction For any non-global numerical simulation, the simulation domain is finite. Consequently, some means of handling the outermost extent of the simulation domain its

More information

Numerical Methods for PDE-Constrained Optimization

Numerical Methods for PDE-Constrained Optimization Numerical Methods for PDE-Constrained Optimization Richard H. Byrd 1 Frank E. Curtis 2 Jorge Nocedal 2 1 University of Colorado at Boulder 2 Northwestern University Courant Institute of Mathematical Sciences,

More information

A Novel Aggregation Method based on Graph Matching for Algebraic MultiGrid Preconditioning of Sparse Linear Systems

A Novel Aggregation Method based on Graph Matching for Algebraic MultiGrid Preconditioning of Sparse Linear Systems A Novel Aggregation Method based on Graph Matching for Algebraic MultiGrid Preconditioning of Sparse Linear Systems Pasqua D Ambra, Alfredo Buttari, Daniela Di Serafino, Salvatore Filippone, Simone Gentile,

More information

Key words. PDE-constrained optimization, space-time methods, preconditioning, Schur complement, domain decomposition, parallel computing.

Key words. PDE-constrained optimization, space-time methods, preconditioning, Schur complement, domain decomposition, parallel computing. DOMAIN DECOMPOSITION IN TIME FOR PDE-CONSTRAINED OPTIMIZATION ANDREW T. BARKER AND MARTIN STOLL Abstract. PDE-constrained optimization problems have a wide range of applications, but they lead to very

More information

FAS and Solver Performance

FAS and Solver Performance FAS and Solver Performance Matthew Knepley Mathematics and Computer Science Division Argonne National Laboratory Fall AMS Central Section Meeting Chicago, IL Oct 05 06, 2007 M. Knepley (ANL) FAS AMS 07

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

A Gauss Lobatto quadrature method for solving optimal control problems

A Gauss Lobatto quadrature method for solving optimal control problems ANZIAM J. 47 (EMAC2005) pp.c101 C115, 2006 C101 A Gauss Lobatto quadrature method for solving optimal control problems P. Williams (Received 29 August 2005; revised 13 July 2006) Abstract This paper proposes

More information

A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations

A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations Motivation Numerical methods Numerical tests Conclusions A High Order Conservative Semi-Lagrangian Discontinuous Galerkin Method for Two-Dimensional Transport Simulations Xiaofeng Cai Department of Mathematics

More information

Module III: Partial differential equations and optimization

Module III: Partial differential equations and optimization Module III: Partial differential equations and optimization Martin Berggren Department of Information Technology Uppsala University Optimization for differential equations Content Martin Berggren (UU)

More information

Proper Orthogonal Decomposition (POD)

Proper Orthogonal Decomposition (POD) Intro Results Problem etras Proper Orthogonal Decomposition () Advisor: Dr. Sorensen CAAM699 Department of Computational and Applied Mathematics Rice University September 5, 28 Outline Intro Results Problem

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

SPATIAL MULTIGRID FOR ISOTROPIC NEUTRON TRANSPORT

SPATIAL MULTIGRID FOR ISOTROPIC NEUTRON TRANSPORT SPATIAL MULTIGRID FOR ISOTROPIC NEUTRON TRANSPORT B. CHANG, T. MANTEUFFEL, S. MCCORMICK, J. RUGE, S. AND B. SHEEHAN Abstract. A spatial multigrid algorithm for isotropic neutron transport is presented

More information

A Multilevel Proximal Algorithm for Large Scale Composite Convex Optimization

A Multilevel Proximal Algorithm for Large Scale Composite Convex Optimization A Multilevel Proximal Algorithm for Large Scale Composite Convex Optimization Panos Parpas Department of Computing Imperial College London www.doc.ic.ac.uk/ pp500 p.parpas@imperial.ac.uk jointly with D.V.

More information

Faster Kinetics: Accelerate Your Finite-Rate Combustion Simulation with GPUs

Faster Kinetics: Accelerate Your Finite-Rate Combustion Simulation with GPUs Faster Kinetics: Accelerate Your Finite-Rate Combustion Simulation with GPUs Christopher P. Stone, Ph.D. Computational Science and Engineering, LLC Kyle Niemeyer, Ph.D. Oregon State University 2 Outline

More information

INTERGRID OPERATORS FOR THE CELL CENTERED FINITE DIFFERENCE MULTIGRID ALGORITHM ON RECTANGULAR GRIDS. 1. Introduction

INTERGRID OPERATORS FOR THE CELL CENTERED FINITE DIFFERENCE MULTIGRID ALGORITHM ON RECTANGULAR GRIDS. 1. Introduction Trends in Mathematics Information Center for Mathematical Sciences Volume 9 Number 2 December 2006 Pages 0 INTERGRID OPERATORS FOR THE CELL CENTERED FINITE DIFFERENCE MULTIGRID ALGORITHM ON RECTANGULAR

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