The restart2data does not work in the most recent version of Lammps. the error message is:
"ERROR: Invalid flag in type arrays section of restart file 1072693248"
I guess that this error is related to the machine which I run the code, because I never have such a problem when I run on a 32 bit computer.
I do not know if I should use a particular option when I compile Lammps on 64 machine or probably this error is due to a bug.
I am using the most recent version of Lammps (26Mar09) for energy minimization.