-
-
Notifications
You must be signed in to change notification settings - Fork 3
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 #11
Comments
Hi, I don't have access to a Windows machine right now, but the package passes test in Windows CI at least. @giordano, since this look related to JLLs and MPI, perhaps you have any ideas? |
import Pkg
Pkg.add("DependencyWalker")
using HYPRE # this will fail as usual, it's OK
using DependencyWalker
Library(raw"C:\Users\olavm\.julia\artifacts\fdf5fc024a09684b7e5c8759b433d7c332f20560\bin\liblapack.dll") |
Ok, issue seems to be julia> Library(raw"C:\Users\olavm\.julia\artifacts\fdf5fc024a09684b7e5c8759b433d7c332f20560\bin\liblapack.dll")
◼ C:\Users\olavm\.julia\artifacts\fdf5fc024a09684b7e5c8759b433d7c332f20560\bin\liblapack.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
✗ libblastrampoline-5-0-2.dll (NOT FOUND)
◼ C:\Users\olavm\.julia\juliaup\julia-1.8.4+0.x64.w64.mingw32\bin\libgfortran-5.dll
◼ C:\Users\olavm\.julia\juliaup\julia-1.8.4+0.x64.w64.mingw32\bin\libwinpthread-1.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\Users\olavm\.julia\juliaup\julia-1.8.4+0.x64.w64.mingw32\bin\libgcc_s_seh-1.dll
◼ C:\Users\olavm\.julia\juliaup\julia-1.8.4+0.x64.w64.mingw32\bin\libwinpthread-1.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\Users\olavm\.julia\juliaup\julia-1.8.4+0.x64.w64.mingw32\bin\libquadmath-0.dll
◼ C:\Users\olavm\.julia\juliaup\julia-1.8.4+0.x64.w64.mingw32\bin\libgcc_s_seh-1.dll
◼ C:\Users\olavm\.julia\juliaup\julia-1.8.4+0.x64.w64.mingw32\bin\libwinpthread-1.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\ADVAPI32.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\RPCRT4.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\msvcrt.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\sechost.dll
◼ C:\WINDOWS\System32\RPCRT4.dll
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll
◼ C:\WINDOWS\System32\KERNEL32.DLL
◼ C:\WINDOWS\System32\KERNELBASE.dll |
Yeah, libblastrampoline on Windows is a total minefield, I'm trying to fix it right in these days: JuliaLinearAlgebra/libblastrampoline#97. For the time being we should simply not use libblastrampoline on Windows, but I can't do it right now because Yggdrasil CI is down. |
That makes sense. I tried 1.6 which I think is pre-libblastrampoline being added and there HYPRE works fine on the same PC in a fresh environment. That maybe also explains why CI passes since that uses 1, 1.6 and latest. |
@giordano the PR you reference above is merged, whats the status of it getting into a Julia release? |
JuliaLang/julia#47676 is in 1.9.0-beta4 |
Great. @moyner perhaps you can try beta4? |
We still need to rebuild the affected libraries though 🙂 |
Indeed, did a quick check and the same error occurs on beta4. |
I bypassed this issue by using WSL for HYPRE.jl whenever I have to use Windows. Is there anything I can do to help rebuild the binaries? A related question is if the binaries could be built with OpenMP support (passing |
Can anyone using Windows try this now with julia v1.9? |
Julia 1.9 RC3 on Windows 10 works! Thanks a lot!
Tests seem ok: Test Summary: | Pass Total Time
LibHYPRE | 2 2 0.0s
Test Summary: | Pass Total Time
HYPREMatrix | 4 4 0.1s
Test Summary: | Pass Broken Total Time
HYPREMatrix(::SparseMatrixCS(C|R)) | 29 2 31 1.8s
Test Summary: | Pass Total Time
HYPREMatrix(::PSparseMatrix) | 17 17 19.4s
Test Summary: | Pass Total Time
HYPREVector | 6 6 0.2s
Test Summary: | Pass Total Time
HYPREVector(::Vector) | 19 19 0.1s
Test Summary: | Pass Total Time
HYPREVector(::PVector) | 10 10 4.1s
Test Summary: | Pass Total Time
HYPRE(Matrix|Vector)?Assembler | 16 16 0.0s
Test Summary: | Pass Total Time
BiCGSTAB | 8 8 3.6s
Test Summary: | Pass Total Time
BoomerAMG | 7 7 0.0s
Test Summary: | Pass Total Time
FlexGMRES | 7 7 0.2s
Test Summary: | Pass Total Time
GMRES | 7 7 0.2s
Test Summary: | Pass Total Time
Hybrid | 7 7 0.6s
Test Summary: | Pass Total Time
ILU | 7 7 0.4s
Test Summary: | Pass Total Time
(ParCSR)ParaSails | 4 4 0.2s
Test Summary: | Pass Total Time
(ParCSR)PCG | 7 7 0.2s
Test Summary: | Pass Total Time
solve with PartitionedArrays | 5 5 0.6s
Test Summary: | Pass Total Time
solve with SparseMatrixCS(C|R) | 2 2 0.0s
Test Summary: | Pass Total Time
MPI execution | 1 1 3.3s
Testing HYPRE tests passed |
Hi, thanks for writing this very nice wrapper for HYPRE! I have successfully used it on Linux environments but the package fails to precompile on Windows. I have tested with Julia 1.8.2, 1.8.3 and 1.8.4 from Juliaup on two different Windows 10 machines and get the same error message. The DLL mentioned (
.julia\artifacts\fdf5fc024a09684b7e5c8759b433d7c332f20560\bin\liblapack.dll
) is present but cannot be loaded:Full stacktrace from a clean environment:
The text was updated successfully, but these errors were encountered: