# Cannot locate artifact 'libknet8' in KNet

**URL:** <https://discourse.julialang.org/t/cannot-locate-artifact-libknet8-in-knet/61631>\
**Category:** Machine Learning\
**Tags:** knet, cuda\
**Created:** [May 22, 2021, 10:10am UTC](https://discourse.julialang.org/t/cannot-locate-artifact-libknet8-in-knet/61631 "2021-05-22T10:10:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gforchini](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gforchini/32/25358_2.png) [@gforchini](https://discourse.julialang.org/u/gforchini)\
**Post date:** [May 22, 2021, 10:10am UTC](https://discourse.julialang.org/t/cannot-locate-artifact-libknet8-in-knet/61631/1 "2021-05-22T10:10:09Z")

</div>

Hello,

I have downloaded Knet from [https://github.com/denizyuret/Knet.jl](https://github.com/denizyuret/Knet.jl) (but I have the same problem when I download Knet with Pkg.add(“Knet”)) to a Nvidia Jetson Nano (as it is an inexpensive method to finalise a Monte Carlo simulation using a GPU to be later run on a supercomputer)

When using Knet I have an error and it appears libknet8 cannot be found. I have googled a bit and found some posts related to Knet and libknet8 but I don’t understand what can be done to overcome this problem. Any suggestion to get around this would be very useful and very much appreciated.

I post the error and some package and system info below.

Thank you for any help,

Giovanni

julia\> using Knet  
[Info: Precompiling Knet [1902f260-5fb4-5aff-8c31-6271790ab950]  
ERROR: LoadError: LoadError: LoadError: Cannot locate artifact ‘libknet8’ for aarch64-linux-gnu-libgfortran4-cxx11-julia\_version+1.6.1 in ‘/home/giovanni/.julia/packages/Knet/dUFJb/Artifacts.toml’  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:33  
[2] artifact\_slash\_lookup(name::String, artifact\_dict::Dict{String, Any}, artifacts\_toml::String, platform::Base.BinaryPlatforms.Platform)  
@ Artifacts /buildworker/worker/package\_linuxaarch64/build/usr/share/julia/stdlib/v1.6/Artifacts/src/Artifacts.jl:608  
[3] var"@artifact\_str"( **source** ::LineNumberNode, **module** ::Module, name::Any, platform::Nothing)  
@ Artifacts /buildworker/worker/package\_linuxaarch64/build/usr/share/julia/stdlib/v1.6/Artifacts/src/Artifacts.jl:678  
[4] var"@artifact\_str"( **source** ::LineNumberNode, **module** ::Module, name::Any)  
@ Artifacts /buildworker/worker/package\_linuxaarch64/build/usr/share/julia/stdlib/v1.6/Artifacts/src/Artifacts.jl:641  
[5] include(mod::Module, \_path::String)  
@ Base ./Base.jl:386  
[6] include(x::String)  
@ Knet ~/.julia/packages/Knet/dUFJb/src/Knet.jl:1  
[7] top-level scope  
@ ~/.julia/packages/Knet/dUFJb/src/Knet.jl:11  
[8] include  
@ ./Base.jl:386 [inlined]  
[9] 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, UInt64}}, source::Nothing)  
@ Base ./loading.jl:1213  
[10] top-level scope  
@ none:1  
[11] eval  
@ ./boot.jl:360 [inlined]  
[12] eval(x::Expr)  
@ Base.MainInclude ./client.jl:446  
[13] top-level scope  
@ none:1  
in expression starting at /home/giovanni/.julia/packages/Knet/dUFJb/src/libknet8/LibKnet8.jl:7  
in expression starting at /home/giovanni/.julia/packages/Knet/dUFJb/src/libknet8/LibKnet8.jl:3  
in expression starting at /home/giovanni/.julia/packages/Knet/dUFJb/src/Knet.jl:1  
ERROR: Failed to precompile Knet [1902f260-5fb4-5aff-8c31-6271790ab950] to /home/giovanni/.julia/compiled/v1.6/Knet/jl\_1lcqLC.  
Stacktrace:  
[1] error(s::String)  
@ Base ./error.jl:33  
[2] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::Base.TTY, internal\_stdout::Base.TTY)  
@ Base ./loading.jl:1360  
[3] compilecache(pkg::Base.PkgId, path::String)  
@ Base ./loading.jl:1306  
[4] \_require(pkg::Base.PkgId)  
@ Base ./loading.jl:1021  
[5] require(uuidkey::Base.PkgId)  
@ Base ./loading.jl:914  
[6] require(into::Module, mod::Symbol)  
@ Base ./loading.jl:901

julia\> versioninfo()  
Julia Version 1.6.1  
Commit 6aaedecc44 (2021-04-23 05:59 UTC)  
Platform Info:  
OS: Linux (aarch64-unknown-linux-gnu)  
CPU: unknown  
WORD\_SIZE: 64  
LIBM: libopenlibm  
LLVM: libLLVM-11.0.1 (ORCJIT, cortex-a57)

julia\> Pkg.status()  
Status `~/.julia/environments/v1.6/Project.toml`  
[052768ef] CUDA v2.6.3  
[1902f260] Knet v1.4.7 `https://github.com/denizyuret/Knet.jl#master`
