English

AsterX: a new open-source GPU-accelerated GRMHD code for dynamical spacetimes

High Energy Astrophysical Phenomena 2025-02-12 v2 General Relativity and Quantum Cosmology

Abstract

We present AsterX, a novel open-source, modular, GPU-accelerated, fully general relativistic magnetohydrodynamic (GRMHD) code designed for dynamic spacetimes in 3D Cartesian coordinates, and tailored for exascale computing. We utilize block-structured adaptive mesh refinement (AMR) through CarpetX, the new driver for the Einstein Toolkit, which is built on AMReX, a software framework for massively parallel applications. AsterX employs the Valencia formulation for GRMHD, coupled with the Z4c formalism for spacetime evolution, while incorporating high resolution shock capturing schemes to accurately handle the hydrodynamics. AsterX has undergone rigorous testing in both static and dynamic spacetime, demonstrating remarkable accuracy and agreement with other codes in literature. Using subcycling in time, we find an overall performance gain of factor 2.5 to 4.5. Benchmarking the code through scaling tests on OLCF's Frontier supercomputer, we demonstrate a weak scaling efficiency of about 67%-77% on 4096 nodes compared to an 8-node performance.

Keywords

Cite

@article{arxiv.2406.11669,
  title  = {AsterX: a new open-source GPU-accelerated GRMHD code for dynamical spacetimes},
  author = {Jay V. Kalinani and Liwei Ji and Lorenzo Ennoggi and Federico G. Lopez Armengol and Lucas Timotheo Sanches and Bing-Jyun Tsao and Steven R Brandt and Manuela Campanelli and Riccardo Ciolfi and Bruno Giacomazzo and Roland Haas and Erik Schnetter and Yosef Zlochower},
  journal= {arXiv preprint arXiv:2406.11669},
  year   = {2025}
}

Comments

42 pages, 13 figures

R2 v1 2026-06-28T17:08:50.894Z