Pelegant : a parallel accelerator simulation code for electron generation and tracking.
Abstract
elegant is a general-purpose code for electron accelerator simulation that has a worldwide user base. Recently, many of the time-intensive elements were parallelized using MPI. Development has used modest Linux clusters and the BlueGene/L supercomputer at Argonne National Laboratory. This has provided very good performance for some practical simulations, such as multiparticle tracking with synchrotron radiation and emittance blow-up in the vertical rf kick scheme. The effort began with development of a concept that allowed for gradual parallelization of the code, using the existing beamline-element classification table in elegant. This was crucial as it allowed parallelization without major changes in code structure and without major conflicts with the ongoing evolution of elegant. Because of rounding error and finite machine precision, validating a parallel program against a uniprocessor program with the requirement of bitwise identical results is notoriously difficult. We will report validating simulation results of parallel elegant against those of serial elegant by applying Kahan's algorithm to improve accuracy dramatically for both versions. The quality of random numbers in a parallel implementation is very important for some simulations. Some practical experience with generating parallel random numbers by offsetting the seed of each random sequence according to the processor ID willmore »
- Authors:
- (APS)
- Publication Date:
- Research Org.:
- Argonne National Lab. (ANL), Argonne, IL (United States)
- Sponsoring Org.:
- USDOE
- OSTI Identifier:
- 973755
- Report Number(s):
- ANL/AES/CP-119207
TRN: US1002023
- DOE Contract Number:
- DE-AC02-06CH11357
- Resource Type:
- Conference
- Resource Relation:
- Conference: Advanced Accelerator Concepts (AAC06); Jul. 10, 2006 - Jul. 15, 2006; Lake Geneva, WI
- Country of Publication:
- United States
- Language:
- ENGLISH
- Subject:
- 43 PARTICLE ACCELERATORS; ACCELERATORS; ACCURACY; ALGORITHMS; ANL; CLASSIFICATION; ELECTRONS; IMPLEMENTATION; PERFORMANCE; SIMULATION; SUPERCOMPUTERS; SYNCHROTRON RADIATION
Citation Formats
Wang, Y., Borland, M. D., and Accelerator Systems Division. Pelegant : a parallel accelerator simulation code for electron generation and tracking.. United States: N. p., 2006.
Web. doi:10.1063/1.2409141.
Wang, Y., Borland, M. D., & Accelerator Systems Division. Pelegant : a parallel accelerator simulation code for electron generation and tracking.. United States. doi:10.1063/1.2409141.
Wang, Y., Borland, M. D., and Accelerator Systems Division. Sun .
"Pelegant : a parallel accelerator simulation code for electron generation and tracking.". United States.
doi:10.1063/1.2409141.
@article{osti_973755,
title = {Pelegant : a parallel accelerator simulation code for electron generation and tracking.},
author = {Wang, Y. and Borland, M. D. and Accelerator Systems Division},
abstractNote = {elegant is a general-purpose code for electron accelerator simulation that has a worldwide user base. Recently, many of the time-intensive elements were parallelized using MPI. Development has used modest Linux clusters and the BlueGene/L supercomputer at Argonne National Laboratory. This has provided very good performance for some practical simulations, such as multiparticle tracking with synchrotron radiation and emittance blow-up in the vertical rf kick scheme. The effort began with development of a concept that allowed for gradual parallelization of the code, using the existing beamline-element classification table in elegant. This was crucial as it allowed parallelization without major changes in code structure and without major conflicts with the ongoing evolution of elegant. Because of rounding error and finite machine precision, validating a parallel program against a uniprocessor program with the requirement of bitwise identical results is notoriously difficult. We will report validating simulation results of parallel elegant against those of serial elegant by applying Kahan's algorithm to improve accuracy dramatically for both versions. The quality of random numbers in a parallel implementation is very important for some simulations. Some practical experience with generating parallel random numbers by offsetting the seed of each random sequence according to the processor ID will be reported.},
doi = {10.1063/1.2409141},
journal = {},
number = ,
volume = ,
place = {United States},
year = {Sun Jan 01 00:00:00 EST 2006},
month = {Sun Jan 01 00:00:00 EST 2006}
}
-
elegant is a general-purpose code for electron accelerator simulation that has a worldwide user base. Recently, many of the time-intensive elements were parallelized using MPI. Development has used modest Linux clusters and the BlueGene/L supercomputer at Argonne National Laboratory. This has provided very good performance for some practical simulations, such as multiparticle tracking with synchrotron radiation and emittance blow-up in the vertical rf kick scheme. The effort began with development of a concept that allowed for gradual parallelization of the code, using the existing beamline-element classification table in elegant. This was crucial as it allowed parallelization without major changes inmore »
-
Studies of the chromatic properties and dynamic aperture of the BNL colliding-beam accelerator. [PATRICIA particle tracking code]
The PATRICIA particle tracking program has been used to study chromatic effects in the Brookhaven CBA (Colliding Beam Accelerator). The short term behavior of particles in the CBA has been followed for particle histories of 300 turns. Contributions from magnet multipoles characteristic of superconducting magnets and closed orbit errors have been included in determining the dynamic aperture of the CBA for on and off momentum particles. The width of the third integer stopband produced by the temperature dependence of magnetization induced sextupoles in the CBA cable dipoles is evaluated for helium distribution systems having periodicity of one and six. Themore » -
A Fast Parallel Simulation Code for Interaction between Proto-Planetary Disk and Embedded Proto-Planets: Implementation for 3D Code
We develop a 3D simulation code for interaction between the proto-planetary disk and embedded proto-planets. The protoplanetary disk is treated as a three-dimensional (3D), self-gravitating gas whose motion is described by the locally isothermal Navier-Stokes equations in a spherical coordinate centered on the star. The differential equations for the disk are similar to those given in Kley et al. (2009) with a different gravitational potential that is defined in Nelson et al. (2000). The equations are solved by directional split Godunov method for the inviscid Euler equations plus operator-split method for the viscous source terms. We use a sub-cycling techniquemore » -
The CERBERUS Ver. 02 code: A parallel six-equation thermal-hydraulic- system simulation code
CERBERUS, a six-equation parallel thermal-hydraulic system simulation code, has been developed at the Idaho National Engineering Laboratory (INEL). The starting point of CERBERUS is the RELAP5/MOD2.5{sup 4} system simulation code that has been developed for single, central processing unit (cpu), shared memory, Single Instruction Multiple Data (SIMD), computer architectures. The near-term development targets for CERBERUS are shared memory, Multiple Instruction Multiple Data (MIMD), four- to sixteen-cpu machines such as the CRAY X-MP/48 and Y-MP/832, which are respectively, four- and eight-cpu computers. In this paper we will summarize the major features of the CERBERUS Ver. 02 code and our experiences withmore » -
A simple method for simulation of coherent synchrotron radiation in a tracking code.
Coherent synchrotron radiation (CSR) is of great interest to those designing accelerators as drivers for free-electron lasers (FELs). Although experimental evidence is incomplete, CSR is predicted to have potentially severe effects on the emittance of high-brightness electron beams. The performance of an FEL depends critically on the emittance, current, and energy spread of the beam. Attempts to increase the current through magnetic bunch compression can lead to increased emittance and energy spread due to CSR in the dipoles of such a compressor. The code elegant was used for design and simulation of the bunch compressor for the Low-Energy Undulator Testmore »