Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.

Slides:



Advertisements
Similar presentations
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Advertisements

Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Stability Analysis Algorithms for Large-Scale Applications Andy Salinger, Roger Pawlowski, Ed Wilkes Louis Romero, Rich Lehoucq, John Shadid Sandia National.
Inexact SQP Methods for Equality Constrained Optimization Frank Edward Curtis Department of IE/MS, Northwestern University with Richard Byrd and Jorge.
Solving Linear Systems (Numerical Recipes, Chap 2)
Unstructured Data Partitioning for Large Scale Visualization CSCAPES Workshop June, 2008 Kenneth Moreland Sandia National Laboratories Sandia is a multiprogram.
Engineering Optimization – Concepts and Applications Engineering Optimization Concepts and Applications Fred van Keulen Matthijs Langelaar CLA H21.1
Problem Uncertainty quantification (UQ) is an important scientific driver for pushing to the exascale, potentially enabling rigorous and accurate predictive.
Nonlinearity Structural Mechanics Displacement-based Formulations.
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
1 A Matrix Free Newton /Krylov Method For Coupling Complex Multi-Physics Subsystems Yunlin Xu School of Nuclear Engineering Purdue University October 23,
Linear and generalised linear models
MOOCHO and TSFCore object-oriented software and interfaces for the development of optimization and other advanced abstract numerical algorithms Roscoe.
Introduction to Nonlinear Analysis
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
ITERATIVE TECHNIQUES FOR SOLVING NON-LINEAR SYSTEMS (AND LINEAR SYSTEMS)
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
MS17 A Case Study on the Vertical Integration of Trilinos Solver Algorithms with a Production Application Code Organizer: Roscoe A. Bartlett Sandia National.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Combinatorial Scientific Computing is concerned with the development, analysis and utilization of discrete algorithms in scientific and engineering applications.
LTE Review (September 2005 – January 2006) January 17, 2006 Daniel M. Dunlavy John von Neumann Fellow Optimization and Uncertainty Estimation (1411) (8962.
Page 1 Trilinos Software Engineering Technologies and Integration Capability Area Overview Roscoe A. Bartlett Department.
Continuation Methods for Performing Stability Analysis of Large-Scale Applications LOCA: Library Of Continuation Algorithms Andy Salinger Roger Pawlowski,
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
PyTrilinos: A Python Interface to Trilinos Bill Spotz Sandia National Laboratories Reproducible Research in Computational Geophysics August 31, 2006.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Page 1 Trilinos Software Engineering Technologies and Integration Numerical Algorithm Interoperability and Vertical Integration –Abstract Numerical Algorithms.
Large-Scale Stability Analysis Algorithms Andy Salinger, Roger Pawlowski, Ed Wilkes Louis Romero, Rich Lehoucq, John Shadid Sandia National Labs Albuquerque,
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Page 1 Embedded Sensitivities and Optimization From Research to Applications Roscoe A. Bartlett Department of Optimization & Uncertainty Estimation Sandia.
Amesos Sparse Direct Solver Package Ken Stanley, Rob Hoekstra, Marzio Sala, Tim Davis, Mike Heroux Trilinos Users Group Albuquerque 3 Nov 2004.
1 ModelEvaluator Scalable, Extendable Interface Between Embedded Nonlinear Analysis Algorithms and Applications Roscoe A. Bartlett Department of Optimization.
ML: Multilevel Preconditioning Package Trilinos User’s Group Meeting Wednesday, October 15, 2003 Jonathan Hu Sandia is a multiprogram laboratory operated.
SAND C 1/17 Coupled Matrix Factorizations using Optimization Daniel M. Dunlavy, Tamara G. Kolda, Evrim Acar Sandia National Laboratories SIAM Conference.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Strategies for Solving Large-Scale Optimization Problems Judith Hill Sandia National Laboratories October 23, 2007 Modeling and High-Performance Computing.
Danny Dunlavy, Andy Salinger Sandia National Laboratories Albuquerque, New Mexico, USA SIAM Parallel Processing February 23, 2006 SAND C Sandia.
Amesos Interfaces to sparse direct solvers October 15, :30 – 9:30 a.m. Ken Stanley.
Scalable Linear Algebra Capability Area Michael A. Heroux Sandia National Laboratories Sandia is a multiprogram laboratory operated by Sandia Corporation,
New Features in ML 2004 Trilinos Users Group Meeting November 2-4, 2004 Jonathan Hu, Ray Tuminaro, Marzio Sala, Michael Gee, Haim Waisman Sandia is a multiprogram.
1 Stratimikos Unified Wrapper to Trilinos Linear Solvers and Preconditioners Roscoe A. Bartlett Department of Optimization & Uncertainty Estimation Sandia.
Teuchos: Utilities for Developers & Users November 2nd, 3:30-4:30pm Roscoe Bartlett Mike Heroux Kris Kampshoff Kevin Long Paul Sexton Heidi.
Domain Decomposition in High-Level Parallelizaton of PDE codes Xing Cai University of Oslo.
Sandia is a multi-program laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
A Dirichlet-to-Neumann (DtN)Multigrid Algorithm for Locally Conservative Methods Sandia National Laboratories is a multi program laboratory managed and.
Thyra For Developers Roscoe A. Bartlett Department of Optimization & Uncertainty Estimation Sandia National Laboratories Trilinos Users Group Meeting (Developers.
Trilinos Strategic (and Tactical) Planning Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United.
An Overview of Belos and Anasazi October 16 th, 11-12am Heidi Thornquist Teri Barth Rich Lehoucq Mike Heroux Computational Mathematics and Algorithms Sandia.
On the Use of Finite Difference Matrix-Vector Products in Newton-Krylov Solvers for Implicit Climate Dynamics with Spectral Elements ImpactObjectives 
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Photos placed in horizontal position with even amount of white space between photos and header Sandia National Laboratories is a multi-program laboratory.
CCA Common Component Architecture Insights from Quantum Chemistry Joseph P. Kenny Scalable Computing Research and Design Sandia National Laboratories Livermore,
Multifidelity Optimization Using Asynchronous Parallel Pattern Search and Space Mapping Techniques Genetha Gray*, Joe Castro i, Patty Hough*, and Tony.
ML: A Multilevel Preconditioning Package Copper Mountain Conference on Iterative Methods March 29-April 2, 2004 Jonathan Hu Ray Tuminaro Marzio Sala Sandia.
Algebraic Solvers in FASTMath Argonne Training Program on Extreme-Scale Computing August 2015.
Combining Trilinos Packages To Solve Linear Systems Michael A. Heroux Sandia National Labs.
What’s New for Epetra Michael A. Heroux Sandia National Laboratories Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin.
Page 1 Open-Source Software for Interfacing and Support of Large-scale Embedded Nonlinear Optimization Roscoe A. Bartlett
On the Path to Trinity - Experiences Bringing Codes to the Next Generation ASC Platform Courtenay T. Vaughan and Simon D. Hammond Sandia National Laboratories.
Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation,
Virtual Directory Services and Directory Synchronization May 13 th, 2008 Bill Claycomb Computer Systems Analyst Infrastructure Computing Systems Department.
Xing Cai University of Oslo
ModelEvaluator Scalable, Extendable Interface Between Embedded Nonlinear Analysis Algorithms and Applications Roscoe A. Bartlett Department of Optimization.
Trilinos Software Engineering Technologies and Integration
Results of Eddy Current Analysis
Some useful linear algebra
Embedded Nonlinear Analysis Tools Capability Area
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Presentation transcript:

Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear Security Administration under contract DE-AC04-94AL Eric Phipps and Andy Salinger Sandia National Laboratories Trilinos User’s Group Meeting November 8, 2006 Bordered Matrix Methods for Large-Scale Stability Analysis using LOCA

LOCA: Library of Continuation Algorithms LOCA provides: Parameter Continuation: Tracks a family of steady state solutions with parameter Linear Stability Analysis: Calculates leading eigenvalues via Anasazi (Thornquist, Lehoucq) Bifurcation Tracking: Locates neutral stability point (x,p) and tracks as a function of a second parameter Application code provides: Nonlinear steady-state residual and Jacobian fill: Newton-like linear solves: External force Second parameter External force 1 1 3

Codimension 1 Bifurcations Turning Point Pitchfork Hopf Combustion Buckling of an Arch Buckling of a Beam Pattern formation Cell differentiation (morphogenesis) Vortex Shedding Predator-Prey models Flutter El Niño

New Features for Trilinos 7 Conversion to “new” LOCA framework complete, old framework removed –Strategies/factories –Multi-vector support –LOCA::NewStepper -> LOCA::Stepper Epetra support for Hopf bifurcations –Leverages EpetraExt::Block{Graph, CrsMatrix, MultiVector} Minimally augmented turning point formulation –Faster, more robust turning point method –Uses Householder bordered solver method

Bordered Systems of Equations Only requires solves of J but Requires m+l linear solves Has difficulty when J is nearly singular Solving bordered systems of equations is a ubiquitous computation: Pseudo-Arclength Continuation Constraint Following Turning Point Identification Bordering Algorithm

Solving Bordered Systems via QR 1 H.F Walker, SIAM J. Sci. Comput., R. Schreiber, SIAM J. Stat. Comput., 1989 Extension of Householder pseudo-arclength technique by Homer Walker 1 QR Factorization Compact WY Representation 2 where Rearranged Bordered System Write then P is nxn, nonsingular, rank m update to J

Implementing Householder Bordered Solver Method in LOCA All steps in bordered solver algorithm can be done generically except solve Solving P is linear algebra dependent Two Epetra implementations of P –J is an Epetra_Operator, P is an Epetra_Operator –J is an Epetra_RowMatrix, P is an Epetra_RowMatrix Include terms for nonzeros of J for preconditioning Appropriate for Epetra_RowMatrix based preconditioners If J is an Epetra_CrsMatrix, also can overwrite J with for Epetra_CrsMatrix preconditioners

Calling the Householder Bordered Solver Method in LOCA Methods for solving bordered systems encapsulated in –LOCA::BorderedSolver::AbstractStrategy –LOCA::BorderedSolver::Factory –Selected by parameter lists Householder requires LOCA Epetra Factory // Create parameter list Teuchos::RefCountPtr paramList = Teuchos::rcp(new Teuchos::ParameterList); Teuchos::ParameterList& locaParamsList = paramList->sublist("LOCA"); Teuchos::ParameterList& locaStepperList = locaParamsList.sublist("Stepper"); locaStepperList.set("Continuation Method", "Arc Length"); // Default locaStepperList.set("Bordered Solver Method", "Householder"); // Householder QR method locaStepperList.set("Include UV In Preconditioner", true); // Include U*V in preconditioner for P = J+U*V locaStepperList.set("Use P For Preconditioner", true); // true for RowMatrix-based preconditioners, // false for CrsMatrix precs (Ifpack_CrsRiluk) // Create Epetra factory Teuchos::RefCountPtr epetraFactory = Teuchos::rcp(new LOCA::Epetra::Factory); // Create global data object Teuchos::RefCountPtr globalData = LOCA::createGlobalData(paramList, epetraFactory); // Create the stepper LOCA::Stepper stepper(globalData, grp, combo, paramList);

Turning Point Identification Moore-Spence Formulation … but 4 solves of J per Newton iteration are used to drive J singular! Turning Point Bifurcation Full Newton Algorithm Bordering Algorithm

Widely used algorithm for small systems: J is singular if and only if s = 0 Turning point formulation: Newton’s method: 3 linear solves per Newton iteration –4 for bordering –Symmetric problems reduces to 2 solves. Minimally Augmented Turning Point Algorithm

Calling the Householder Bordered Solver Method in LOCA // Create parameter list Teuchos::RefCountPtr paramList = Teuchos::rcp(new Teuchos::ParameterList); Teuchos::ParameterList& locaParamsList = paramList->sublist("LOCA"); Teuchos::ParameterList& locaStepperList = locaParamsList.sublist("Stepper"); locaStepperList.set("Continuation Method", "Arc Length"); locaStepperList.set("Bordered Solver Method", ”Nested"); Teuchos::ParameterList& nestedList = locaStepperList.sublist("Nested Bordered Solver"); nestedList.set("Bordered Solver Method", "Householder"); nestedList.set("Include UV In Preconditioner", true); nestedList.set("Use P For Preconditioner", true); // Create bifurcation sublist Teuchos::ParameterList& bifurcationList = locaParamsList.sublist("Bifurcation"); bifurcationList.set("Type", "Turning Point"); bifurcationList.set("Bifurcation Parameter", "Right BC"); bifurcationList.set("Formulation", "Minimally Augmented"); bifurcationList.set("Symmetric Jacobian", false); bifurcationList.set("Update Null Vectors Every Continuation Step", true); bifurcationList.set("Transpose Solver Method","Explicit Transpose"); //bifurcationList.set("Transpose Solver Method","Transpose Preconditioner"); //bifurcationList.set("Transpose Solver Method","Left Preconditioning"); bifurcationList.set("Initial Null Vector Computation", "Solve df/dp"); bifurcationList.set("Bordered Solver Method", "Householder"); bifurcationList.set("Include UV In Preconditioner", true); bifurcationList.set("Use P For Preconditioner", true);

Snap-through Buckling of a Symmetric Cap (Salinas/FEI, 200K unknowns, 16 procs) MethodTotal Time (hrs) Mod. Bordering4.2 Min. Augmented1.2 –Provides robust buckling info almost 4 times faster than previous best method –Increases scalability –Clear how to extend this to other bifurcations Turning Point Continuation Load/Deflection Curve Turning Point Solve

Summary QR approach provides a convenient way to solve bordered systems –Nonsingular –Only involves one linear solve –Only requires simple vector operations –Doesn’t change dimension of the linear system –Become a workhorse tool in LOCA Highly encouraged by minimally augmented turning point formulation –No singular matrix solves –Improves robustness, scalability and accuracy –Requires linear algebra-specific implementation Future work –Minimally augmented pitchfork, Hopf bifurcations –Preconditioners for

Points of Contact LOCA: Trilinos continuation and bifurcation package –Sub-package of NOX –Andy Salinger –Eric Phipps – NOX: Trilinos nonlinear solver package –Roger Pawlowski –Tammy Kolda –