<sc> Swift </sc>: a modern highly parallel gravity and smoothed particle hydrodynamics solver for astrophysical and cosmological applications

被引:43
作者
Schaller, Matthieu [1 ,2 ]
Borrow, Josh [3 ,4 ,5 ,6 ]
Draper, Peter W. [6 ]
Ivkovic, Mladen [7 ,8 ,9 ]
Mcalpine, Stuart [10 ,11 ]
Vandenbroucke, Bert [2 ,12 ]
Bahe, Yannick [2 ,6 ,7 ]
Chaikin, Evgenii [2 ]
Chalk, Aidan B. G. [13 ]
Chan, Tsang Keung [6 ,14 ,15 ]
Correa, Camila [16 ,17 ]
van Daalen, Marcel [2 ]
Elbers, Willem [6 ]
Gonnet, Pedro [18 ]
Hausammann, Loic [7 ,19 ]
Helly, John [6 ]
Husko, Filip [6 ]
Kegerreis, Jacob A. [6 ,20 ]
Nobels, Folkert S. J. [2 ]
Ploeckinger, Sylvia [1 ,21 ]
Revaz, Yves [7 ]
Roper, William J. [22 ]
Ruiz-Bonilla, Sergio [6 ]
Sandnes, Thomas D. [6 ]
Uyttenhove, Yolan [12 ]
Willis, James S. [23 ]
Xiang, Zhen [1 ,24 ,25 ]
机构
[1] Leiden Univ, Lorentz Inst Theoret Phys, POB 9506, NL-2300 RA Leiden, Netherlands
[2] Leiden Univ, Leiden Observ, POB 9513, NL-2300 RA Leiden, Netherlands
[3] Univ Penn, Dept Phys & Astron, 209 South 33rd St, Philadelphia, PA 19104 USA
[4] MIT, Dept Phys, Cambridge, MA 02139 USA
[5] MIT, Kavli Inst Astrophys & Space Res, Cambridge, MA 02139 USA
[6] Univ Durham, Inst Computat Cosmol, Dept Phys, South Rd, Durham DH1 3LE, England
[7] Ecole Polytech Fed Lausanne EPFL, Lab Astrophys, CH-1290 Sauverny, Switzerland
[8] Univ Geneva, Observ Geneve, Chemin Pegasi 51, CH-1290 Versoix, Switzerland
[9] Univ Durham, Dept Comp Sci, Upper Mountjoy Campus,Stockton Rd, Durham, England
[10] Univ Helsinki, Dept Phys, Gustaf Hallstromin Katu 2, FI-00014 Helsinki, Finland
[11] Stockholm Univ, Albanova Univ Ctr, Dept Phys, Oskar Klein Ctr, SE-10691 Stockholm, Sweden
[12] Univ Ghent, Sterrenkundig Observatorium, Krijgslaan 281, B-9000 Ghent, Belgium
[13] Scitech Daresbury, STFC Hartree Ctr, Warrington WA4 4AD, England
[14] Chinese Univ Hong Kong, Dept Phys, Shatin, Hong Kong, Peoples R China
[15] Univ Chicago, Dept Astron & Astrophys, Chicago, IL 60637 USA
[16] Univ Paris Saclay, Univ Paris Cite, CEA, AIM,CNRS, F-91191 Gif Sur Yvette, France
[17] Univ Amsterdam, GRAPPA Inst, Sci Pk 904, NL-1098 XH Amsterdam, Netherlands
[18] Google Switzerland, Google AI Percept, CH-8002 Zurich, Switzerland
[19] Eidgenoss TH Zurich, ITS High Performance Comp, CH-8092 Zurich, Switzerland
[20] NASA Ames Res Ctr, Moffett Field, CA 94035 USA
[21] Univ Vienna, Dept Astrophys, Turkenschanzstr 17, A-1180 Vienna, Austria
[22] Univ Sussex, Astron Ctr, Falmer BN1 9QH, Brighton, England
[23] Univ Toronto, SciNet HPC Consortium, Toronto, ON M5G 1M1, Canada
[24] Univ Bern, Phys Inst, Space Res & Planetary Sci, CH-3012 Bern, Switzerland
[25] Univ Edinburgh, Inst Astron, Royal Observ, Blackford Hill, Edinburgh EH9 3HJ, Scotland
基金
荷兰研究理事会; 英国科学技术设施理事会; 欧盟地平线“2020”; 奥地利科学基金会; 英国工程与自然科学研究理事会;
关键词
methods: numerical; software: public release; software: simulations; ADAPTIVE MESH REFINEMENT; N-BODY SIMULATIONS; LYMAN-ALPHA FOREST; DIFFUSE INTERSTELLAR-MEDIUM; GALAXY FORMATION; DARK-MATTER; INITIAL CONDITIONS; STAR-FORMATION; BLACK-HOLES; NONEQUILIBRIUM CHEMISTRY;
D O I
10.1093/mnras/stae922
中图分类号
P1 [天文学];
学科分类号
0704 ;
摘要
Numerical simulations have become one of the key tools used by theorists in all the fields of astrophysics and cosmology. The development of modern tools that target the largest existing computing systems and exploit state-of-the-art numerical methods and algorithms is thus crucial. In this paper, we introduce the fully open-source highly-parallel, versatile, and modular coupled hydrodynamics, gravity, cosmology, and galaxy-formation code Swift. The software package exploits hybrid shared- and distributed-memory task-based parallelism, asynchronous communications, and domain-decomposition algorithms based on balancing the workload, rather than the data, to efficiently exploit modern high-performance computing cluster architectures. Gravity is solved for using a fast-multipole-method, optionally coupled to a particle mesh solver in Fourier space to handle periodic volumes. For gas evolution, multiple modern flavours of Smoothed Particle Hydrodynamics are implemented. Swift also evolves neutrinos using a state-of-the-art particle-based method. Two complementary networks of sub-grid models for galaxy formation as well as extensions to simulate planetary physics are also released as part of the code. An extensive set of output options, including snapshots, light-cones, power spectra, and a coupling to structure finders are also included. We describe the overall code architecture, summarize the consistency and accuracy tests that were performed, and demonstrate the excellent weak-scaling performance of the code using a representative cosmological hydrodynamical problem with approximate to 300 billion particles. The code is released to the community alongside extensive documentation for both users and developers, a large selection of example test problems, and a suite of tools to aid in the analysis of large simulations run with Swift.
引用
收藏
页码:2378 / 2419
页数:42
相关论文
共 232 条
[1]   gevolution: a cosmological N-body code based on General Relativity [J].
Adamek, Julian ;
Daverio, David ;
Durrer, Ruth ;
Kunz, Martin .
JOURNAL OF COSMOLOGY AND ASTROPARTICLE PHYSICS, 2016, (07)
[2]   Fundamental differences between SPH and grid methods [J].
Agertz, Oscar ;
Moore, Ben ;
Stadel, Joachim ;
Potter, Doug ;
Miniati, Francesco ;
Read, Justin ;
Mayer, Lucio ;
Gawryszczak, Artur ;
Kravtosov, Andrey ;
Nordlund, Ake ;
Pearce, Frazer ;
Quilis, Vicent ;
Rudd, Douglas ;
Springel, Volker ;
Stone, James ;
Tasker, Elizabeth ;
Teyssier, Romain ;
Wadsley, James ;
Walder, Rolf .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2007, 380 (03) :963-978
[3]   An efficient implementation of massive neutrinos in non-linear structure formation simulations [J].
Ali-Haimoud, Yacine ;
Bird, Simeon .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2013, 428 (04) :3375-3389
[4]   Nyx: A MASSIVELY PARALLEL AMR CODE FOR COMPUTATIONAL COSMOLOGY [J].
Almgren, Ann S. ;
Bell, John B. ;
Lijewski, Mike J. ;
Lukic, Zarija ;
Van Andel, Ethan .
ASTROPHYSICAL JOURNAL, 2013, 765 (01)
[5]   EAGLE-like simulation models do not solve the entropy core problem in groups and clusters of galaxies [J].
Altamura, Edoardo ;
Kay, Scott T. ;
Bower, Richard G. ;
Schaller, Matthieu ;
Bahe, Yannick M. ;
Schaye, Joop ;
Borrow, Josh ;
Towler, Imogen .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2023, 520 (02) :3164-3186
[6]   Large-scale dark matter simulations [J].
Raul E. Angulo ;
Oliver Hahn .
Living Reviews in Computational Astrophysics, 2022, 8 (1)
[7]  
[Anonymous], 2009, Software Cost Estimation with COCOMO II
[8]  
[Anonymous], 1962, General Atomic Report
[9]   Mesh-free hydrodynamics in pkdgrav3 for galaxy formation simulations [J].
Asensio, Isaac Alonso ;
Vecchia, Claudio Dalla ;
Potter, Douglas ;
Stadel, Joachim .
MONTHLY NOTICES OF THE ROYAL ASTRONOMICAL SOCIETY, 2023, 519 (01) :300-317
[10]   REIONIZATION SIMULATIONS POWERED BY GRAPHICS PROCESSING UNITS. I. ON THE STRUCTURE OF THE ULTRAVIOLET RADIATION FIELD [J].
Aubert, Dominique ;
Teyssier, Romain .
ASTROPHYSICAL JOURNAL, 2010, 724 (01) :244-266