[Paper Review] H-AMR: A New GPU-accelerated GRMHD Code for Exascale Computing With 3D Adaptive Mesh Refinement and Local Adaptive Time-stepping
H-AMR is a GPU-accelerated, 3D adaptive mesh refinement GRMHD code that enables exascale simulations of black hole accretion with local adaptive time-stepping and spherical coordinates, achieving ~10⁹ zone-cycles/second on 5,400 V100 GPUs. It reveals that tilted, thin accretion disks with purely toroidal magnetic fields can tear into precessing sub-disks, demonstrating for the first time that frame-dragging can induce transient alignment with the black hole spin without poloidal fields.
General-relativistic magnetohydrodynamic (GRMHD) simulations have revolutionized our understanding of black hole accretion. Here, we present a graphics processing unit (GPU) accelerated GRMHD code \hammer{} with multi-faceted optimizations that, collectively, accelerate computation by 2-5 orders of magnitude for a wide range of applications. Firstly, it introduces a spherical grid with 3D adaptive mesh refinement that operates in each of the 3 dimensions independently. This allows us to circumvent the Courant condition near the polar singularity, which otherwise cripples high-resolution computational performance. Secondly, we demonstrate that local adaptive time-stepping (LAT) on a logarithmic spherical-polar grid accelerates computation by a factor of $\lesssim10$ compared to traditional hierarchical time-stepping approaches. Jointly, these unique features lead to an effective speed of $\sim10^9$ zone-cycles-per-second-per-node on 5,400 NVIDIA V100 GPUs (i.e., 900 nodes of the OLCF Summit supercomputer). We illustrate \hammer{}'s computational performance by presenting the first GRMHD simulation of a tilted thin accretion disk threaded by a toroidal magnetic field around a rapidly spinning black hole. With an effective resolution of $13$,$440 imes4$,$608 imes8$,$092$ cells, and a total of $\lesssim22$ billion cells and $\sim0.65 imes10^8$ timesteps, it is among the largest astrophysical simulations ever performed. We find that frame-dragging by the black hole tears up the disk into two independently precessing sub-disks. The innermost sub-disk rotation axis intermittently aligns with the black hole spin, demonstrating for the first time that such long-sought alignment is possible in the absence of large-scale poloidal magnetic fields.
Motivation & Objective
- To overcome computational bottlenecks in GRMHD simulations of black hole accretion, particularly near polar singularities and for long-timescale dynamics.
- To enable high-resolution, long-duration simulations of tilted, thin accretion disks with weak magnetic fields, which are critical for modeling X-ray binary states but previously intractable.
- To develop a scalable, GPU-optimized code capable of exascale performance for astrophysical simulations with complex physics and adaptive resolution.
- To investigate the dynamics of disk tearing and precession in the absence of initial poloidal magnetic flux, a regime previously inaccessible due to resolution and timescale limitations.
Proposed method
- The code employs a spherical-polar coordinate system with 3D adaptive mesh refinement (AMR) that operates independently in radial, polar, and azimuthal directions to avoid the Courant condition breakdown near the poles.
- It implements local adaptive time-stepping (LAT) on a logarithmic spherical-polar grid, allowing different zones to evolve with individual time steps and reducing global time-step constraints.
- The GRMHD equations are solved using a high-order finite-volume scheme with HLLD Riemann solvers, adapted to the curvilinear, non-uniform grid with AMR.
- The code is fully GPU-accelerated using CUDA and optimized memory access patterns, enabling efficient data movement and kernel launches on NVIDIA V100 GPUs.
- The simulation framework integrates with the Chombo AMR infrastructure and supports dynamic refinement based on physical gradients (e.g., density, magnetic field, velocity).
- The code is benchmarked on the OLCF Summit supercomputer, achieving ~10⁹ zone-cycles/second on 900 nodes (5,400 V100 GPUs), demonstrating exascale readiness.

Experimental results
Research questions
- RQ1Can GRMHD simulations of tilted, thin accretion disks with purely toroidal magnetic fields achieve sufficient resolution and dynamic range to resolve MRI turbulence and disk tearing without initial poloidal flux?
- RQ2Does frame-dragging by a rapidly spinning black hole induce transient alignment of the inner disk with the black hole spin in the absence of large-scale poloidal magnetic fields?
- RQ3To what extent does local adaptive time-stepping (LAT) reduce computational cost compared to hierarchical time-stepping in high-resolution, long-timescale GRMHD simulations?
- RQ4Can the combination of 3D AMR and LAT enable the first simulation of a jet-free, high-luminosity accretion disk with effective resolution exceeding 20 billion cells and 0.65×10⁸ timesteps?
Key findings
- H-AMR achieved an effective performance of ~10⁹ zone-cycles/second per node on 5,400 V100 GPUs, enabling exascale-scale GRMHD simulations.
- The simulation of a 65°-tilted, thin disk (h/r = 0.02) with β ~ 10 and a = 0.94 revealed that the disk tears into two independently precessing sub-disks due to frame-dragging.
- The inner sub-disk intermittently aligns with the black hole spin axis, demonstrating for the first time that such alignment is possible without initial poloidal magnetic flux.
- The disk remained jet-free throughout the simulation, confirming the high/soft state of X-ray binaries in the absence of large-scale poloidal fields.
- Multiple tearing cycles occurred, with the inner sub-disk precessing for several periods before being accreted, consistent with a mechanism for Type-C quasi-periodic oscillations (QPOs).
- The simulation resolved the MRI with ~25–30 cells per scale height and >20 cells per MRI wavelength, achieving convergence in turbulence-driven α-viscosity parameters at unprecedented resolution.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.