Search NASA⌕ Search

DOE OSTI · 3374223

AthenaK: A Performance-portable Version of the Athena++ Adaptive Mesh Refinement Framework

Abstract

We describe AthenaK: a new implementation of the Athena++ block-based adaptive mesh refinement framework using the Kokkos programming model. Finite volume methods for Newtonian, special relativistic, and general relativistic (GR) hydrodynamics and magnetohydrodynamics (MHD), and GR-radiation hydrodynamics and MHD, as well as a module for evolving Lagrangian tracer or charged test particles (e.g., cosmic rays) are implemented using the framework. In two companion papers, we describe (1) a new solver for the Einstein equations based on the Z4c formalism, and (2) a GRMHD solver in dynamical spacetimes also implemented using the framework, enabling new applications in numerical relativity. By adopting Kokkos, the code can be run on virtually any hardware, including CPUs, GPUs from multiple vendors, and emerging Advanced RISC Machine processors. AthenaK shows excellent performance and weak scaling, achieving over 1 billion cell updates per second for hydrodynamics in three dimensions on a single NVIDIA Grace Hopper processor. It does this with a typical parallel efficiency of 80% on 65,536 AMD GPUs on the OLCF Frontier system. Such performance portability enables AthenaK to leverage modern exascale computing systems for challenging applications in astrophysical fluid dynamics, numerical relativity, and multimessenger astrophysics.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Stone, James M. [Institute for Advanced Study, Princeton, NJ (United States); Princeton Univ., NJ (United States)] (ORCID:0000000156031832), Mullen, Patrick D. [Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)] (ORCID:0000000321314634), Fielding, Drummond [New York Univ. (NYU), NY (United States); Cornell Univ., Ithaca, NY (United States)] (ORCID:0000000338068548), Grete, Philipp [Univ. of Hamburg (Germany)] (ORCID:0000000335559886), Guo, Minghao [Princeton Univ., NJ (United States)] (ORCID:0000000236805420), Kempski, Philipp [Princeton Univ., NJ (United States)] (ORCID:0009000921443912), Most, Elias R. [California Institute of Technology (CalTech), Pasadena, CA (United States)] (ORCID:0000000204911210), White, Christopher J. [Princeton Univ., NJ (United States); Flatiron Institute, New York, NY (United States)], Wong, George N. [Institute for Advanced Study, Princeton, NJ (United States); Princeton Univ., NJ (United States)] (ORCID:0000000169522147). 2026-02-26. AthenaK: A Performance-portable Version of the Athena++ Adaptive Mesh Refinement Framework. https://doi.org/10.3847/1538-4365%2Fae3717

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related reports

Dust Survival in Galactic Winds

This repository contains three-dimensional volumetric data from an Eulerian hydrodynamical simulation (conducted on a uniform Cartesian grid) generated by the Cholla hydrodynamics code. The datasets contain snapshots (full-grid, projections, and slices) in the HDF5 format of a multi-phase medium in which a hot, diffuse, dust-free background wind accelerates a cool, dense cloud of gas and dust. This scenario is intended to represent a supernova-driven galactic outflow, in which hot supernova winds are thought to accelerate cool interstellar medium material out of the galactic disk into the surrounding circumgalactic medium. There are three separate datasets for simulations corresponding to three cloud evolutionary scenarios: long-term cloud survival (surv), marginal cloud survival (disr), and cloud destruction (dest). Projection and slice images of the simulations are also included in this repository.

79 ASTRONOMY AND ASTROPHYSICS↗

Unraveling TeV halos with the Cherenkov Telescope Array

Pulsars are observed to emit bright and spatially extended gamma-ray emission at multi-TeV energies. These so-called "TeV halos" are now understood to be a nearly universal feature of middle-aged pulsars. However, many of the key physical processes that govern these systems, particularly those affecting particle diffusion, remain poorly constrained. We aim to evaluate the ability of the Cherenkov Telescope Array (CTA) to probe the physical properties of TeV halos, with a focus on the nearby and well-studied case of the Geminga pulsar. We simulate gamma-ray emission from various TeV halo models, incorporating different assumptions for the injected electron spectrum, spin-down evolution, and energy-dependent diffusion. These models are then used to forecast CTA's sensitivity to spectral and spatial differences, based on realistic mock observations and instrument response simulations. We find that CTA will be able to distinguish between a wide range of TeV halo models that are currently consistent with existing data. In particular, CTA observations can constrain the normalization, energy dependence, and spatial extent of the diffusion coefficient surrounding Geminga, as well as the spectral shape of the injected electron population.

79 ASTRONOMY AND ASTROPHYSICS↗