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

LoadError: could not load symbol "Highs_zeroAllClocks" #183

Closed
DillonJ opened this issue Oct 19, 2023 · 2 comments · Fixed by #184
Closed

LoadError: could not load symbol "Highs_zeroAllClocks" #183

DillonJ opened this issue Oct 19, 2023 · 2 comments · Fixed by #184

Comments

@DillonJ
Copy link

DillonJ commented Oct 19, 2023

Hi folks,

When trying to precompile HiGHS 1.7.3 in Julia 1.9.3 I get

 LoadError: could not load symbol "Highs_zeroAllClocks"

Is it a bug or have I done something wrong?

Here's the full TB

julia> using HiGHS
[ Info: Precompiling HiGHS [87dc4568-4c63-4d18-b0c0-bb2238e4078b]
ERROR: LoadError: could not load symbol "Highs_zeroAllClocks":
The specified procedure could not be found.
Stacktrace:
  [1] Highs_zeroAllClocks
    @ C:\Users\x\.julia\packages\HiGHS\f28SW\src\gen\libhighs.jl:1173 [inlined]
  [2] optimize!(model::HiGHS.Optimizer)
    @ HiGHS C:\Users\x\.julia\packages\HiGHS\f28SW\src\MOI_wrapper.jl:1813
  [3] optimize!
    @ C:\Users\x\.julia\packages\MathOptInterface\pgWRA\src\Bridges\bridge_optimizer.jl:378 [inlined]
  [4] optimize!
    @ C:\Users\x\.julia\packages\MathOptInterface\pgWRA\src\MathOptInterface.jl:85 [inlined]
  [5] optimize!(m::MathOptInterface.Utilities.CachingOptimizer{MathOptInterface.Bridges.LazyBridgeOptimizer{HiGHS.Optimizer}, MathOptInterface.Utilities.UniversalFallback{MathOptInterface.Utilities.Model{Float64}}})
    @ MathOptInterface.Utilities C:\Users\x\.julia\packages\MathOptInterface\pgWRA\src\Utilities\cachingoptimizer.jl:316
  [6] macro expansion
    @ C:\Users\x\.julia\packages\HiGHS\f28SW\src\HiGHS.jl:66 [inlined]
  [7] macro expansion
    @ C:\Users\x\.julia\packages\PrecompileTools\kmH5L\src\workloads.jl:78 [inlined]
  [8] macro expansion
    @ C:\Users\x\.julia\packages\HiGHS\f28SW\src\HiGHS.jl:33 [inlined]
  [9] top-level scope
    @ C:\Users\x\.julia\packages\PrecompileTools\kmH5L\src\workloads.jl:140
 [10] include
    @ .\Base.jl:457 [inlined]
 [11] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base .\loading.jl:2049
 [12] top-level scope
    @ stdin:3
in expression starting at C:\Users\x\.julia\packages\HiGHS\f28SW\src\HiGHS.jl:6
in expression starting at stdin:3
ERROR: Failed to precompile HiGHS [87dc4568-4c63-4d18-b0c0-bb2238e4078b] to "C:\\Users\\x\\.julia\\compiled\\v1.9\\HiGHS\\jl_CEF5.tmp".
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base .\loading.jl:2300
 [3] compilecache
   @ .\loading.jl:2167 [inlined]
 [4] _require(pkg::Base.PkgId, env::String)
   @ Base .\loading.jl:1805
 [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
   @ Base .\loading.jl:1660
 [6] macro expansion
   @ .\loading.jl:1648 [inlined]
 [7] macro expansion
   @ .\lock.jl:267 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:1611
@DillonJ
Copy link
Author

DillonJ commented Oct 19, 2023

Reverting to 1.6.0 works

@odow
Copy link
Member

odow commented Oct 19, 2023

Ooops. This is my fault. I didn't think through #175 clearly.

Fix is in #184

@odow odow closed this as completed in #184 Oct 20, 2023
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