Search found 1930 matches

by michael_borland
28 Jul 2008, 14:13
Forum: General
Topic: Element Naming Restrictions
Replies: 2
Views: 2388

Re: Element Naming Restrictions

Michele, The rules for naming elements and beamlines are as follows: * The name should start with an alphabetic character (i.e., a-zA-Z). * The name may contain any of the following characters: a-z A-Z ~ @ $ % ^ & - _ + = { } [ ] \ | / ? < > . : * The name should no contain any of the following char...
by michael_borland
25 Jul 2008, 13:01
Forum: Momentum Aperture
Topic: track momentum aperture+calculation of Touschek lifetime
Replies: 1
Views: 87182

Re: track momentum aperture+calculation of Touschek lifetime

Ping,

Thanks for posting the example.

I recommend using the attach lattice file instead of the one you posted. It has synchrotron radiation (classical only, no ISR) enabled, which gives more reliable determination of the momentum aperture.

--Michael
by michael_borland
24 Jul 2008, 10:31
Forum: Ring Tracking
Topic: Radia kickmap
Replies: 4
Views: 3532

Re: Radia kickmap

Weiming,

Thanks for posting this. I'm planning to include a built-in kick-map element in elegant in the next release.

Also, it should be possible to have elegant compute the matrix for the SCRIPT element using tracking, as it does with CWIGGLER.

--Michael
by michael_borland
21 Jul 2008, 08:03
Forum: Bugs
Topic: Requirement of SCRIPT element
Replies: 2
Views: 2620

Re: Requirement of SCRIPT element

Weiming,

I have confirmed this bug. Thanks for bringing it to my attention. It will be fixed in the next release.

For those who can't wait and who build from source, a modified version of the relevant file is attached.

--Michael
by michael_borland
17 Jul 2008, 17:00
Forum: Bugs
Topic: elegantRingAnalysis bug
Replies: 0
Views: 4370

elegantRingAnalysis bug

Vadim Sajaev reported a bug in elegantRingAnalysis when it is run without the Grid Engine queue. Postprocessing would fail when attempting to merge the log files.

The problem was in the file elegant.tcl, which goes in /usr/local/oag/apps/lib/$HOST_ARCH/. A corrected file is attached.

--Michael
by michael_borland
17 Jul 2008, 11:39
Forum: General
Topic: Making animated GIF movies
Replies: 2
Views: 4156

Making animated GIF movies

Here's how to make an animated GIF movie from data from elegant. You'll need the ImageMagick programs in order to do this. Imagine that you are tracking many turns and want to make a movie of the particle distribution turn-by-turn. In the .lte file, you need a watch point set up to record particle c...
by michael_borland
17 Jul 2008, 11:20
Forum: General
Topic: CSR instability
Replies: 4
Views: 2604

Re: CSR instability

I used Pelegant on one of our computer clusters at APS to perform a simulation for ~100 turns (actually only 93 as I inadvertently stopped the job). This took several days on 32 processors (I didn't keep track of exactly how long it ran.) The results are pretty interesting, as the attached animated ...
by michael_borland
15 Jul 2008, 20:20
Forum: Installation
Topic: about elegantRingAnalysis install
Replies: 2
Views: 3899

Re: about elegantRingAnalysis install

Sorry, I didn't read your entire message.

Can you look in /usr/local/oag/apps/lib/linux-x86 and see if there is a file APSDebugPath.tcl? If not, try reinstalling the OAGTclTk rpm.
http://www.aps.anl.gov/Accelerator_Syst ... html#TclTk

--Michael
by michael_borland
15 Jul 2008, 14:40
Forum: General
Topic: CSR instability
Replies: 4
Views: 2604

Re: CSR instability

Ping, Thanks for posting your files. One recommendation I have is to use the high_frequency_cutoff feature instead of the Savitzky-Golay smoothing. This gives better control over the noise cutoff frequency. Here's an example of how to set the cutoff frequency: Your bunch is gaussian with rms duratio...
by michael_borland
15 Jul 2008, 07:58
Forum: Installation
Topic: about elegantRingAnalysis install
Replies: 2
Views: 3899

Re: about elegantRingAnalysis install

You need to define the HOST_ARCH environment variable. This can be done in your .bashrc or .cshrc, depending on which shell you use (bash or csh). For example, in your .cshrc, you would add setenv HOST_ARCH linux-x86 In your .bashrc, you would add export HOST_ARCH=linux-x86 If you have a 64-bit mach...