-
Notifications
You must be signed in to change notification settings - Fork 49
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
Tests fail in Linux aarch64 and ppc64le #961
Comments
These are the failures:
|
Tests also fail on
|
Prior to the voro++ switch the voronoi module was using double precision (unlike everything else in freud that uses single precision), but since we switched to voro++ I don't know how much control we even have over the underlying calculation precision. Aside from a minor 2D issue (#588) I'm honestly not even sure what precision problems we've dealt with since switching to voro++. #362 might provided some hints, otherwise @bdice should know more. Worst case we just bump the tolerance of these tests, but it would be nice to know what parts of the calculation are the most sensitive in case there is a way to avoid loss of precision by writing more numerically robust code. |
It looks like all these errors are from differences in single precision handling of the input data. I would relax all of these tests to a lower precision. It seems that |
Yeah I'm fine relaxing the tolerances in the test. Voronoi is a tricky case because despite the calculations being in double precision we still run into these problems, which make me wonder if there are more numerically stable ways to do the calculation. Now that we're outsourcing to voro++ I guess that's largely out of our hands though, and so far as we know it's been good enough for users as is. |
Describe the bug
freud's unit tests fail on Linux aarch64.
To Reproduce
Build the conda-forge recipe with unit tests as in conda-forge/freud-feedstock#48
Error output
https://app.travis-ci.com/github/conda-forge/freud-feedstock/jobs/569538711
System configuration (please complete the following information):
cmake-updates
branch.Additional context
I will disable the aarch64 tests on the conda-forge build for now. We can remove this exception once the tests or the bugs that the tests expose are fixed to ensure that the provided aarch64 binaries are functional.
The text was updated successfully, but these errors were encountered: