Orbit correction bug

Moderators: michael_borland, soliday

Post Reply
Hwang, Ji-Gwang
Posts: 40
Joined: 21 Jan 2010, 02:27

Orbit correction bug

Post by Hwang, Ji-Gwang » 30 Jan 2023, 08:58

Dear Michael,

I tried running "&correct" on a Windows machine with a recent elegant version (2022 Nov. 15).
But it was completed prematurely without any error message (see the attached picture).

The same file is tried on a different version (2018 Jun 13) and works fine. It looks like a bug.
Could you check it and please update the code?
Attachments
bug.png

michael_borland
Posts: 1818
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Orbit correction bug

Post by michael_borland » 06 Feb 2023, 18:34

Ji-Gwang,

There may have been some changes in orbit correction methods that affect your simulation. However, without the files I can't tell.

Please upload all the files necessary to reproduce the problem.

--Michael

Hwang, Ji-Gwang
Posts: 40
Joined: 21 Jan 2010, 02:27

Re: Orbit correction bug

Post by Hwang, Ji-Gwang » 07 Feb 2023, 05:08

Dear Michael,

Here I enclosed the files. Please check it.

Best regards

Ji-Gwang Hwang
Attachments
run.zip
(4.53 KiB) Downloaded 40 times

michael_borland
Posts: 1818
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Orbit correction bug

Post by michael_borland » 07 Feb 2023, 15:32

Ji-Gwang,

Thanks for the lattice file. Can you also post the .ele file?

--Michael

Hwang, Ji-Gwang
Posts: 40
Joined: 21 Jan 2010, 02:27

Re: Orbit correction bug

Post by Hwang, Ji-Gwang » 07 Feb 2023, 15:40

Dear Michael,

I thought I posted a zipped file including a lattice and .ele file but it was not.
Here I enclosed the file. Please check it. Sorry for the inconvenience.

Best regards

Ji-Gwang Hwang
Attachments
run.ele
(759 Bytes) Downloaded 39 times

michael_borland
Posts: 1818
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Orbit correction bug

Post by michael_borland » 08 Feb 2023, 10:55

Ji-Gwang,

I can't duplicate the problem with version 2022.0. I've attached my files.

--Michael
Attachments
2023-02-07.zip
(42.7 KiB) Downloaded 41 times

Hwang, Ji-Gwang
Posts: 40
Joined: 21 Jan 2010, 02:27

Re: Orbit correction bug

Post by Hwang, Ji-Gwang » 08 Mar 2023, 23:11

Dear Michael,

I tried to run the attached file on a Windows machine with the recent version of Elegant (2023.1.0) but it was not working.
screen_shot.png
Apart from this issue, the download of SDDS Python 3.10x64.msi on the APS website is not accessible.
https://www.aps.anl.gov/Accelerator-Ope ... re#elegant
스크린샷 2023-03-09 125740.png
스크린샷 2023-03-09 125740.png (6.55 KiB) Viewed 1052 times
Best regards

Ji-Gwang Hwang

michael_borland
Posts: 1818
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Orbit correction bug

Post by michael_borland » 17 Mar 2023, 18:35

Ji-Gwang,

I tried the files I uploaded on a Windows 11 machine from the cygwin shell using the latest 64 bit versions from our web site. It ran without any issues. I'm not sure what to suggest. Perhaps try another machine?

--Michael

Post Reply