Hi Steve, et. al.
I'd like to make a feature request. There is currently a tool, "restart2data.cpp" (which I guess is maintained by the LAMMPS maintainers?). One might use this to e.g. take a binary restart file generated on a PPC machine, make an ascii data file out of it, and then restart a run on x86 (with possible chaotic divergence of MD trajectories... which is fine).
The problem is that I have hacked in various pair potentials and bonded interactions into the LAMMPS proper. This breaks the restart2data.cpp solution, since it is based on the canonical LAMMPS distro. My current workaround is to use ascii dump files rather than binary restart files. There is some trivial but ugly and not so robust cut-and-paste python gook which is necessary to convert the "dump" file into a file in the "data" format which is acceptable for a LAMMPS restart.
A much cleaner solution would be to have an "ascii" option to the "restart" command which would write files in the "data" format. Seems like this would not be so tough to implement (?). Another option would be to incorporate the python dump->data cut-and-paste stuff into Pizza.py, but it seems like an "ascii restart" in the LAMMPS proper would be a nicer solution.
Thoughts?
Cheers,
Craig