Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix JSON format. Avoid redundant output with low verbosity level. #504

Merged
merged 1 commit into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ior-output.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ void PrintShortSummary(IOR_test_t * test)
if (rank != 0 || verbose <= VERBOSE_0)
return;

PrintArrayEnd();
//PrintArrayEnd();

reps = params->repetitions;

Expand Down
13 changes: 2 additions & 11 deletions src/ior.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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());
Expand Down Expand Up @@ -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());
Expand Down