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 Hwloc failed #56

Closed
mfalt opened this issue Jun 7, 2021 · 3 comments
Closed

Using Hwloc failed #56

mfalt opened this issue Jun 7, 2021 · 3 comments

Comments

@mfalt
Copy link

mfalt commented Jun 7, 2021

Versions:
julia-1.6.0
Hwloc v2.0.0
Hwloc_jll v2.4.1+0
VectorizationBase v0.20.7
LoopVectorization v0.12.21

Running in docker.io/library/debian container (not sure if relevant). It worked as recently as a week ago.

[ Info: PackageCompiler: creating system image object file, this might take a while...
┌ Warning: ErrorException("could not load symbol \"hwloc_topology_init\":\n/home/jupyter/julia/bin/julia: undefined symbol: hwloc_topology_init")
└ @ VectorizationBase /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/topology.jl:9
┌ Warning:     Using Hwloc failed. Please file an issue with the above warning at: https://github.com/JuliaParallel/Hwloc.jl
│     Proceeding with generic topology assumptions. This may result in reduced performance.
└ @ VectorizationBase /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/topology.jl:10
ERROR: LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: UndefVarError: CPU_NAME not defined
Stacktrace:
  [1] define_cpu_name()
    @ VectorizationBase ~/.julia/packages/VectorizationBase/2aqZn/src/cpu_info.jl:59
  [2] top-level scope
    @ ~/.julia/packages/VectorizationBase/2aqZn/src/cpu_info.jl:62
  [3] include(mod::Module, _path::String)
    @ Base ./Base.jl:386
  [4] include(x::String)
    @ VectorizationBase ~/.julia/packages/VectorizationBase/2aqZn/src/VectorizationBase.jl:1
  [5] top-level scope
    @ ~/.julia/packages/VectorizationBase/2aqZn/src/VectorizationBase.jl:274
  [6] include
    @ ./Base.jl:386 [inlined]
  [7] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1050
  [8] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:914
  [9] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:901
 [10] include
    @ ./Base.jl:386 [inlined]
 [11] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1050
 [12] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:914
 [13] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:901
 [14] include(mod::Module, _path::String)
    @ Base ./Base.jl:386
 [15] include(x::String)
    @ RecursiveFactorization ~/.julia/packages/RecursiveFactorization/ec89K/src/RecursiveFactorization.jl:1
 [16] top-level scope
    @ ~/.julia/packages/RecursiveFactorization/ec89K/src/RecursiveFactorization.jl:3
 [17] include
    @ ./Base.jl:386 [inlined]
 [18] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1050
 [19] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:914
 [20] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:901
 [21] include
    @ ./Base.jl:386 [inlined]
 [22] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1050
 [23] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:914
 [24] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:901
 [25] include
    @ ./Base.jl:386 [inlined]
 [26] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1050
 [27] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:914
 [28] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:901
 [29] include
    @ ./Base.jl:386 [inlined]
 [30] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1050
 [31] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:914
 [32] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:901
in expression starting at /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/cpu_info.jl:62
in expression starting at /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/VectorizationBase.jl:1
in expression starting at /home/jupyter/.julia/packages/LoopVectorization/09Hhf/src/LoopVectorization.jl:1
in expression starting at /home/jupyter/.julia/packages/RecursiveFactorization/ec89K/src/lu.jl:1
in expression starting at /home/jupyter/.julia/packages/RecursiveFactorization/ec89K/src/RecursiveFactorization.jl:1
in expression starting at /home/jupyter/.julia/packages/DiffEqBase/U3Zj7/src/DiffEqBase.jl:1
in expression starting at /home/jupyter/.julia/packages/OrdinaryDiffEq/WZTwh/src/OrdinaryDiffEq.jl:1
in expression starting at /home/jupyter/.julia/packages/ControlSystems/D98Nv/src/ControlSystems.jl:1
┌ Error: Creating system image FAILED. ABORTING
└ @ Main ~/build/utils.jl:13
@carstenbauer
Copy link
Member

It worked as recently as a week ago.

That's weird given that the package hasn't been modified in the last weeks.

@carstenbauer
Copy link
Member

Can't reproduce on my MacBook.

Screenshot 2021-06-07 at 20 19 56

@mfalt
Copy link
Author

mfalt commented Jun 7, 2021

It worked as recently as a week ago.

That's weird given that the package hasn't been modified in the last weeks.

Yes, I noticed that, so I was very confused. The problem is consistent (as in always occurs in my build), but I am not able to reproduce it with a minimal example either. And it only occurs when building a sysimage.

I was however able to get the build working by using the previous verson of PackageCompiler (which was updated 5 days ago), so I will open the issue there.

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