Corrected output of a warning message.
authorCarsten Kutzner <ckutzne@gwdg.de>
Fri, 25 Feb 2011 18:37:58 +0000 (19:37 +0100)
committerCarsten Kutzner <ckutzne@gwdg.de>
Fri, 25 Feb 2011 18:37:58 +0000 (19:37 +0100)
src/tools/gmx_tune_pme.c

index 379f7e269428d3ecb551a764cb704a297fbcb760..b775d170dc49f08a6f054739c883443d2951529c 100644 (file)
@@ -1678,8 +1678,8 @@ static void check_input(
         }
         if ((npme_fixed > 0) && (5*npme_fixed < nnodes))
         {
-            fprintf(stderr, "WARNING: Only %f percent of the nodes are assigned to do PME.\n",
-                             (real)npme_fixed / (real)nnodes);
+            fprintf(stderr, "WARNING: Only %g percent of the nodes are assigned as PME-only nodes.\n",
+                             100.0*((real)npme_fixed / (real)nnodes));
         }
         if (opt2parg_bSet("-min",npargs,pa) || opt2parg_bSet("-max",npargs,pa))
         {