I apologize. I forgot that many LAMMPS users do not use DATA files.
Unfortunately the rerun script I posted requires a DATA file (because
it extract the coordinates from the dump file and merges them with the
other information from your original DATA file). If you had a data
file, you would run rerun.sh this way:
rerun.sh lmp_g++ in.rerun orig.data < dump.pos
DATA files can be useful.
Here are several ways to make them:
1) restart2data:
You can run the simulation for 0 timesteps, create a restart file, and
convert it to a data file using restart2data.
http://lammps.sandia.gov/doc/Section_tools.html#restart
It seems to work fine for simple systems.
2) dump2data.py (pizza.py)
Although I have not tried this, you can run the simulation for 0 or 1
timesteps, create a dump file with only a single frame. Then I am
assuming you could use the dump2data.py script from pizza.py to create
a DATA file. (This is not the same "dump2data.py" script I posted last
night. Sorry again for the confusion.)
3) I'll post a reply to this message showing another way to do this later.
Cheers
Andrew