diff --git a/src/thermo.cpp b/src/thermo.cpp index 198468e09a..ce448efdc5 100644 --- a/src/thermo.cpp +++ b/src/thermo.cpp @@ -418,9 +418,10 @@ bigint Thermo::lost_check() int maxwarn = error->get_maxwarn(); if ((maxwarn > 0) && (warnbefore == 0) && (ntotal[1] > maxwarn)) { warnbefore = 1; - error->warning(FLERR,fmt::format("Too many warnings: {} vs {}. All " - "future warnings will be suppressed.\n", - ntotal[1],maxwarn)); + if (comm->me == 0) + error->message(FLERR,fmt::format("WARNING: Too many warnings: {} vs {}. All " + "future warnings will be suppressed", + ntotal[1],maxwarn)); } error->set_allwarn(ntotal[1]);