forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9805 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
460d44523b
commit
9c29bb4224
|
@ -1015,7 +1015,7 @@ void FixGCMC::get_model_molecule()
|
|||
}
|
||||
|
||||
natoms_per_molecule = 0;
|
||||
MPI_Allreduce(&natoms_per_molecule_local,&natoms_per_molecule,1,MPI_INT,MPI_MAX,world);
|
||||
MPI_Allreduce(&natoms_per_molecule_local,&natoms_per_molecule,1,MPI_INT,MPI_SUM,world);
|
||||
|
||||
if (natoms_per_molecule == 0)
|
||||
error->all(FLERR,"Fix gcmc could not find any atoms in the user-supplied template molecule");
|
||||
|
|
Loading…
Reference in New Issue