-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Precompilation failure on Windows with julia 1.6 beta1 #2323
Comments
Thanks for the report. Could you delete your I'm not familiar with what could cause a You could also try setting |
I tried setting the variable from 2 to 6, and precompilation works properly. However, it still failed consistently without setting the variable, so I tried setting the variable to 12, and there it failed. My CPU is an intel 8086k, with 6 cores & 12 threads, and I have 16GB of RAM (usage was stable around 50%, even with the 12 threads). Log:
|
It seems to work with 7, but 8 tasks failed. |
What does Precompilation defaults to |
Is there a way to see what the error is? Why would it work for a smaller number of threads but not at a larger number? |
I'm guessing that there's just some underlying bug that's more likely to occur the harder you load the system. Perhaps we can see if there are more reports of this, and decide whether to special-case fewer threads on windows. In the mean time, manually setting the number of precomp threads to 6/7 seems stable for you. |
@Keno would this be a good bug to get an rr trace of? |
If it's windows only then rr is not available. Otherwise sure. |
Unfortuantely I don't think we've seen this on platforms other than windows |
I encountered this. Deleting .julia/registries/General made it go away |
Could this happen if there are old precompile files with bad permissions? Julia 1.5.3 on Windows did that, see e.g.JuliaLang/julia#38411 |
This problem or something loosely similar after installing and running JuliaPro and then uninstalling JuliaPro and then installing 1.6-beta1. |
…to avoid ReadOnlyMemoryError (JuliaLang#2366) * halve the default number of precompilation tasks in windows to avoid JuliaLang#2323 Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com> (cherry picked from commit 320ec76)
I am getting errors where packages fail to precompile in parallel, either with a crash or just never terminate, even though things work when precompiling normally.
Here is the environment, though I have seen this happen consistently with various sets of packages:
The text was updated successfully, but these errors were encountered: