New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geometry/DTGeometryBuilder unit test fails for ARM #29036
Comments
assign geometry |
New categories assigned: geometry @Dr15Jones,@cvuosalo,@mdhildreth,@makortel,@ianna,@civanch you have been requested to review this Pull request/Issue and eventually sign? Thanks |
A new Issue was created by @Dr15Jones Chris Jones. @Dr15Jones, @smuzaffar, @silviodonato, @makortel, @davidlange6, @fabiocos can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
A recent example can be found here |
I think I will create
|
@Dr15Jones How can I test this issue? I don't know about the ARM machines, and I probably don't have access to them. |
I don't know how to access the ARM machines either. I can only look at the results from the related IB. |
IMHO, this test should produce a reference file dynamically: Rounding this |
A fix is proposed in PR #29052. |
@ianna , as discussed , one can test a change for arm (or ppc for that matter) adding:
as a comment, then comment |
Fixed via PR #29052 |
+1 |
This issue is fully signed and ready to be closed. |
The aarch64 IB has the unit tests GeometryDTGeometryBuilderTestDriver failing. The reason is doing a diff on the geometry output is showing an irrelevant difference. One such difference is
where the coordinates of the normal vector which mathematically should be identical to 0. are instead very tiny numbers where x86 and aarch64 disagree on exactly which tiny number to use.
Computationally, any component of a normal vector which is on the order of 10^-7 will be completely irrelevant for bit wise comparisions for calculating the normal and for values produced using a dot product when using floats. For doubles values on the order of 10^-16 will be irrelevant for bitwise comparisons. If we do not care about bit wise, than substantially larger values will be irrelevant for actual physics results.
My suggestion is to either
The text was updated successfully, but these errors were encountered: