JACoW logo

Journals of Accelerator Conferences Website (JACoW)

JACoW is a publisher in Geneva, Switzerland that publishes the proceedings of accelerator conferences held around the world by an international collaboration of editors.


RIS citation export for MOPOTK018: Parallelization of Radia Magnetostatics Code

TY  - CONF
AU  - Banerjee, A.
AU  - Chavanne, J.
AU  - Chubar, O.V.
AU  - Edelen, J.P.
AU  - Hall, C.C.
AU  - Le Bec, G.
AU  - Nash, B.
ED  - Zimmermann, Frank
ED  - Tanaka, Hitoshi
ED  - Sudmuang, Porntip
ED  - Klysubun, Prapong
ED  - Sunwong, Prapaiwan
ED  - Chanwattana, Thakonwat
ED  - Petit-Jean-Genaz, Christine
ED  - Schaa, Volker R.W.
TI  - Parallelization of Radia Magnetostatics Code
J2  - Proc. of IPAC2022, Bangkok, Thailand, 12-17 June 2022
CY  - Bangkok, Thailand
T2  - International Particle Accelerator Conference
T3  - 13
LA  - english
AB  - Radia 3D magnetostatics code has been used for the design of insertion devices for light sources over more than two decades. The code uses the magnetization integral approach that is efficient for solving permanent magnet and hybrid magnet structures. The initial version of the Radia code was sequential, its core written in C++ and interface in the Mathematica language. This paper describes a new Python-interfaced parallel version of Radia and its applications. The parallelization of the code was implemented on C++ level, following a hybrid approach. Semi-analytical calculations of interaction matrix elements and resultant magnetic fields were parallelized using the Message Passing Interface, whereas the parallelization of the "relaxation" procedure (solving for magnetizations in volumes created by subdivision) was executed using a shared memory method based on C++ multithreading. The parallel performance results are encouraging, particularly for magnetic field calculation post relaxation where a ~600 speedup with respect to sequential execution was obtained. The new parallel Radia version facilitates designs of insertion devices and lattice magnets for novel particle accelerators.
PB  - JACoW Publishing
CP  - Geneva, Switzerland
SP  - 481
EP  - 484
KW  - interface
KW  - insertion
KW  - insertion-device
KW  - SRF
KW  - synchrotron
DA  - 2022/07
PY  - 2022
SN  - 2673-5490
SN  - 978-3-95450-227-1
DO  - doi:10.18429/JACoW-IPAC2022-MOPOTK018
UR  - https://jacow.org/ipac2022/papers/mopotk018.pdf
ER  -