Loading…
Parallelization of Radia magnetostatics code
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 sequen...
Saved in:
Published in: | Journal of physics. Conference series 2023-01, Vol.2420 (1), p.12051 |
---|---|
Main Authors: | , , , , , , |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites Items that cite this one |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Summary: | 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, where the semi-analytical calculations of interaction matrix elements and resultant magnetic fields were parallelized using the Message Passing Interface. 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. |
---|---|
ISSN: | 1742-6588 1742-6596 |
DOI: | 10.1088/1742-6596/2420/1/012051 |