From 7433c658c598a46ff55e3806a47222bf393066d8 Mon Sep 17 00:00:00 2001 From: Sam Hatfield Date: Wed, 11 Sep 2024 14:51:49 +0000 Subject: [PATCH] Reduce FLT error tolerance --- tests/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 761efc3a1..7b3ead1e5 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -100,9 +100,10 @@ if( HAVE_TESTS ) MPI ${mpi} OMP ${omp} ) - # TODO: Find out why the FLT gives so much higher errors + # The FLT gives higher errors (this is the consequence of the compression) so we must + # choose a higher error tolerance threshold ecbuild_add_test( TARGET ectrans_test_benchmark_${prec}_T${t}_${grid}_mpi${mpi}_omp${omp}_nfld10_nlev20_flt_callmode${callmode} - COMMAND ectrans-benchmark-cpu-${prec} ARGS --truncation ${t} --grid ${grid} --niter 2 --nfld 10 --nlev 20 --flt --check 1000000 --norms -v --callmode ${callmode} + COMMAND ectrans-benchmark-cpu-${prec} ARGS --truncation ${t} --grid ${grid} --niter 2 --nfld 10 --nlev 20 --flt --check 25000 --norms -v --callmode ${callmode} MPI ${mpi} OMP ${omp} )