From 9e0a8c44d56eb31a25b5b4d74b56c4ef14450aae Mon Sep 17 00:00:00 2001 From: Julian Kunkel Date: Wed, 20 Jan 2021 15:06:45 +0000 Subject: [PATCH] IOR: move verbose output of detailed errors to verbosity level 1. (#315) IOR by default outputs the numbers of errors. Reason: The amount of error messages can be overwhelming, particularly in a parallel program (Gigabytes...). One -v increases the verbosity level to provide the extra details without adding too many other messages. --- src/ior.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ior.c b/src/ior.c index 8a349a0..f814ea2 100755 --- a/src/ior.c +++ b/src/ior.c @@ -430,7 +430,7 @@ CompareData(void *expectedBuffer, size_t size, IOR_offset_t transferCount, IOR_p fprintf(out_logfile, "\n"); } } - if (errorCount > 0) { + if (errorCount > 0 && verbose >= VERBOSE_1) { GetTestFileName(testFileName, test); EWARNF("[%d] FAILED comparison of buffer in file %s during transfer %lld offset %lld containing %d-byte ints (%zd errors)", rank, testFileName, transferCount, offset, (int)sizeof(unsigned long long int),errorCount);