OpenGadget3 GPU solver tests
A. Ragagnin, G. S. Karademir, F. Groth, K. Dolag, L. M. Böss, T. Castro, N. Hariharan, M. Aiello, L. Tornatore
astro-ph.IM, astro-ph.CO, astro-ph.GA, cs.PF
Submitted: 2026-06-15
Comments: 12 pages, 10 figures
Journal ref: Astronomy and Computing, Volume 57, 2026, 101131, ISSN 2213-1337
DOI: 10.1016/j.ascom.2026.101131
Code: https://github.com/fgroth/hydro_tests
License: http://creativecommons.org/licenses/by/4.0/
The gist: We present an in-depth evaluation of the scalability and accuracy of the GPU porting of the N-body code for hydrodynamic cosmological simulations.
Terminology
Abstract
We present an in-depth evaluation of the scalability and accuracy of the GPU porting of the N-body code for hydrodynamic cosmological simulations. While technical details of our GPU porting were presented in Ragagnin et al. (2020), in this work we focus on assessing the accuracy of the ported modules: the short range gravity integrator, the different components of the hydrodynamic solver, and the conjugate gradient solver for thermal conduction. We ran several tests that gradually increase the number of physical modules included: a gravity-only cosmological simulation; a hydrodynamical shock tube test; a non-radiative zoom-in simulation of a galaxy cluster in a cosmological box; and a full-physics zoom-in simulation of a galaxy in a cosmological box. Comparing the results obtained with the GPU implementation to those from the classical CPU version, we find excellent agreement across all tests, with small differences on very small scales. For the individual physical modules, we find a GPU chip-to-chip speedup ranging from about3-5. For more complex cosmological and hydrodynamical setups, where a large number of physical processes and overheads contribute to the total workload, the observed total chip-to-chip speedup (with the same number of nodes and CPUs per node) is about2-3. We ran our tests on four different supercomputers: Leonardo Booster (CINECA), MareNostrum-V (BSC), SuperMUC-NG2 (LRZ), and the CIP cluster of the Faculty of Physics at the Ludwig-Maximilians-Universit"at (LMU).
Related papers
- A signal dedispersion algorithm for imaging-based transient searches
- EXPO: a quantum leap in fast, wide-band X-ray polarimetry for astrophysics
- Understanding cosmic explosions
- High-frequency water megamasers as precision probes of black holes, galaxies and cosmology: A case for a next-generation sub-mm/mm interferometer
- ALMA2040: Mapping the Spatially Resolved Dust and Star Formation Physics Driving High-z Galaxy Assembly
- Direct measures of black hole masses through cosmic time