From 144c5ff49a05de4bfc4c990ca25b1f440e9b7c5e Mon Sep 17 00:00:00 2001 From: "Julian M. Kunkel" Date: Mon, 23 Dec 2024 11:48:16 +0100 Subject: [PATCH] Bugfix JSON format. Avoid redundant output with low verbosity level. --- src/ior-output.c | 2 +- src/ior.c | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/ior-output.c b/src/ior-output.c index 78f47686..73eb2749 100644 --- a/src/ior-output.c +++ b/src/ior-output.c @@ -705,7 +705,7 @@ void PrintShortSummary(IOR_test_t * test) if (rank != 0 || verbose <= VERBOSE_0) return; - PrintArrayEnd(); + //PrintArrayEnd(); reps = params->repetitions; diff --git a/src/ior.c b/src/ior.c index 71b0fa08..aa1a6647 100755 --- a/src/ior.c +++ b/src/ior.c @@ -1162,15 +1162,6 @@ static void TestIoSys(IOR_test_t *test) void *hog_buf; IOR_io_buffers ioBuffers; - if (rank == 0 && verbose >= VERBOSE_1) { - fprintf(out_logfile, "Participating tasks : %d\n", params->numTasks); - fflush(out_logfile); - } - if (rank == 0 && params->reorderTasks == TRUE && verbose >= VERBOSE_1) { - fprintf(out_logfile, - "Using reorderTasks '-C' (useful to avoid read cache in client)\n"); - fflush(out_logfile); - } /* show test setup */ if (rank == 0 && verbose >= VERBOSE_0) ShowSetup(params); @@ -1261,7 +1252,7 @@ static void TestIoSys(IOR_test_t *test) if (params->intraTestBarriers) MPI_CHECK(MPI_Barrier(testComm), "barrier error"); - if (rank == 0 && verbose >= VERBOSE_1) { + if (rank == 0 && verbose >= VERBOSE_3) { fprintf(out_logfile, "Commencing write performance test: %s", CurrentTimeString()); @@ -1419,7 +1410,7 @@ static void TestIoSys(IOR_test_t *test) if (params->intraTestBarriers) MPI_CHECK(MPI_Barrier(testComm), "barrier error"); - if (rank == 0 && verbose >= VERBOSE_1) { + if (rank == 0 && verbose >= VERBOSE_3) { fprintf(out_logfile, "Commencing read performance test: %s\n", CurrentTimeString());