From 4e317f11806e704d718431c776e36f03c97e2b37 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 30 Oct 2009 21:57:04 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3273 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/respa.cpp | 2 +- src/verlet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/respa.cpp b/src/respa.cpp index 7a7fd0eba3..143c5372ee 100644 --- a/src/respa.cpp +++ b/src/respa.cpp @@ -246,7 +246,7 @@ void Respa::init() { // warn if no fixes - if (modify->nfix == 0) + if (modify->nfix == 0 && comm->me == 0) error->warning("No fixes defined, atoms won't move"); // create fix needed for storing atom-based respa level forces diff --git a/src/verlet.cpp b/src/verlet.cpp index 954af1a6ac..e6670057f0 100644 --- a/src/verlet.cpp +++ b/src/verlet.cpp @@ -48,7 +48,7 @@ void Verlet::init() { // warn if no fixes - if (modify->nfix == 0) + if (modify->nfix == 0 && comm->me == 0) error->warning("No fixes defined, atoms won't move"); // virial_style: