git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11384 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-01-29 23:31:57 +00:00
parent c42f8c43f5
commit c758cc119f
9 changed files with 47 additions and 95 deletions

View File

@ -757,9 +757,9 @@ void Output::create_restart(int narg, char **arg)
else multiproc = 0;
if (nfile == 2) {
if (multiproc && !strchr(arg[2],'%'))
error->all(FLERR,"Both restart files must have '%' or neither");
error->all(FLERR,"Both restart files must use % or neither");
if (!multiproc && strchr(arg[2],'%'))
error->all(FLERR,"Both restart files must have '%' or neither");
error->all(FLERR,"Both restart files must use % or neither");
}
int mpiioflag;