-
Notifications
You must be signed in to change notification settings - Fork 28
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
L3 cache detection issue #4
Comments
Hi there, from the discussion it seems the culprit isn't quite L3 detection, or am I misreading this? |
You are right. I thought it was when I opened the issue but further discussion seem to indicate something more subtle. |
It looks like compiling with no optimisation ( |
I think I'll leave the issue open, as this is too odd to ignore :) |
OK then serious summary:
This can resolved by setting the size of the L3 cache to 0 or the same size than the L2 cache. The tests then pass. |
On sage-on-gentoo on a Debian prefix my friend Steve Trogdon noticed some random failures that seemed related to the use of openmp in m4ri. Disabling openmp solved made the issue go away.
After he investigated further it seems that the L3 cache of the machine is misdetected. Entering some safe values again made it go away.
See cschwan/sage-on-gentoo#475 for the full discussion. I am wondering if the L3 cache detection routine needs updating for newer cpus. The macro hasn't received an update in years (not only in m4ri but upstream as well).
The text was updated successfully, but these errors were encountered: