JuliaRandom / Random123.jl

Julia implementation of Random123.
http://juliarandom.github.io/RandomNumbers.jl/stable/man/random123/
Other
18 stars 5 forks source link

Issue with libdl dependency? #14

Closed rkube closed 2 years ago

rkube commented 2 years ago

Julia suggested to file an issue for an error:


   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.7.2 (2022-02-06)
 _/ |\__'_|_|_|\__'_|  |  
|__/                   |

julia> using Flux
[ Info: Precompiling Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
┌ Warning: Package Random123 does not have Libdl in its dependencies:
│ - If you have Random123 checked out for development and have
│   added Libdl as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Random123
└ Loading Libdl into Random123 from project dependency, future warnings for Random123 are suppressed.
┌ Warning: AES-NI is not enabled, so AESNI and ARS are not available.
└ @ Random123 ~/.julia/packages/Random123/qWUjl/src/Random123.jl:38
┌ Warning: The call to compilecache failed to create a usable precompiled cache file for CUDA [052768ef-5323-5732-b1bb-66c8b64840ba]
│   exception = Required dependency Random123 [74087812-796a-5b5d-8853-05524746bad3] failed to load from a cache file.
└ @ Base loading.jl:1132
┌ Warning: Package Random123 does not have Libdl in its dependencies:
│ - If you have Random123 checked out for development and have
│   added Libdl as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Random123
└ Loading Libdl into Random123 from project dependency, future warnings for Random123 are suppressed.
┌ Warning: AES-NI is not enabled, so AESNI and ARS are not available.
└ @ Random123 ~/.julia/packages/Random123/qWUjl/src/Random123.jl:38
┌ Warning: Module CUDA with build ID 611810045518800 is missing from the cache.
│ This may mean CUDA [052768ef-5323-5732-b1bb-66c8b64840ba] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1107
┌ Warning: The call to compilecache failed to create a usable precompiled cache file for Flux [587475ba-b771-5e3f-ad9e-33799f191a9c]
│   exception = Required dependency Random123 [74087812-796a-5b5d-8853-05524746bad3] failed to load from a cache file.
└ @ Base loading.jl:1132
[ Info: Precompiling CUDA [052768ef-5323-5732-b1bb-66c8b64840ba]
┌ Warning: Package Random123 does not have Libdl in its dependencies:
│ - If you have Random123 checked out for development and have
│   added Libdl as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with Random123
└ Loading Libdl into Random123 from project dependency, future warnings for Random123 are suppressed.
┌ Warning: AES-NI is not enabled, so AESNI and ARS are not available.
└ @ Random123 ~/.julia/packages/Random123/qWUjl/src/Random123.jl:38```
sunoru commented 2 years ago

That's weird because Libdl has been removed from all the source code. Have you tried Pkg.resolve()?

rkube commented 2 years ago

Huh, I restarted Julia and now all packages precompile fine.