-
Notifications
You must be signed in to change notification settings - Fork 226
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
timing-quotient test occasionally fails on armhf #1804
Comments
Very cool. |
I ran some experiments on the three architectures I have access to. For both of the timing comparisons in this test, I ran the computation 100 times on amd64 (my local system), armhf (Raspberry Pi), and arm64 (Linaro Developer Cloud) and recorded the timing results as a fraction of
So the current upper bounds of 0.5 and 0.05, respectively, for the two tests seem totally reasonable based on these results. But every machine's different, I suppose, and the upper bound is too low for Ubuntu's ARM PPA build machines, at least for the first test. For the two times I've seen this test fail since the |
Had an interesting result in an amd64 Ubuntu 21.04 PPA build. testing: timing-quotient.m2
-- occasionally caused build failures, see:
-- https://github.com/Macaulay2/M2/issues/1804
-- https://github.com/Macaulay2/M2/pull/1811
-- https://github.com/Macaulay2/M2/pull/1957
assert BinaryOperation {symbol <, tim#0, standardSecond}
timing-quotient.m2:224:1:(3):[4]: error: assertion failed:
.307505<.000004779 is false |
Maybe the loop in "spin" got optimized away, and we have to put it into a separate file and build it with
|
From an armhf PPA build in Ubuntu 20.10:
This test was the reason behind the recent
assert
changes, and I finally got to see it in action!We're just missing the upper bound by less than a tenth of a second.
The text was updated successfully, but these errors were encountered: