Dear All,
I am running a simple script to compute the dynamic aperture.
The behavior between Elegant and Pelegant is not the same.
The command is fine
elegant evalTemplate.ele -macro=rootname=mytest,turns=10
The command blocks
mpirun -n 2 Pelegant evalTemplate.ele -macro=rootname=mytest,turns=10
The bug appears when beam n_particles_per_bunch is set to >1
&bunched_beam n_particles_per_bunch=2 &end
In Pelegant, the programme is block
&find_aperture
output = %s.aper,
search_output = {NULL},
boundary = {NULL},
mode = n-line,
xmin = -1.000000000000000e-02,
xmax = 1.000000000000000e-02,
xpmin = 0.000000000000000e+00,
xpmax = 0.000000000000000e+00,
ymin = 0.000000000000000e+00,
ymax = 3.000000000000000e-03,
ypmin = 0.000000000000000e+00,
ypmax = 0.000000000000000e+00,
nx = 21,
n_splits = 1,
split_fraction = 1.000000000000000e-01,
desired_resolution = 1.000000000000000e-02,
ny = 11,
verbosity = 0,
assume_nonincreasing = 0,
offset_by_orbit = 0,
n_lines = 3,
full_plane = 0,
optimization_mode = 0,
&end
Updating floor coordinates
tracking step 1
Tracking fiducial particle (runFiducialParticle)
10 Dec 21 11:15:54: This step establishes energy profile vs s (fiducial beam).
10 Dec 21 11:15:54: Rf phases/references reset.
Tracking fiducial particle completed.
Tracking: PElegant blocked
Moderators: cyao, michael_borland
-
- Posts: 24
- Joined: 20 Mar 2013, 05:03
- Location: Synchrotron SOLEIL, Gif-sur-Yvette, France
- Contact:
Tracking: PElegant blocked
- Attachments
-
- mytest.tgz
- example file
- (2.72 KiB) Downloaded 214 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Tracking: PElegant blocked
Laurent,
You don't need to define a beam for find_aperture. It just confuses the code.
--Michael
You don't need to define a beam for find_aperture. It just confuses the code.
--Michael
-
- Posts: 24
- Joined: 20 Mar 2013, 05:03
- Location: Synchrotron SOLEIL, Gif-sur-Yvette, France
- Contact:
Re: Tracking: PElegant blocked
Thanks Michael.