&sdds_beam in pelegant requires a binary input file.

Moderators: michael_borland, soliday

Post Reply
lewellen
Posts: 18
Joined: 19 Dec 2012, 18:14

&sdds_beam in pelegant requires a binary input file.

Post by lewellen » 12 Sep 2013, 10:51

When I attempt to use the &sdds_beam command to load in a particle distribution to pelegant, I get an error message:

Error:
Unable to read ascii file with SDDS_MPI.


The sdds file is valid (according to sddscheck); actually doing something with it (e.g. running sddsanalyzebeam on it) also works fine.
Converting it to binary via sddsconvert results in a normal run.

This error does not occur using an identical set of .ele, .lte and particle distribution file, when running elegant.

Command used:
&sdds_beam
input=op000044.dat
input_type="elegant"
&end


The file op000044.dat contains 150k particles.

The computer is an 8-core Windows 7 machine.

Best,

- John L.

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

Re: &sdds_beam in pelegant requires a binary input file.

Post by michael_borland » 16 Sep 2013, 08:56

John,

Yes, this is a known limtiation of our MPI I/O library. Sorry about that, but we assumed if someone was using the parallel, they wouldn't use the slow ASCII input method.

--Michael

Post Reply