Paper | Title | Page |
---|---|---|
MOPMA18 | GPU Accelerated Online Multi-Particle Beam Dynamics Simulator for the LANSCE Linac | 339 |
|
||
Funding: U.S. DOE, NNSA under contract DE-AC52-06NA25396 An online multi-particle beam dynamics simulator is being developed for use in the LANSCE linac operation. The goal is to provide new insights on the beam distribution inside the linac and to help understand the impact of set point adjustments on it. The simulator utilizes the well established beam dynamics algorithms of the PARMILA code. By employing Graphics Processing Unit (GPU) technology, the performance of the simulator has been significantly increased over that of a single CPU and is therefore viable as an online tool in the demanding accelerator operations environment. The combination of a high-level scripting language (Python) and low-level compiled language (C++ and CUDA C) was adopted to streamline application development and to enable efficient execution. Once connected to the EPICS control system, the simulator can track in pseudo real time machine parameter changes, convert control set points to model quantities and rapidly update the simulation results. Details regarding the code structure design, GPU programming and performance, code validation and applications will be presented. |
||