I want dump snapshots to be appended to the end of an existing dump file. So I am using the commond:
dump_modify 1 append yes.
this is almost always a bad idea.
it is better to have each run write to a
different file in order to avoid problems
with file corruption on networked file
systems. dump files can always be
concatenated at a later stage.
But there is a problem with it, when I try to run the simulation on a parallel machine by MPI, the dump output file is in a mess, looks like:
please check the lammps output carefully.
this looks almost like you are trying to run
a serial executable in parallel. also you have
to make sure that any previous run was not
terminated prematurely and left you with an
incomplete file.
and would you please post the log file that you create when running in parallel.
i maintain, that what you are showing is most likely to happen with an
incorrectly compiled executable. i could reproduce this on my local machine
when running a serial executable with 8 copies.
It is clear now, there are two different MPI in workstation, when lammps is built, it finds the files of MPI A, but when I submit the job, system uses MPI B to run lammps. so it is regarded as a serial program by MPI B.