Skip to content

Commit 144c5ff

Browse files
committed
Bugfix JSON format. Avoid redundant output with low verbosity level.
1 parent 9467d2b commit 144c5ff

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

src/ior-output.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ void PrintShortSummary(IOR_test_t * test)
705705
if (rank != 0 || verbose <= VERBOSE_0)
706706
return;
707707

708-
PrintArrayEnd();
708+
//PrintArrayEnd();
709709

710710
reps = params->repetitions;
711711

src/ior.c

+2-11
Original file line numberDiff line numberDiff line change
@@ -1162,15 +1162,6 @@ static void TestIoSys(IOR_test_t *test)
11621162
void *hog_buf;
11631163
IOR_io_buffers ioBuffers;
11641164

1165-
if (rank == 0 && verbose >= VERBOSE_1) {
1166-
fprintf(out_logfile, "Participating tasks : %d\n", params->numTasks);
1167-
fflush(out_logfile);
1168-
}
1169-
if (rank == 0 && params->reorderTasks == TRUE && verbose >= VERBOSE_1) {
1170-
fprintf(out_logfile,
1171-
"Using reorderTasks '-C' (useful to avoid read cache in client)\n");
1172-
fflush(out_logfile);
1173-
}
11741165
/* show test setup */
11751166
if (rank == 0 && verbose >= VERBOSE_0)
11761167
ShowSetup(params);
@@ -1261,7 +1252,7 @@ static void TestIoSys(IOR_test_t *test)
12611252
if (params->intraTestBarriers)
12621253
MPI_CHECK(MPI_Barrier(testComm),
12631254
"barrier error");
1264-
if (rank == 0 && verbose >= VERBOSE_1) {
1255+
if (rank == 0 && verbose >= VERBOSE_3) {
12651256
fprintf(out_logfile,
12661257
"Commencing write performance test: %s",
12671258
CurrentTimeString());
@@ -1419,7 +1410,7 @@ static void TestIoSys(IOR_test_t *test)
14191410
if (params->intraTestBarriers)
14201411
MPI_CHECK(MPI_Barrier(testComm),
14211412
"barrier error");
1422-
if (rank == 0 && verbose >= VERBOSE_1) {
1413+
if (rank == 0 && verbose >= VERBOSE_3) {
14231414
fprintf(out_logfile,
14241415
"Commencing read performance test: %s\n",
14251416
CurrentTimeString());

0 commit comments

Comments
 (0)