Commit e1a17d42 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

print the warning about using group all with fix gcmc only from MPI rank 0

parent d1356c1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -686,7 +686,7 @@ void FixGCMC::init()

  // warning if group id is "all"

  if (groupbit & 1)
  if ((comm->me == 0) && (groupbit & 1))
    error->warning(FLERR, "Fix gcmc is being applied "
                   "to the default group all");