From bc23720592b366e797fc945232718e2818ff9cb9 Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Sun, 6 Apr 2014 17:04:14 +0200 Subject: [PATCH] Further fix to gmx tune-pme We need to ignore the column of total time, before reading the total number of gigacycles. This was also broken before the recent patch to this line that removed a spurious read of a %d for the number of ranks. Change-Id: I1ce7f378069c319e03fe9c0691193bd09a8a209f --- src/gromacs/gmxana/gmx_tune_pme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/gmxana/gmx_tune_pme.c b/src/gromacs/gmxana/gmx_tune_pme.c index b0a7fb80cb..3dbda71d47 100644 --- a/src/gromacs/gmxana/gmx_tune_pme.c +++ b/src/gromacs/gmxana/gmx_tune_pme.c @@ -328,7 +328,7 @@ static int parse_logfile(const char *logfile, const char *errfile, /* Already found matchstring - look for cycle data */ if (str_starts(line, "Total ")) { - sscanf(line, "Total %lf", &(perfdata->Gcycles[test_nr])); + sscanf(line, "Total %*f %lf", &(perfdata->Gcycles[test_nr])); iFound = eFoundCycleStr; } break; -- 2.22.0