Saved in:
Bibliographic Details
Main Authors: Stone, James M., Mullen, Patrick D., Fielding, Drummond, Grete, Philipp, Guo, Minghao, Kempski, Philipp, Most, Elias R., White, Christopher J., Wong, George N.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.16053
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912042996203520
author Stone, James M.
Mullen, Patrick D.
Fielding, Drummond
Grete, Philipp
Guo, Minghao
Kempski, Philipp
Most, Elias R.
White, Christopher J.
Wong, George N.
author_facet Stone, James M.
Mullen, Patrick D.
Fielding, Drummond
Grete, Philipp
Guo, Minghao
Kempski, Philipp
Most, Elias R.
White, Christopher J.
Wong, George N.
contents We describe AthenaK: a new implementation of the Athena++ block-based adaptive mesh refinement (AMR) framework using the Kokkos programming model. Finite volume methods for Newtonian, special relativistic (SR), 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 ARM processors. AthenaK shows excellent performance and weak scaling, achieving over one billion cell updates per second for hydrodynamics in three-dimensions on a single NVIDIA Grace Hopper processor and with a typical parallel efficiency of 80% on 65536 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_16053
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AthenaK: A Performance-Portable Version of the Athena++ AMR Framework
Stone, James M.
Mullen, Patrick D.
Fielding, Drummond
Grete, Philipp
Guo, Minghao
Kempski, Philipp
Most, Elias R.
White, Christopher J.
Wong, George N.
Instrumentation and Methods for Astrophysics
We describe AthenaK: a new implementation of the Athena++ block-based adaptive mesh refinement (AMR) framework using the Kokkos programming model. Finite volume methods for Newtonian, special relativistic (SR), 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 ARM processors. AthenaK shows excellent performance and weak scaling, achieving over one billion cell updates per second for hydrodynamics in three-dimensions on a single NVIDIA Grace Hopper processor and with a typical parallel efficiency of 80% on 65536 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.
title AthenaK: A Performance-Portable Version of the Athena++ AMR Framework
topic Instrumentation and Methods for Astrophysics
url https://arxiv.org/abs/2409.16053