Pardiso.jl
Pardiso.jl copied to clipboard
Pardiso library found but not?
julia> Pardiso.show_build_log()
could not load library "C:\Users\accou\.julia\external\libpardiso600-WIN-X86-64.dll"
The specified module could not be found.
Pardiso library
===============
Looking for libraries with name: libpardiso600-WIN-X86-64.dll.
Looking in "C:\Users\accou\.julia\packages\Pardiso\GDj1P\deps" for libraries
Looking in "C:\Users\accou\.julia\external" for libraries
found "C:\Users\accou\.julia\external\libpardiso600-WIN-X86-64.dll", attempting to load it...
failed to load due to:
did not find libpardiso, assuming PARDISO 5/6 is not installed
MKL Pardiso
=============
did not find MKLROOT environment variable, using provided MKL
Hm, it is missing the error from
https://github.com/JuliaSparse/Pardiso.jl/blob/e202350860e53f62f7d4a119a8e357296e173907/deps/build.jl#L55
(I guess stderr doesn't go to the log?). If you run pkg> build --verbose what does it say?
(v1.3) pkg> build --verbose Pardiso
Building Pardiso → `C:\Users\accou\.julia\packages\Pardiso\GDj1P\deps\build.log`
Pardiso library
===============
Looking for libraries with name: libpardiso600-WIN-X86-64.dll.
Looking in "C:\Users\accou\.julia\packages\Pardiso\GDj1P\deps" for libraries
Looking in "C:\Users\accou\.julia\external" for libraries
found "C:\Users\accou\.julia\external\libpardiso600-WIN-X86-64.dll", attempting to load it...
failed to load due to:
could not load library "C:\Users\accou\.julia\external\libpardiso600-WIN-X86-64.dll"
The specified module could not be found.
did not find libpardiso, assuming PARDISO 5/6 is not installed
MKL Pardiso
=============
did not find MKLROOT environment variable, using provided MKL
Does it fail to just run Libdl.dlopen on it in a normal julia session?
julia> using Libdl
julia> cd(raw"C:\Users\accou\.julia\external")
julia> Libdl.dlopen("libpardiso600-WIN-X86-64.dll")
ERROR: could not load library "libpardiso600-WIN-X86-64.dll"
The specified module could not be found.
Stacktrace:
[1] #dlopen#3(::Bool, ::typeof(dlopen), ::String, ::UInt32) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Libdl\src\Libdl.jl:109
[2] dlopen at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.3\Libdl\src\Libdl.jl:109 [inlined] (repeats 2 times)
[3] top-level scope at REPL[3]:1
But it's there and if I open it with open I can read the bytes.
Yeah sure but open and dlopen are very different.
I am facing the same issue. Is there any solution to this?