Relax PME solving test complex grid tolerance
authorAleksei Iupinov <a.yupinov@gmail.com>
Wed, 11 Oct 2017 16:28:24 +0000 (18:28 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 11 Oct 2017 20:48:46 +0000 (22:48 +0200)
PME CUDA solving change (Ic610e7f) tightened the output grid
tolerance from 50 down to 16 ULPs, making one of the LJPME tests
fail in post-submit. This change relaxes the tolerance to 40 ULPs.

Change-Id: Icd0c1aff868e2d1ecb76522a1a2174b3156fc356

src/gromacs/ewald/tests/pmesolvetest.cpp

index f561e4ffdeeac7c01f0c27282ad4d2f0dcf7c6d5..da0d84923f943232fd1965a0003c8287f34de28e 100644 (file)
@@ -159,7 +159,7 @@ class PmeSolveTest : public ::testing::TestWithParam<SolveInputParameters>
                             SparseComplexGridValuesOutput nonZeroGridValuesOutput = pmeGetComplexGrid(pmeSafe.get(), mode.first, gridOrdering.first);
                             /* Transformed grid */
                             TestReferenceChecker          gridValuesChecker(checker.checkCompound("NonZeroGridValues", "ComplexSpaceGrid"));
-                            const auto                    ulpToleranceGrid = 16;
+                            const auto                    ulpToleranceGrid = 40;
                             gridValuesChecker.setDefaultTolerance(relativeToleranceAsUlp(1.0, ulpToleranceGrid));
                             for (const auto &point : nonZeroGridValuesOutput)
                             {