make[1]: *** No rule to make target `write_restart.d'. Stop.

Dear lammps users,
When I compile the latest stable version of lammps. An error occuerd. I am using “make linux” command to build lammps on the computer.Thank you.

make[1]: *** No rule to make target `write_restart.d’. Stop.
make: *** [linux] Error 2

  1. Make sure you do a “make-clean all” or “make-clean linux” before compiling.

  2. Then follow the steps provided here: http://lammps.sandia.gov/doc/Section_start.html#start_2

Ray