Avoid warnings about coupling when free_energy=no
authorErik Lindahl <erik@kth.se>
Wed, 25 Jun 2014 13:28:14 +0000 (15:28 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 27 Jun 2014 12:08:46 +0000 (14:08 +0200)
At least during free energy testing it is irritating to
get a new warning about the molecule listed in couple-mol not
being decoupled when we disable free energy - that is why we
are disabling it. Changing the warning to a note, since it is
really a note to to help, not something that will result in a
bad simulation.

Change-Id: If56061be0ff784aeedfc31b92532927ab562392c

src/gromacs/gmxpreprocess/readir.c

index 5fbede033e118c8893880a79db5f9a31b994e874..1cfdf9b690646d2da0a039fe3eaaf7f8815fb5a1 100644 (file)
@@ -2352,7 +2352,7 @@ void get_ir(const char *mdparin, const char *mdparout,
         }
         else
         {
-            warning(wi, "Can not couple a molecule with free_energy = no");
+            warning_note(wi, "Free energy is turned off, so we will not decouple the molecule listed in your input.");
         }
     }
     /* FREE ENERGY AND EXPANDED ENSEMBLE OPTIONS */