-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
MTK doesn't precompile on my Windows 11 laptop anymore #2730
Comments
Confirm the same problem that started three days ago. On a completely clean install of Julia 1.10.3 via juliaup for windows, the error message is:
() | () () | (@v1.10) pkg> up |
I'm also having this issue, on a fresh install of windows 11 and of julia 1.10.3. I get a similar output, with pre-compilation never completing:
|
I have now tried with Julia v1.10.3 and latest version of MTK + MTK v9.13.0 and MTK v9.0.0, as well as Julia v1.10.2 and the same trio of MTK versions and Julia v1.10.0 and the same MTK version trios. No luck. |
same problem. Even I don't add ModelingToolkit.jl explicitly, once it's required the precompile will halt here. 1.10.3. |
I believe this is the same as #2722? |
Yes, and it's also the same as JuliaLang/julia#54550, and it's also the same as https://discourse.julialang.org/t/modelingtoolkit-takes-forever-to-precompile-on-windows-11/114492 . We know it exists, it's all hands-on-deck madness, it's weird, its likely a GC bug in Julia, and we have no idea what's causing it but we're running around trying to get a solution ASAP. More threads will not help, we know the issue exists. |
Because this was isolated to being a Julia issue, we can keep the conversation going there: JuliaLang/julia#54550 |
fixed for real in Julia 1.10.4 |
Describe the bug 🐞
ModelingToolkit doesn't precompile on my Windows 11 laptop any more. [1TB free SSD space, 32 GB RAM, 12th gen i7 processor.]
ModelingToolkit
; no other packages in the computer. I have tried with the latest version of MTK, without success. So now I'm trying with MTK v9.0.0, which definitely used to work in the past.Expected behavior
Obviously, the expected behavior is that precompile finishes in a reasonable time. I don't know what that reasonable time should be... perhaps some 10-20 minutes?? But definitely not hours upon hours.
Minimal Reproducible Example 👇
I don't really know what an MRE should be in this case... Obviously, something has messed up my computer... I don't even know where to start.
Error & Stacktrace⚠️
After waiting for "eternity" without completion of precompilation, I Ctrl-C Julia, upon which the precompilation stops with a very long message. I then do a status check:
This may seem like somehow ModelingToolkit was precompiled, but if I go back to Julia and issue
using ModelingToolkit
, precompilation of the last step starts again...Environment (please complete the following information):
using Pkg; Pkg.status()
As above:
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
A few days ago, I installed some new packages on my Julia set-up [AbstractAlgebra, Nemo, Groebner. I tried to install Oscar, but that didn't precompile and told me it doesn't work under Windows -- needs Linux subsystem for Windows, which I don't want to install. I also installed some Python packages, such as SymPy.] Subsequently, I removed these Julia packages. But now ModelingToolkit [MTK] doesn't precompile any more. Here is what I've tried to do:
The text was updated successfully, but these errors were encountered: