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
sdds_beam input file(parmela2elegant) error while running elegant
Moderators: cyao, michael_borland
sdds_beam input file(parmela2elegant) error while running elegant
- Attachments
-
- beamfile.sdds
- (3.86 MiB) Downloaded 407 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sdds_beam input file(parmela2elegant) error while running elegant
Chinc,
The problems occur around line 38956 in your file. Look for strings of the form "#VALUE!"
--Michael
The problems occur around line 38956 in your file. Look for strings of the form "#VALUE!"
--Michael
Re: sdds_beam input file(parmela2elegant) error while running elegant
Dear Michael,michael_borland wrote:Chinc,
The problems occur around line 38956 in your file. Look for strings of the form "#VALUE!"
--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
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sdds_beam input file(parmela2elegant) error while running elegant
Chinc,
If you have an SDDS file that is causing problems, try
You may also find it helpful to try
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
If you have an SDDS file that is causing problems, try
Code: Select all
% sddscheck yourFile.sdds -printErrors
Code: Select all
% sddsconvert yourFile.sdds yourFile2.sdds -recover -ascii
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