You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: ArgumentError: Package ROCmDeviceLibs_jll [873c0968-716b-5aa7-bb8d-d1e2e2aeff2d] is required but does not seem to be installed:
- Run `Pkg.instantiate()` to install all recorded dependencies.
Stacktrace:
[1] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1920
[2] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1806
[3] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[4] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[5] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1797
[6] macro expansion
@ Base ./loading.jl:1784 [inlined]
[7] macro expansion
@ Base ./lock.jl:267 [inlined]
[8] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1747
[9] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[10] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[11] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1740
However running the same command without the AMDGPU project:
If Julia is started (and
using AMDGPU
) and no project is activated,safe_exec
(called fromsrc/discovery/discovery.jl
) calls this command:/home/me/julia/julia-1.10.0-beta3/bin/julia -Cnative -J/home/me/julia/julia-1.10.0-beta3/lib/julia/sys.so -g1 --startup-file=no --project=/home/me/.julia/packages/AMDGPU/zf490/ --threads=1 -e 'push!(LOAD_PATH, "/home/me/.julia/packages/AMDGPU/zf490/");import ROCmDeviceLibs_jll; println(ROCmDeviceLibs_jll.bitcode_path)'
However running the same command without the AMDGPU project:
/home/me/julia/julia-1.10.0-beta3/bin/julia -Cnative -J/home/me/julia/julia-1.10.0-beta3/lib/julia/sys.so -g1 --startup-file=no --threads=1 -e 'push!(LOAD_PATH, "/home/me/.julia/packages/AMDGPU/zf490/");import ROCmDeviceLibs_jll; println(ROCmDeviceLibs_jll.bitcode_path)'
However, if using a project (
test
) with the mixed device libs installed,safe_exec
calls:/home/me/julia/julia-1.10.0-beta3/bin/julia -Cnative -J/home/me/julia/julia-1.10.0-beta3/lib/julia/sys.so -g1 --startup-file=no --project=/home/me/julia/test/Project.toml --threads=1 -e 'push!(LOAD_PATH, "/home/me/.julia/packages/AMDGPU/zf490/");push!(LOAD_PATH, "/home/me/julia/test/Project.toml");import ROCmDeviceLibs_jll; println(ROCmDeviceLibs_jll.bitcode_path)'
So the device libs detection only works if in an active project. If this is intentional/expected LMK and I'll write a pull request for the docs.
The text was updated successfully, but these errors were encountered: