superB/NRPy: Scalable, Task-Based Numerical Relativity for 3G Gravitational Wave Science
arXiv:2505.00097 · doi:10.1088/1361-6382/adee71
Abstract
Modern gravitational-wave science demands increasingly accurate and computationally intensive numerical relativity (NR) simulations. The Python-based, open-source NRPy framework generates optimized C/C++ code for NR, including the complete NR code BlackHoles@Home (BH@H), which leverages curvilinear coordinates well-suited to many astrophysical scenarios. Historically, BH@H was limited to single-node OpenMP CPU parallelism. To address this, we introduce superB, an open-source extension to NRPy that enables automatic generation of scalable, task-based, distributed-memory Charm++ code from existing BH@H modules. The generated code partitions the structured grids used by NRPy/BH@H, managing communication between them. Its correctness is validated through bit-identical results with the standard OpenMP version on a single node and via a head-on binary black hole simulation in cylindrical-like coordinates, accurately reproducing quasi-normal modes (up to ). The superB/NRPy-generated code demonstrates excellent strong scaling, achieving an x speedup on 64 nodes (7168 cores) compared to the original single-node OpenMP code for a large 3D vacuum test. This scalable infrastructure benefits demanding simulations and lays the groundwork for future multi-patch grid support, targeting long inspirals, extreme parameter studies, and rapid follow-ups. This infrastructure readily integrates with other NRPy/BH@H-based projects, enabling performant scaling for the general relativistic hydrodynamics code GRoovy, and facilitating future coupling with GPU acceleration via the NRPy-CUDA project.
24 pages, 7 figures; updated to match CQG version
References in corpus (51)
- GWTC-1: A Gravitational-Wave Transient Catalog of Compact Binary Mergers Observed by LIGO and Virgo during the First and Second Observing Runs
- GWTC-2: Compact Binary Coalescences Observed by LIGO and Virgo During the First Half of the Third Observing Run
- TianQin: a space-borne gravitational wave detector
- GWTC-3: Compact Binary Coalescences Observed by LIGO and Virgo During the Second Part of the Third Observing Run
- Evolution of Binary Black Hole Spacetimes
- Accurate Evolutions of Orbiting Black-Hole Binaries Without Excision
- Gravitational wave extraction from an inspiraling configuration of merging black holes
- Frequency-domain gravitational waves from non-precessing black-hole binaries. II. A phenomenological model for the advanced detector era
- The Einstein Toolkit: A Community Computational Infrastructure for Relativistic Astrophysics
- Binary neutron-star mergers: a review of Einstein's richest laboratory
- Numerical Relativity Using a Generalized Harmonic Decomposition
- Surrogate models for precessing binary black hole simulations with unequal masses
- Calibration of Moving Puncture Simulations
- A single-domain spectral method for black hole puncture data
- Conformal and covariant formulation of the Z4 system with constraint-violation damping
- Merger and Mass Ejection of Neutron-Star Binaries
- Turduckening black holes: an analytical and computational study
- Fast and accurate prediction of numerical relativity waveforms from binary black hole coalescences using surrogate models
- 3-OGC: Catalog of gravitational waves from compact-binary mergers
- Simulations of Binary Black Hole Mergers Using Spectral Methods
- Binary black-hole evolutions of excision and puncture data
- High-spin binary black hole mergers
- SEOBNRv5PHM: Next generation of accurate and efficient multipolar precessing-spin effective-one-body waveforms for binary black holes
- Effective-one-body waveforms calibrated to numerical relativity simulations: coalescence of non-precessing, spinning, equal-mass black holes
- GRHydro: A new open source general-relativistic magnetohydrodynamics code for the Einstein Toolkit
- High accuracy binary black hole simulations with an extended wave zone
- GRChombo : Numerical Relativity with Adaptive Mesh Refinement
- Binary black hole mergers: large kicks for generic spin orientations
- Kranc: a Mathematica application to generate numerical codes for tensorial evolution equations
- Covariant formulations of BSSN and the standard gauge
- qnm: A Python package for calculating Kerr quasinormal modes, separation constants, and spherical-spheroidal mixing coefficients
- Numerical Relativity in Spherical Polar Coordinates: Evolution Calculations with the BSSN Formulation
- Detecting Intermediate-Mass Ratio Inspirals From The Ground And Space
- BSSN equations in spherical coordinates without regularization: vacuum and non-vacuum spherically symmetric spacetimes
- SENR/NRPy+: Numerical Relativity in Singular Curvilinear Coordinate Systems
- Time Step Size Limitation Introduced by the BSSN Gamma Driver
- Massively Parallel Simulations of Binary Black Hole Intermediate-Mass-Ratio Inspirals
- A Pseudospectral Method for Gravitational Wave Collapse
- GRAthena++: puncture evolutions on vertex-centered oct-tree AMR
- A Reinvestigation of Moving Punctured Black Holes with a New Code
- Assessing the Readiness of Numerical Relativity for LISA and 3G Detectors
- Accuracy Issues for Numerical Waveforms
- Numerical relativity in spherical coordinates: A new dynamical spacetime and general relativistic MHD evolution framework for the Einstein Toolkit
- Numerical relativity in spherical coordinates with the Einstein Toolkit
- The new discontinuous Galerkin methods based numerical relativity program Nmesh
- Improved Moving Puncture Gauge Conditions for Compact Binary Evolutions
- Simflowny 3: An upgraded platform for scientific modelling and simulation
- Improved Moving-Puncture Techniques for Compact Binary Simulations
- Are gauge shocks really shocks?
- NRPyElliptic: A Fast Hyperbolic Relaxation Elliptic Solver for Numerical Relativity, I: Conformally Flat, Binary Puncture Initial Data
- Simulating binary black hole mergers using discontinuous Galerkin methods