From f55c798636ef4f9c08e0e208afcf515e7a68ba10 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 26 Mar 2022 23:59:49 +0100 Subject: [PATCH] MBI: buffer on stack is a programming error, not a MPI error --- teshsuite/smpi/MBI/RMAWinBufferGenerator.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/teshsuite/smpi/MBI/RMAWinBufferGenerator.py b/teshsuite/smpi/MBI/RMAWinBufferGenerator.py index db49af8b61..5ed8b28719 100755 --- a/teshsuite/smpi/MBI/RMAWinBufferGenerator.py +++ b/teshsuite/smpi/MBI/RMAWinBufferGenerator.py @@ -83,7 +83,7 @@ int main(int argc, char *argv[]) { """ -for b in ['stack', 'missing', 'null', 'malloc', 'bufferSize']: +for b in ['missing', 'null', 'malloc', 'bufferSize']: patterns = {} patterns = {'b': b} patterns['origin'] = "MPI-CorrBench" @@ -100,11 +100,7 @@ for b in ['stack', 'missing', 'null', 'malloc', 'bufferSize']: ok = 'nok' replace['buffer'] = 'buffer' - if b == 'stack': - replace['bufferalloc'] = 'int buffer[N]; /* MBIERROR1 */' - replace['buffer'] = '&buffer' - replace['longdesc'] = 'Use a stack oriented buffer in window creation, buffer on temporary stack memory.' - elif b == 'missing': + if b == 'missing': replace['bufferalloc'] = '/* MBIERROR1 */' replace['longdesc'] = 'Uninitialized buffer in window creation.' elif b == 'null': -- 2.20.1