OPALX: A performance-portable framework for particle accelerator simulations
Michail Zampetakis, Ryan Sean Ammann, Yuanjie Bi, John Biddiscombe, Pedro Calvo, Carl Jolly, Severin Andrey Klapproth, Alexander Paul Liemen, Sriramkrishnan Muralikrishnan, Chris Rogers, Mohsen Sadr, Jonathan Thompson, Andreas Adelmann
Abstract
Accurate charged-particle beam simulations require self-consistent collective fields and realistic accelerator models, while their computational cost motivates efficient use of heterogeneous computing systems. We present OPALX, a performance-portable accelerator simulation framework that builds on the beam-dynamics capabilities of OPAL. Its modular architecture uses the Independent Parallel Particle Layer (IPPL) and Kokkos to support distributed-memory execution on multicore CPUs and GPUs from a common codebase. The framework combines relativistic particle tracking with prescribed accelerator fields, particle-in-cell space charge calculations, and spin tracking. We describe the physical and numerical models and their integration into the simulation workflow. The implementation is assessed using disorder-induced heating and frozen-spin test cases, together with comparisons of spin evolution with G4Beamline and beam transport with TraceWin. A three-dimensional space charge benchmark evaluates throughput on CPU and GPU systems, reaching approximately 109 macroparticles per second on a single NVIDIA A100 GPU for this benchmark. These results provide initial verification of the implemented models and demonstrate CPU and GPU execution of self-consistent space charge calculations. OPALX provides a common foundation for extending accelerator models and numerical methods across heterogeneous computing platforms.
Create a lesson
Related papers
Single-pass stochastic cooling for electron microscopy
River Robles, Peter Hommelhoff
Impact of Rapid Acceleration on Beam Dynamics in the Rapid-Cycling Synchrotrons of a Muon Collider
Lisa Soubirou, Antoine Chancé
LADA: A differential algebra-based simulation package for arbitrary-order charged-particle and light optics
Dmitry Varentsov, Sergey Litvinov, Maksym Miski-Oglu et al.
Transverse Confinement in Cascaded Inverse-Cherenkov Acceleration via Phase-Trajectory Control and Injection Matching
Yuanhao Liu, Nanshun Huang, Xionghao Yuan et al.
Intrabeam scattering of chirped electron bunches with non-Gaussian longitudinal distributions and slice mismatch
Xiuji Chen, Wencai Cheng, Si Chen et al.
Inverse modelling of a laser-plasma accelerator
Mykyta Lenivenko, Arnaud Beck, Hayg Guler et al.