发表机构
University Observatory, Faculty of Physics, Ludwig-Maximilians-Universität München; Max Planck Institute for Astrophysics; INAF – Osservatorio Astronomico di Trieste; ICSC - Italian Research Center on High Performance Computing, Big Data and Quantum Computing; Dipartimento di Fisica, Università di Trieste; IFPU, Institute for Fundamental Physics of the Universe; Department of Astronomy and Astrophysics, The University of Chicago(慕尼黑大学物理学院天文台; 马克斯·普朗克天体物理研究所; 意大利国家天体物理研究所的里雅斯特天文台; 意大利高性能计算、大数据和量子计算研究中心; 的里雅斯特大学物理系; 宇宙基础物理研究所; 芝加哥大学天文学与天体物理学系)
机构由 AI 辅助整理,请以论文原文为准。AI 中文总结
OpenGadget3 整合了分散的 Gadget-3 开发版本,提供持续维护的公开代码库,保留核心算法并扩展 GPU 支持及多种物理模块,提升可重现性与易用性。
AI 中文摘要
我们发布了 OpenGadget3(OG3)的公开版本,这是广泛使用的 Gadget-2/3 系列宇宙学模拟代码的一个大幅扩展和重新组织的版本。自 G2 公开以来,由于缺乏持续的官方开发,社区中产生了大量互不兼容的 G3 开发者版本。这使得追踪错误修复、重现已发表结果或对众多个人贡献者进行一致署名变得几乎不可能。OG3 通过将这些不同的开发整合到一个有文档记录、持续维护的单一代码库中来解决这一问题,该代码库以 GNU GPLv3 许可证通过 GitLab 仓库(附有 wiki)发布,定期与活跃开发者分支同步,并由专门的持续集成(CI)流水线支持。OG3 保留了其前身的核心算法骨架:Barnes\&Hut 八叉树结合粒子-网格(Particle-Mesh)方法用于引力计算,以及平滑粒子流体动力学(SPH)或无网格有限质量(Meshless-Finite-Mass)求解器用于气体动力学,在混合 MPI/OpenMP 并行化框架内实现,并通过 OpenACC 和 OpenMP 扩展了 GPU 卸载功能。该代码集成了大量亚分辨率和物理模块,包括原初化学、辐射冷却、恒星形成、恒星反馈和化学增丰、尘埃形成与演化、黑洞增长和活动星系核(AGN)反馈、磁流体动力学(MHD)、热传导、物理粘性、自相互作用暗物质(SIDM)和大质量中微子。OG3 引入了提高稳健性、可重现性和易用性的新特性:灵活的混合精度框架,涵盖 16 位到 128 位表示;带重启时变更日志的专家级标记参数;针对无效配置的广泛一致性检查;以及符合 FAIR 原则的报告所有设置、参数和特定出版物。(已缩短和删节)
英文摘要
We present the public release of OpenGadget3 (OG3), a substantially extended and re-organised version of the widely used Gadget-2/3 family of cosmological simulation codes. Since G2 was made publicly available, the absence of continued official development led to the creation of numerous, mutually incompatible developer versions of G3 across the community. This made it effectively impossible to track bug fixes, reproduce published results, or consistently credit the many individual contributors. OG3 addresses this by consolidating these disparate developments into a single, documented, and continuously maintained code base, released under the GNU GPLv3 through a GitLab repository (with an accompanying wiki), regularly synchronised with the active developer branch, and supported by a dedicated continuous-integration (CI) pipeline. OG3 retains the core algorithmic backbone of its predecessors, a Barnes\&Hut oct-tree combined with a Particle-Mesh method for gravity, and a choice of Smoothed Particle Hydrodynamics or Meshless-Finite-Mass solvers for gas dynamics, within a hybrid MPI/OpenMP parallelisation framework, extended with GPU offloading via OpenACC and OpenMP. The code integrates an extensive suite of sub-resolution and physical modules, including primordial chemistry, radiative cooling, star formation, stellar feedback and chemical enrichment, dust formation and evolution, black hole growth and AGN feedback, MHD, thermal conduction, physical viscosity, SIDM, and massive neutrinos. OG3 introduces new features improving robustness, reproducibility, and usability: a flexible mixed-precision framework spanning 16- to 128-bit representations; expert-level tagged parameters with restart-time change log; extensive consistency checks against invalid configurations; and FAIR-compliant reporting of all settings, parameters, and specific publications. (shortened and abridged)
Comments70 Pages, 26 pictures, submitted, OpenGadget3 available via https://gitlab.lrz.de/AstroCodes/OpenGadget3