From a59e98d7a690d3a702124e4ba6dae831bd2d629f Mon Sep 17 00:00:00 2001 From: "Julian M. Kunkel" Date: Fri, 6 Nov 2020 10:38:50 +0000 Subject: [PATCH] Add error to indicate changed behavior to users --- src/ior.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ior.c b/src/ior.c index af57a84..3aaf195 100755 --- a/src/ior.c +++ b/src/ior.c @@ -1586,6 +1586,8 @@ static void ValidateTests(IOR_param_t * test) } if (test->blockSize < test->transferSize) ERR("block size must not be smaller than transfer size"); + if (test->randomOffset && test->blockSize == test->transferSize) + ERR("IOR will randomize access within a block and repeats the same pattern for all segments, therefore choose blocksize > transferSize"); /* specific APIs */ if ((strcasecmp(test->api, "MPIIO") == 0)