Skip to content

undefined symbol linking error on 0.2.147 #1484

@ExpandingMan

Description

@ExpandingMan

Getting this on using Reactant as of 0.2.147

Info Given Reactant was explicitly requested, output will be shown live 
ERROR: LoadError: InitError: could not load library "/home/expandingman/.julia/artifacts/e9de110b79f923db780882e850c3fbd0cd3d442a/lib/libReactantExtra.so"
/home/expandingman/.julia/artifacts/e9de110b79f923db780882e850c3fbd0cd3d442a/lib/libReactantExtra.so: undefined symbol: nvshmemx_hostlib_finalize
Stacktrace:
  [1] dlopen(s::String, flags::UInt32; throw_error::Bool)
    @ Base.Libc.Libdl ./libdl.jl:120
  [2] dlopen(s::String, flags::UInt32)
    @ Base.Libc.Libdl ./libdl.jl:119
  [3] macro expansion
    @ ~/.julia/packages/JLLWrappers/m2Pjh/src/products/library_generators.jl:63 [inlined]
  [4] __init__()
    @ Reactant_jll ~/.julia/packages/Reactant_jll/NKfz3/src/wrappers/x86_64-linux-gnu-cxx11-cuda_version+12.8-gpu+cuda-mode+opt.jl:30
  [5] run_module_init(mod::Module, i::Int64)
    @ Base ./loading.jl:1378
  [6] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String)
    @ Base ./loading.jl:1366
  [7] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool)
    @ Base ./loading.jl:1254
  [8] _include_from_serialized (repeats 2 times)
    @ ./loading.jl:1210 [inlined]
  [9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String})
    @ Base ./loading.jl:2057
 [10] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2527
 [11] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2388
 [12] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [13] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [14] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2375
 [15] macro expansion
    @ ./loading.jl:2314 [inlined]
 [16] macro expansion
    @ ./lock.jl:273 [inlined]
 [17] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2271
 [18] #invoke_in_world#3
    @ ./essentials.jl:1089 [inlined]
 [19] invoke_in_world
    @ ./essentials.jl:1086 [inlined]
 [20] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2260
 [21] include(mod::Module, _path::String)
    @ Base ./Base.jl:562
 [22] include(x::String)
    @ Reactant ~/.julia/packages/Reactant/nvfKt/src/Reactant.jl:1
 [23] top-level scope
    @ ~/.julia/packages/Reactant/nvfKt/src/Reactant.jl:56
 [24] include
    @ ./Base.jl:562 [inlined]
 [25] 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:2881
 [26] top-level scope
    @ stdin:6
during initialization of module Reactant_jll
in expression starting at /home/expandingman/.julia/packages/Reactant/nvfKt/src/mlir/MLIR.jl:1
in expression starting at /home/expandingman/.julia/packages/Reactant/nvfKt/src/Reactant.jl:1
in expression starting at stdin:6
  ✗ Reactant
  0 dependencies successfully precompiled in 3 seconds. 79 already precompiled.

Think there may be a version clash or something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions