Workshop: Simulating Ultralight Dark Matter with Chapel : An Experience Report
Abstract: We describe our implementation of an astrophysical code to simulate the dynamics of ultralight dark matter in Chapel. We focus on the programmability of Chapel, highlighting the relative ease of translating the physics of this system into a code that can run efficiently on distributed systems. We also demonstrate that this code can scale well from small problem sizes that can be run on laptops to large problem sizes run across hundreds of processors. We finally present the results from a few simulations of astrophysical interest. An interesting by-product of broader interest is a distributed FFT routine written in Chapel; we summarize its implementation and performance.