Skip to content
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

using Hypatia fails #816

Closed
nsajko opened this issue Oct 5, 2022 · 1 comment · Fixed by #825
Closed

using Hypatia fails #816

nsajko opened this issue Oct 5, 2022 · 1 comment · Fixed by #825

Comments

@nsajko
Copy link

nsajko commented Oct 5, 2022

julia> using Hypatia
[ Info: Precompiling Hypatia [b99e6be6-89ff-11e8-14f8-45c827f4f8f2]
┌ Warning: Module DocStringExtensions with build ID 107382214799734 is missing from the cache.
│ This may mean DocStringExtensions [ffbed154-4ef7-542d-bbb7-c09d3a79fcae] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1325
[ Info: Skipping precompilation since __precompile__(false). Importing Hypatia [b99e6be6-89ff-11e8-14f8-45c827f4f8f2].
┌ Warning: Error requiring `Pardiso` from `Hypatia`
│   exception =
│    LoadError: TypeError: in Type{...} expression, expected UnionAll, got Type{Union{Hypatia.PardisoNonSymCache{Float64}, Hypatia.PardisoSymCache{Float64}}}
│    Stacktrace:
│      [1] top-level scope
│        @ ~/.julia/packages/Hypatia/gNjn6/src/linearalgebra/Pardiso.jl:47
│      [2] include(mod::Module, _path::String)
│        @ Base ./Base.jl:419
│      [3] include(x::String)
│        @ Hypatia ~/.julia/packages/Hypatia/gNjn6/src/Hypatia.jl:4
│      [4] top-level scope
│        @ ~/.julia/packages/Requires/Z8rfN/src/Requires.jl:40
│      [5] eval
│        @ ./boot.jl:368 [inlined]
│      [6] eval
│        @ ~/.julia/packages/Hypatia/gNjn6/src/Hypatia.jl:4 [inlined]
│      [7] (::Hypatia.var"#3#9")()
│        @ Hypatia ~/.julia/packages/Requires/Z8rfN/src/require.jl:101
│      [8] macro expansion
│        @ ./timing.jl:382 [inlined]
│      [9] err(f::Any, listener::Module, modname::String, file::String, line::Any)
│        @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:47
│     [10] (::Hypatia.var"#2#8")()
│        @ Hypatia ~/.julia/packages/Requires/Z8rfN/src/require.jl:100
│     [11] withpath(f::Any, path::String)
│        @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:37
│     [12] (::Hypatia.var"#1#7")()
│        @ Hypatia ~/.julia/packages/Requires/Z8rfN/src/require.jl:99
│     [13] listenpkg(f::Any, pkg::Base.PkgId)
│        @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:20
│     [14] macro expansion
│        @ ~/.julia/packages/Requires/Z8rfN/src/require.jl:98 [inlined]
│     [15] __init__()
│        @ Hypatia ~/.julia/packages/Hypatia/gNjn6/src/Hypatia.jl:18
│     [16] include
│        @ ./Base.jl:419 [inlined]
│     [17] _require(pkg::Base.PkgId)
│        @ Base ./loading.jl:1367
│     [18] _require_prelocked(uuidkey::Base.PkgId)
│        @ Base ./loading.jl:1200
│     [19] macro expansion
│        @ ./loading.jl:1180 [inlined]
│     [20] macro expansion
│        @ ./lock.jl:223 [inlined]
│     [21] require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:1144
│     [22] eval
│        @ ./boot.jl:368 [inlined]
│     [23] eval
│        @ ./Base.jl:65 [inlined]
│     [24] repleval(m::Module, code::Expr, #unused#::String)
│        @ VSCodeServer ~/.vscode-oss/extensions/julialang.language-julia-1.7.12/scripts/packages/VSCodeServer/src/repl.jl:222
│     [25] (::VSCodeServer.var"#107#109"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
│        @ VSCodeServer ~/.vscode-oss/extensions/julialang.language-julia-1.7.12/scripts/packages/VSCodeServer/src/repl.jl:186
│     [26] with_logstate(f::Function, logstate::Any)
│        @ Base.CoreLogging ./logging.jl:511
│     [27] with_logger
│        @ ./logging.jl:623 [inlined]
│     [28] (::VSCodeServer.var"#106#108"{Module, Expr, REPL.LineEditREPL, REPL.LineEdit.Prompt})()
│        @ VSCodeServer ~/.vscode-oss/extensions/julialang.language-julia-1.7.12/scripts/packages/VSCodeServer/src/repl.jl:187
│     [29] #invokelatest#2
│        @ ./essentials.jl:729 [inlined]
│     [30] invokelatest(::Any)
│        @ Base ./essentials.jl:726
│     [31] macro expansion
│        @ ~/.vscode-oss/extensions/julialang.language-julia-1.7.12/scripts/packages/VSCodeServer/src/eval.jl:34 [inlined]
│     [32] (::VSCodeServer.var"#61#62")()
│        @ VSCodeServer ./task.jl:484
│    in expression starting at /home/nsajko/.julia/packages/Hypatia/gNjn6/src/linearalgebra/Pardiso.jl:47
└ @ Requires ~/.julia/packages/Requires/Z8rfN/src/require.jl:51
@lkapelevich
Copy link
Collaborator

Hypatia doesn't require Pardiso, it's an optional dependency and it looks like you are getting a warning as opposed to an error. So I am guessing this doesn't prevent you from using Hypatia at the moment?

What is the version of Pardiso.jl that you have (also worth separately checking that Pardiso.jl is working as expected)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants