write_restart file problem

Hello all

I compiled the lammps Nov. 11 version under Ubuntu 12 with native Ubuntu openmpi. All the stuff in "bench" run correctly. I tried also the ELASTIC example. After the minimization I got:

# Write restart
unfix 3
write_restart restart.equil
ERROR: Atom count is inconsistent, cannot write restart file (write_restart.cpp:137)

With a serial compilation there was no problem.

I tried also my own compiled openmpi with the same result. I downloaded also the Lammps2001 fortran (which compiles faster) and I tried to write a restart file (with a lj example). There was no problem, so it seams that the openmpi is not the problem.

Any ideas ?

Sylvian Kahane

I compiled the lammps Nov. 11 version under Ubuntu 12 with native Ubuntu
openmpi. All the stuff in "bench" run correctly. I tried also the
ELASTIC example. After the minimization I got:
# Write restart
unfix 3
write_restart restart.equil
ERROR: Atom count is inconsistent, cannot write restart file
(write_restart.cpp:137)
With a serial compilation there was no problem.

I just ran this on 1 and 4 procs and see no problem. How many
processors are you running on?

Steve