Temper SNAP output

This commit is contained in:
Stan Moore 2018-01-09 15:14:47 -07:00
parent 275c08453f
commit 4adbb882b3
1 changed files with 2 additions and 2 deletions

View File

@ -1522,9 +1522,9 @@ void PairSNAP::coeff(int narg, char **arg)
sna[tid]->grow_rij(nmax);
}
printf("ncoeff = %d snancoeff = %d \n",ncoeff,sna[0]->ncoeff);
if (ncoeff != sna[0]->ncoeff) {
if (comm->me == 0)
printf("ncoeff = %d snancoeff = %d \n",ncoeff,sna[0]->ncoeff);
if (ncoeff != sna[0]->ncoeff) {
error->all(FLERR,"Incorrect SNAP parameter file");
}