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

InitError when porting precompiled module #5

Closed
tobiaslcmueller opened this issue Feb 10, 2022 · 2 comments
Closed

InitError when porting precompiled module #5

tobiaslcmueller opened this issue Feb 10, 2022 · 2 comments

Comments

@tobiaslcmueller
Copy link

Similar to JuliaSIMD/VectorizationBase.jl#57, I experience the following InitError, when porting the precompiled module between different machines. Seems to be the same bug, but now triggered in a different subpackage of LoopVectorization.

ERROR: InitError: TypeError: non-boolean (Nothing) used in boolean context
Stacktrace:
  [1] _define_cache(N::Int64, c::NamedTuple{(:size, :linesize, :associativity, :type, :inclusive), Tuple{Int64, Int64, Nothing, Nothing, Nothing}})
    @ CPUSummary ~/.julia/packages/CPUSummary/ZAemo/src/topology.jl:221
  [2] redefine_cache(N::Int64)
    @ CPUSummary ~/.julia/packages/CPUSummary/ZAemo/src/topology.jl:246
  [3] foreach
    @ ./abstractarray.jl:2694 [inlined]
  [4] __init__()
    @ CPUSummary ~/.julia/packages/CPUSummary/ZAemo/src/CPUSummary.jl:18
  [5] _include_from_serialized(path::String, depmods::Vector{Any})
    @ Base ./loading.jl:768
  [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base ./loading.jl:854
  [7] _tryrequire_from_serialized(modkey::Base.PkgId, build_id::UInt64, modpath::String)
    @ Base ./loading.jl:783
  [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base ./loading.jl:843
  [9] _tryrequire_from_serialized(modkey::Base.PkgId, build_id::UInt64, modpath::String)
    @ Base ./loading.jl:783
 [10] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base ./loading.jl:843
 [11] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1097
 [12] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:1013
 [13] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:997
during initialization of module CPUSummary
@chriselrod
Copy link
Member

Please check if the master branch fixes it: de28b20

@tobiaslcmueller
Copy link
Author

Fixed for me on this version. Thank you for the prompt response!

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

No branches or pull requests

2 participants