OpenGadget3 GPU solver tests
arXiv:2606.17145 · doi:10.1016/j.ascom.2026.101131
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 \og. 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 . 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 . 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ät (LMU).
12 pages, 10 figures
References in corpus (32)
- The cosmological simulation code GADGET-2
- E pur si muove: Galiliean-invariant cosmological hydrodynamical simulations on a moving mesh
- Substructures in hydrodynamical cluster simulations
- Black holes in galaxy mergers: The formation of red elliptical galaxies
- Improving convergence in smoothed particle hydrodynamics simulations without pairing instability
- Chemical enrichment in cosmological, smoothed particle hydrodynamics simulations
- The PLUTO Code for Adaptive Mesh Computations in Astrophysical Fluid Dynamics
- Cosmological simulations of black hole growth: AGN luminosities and downsizing
- Chemical enrichment of galaxy clusters from hydrodynamical simulations
- Simulating the effect of AGN feedback on the metal enrichment of galaxy clusters
- A refined sub-grid model for black hole accretion and AGN feedback in large cosmological simulations
- A sparse octree gravitational N-body code that runs entirely on the GPU processor
- An MHD Gadget for cosmological simulations
- Rise and Fall of Radio Halos in Simulated Merging Galaxy Clusters
- A non-ideal MHD Gadget: Simulating massive galaxy clusters
- Stellar GADGET: A smooth particle hydrodynamics code for stellar astrophysics and its application to Type Ia supernovae from white dwarf mergers
- Thermal conduction in cosmological SPH simulations
- GAMER-2: a GPU-accelerated adaptive mesh refinement code -- accuracy, performance, and scalability
- An implementation of radiative transfer in the cosmological simulation code GADGET
- The impact of feedback on the low redshift Intergalactic Medium
- Constrained hyperbolic divergence cleaning in smoothed particle magnetohydrodynamics with variable cleaning speeds
- The formation of Milky Way-mass disk galaxies in the first 500 million years of a cold dark matter universe
- Resolving high Reynolds numbers in SPH simulations of subsonic turbulence
- The Cosmological Simulation Code OpenGadget3 -- Implementation of Meshless Finite Mass
- Insights on the origin of ORCs from cosmological simulations
- Dynamical friction and evolution of black holes in cosmological simulations: a new implementation in OpenGadget3
- The role of physical and numerical viscosity in hydrodynamical instabilities
- Simulating Hydrodynamics in Cosmology with CRK-HACC
- Cornerstone: Octree Construction Algorithms for Scalable Particle Simulations
- Simulating the LOcal Web (SLOW) -- III: Synchrotron emission from the local cosmic web
- EuroHPC SPACE CoE: Redesigning Scalable Parallel Astrophysical Codes for Exascale
- Variability in Cosmological Hydrodynamical Simulations: how Stochastic Processes, Numerical Effects, and Reproducibility Limits impact Predictability