celeritas icon indicating copy to clipboard operation
celeritas copied to clipboard

Inconsistent heuristic results from VecGeom polycone

Open mrguilima opened this issue 11 months ago • 0 comments

The test celeritas/geo_Geometry test fails for Cmse geometry, because results are different from different CI platforms.

In some cases, build-docker (vecgeom-*-rocky-cuda) shows these errors:

[----------] 2 tests from CmseTest
[ RUN      ] CmseTest.host
/__w/celeritas/celeritas/test/celeritas/geo/HeuristicGeoTestBase.cc:72: Failure
Values in: avg_path
 Expected: ref_path
2 of 18 elements differ
by 0.0050000000000000001 relative error or 5.0000000000000002e-05 absolute error
 i            ref_path           avg_path         Difference
 1    13.9060168654525    13.4613848262866 -0.0319740759318717
14    225.390314534812    226.528020448795  0.0050477143009927

while in other cases, build-spack (vecgeom-g4@11.*) shows these errors:

/home/runner/work/celeritas/celeritas/test/celeritas/geo/HeuristicGeoTestBase.cc:72
Values in: avg_path
 Expected: ref_path
2 of 18 elements differ
by 0.0050000000000000001 relative error or 5.0000000000000002e-05 absolute error
 i            ref_path           avg_path         Difference
 1        13.461384826    13.9060168654525  0.0330301856161009
14        226.52802045    225.390314534812 -0.00502236285351153

The whole CmseTest host fixture has been temporarily disabled until this can be understood and properly handled.

mrguilima avatar Jan 09 '25 20:01 mrguilima