-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
LoadError during precompilation of DifferentialEquations on 1.9.3 #990
Comments
That just means the binary didn't install.
That should be all that's needed to reset the artifact downloading. @staticfloat or @giordano have things to share here? This isn't really a DifferentialEquations.jl issue as much as it's a binary server issue. I would've thought telling people to just run |
For the record, sandbox:${WORKSPACE} # x86_64-w64-mingw32-objdump -x libiomp5md.dll | grep "DLL Name"
DLL Name: KERNEL32.dll
DLL Name: VCRUNTIME140.dll
DLL Name: api-ms-win-crt-string-l1-1-0.dll
DLL Name: api-ms-win-crt-runtime-l1-1-0.dll
DLL Name: api-ms-win-crt-heap-l1-1-0.dll
DLL Name: api-ms-win-crt-stdio-l1-1-0.dll
DLL Name: api-ms-win-crt-convert-l1-1-0.dll
DLL Name: api-ms-win-crt-environment-l1-1-0.dll
DLL Name: api-ms-win-crt-utility-l1-1-0.dll
DLL Name: api-ms-win-crt-filesystem-l1-1-0.dll |
But isn't this an issue with the package manager not giving the binary? This is supposed to just be shipped as part of MKL_jll if I'm not mistaken, and the error is that it wasn't |
As far as I understand the awful error message thrown by the Windows dynamic loader, the problem is that one of the modules (== libraries) required by |
@qtoloza What I read is that the libiomp5md.dll library was present on the Windows machine giving the compile error, and even a version of that file over from other machines, placing it in the same location did not resolve the problem. That doesn't sound like a problem with the library file not downloading, but that specific machine not being able to load the DLL. Do you use the same antivirus software on the Windows machines? Can you open the DLL from Julia using
|
Thanks everyone for weighing in! This PC is currently just running Microsoft Defender, which at least one other Windows PC I've tested on is also running. @giordano @raju-bitter, I can confirm that libiomp5md.dll appears in the correct directory:
But, as @raju-bitter suspected, I get an error when trying to load the library directly.
I'm not sure if this is additionally helpful at all, but for the record:
I fully agree that this must be a problem with the specific configuration of my PC and not with DifferentialEquations overall. |
Ah, I misunderstood you at first. You're right:
Off to figure out why I'm missing these! |
The answer in the end was that I needed to re-install the relevant Visual C++ redist. Everything is precompiling as expected now. Thank you everyone for the help!! |
I ]updated yesterday for the first time in a couple weeks and ran into a precompile error. The machine in question is running Windows 11 and I've been installing Julia using the official binaries. I've tested on three other Windows and Linux machines and have not been able to replicate - DifferentialEquations precompiles just fine on them.
Things I've tried:
None of the above have resolved the issue.
I get this at the end of ]add DifferentialEquations on a fresh install:
I get this on ]precompile:
This is my ]st -m:
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: