forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@983 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
e7a56b4a61
commit
c8bafba16a
|
@ -376,7 +376,7 @@ void ReadRestart::header()
|
|||
|
||||
if (flag == VERSION) {
|
||||
char *version = read_char();
|
||||
if (strcmp(version,universe->version) != 0) {
|
||||
if (strcmp(version,universe->version) != 0 && me == 0) {
|
||||
error->warning("Restart file version does not match LAMMPS version");
|
||||
if (screen) fprintf(screen," restart file = %s, LAMMPS = %s\n",
|
||||
version,universe->version);
|
||||
|
|
Loading…
Reference in New Issue