GAMER-2: a GPU-accelerated adaptive mesh refinement code -- accuracy, performance, and scalability
Hsi-Yu Schive, John A. ZuHone, Nathan J. Goldbaum, Matthew J. Turk,, Massimo Gaspari, Chin-Yu Cheng

TL;DR
GAMER-2 is a highly scalable GPU-accelerated adaptive mesh refinement code for astrophysics, offering high accuracy, extensive features, and significant performance improvements over existing codes, suitable for large-scale simulations.
Contribution
This paper introduces GAMER-2, a novel GPU-accelerated AMR code with advanced features and optimized parallelization, demonstrating superior performance and scalability in astrophysical simulations.
Findings
GAMER-2 outperforms Enzo and FLASH by nearly one and two orders of magnitude.
GAMER-2 achieves excellent weak and strong scaling on thousands of GPUs and CPU cores.
Physical results from GAMER-2 agree well with other established codes.
Abstract
We present GAMER-2, a GPU-accelerated adaptive mesh refinement (AMR) code for astrophysics. It provides a rich set of features, including adaptive time-stepping, several hydrodynamic schemes, magnetohydrodynamics, self-gravity, particles, star formation, chemistry and radiative processes with GRACKLE, data analysis with yt, and memory pool for efficient object allocation. GAMER-2 is fully bitwise reproducible. For the performance optimization, it adopts hybrid OpenMP/MPI/GPU parallelization and utilizes overlapping CPU computation, GPU computation, and CPU-GPU communication. Load balancing is achieved using a Hilbert space-filling curve on a level-by-level basis without the need to duplicate the entire AMR hierarchy on each MPI process. To provide convincing demonstrations of the accuracy and performance of GAMER-2, we directly compare with Enzo on isolated disk galaxy simulations and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
