Page 1 of 1

&sdds_beam in pelegant requires a binary input file.

Posted: 12 Sep 2013, 10:51
by lewellen
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.

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

Posted: 16 Sep 2013, 08:56
by michael_borland
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