NORI: a GPU-accelerated code for simulating self-gravitating and self-interacting dark matter
Oliver Zier, Ruediger Pakmor, Xuejian Shen, Rongrong Liu, Lucas Schleuss, Mark Vogelsberger, Lars Hernquist
Abstract
Self-interacting dark matter (SIDM) can form cores in dark matter haloes and later drive their gravothermal collapse, raising their central densities far above those of NFW haloes. Simulating this collapse is computationally demanding, requiring increasingly short time-steps and a large particle number to resolve the shrinking core. We present NORI, an N-body code that runs on CPUs and GPUs and simulates isolated self-gravitating systems with elastic, isotropic self-interactions using a Monte-Carlo method. To avoid MPI communication in the tree walks, each compute node in CPU mode, and each GPU or group of GPUs in GPU mode, holds a copy of all particles and its own Morton-ordered tree. A fixed evaluation order makes the results bitwise identical on CPUs and GPUs. Applying scattering events sequentially conserves the momentum and energy of each pair to round-off and allows multiple scatterings per particle per step. With global time-steps in both codes, NORI is several times faster on CPUs than our AREPO-2 implementation. One four-A100 GPU node is up to 60 times faster per time-step than AREPO-2 on a 112-core CPU node. For a full core-collapse simulation, where AREPO-2 uses individual time-steps, the speed-up is 30 for the central density to reach 103--104 times the NFW scale density, ρ s. We follow a halo with 108 particles within r200 to a central density of 104\,ρ s. Within the limit of about 2×109 particles set by data replication, NORI provides an efficient tool for isolated SIDM simulations, including gravothermal collapse and cluster collisions.
Create a lesson
Related papers
bihalofit-JAX: A Differentiable Code for the Nonlinear Matter Bispectrum and its Projected Statistics
Shared title terminology · Alexander Roskill, Matteo Zennaro
A parametrized simulation code to simulate the response of ground detector arrays to Extensive Air Showers above 100 TeV
Shared title terminology · Andrea Chiavassa, Andrea Negro
MAGI (Multivariate Autoencoder for particle Generative Inference): a generative Machine Learning framework for accelerated multi-stage particle simulations
Shared title terminology · Francesco Monastra, Marco Pietrosanto, Giuseppe Angora et al.
Particle Swarm Optimization Strategies for Lensed Gravitational Waves: Parameter Estimation, Source Classification, and Accelerated Sampling
Shared title terminology · Weiqing Yu, Meng Zhang, Xiaobo Zou et al.
Shear Mapping in Python (SMPy): Modular, Extensible, and Accessible Dark Matter Mapping
Shared title terminology · Georgios N. Vassilakis, Jacqueline E. McCleary, Maya Amit et al.
rapidsim: A Python interface and cross-platform distribution framework for the RAPID protoplanetary disc simulation code
Shared title terminology · D. Tarczay-Nehéz