Search found 12 matches

by United States of Americajyosk001
Tue 21 Jul 2026 22:14
Forum: TraceWin
Topic: Segmentation violation error when running error study
Replies: 3
Views: 765

Re: Segmentation violation error when running error study

I figured out what was causing the segmentation errors...it has nothing to do with Windows vs Linux. The .sh batch files as written in the documentation contain two typos (see below). In both cases, the quote should be inside the closing parentheses, not outside. Can these be fixed? Josh DocCorrecti...
by United States of Americajyosk001
Tue 21 Jul 2026 20:30
Forum: TraceWin
Topic: Segmentation violation error when running error study
Replies: 3
Views: 765

Re: Segmentation violation error when running error study

I'm not sure if this is relevant to this issue, but I should note that I use TraceWin on a Windows computer, but my local cluster is composed of Linux computers. When I tried to run a simple test simulation using the TraceWin linux executable, it says it has limited functionality (i.e. only up to 20...
by United States of Americajyosk001
Tue 21 Jul 2026 18:38
Forum: TraceWin
Topic: Segmentation violation error when running error study
Replies: 3
Views: 765

Segmentation violation error when running error study

Hi Didier, When I try to run an error study on my local Linux cluster, even with only 10 particles, 1 run, 1 step, and a single core, I get a segmentation violation error when I run my error study. The error log shows a repeated error. I am able to connect to the cluster fine -- I tried using "Test ...
by United States of Americajyosk001
Thu 21 May 2026 19:33
Forum: TraceWin
Topic: Phase advance calculation bug
Replies: 6
Views: 3056

Re: Phase advance calculation bug

Hi Didier,

One other thing: I was wondering why at certain points along the linac, most notably around z=4.62 m and z=16.4 m, the k0 phase advance is calculated as 0? These seem to roughly coincide with the last elements in sections 1 and 2 in my linac.

Thanks,

Josh
by United States of Americajyosk001
Tue 19 May 2026 16:35
Forum: TraceWin
Topic: Phase advance calculation bug
Replies: 6
Views: 3056

Re: Phase advance calculation bug

Dear Didier,

I tried deleting and redownloading the Tracewin.exe file...I guess it got corrupted somehow. I get the correct plots now.

Thanks!

Josh
by United States of Americajyosk001
Tue 19 May 2026 16:11
Forum: TraceWin
Topic: Phase advance calculation bug
Replies: 6
Views: 3056

Re: Phase advance calculation bug

Hi Didier, I'm not sure how you got those charts. When I try to plot the deg/m phase advances (abscissa=meter, ordinate=meter, phase advance = structure or beam), I get the following plots. I've also attached the associated ascii files. Did you modify the files in some way to get them to plot correc...
by United States of Americajyosk001
Mon 18 May 2026 20:49
Forum: TraceWin
Topic: Phase advance calculation bug
Replies: 6
Views: 3056

Phase advance calculation bug

Dear Didier, For some reason, the phase advance charts for my linac do not seem to plot past z=57 m correctly. It might have something to with a ~short transport section that starts around there, but I'm not sure. What do you think is going on? I have attached the phase advance plots below. I will s...
by United States of Americajyosk001
Sun 12 Apr 2026 21:24
Forum: TraceWin
Topic: Extracting Hofmann chart data for analysis
Replies: 8
Views: 3536

Re: Extracting Hofmann chart data for analysis

Excellent! This works. Thank you so much!

Regards,

Josh
by United States of Americajyosk001
Thu 9 Apr 2026 16:42
Forum: TraceWin
Topic: Extracting Hofmann chart data for analysis
Replies: 8
Views: 3536

Re: Extracting Hofmann chart data for analysis

Dear Didier,

1. Excellent!
2. My goal is to do parameter scans where I'd be running TraceWin many times and extracting phase advance data for each run. Would I be able to do this quickly in the GUI version? If not, could this be done for the non-GUI version?

Thanks,

Josh
by United States of Americajyosk001
Wed 8 Apr 2026 19:52
Forum: TraceWin
Topic: Extracting Hofmann chart data for analysis
Replies: 8
Views: 3536

Re: Extracting Hofmann chart data for analysis

Dear Didier, I looked at the underlying data for the two plots. From what I can tell (and please correct me if I'm wrong), the "structure" plot contains the phase advances without space charge and the "beam" plot contains phase advances with space charge. The variables in the two plots are different...