-
Notifications
You must be signed in to change notification settings - Fork 4
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
Method redefinitions #26
Comments
Are you doing anything that might make your CPU look different when the package precompiles vs when it is loaded? It precompiles a configuration for your CPU. |
Thanks for the explanation (and the very quick response)! The package where I found this is very standard Julia with nothing fancy. I'll keep an eye on this and see if I can trace the origin better. |
Are you running on some kind of cluster with a shared filesystem? |
No, this was on my laptop. This is my
|
This was run from a |
I get the same warning when running test from the REPL if I use ReTestItems.jl |
It would help if you |
Specifically, what are the values in the comparisons CPUSummary.jl/src/CPUSummary.jl Lines 59 to 66 in 99e2b46
Lines 53 to 55 in 99e2b46
It may help give some clue as to why they're different. |
The following bug might be related, even though the error message is different: JuliaLang/julia#54448
For me this is very annoying, if I a tell a class of 30 students to install my software and they encounter this kind of bugs this is really annoying if you try to promote the use of Julia... |
Well, I can't reproduce. If you make a PR fixing it, I can review and merge. |
Alternatively, you can make PRs to remove CPUSummary.jl from the dependencies of the DiffEq ecosystem. There are 8 dependent packages: Just dev these packages, remove it from the dependencies, and replace any functionality that they were using. if Sys.ARCH === :AArch64 # Apple silicon
const CACHELINESIZE = 128 # A64FX actually wants 256...
else # 64 is more common
const CACHELINESIZE = 64
end It is a performance rather than a correctness thing. |
Commenting out |
Oops, that is really bad. Was added here 33b606c |
It's still worth asking why feature detection is changing on your systems at all if you aren't doing anything weird, but it should NOT be running |
Precompiling on 1.10, I see:
With
The text was updated successfully, but these errors were encountered: