Help with failing package compilaton of AbstractFFTs

votroto
Wed, 19 Oct 2022 01:34:41 +0000
General Usage

Hi I’m trying to install CUDA.jl, but its dependency AbstractFFTs keeps failing. Here is an output from the session. Is there any way to debug it? Is the problem on my end? Neither Julia 1.8, 1.7, nor 1.6 works.

$ julia --project
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.8.0 (2022-08-17)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(jltest) pkg> add AbstractFFTs
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
    Updating `~/jltest/Project.toml`
  [621f4979] + AbstractFFTs v1.2.1
    Updating `~/jltest/Manifest.toml`
  [621f4979] + AbstractFFTs v1.2.1
  [d360d2e6] + ChainRulesCore v1.15.6
  [34da2185] + Compat v4.3.0
  [56f22d72] + Artifacts
  [ade2ca70] + Dates
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [de0858da] + Printf
  [9a3f8284] + Random
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization
  [2f01184e] + SparseArrays
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll v0.5.2+0
  [4536629a] + OpenBLAS_jll v0.3.20+0
  [8e850b90] + libblastrampoline_jll v5.1.1+0
Precompiling project...
  ✗ AbstractFFTs
  0 dependencies successfully precompiled in 2 seconds. 5 already precompiled.
  2 dependencies errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the packages

(jltest) pkg> precompile
Precompiling project...
  ✗ AbstractFFTs
  0 dependencies successfully precompiled in 2 seconds. 5 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

AbstractFFTs [621f4979-c628-5d54-868e-fcf4e3e8185c]

Failed to precompile AbstractFFTs [621f4979-c628-5d54-868e-fcf4e3e8185c] to /home/votroto1/.julia/compiled/v1.8/AbstractFFTs/jl_JUgasr.
ERROR: LoadError: ArgumentError: Package ChainRulesCore [d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
 [1] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1306
 [2] _require_prelocked(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1200
 [3] macro expansion
   @ ./loading.jl:1180 [inlined]
 [4] macro expansion
   @ ./lock.jl:223 [inlined]
 [5] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1144
 [6] include
   @ ./Base.jl:419 [inlined]
 [7] 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:1554
 [8] top-level scope
   @ stdin:1
in expression starting at /home/votroto1/.julia/packages/AbstractFFTs/Wg2Yf/src/AbstractFFTs.jl:1
in expression starting at stdin:1

(jltest) pkg> instantiate
  0 dependencies successfully precompiled in 0 seconds. 5 already precompiled. 1 skipped during auto due to previous errors.
  1 dependency errored. To see a full report either run `import Pkg; Pkg.precompile()` or load the package

(jltest) pkg> precompile
Precompiling project...
  ✗ AbstractFFTs
  0 dependencies successfully precompiled in 2 seconds. 5 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

AbstractFFTs [621f4979-c628-5d54-868e-fcf4e3e8185c]

Failed to precompile AbstractFFTs [621f4979-c628-5d54-868e-fcf4e3e8185c] to /home/votroto1/.julia/compiled/v1.8/AbstractFFTs/jl_QO4Jje.
ERROR: LoadError: ArgumentError: Package ChainRulesCore [d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

Stacktrace:
 [1] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1306
 [2] _require_prelocked(uuidkey::Base.PkgId)
   @ Base ./loading.jl:1200
 [3] macro expansion
   @ ./loading.jl:1180 [inlined]
 [4] macro expansion
   @ ./lock.jl:223 [inlined]
 [5] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:1144
 [6] include
   @ ./Base.jl:419 [inlined]
 [7] 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:1554
 [8] top-level scope
   @ stdin:1
in expression starting at /home/votroto1/.julia/packages/AbstractFFTs/Wg2Yf/src/AbstractFFTs.jl:1
in expression starting at stdin:1

and here is the system info

julia> versioninfo()
Julia Version 1.8.0
Commit 5544a0fab76 (2022-08-17 13:38 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 72 × Intel(R) Xeon(R) Gold 6150 CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake-avx512)
  Threads: 1 on 72 virtual cores
Environment:
  LD_LIBRARY_PATH = /mnt/appl/software/LAPACK/3.9.1-GCC-10.2.0/lib:/mnt/appl/software/binutils/2.35-GCCcore-10.2.0/lib:/mnt/appl/software/zlib/1.2.11-GCCcore-10.2.0/lib:/mnt/appl/software/GCCcore/10.2.0/lib64:/mnt/appl/software/GCCcore/10.2.0/lib:/mnt/appl/software/OpenBLAS/0.3.20-GCC-11.3.0/lib:/mnt/appl/software/Julia/1.8.0-linux-x86_64/lib:/mnt/appl/software/CUDAcore/11.4.1/nvvm/lib64:/mnt/appl/software/CUDAcore/11.4.1/extras/CUPTI/lib64:/mnt/appl/software/CUDAcore/11.4.1/lib:/mnt/appl/software/CUDA/11.7.0/nvvm/lib64:/mnt/appl/software/CUDA/11.7.0/extras/CUPTI/lib64:/mnt/appl/software/CUDA/11.7.0/lib

Thank You

12 posts - 4 participants