git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@64 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -156,6 +156,14 @@ void Input::file()
|
||||
|
||||
MPI_Bcast(line,n,MPI_CHAR,0,world);
|
||||
|
||||
// if n = MAXLINE, line is too long
|
||||
|
||||
if (n == MAXLINE) {
|
||||
char str[MAXLINE+32];
|
||||
sprintf(str,"Input line too long: %s",line);
|
||||
error->all(str);
|
||||
}
|
||||
|
||||
// echo the command unless scanning for label
|
||||
|
||||
if (me == 0 && label_active == 0) {
|
||||
|
||||
Reference in New Issue
Block a user