[lammps-users] Is it a bug?

Hi, everyone

I use write_restart command to obtain a restart file, then I use read_restart command to read it. Everything goes well, but when I use velocity command with default “units lattice” option, then I got the message:

ERROR: Use of velocity with undefined lattice.

When I used “units box” option in velocity command, the error message was gone.

Does this mean write_restart did not write lattice info in the restart file? Is it a bug?


The lattice is not in the restart file. It's not needed. It's not a bug.


2010/4/23 Jervis Chu <[email protected]>: