A scalable elliptic solver with task-based parallelism for the SpECTRE numerical relativity code
Authors:
- Nils L. VuNVNils L. Vu
- Harald P. PfeifferHPHarald P. Pfeiffer
- Gabriel S. BonillaGBGabriel S. Bonilla
- Nils DeppeNDNils Deppe
- François HébertFHFrançois Hébert
- Lawrence E. KidderLKLawrence E. Kidder
- Geoffrey LovelaceGLGeoffrey Lovelace
- Jordan MoxonJMJordan Moxon
- Mark A. ScheelMSMark A. Scheel
- Saul A. TeukolskySTSaul A. Teukolsky
- William ThroweWTWilliam Throwe
- Nikolas A. WittekNWNikolas A. Wittek
Open Access
- 18 April 2022
- journal article
- research article
- Published by American Physical Society (APS) in Physical Review D
- Vol. 105 (8) , 084027
Abstract
Elliptic partial differential equations must be solved numerically for many problems in numerical relativity, such as initial data for every simulation of merging black holes and neutron stars. Existing elliptic solvers can take multiple days to solve these problems at high resolution and when matter is involved, because they are either hard to parallelize or require a large amount of computational resources. Here we present a new solver for linear and nonlinear elliptic problems that is designed to scale with resolution and to parallelize on computing clusters. To achieve this we employ a discontinuous Galerkin discretization, an iterative multigrid-Schwarz preconditioned Newton-Krylov algorithm, and a task-based parallelism paradigm. To accelerate convergence of the elliptic solver we have developed novel subdomain-preconditioning techniques. We find that our multigrid-Schwarz preconditioned elliptic solves achieve iteration counts that are independent of resolution, and our task-based parallel programs scale over 200 million degrees of freedom to at least a few thousand cores. Our new code solves a classic initial data problem for binary black holes faster than the spectral code SpEC when distributed to only eight cores, and in a fraction of the time on more cores. It is publicly accessible in the next-generation SpECTRE numerical relativity code. Our results pave the way for highly parallel elliptic solves in numerical relativity and beyond.Keywords
All Related Versions
Funding Information
- University of Illinois at Urbana-Champaign
- Sherman Fairchild Foundation
- National Science Foundation (PHY-2011961, PHY-2011968, OAC-1931266, PHY-1912081, OAC-1931280, PHY-1654359, AST-1559694)
- California Institute of Technology
- California State University, Fullerton
- Dan Black Family Trust
- Max-Planck-Institut für Gravitationsphysik
- Cornell Center for Astrophysics and Planetary Science
This publication has 58 references indexed in Scilit:
- KADATH: A spectral solver for theoretical physicsJournal of Computational Physics, 2010
- Binary-black-hole initial data with nearly extremal spinsPhysical Review D, 2008
- Initial data for black hole–neutron star binaries: A flexible, high-accuracy spectral methodPhysical Review D, 2008
- Accurate and realistic initial data for black hole–neutron star binariesPhysical Review D, 2006
- Double-domain spectral method for black hole excision dataPhysical Review D, 2005
- Excision boundary conditions for black-hole initial dataPhysical Review D, 2004
- Single-domain spectral method for black hole puncture dataPhysical Review D, 2004
- A multidomain spectral method for solving elliptic equationsComputer Physics Communications, 2003
- Pseudospectral apparent horizon finders: An efficient new algorithmPhysical Review D, 1998
- ILUT: A dual threshold incomplete LU factorizationNumerical Linear Algebra with Applications, 1994