sdds_beam input file(parmela2elegant) error while running elegant

Moderators: cyao, michael_borland

Post Reply
Chinc
Posts: 3
Joined: 05 Jul 2016, 07:07

sdds_beam input file(parmela2elegant) error while running elegant

Post by Chinc » 06 Jul 2016, 20:30

Dear all,
I am using Elegant for simulating electron bunch generated from parmela, but i get the following error:
Error:
Unable to scan data--scanning or allocation error (SDDS_ScanData2)
Unable to read page--scanning error (SDDS_ReadAsciiPage)
I have checked the beamfile.sdds many times but still can't find out the problem. could you help me check my iuput file to find the problem?
Thanks for any help and suggestions, -- Chinc
Attachments
beamfile.sdds
(3.86 MiB) Downloaded 372 times

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

Re: sdds_beam input file(parmela2elegant) error while running elegant

Post by michael_borland » 08 Jul 2016, 14:00

Chinc,

The problems occur around line 38956 in your file. Look for strings of the form "#VALUE!"

--Michael

Chinc
Posts: 3
Joined: 05 Jul 2016, 07:07

Re: sdds_beam input file(parmela2elegant) error while running elegant

Post by Chinc » 25 Jul 2016, 02:35

michael_borland wrote:Chinc,

The problems occur around line 38956 in your file. Look for strings of the form "#VALUE!"

--Michael
Dear Michael,
Thanks for your reply, very helpful! And I also want to ask how to find the similar problem in beamfile.sdds? Does it have convenient ways to transform parmela out file to elegant.
Looking forward your reply!
--Chinc

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

Re: sdds_beam input file(parmela2elegant) error while running elegant

Post by michael_borland » 25 Jul 2016, 09:21

Chinc,

If you have an SDDS file that is causing problems, try

Code: Select all

% sddscheck yourFile.sdds -printErrors
You may also find it helpful to try

Code: Select all

% sddsconvert yourFile.sdds yourFile2.sdds -recover -ascii
This will copy all the data that SDDS understands from yourFile.sdds to yourFile2.sdds. By comparing the two files, you may be able to figure out what's wrong.

By the way, on our web site you'll find the SDDS library in forms that work in C, C++, Fortran, tcl/tk, Java, python, MATLAB, etc. These can help you create error-free SDDS files.

--Michael

Post Reply