A novel algorithm for GPU-accelerated particle-mesh interactions implemented in the QUOKKA code
Research School of Astronomy and Astrophysics, Australian National University(澳大利亚国立大学天文与天体物理研究学院);Department of Physics and Astronomy, Michigan State University(密歇根州立大学物理与天文学系);Shanghai Astronomical Observatory, Chinese Academy of Sciences(中国科学院上海天文台)
Chong-Chong He, Benjamin D. Wibking, Aditi Vijayan, Mark R. Krumholz, Pak Shing Li
备注:
18 pages, 8 figures, Published in the Open Journal of Astrophysics. The QUOKKA code described in this article is fully open-source and can be accessed at: https://github.com/quokka-astro/quokka
We present a novel, GPU-optimized algorithm for particle-mesh interactions in grid-based hydrodynamics simulations, designed for massively parallel architectures. This approach overcomes the inefficiency of particle neighbour searches or sorts across multiple GPU nodes by using a new "particle-mesh-particle" interaction scheme, which extends the particle-mesh method for self-gravity. The algorithm proceeds in two main stages: first, quantities exchanged between particles and the mesh -- such as mass, energy, and momentum added by stellar feedback or removed by accretion onto a sink -- are deposited into a buffer mesh equipped with ghost zones, where multiple contributions per cell are accumulated using atomic additions and then communicated across distributed memory ranks. In the second stage, the buffer states are applied to real mesh states, incorporating cell-wise limiters to enforce physical constraints such as positive density. We implement this scheme in the GPU-native radiation-magnetohydrodynamics code QUOKKA and validate it through a comprehensive suite of tests, including Bondi and Bondi-Hoyle accretion, and single and multiple supernova remnant evolution at varying spatial resolutions. We show that the algorithm achieves $\approx 50\%$ weak-scaling efficiency running on up to 8192 GPUs on the Frontier supercomputer. This scheme enables efficient, scalable particle-mesh coupling for GPU-optimized simulations of star formation and feedback in galaxies.
Magnetising the quokka code with fast, second-order accurate, error-correcting schemes for magnetohydrodynamics on GPUs
Research School of Astronomy and Astrophysics, Australian National University(澳大利亚国立大学天文与天体物理研究学院);Argelander-Institut für Astronomie, Universität Bonn(波恩大学阿尔根德天文学研究所);Department of Physics and Astronomy, Michigan State University(密歇根州立大学物理与天文学系);Shanghai Astronomical Observatory, Chinese Academy of Sciences(中国科学院上海天文台)
CRUX: A topology-aware load balancer for mesh-based fluid dynamics codes on GPU clusters
Center for Relativistic Astrophysics, Georgia Institute of Technology(佐治亚理工学院相对论天体物理中心);H. Milton Stewart School of Industrial & Systems Engineering, Georgia Institute of Technology(佐治亚理工学院H.米尔顿·斯图尔特工业与系统工程学校)
GRaM-X: A new GPU-accelerated dynamical spacetime GRMHD code for Exascale computing with the Einstein Toolkit
Anton Pannekoek Institute for Astronomy and GRAPPA, University of Amsterdam(阿姆斯特丹大学安东·潘内库克天文学研究所与GRAPPA);Institute of High-Energy Physics, University of Amsterdam(阿姆斯特丹大学高能物理研究所);Center for Computation & Technology, Louisiana State University(路易斯安那州立大学计算与技术中心);National Center for Supercomputing applications, University of Illinois(伊利诺伊大学国家超级计算应用中心);Department of Physics, University of Illinois(伊利诺伊大学物理系);Perimeter Institute for Theoretical Physics(理论物理学珀利默研究所);Department of Physics and Astronomy, University of Waterloo(滑铁卢大学物理与天文系);University of Waterloo(滑铁卢大学);University of Amsterdam(阿姆斯特丹大学)
gevolution 2.0: GPU-accelerated relativistic N-body simulations for cosmology
Institut für Teilchen- und Astrophysik, ETH Zürich(苏黎世联邦理工学院粒子与天体物理研究所);Institut für Astrophysik, Universität Zürich(苏黎世大学天体物理研究所);Département de Physique Théorique, Université de Genève(日内瓦大学理论物理系);CEICO, Institute of Physics of the Czech Academy of Sciences(捷克科学院物理研究所CEICO)
From particles to precision. Simulating subsonic turbulence with Smoothed Particle Hydrodynamics
University of Basel(巴塞尔大学);Universitat Politècnica de Catalunya (UPC)(加泰罗尼亚理工大学);Institut d’Estudis Espacials de Catalunya (IEEC)(加泰罗尼亚空间研究所);Universität Heidelberg(海德堡大学);Swiss National Supercomputing Center (CSCS)(瑞士国家超级计算中心);University of Zürich(苏黎世大学)
DISCO-DJ II: a differentiable particle-mesh code for cosmology
University of Vienna(维也纳大学);Department of Astrophysics, Türkenschanzstraße 17, 1180 Vienna, Austria(天体物理系);Department of Mathematics, Oskar-Morgenstern-Platz 1, 1090 Vienna, Austria(数学系)