What am I doing wrong here?
| | |_| | | | (_| | | Version 1.6.3 (2021-09-23)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(v1.6) pkg> status
Status `/gpfs/home/tharvey2/.julia/environments/v1.6/Project.toml`
[42fd0dbc] IterativeSolvers v0.9.2
[37e2e46d] LinearAlgebra
(v1.6) pkg> add CUDA
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package AbstractFFTs [621f4979]:
AbstractFFTs [621f4979] log:
├─AbstractFFTs [621f4979] has no known versions!
└─found to have no compatible versions left with CUDA [052768ef]
└─CUDA [052768ef] log:
├─possible versions are: 0.1.0-3.5.0 or uninstalled
└─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-3.5.0
(v1.6) pkg>
I fail to reproduce it. The error is also strange since AbstractFFTs should have a version and is no dependency of IterativeSolvers and LinearAlgebra
Works
(@v1.7) pkg> activate --temp
Activating new project at `/tmp/jl_Lloy7T`
(jl_Lloy7T) pkg> add LinearAlgebra, IterativeSolvers
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Installed IterativeSolvers ─ v0.9.2
Updating `/tmp/jl_Lloy7T/Project.toml`
[42fd0dbc] + IterativeSolvers v0.9.2
[37e2e46d] + LinearAlgebra
Updating `/tmp/jl_Lloy7T/Manifest.toml`
[42fd0dbc] + IterativeSolvers v0.9.2
[3cdcf5f2] + RecipesBase v1.2.1
[56f22d72] + Artifacts
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[de0858da] + Printf
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[2f01184e] + SparseArrays
[4ec0a83e] + Unicode
[e66e0078] + CompilerSupportLibraries_jll
[4536629a] + OpenBLAS_jll
[8e850b90] + libblastrampoline_jll
Precompiling project...
1 dependency successfully precompiled in 2 seconds (4 already precompiled)
(jl_Lloy7T) pkg> st
Status `/tmp/jl_Lloy7T/Project.toml`
[42fd0dbc] IterativeSolvers v0.9.2
[37e2e46d] LinearAlgebra
(jl_Lloy7T) pkg> add CUDA
Resolving package versions...
Installed LLVMExtra_jll ── v0.0.13+0
Installed GPUCompiler ──── v0.13.9
Installed ChainRulesCore ─ v1.11.2
Installed LLVM ─────────── v4.7.0
Downloaded artifact: LLVMExtra
Updating `/tmp/jl_Lloy7T/Project.toml`
[052768ef] + CUDA v3.5.0
Updating `/tmp/jl_Lloy7T/Manifest.toml`
[621f4979] + AbstractFFTs v1.0.1
[79e6a3ab] + Adapt v3.3.1
[ab4f0b2a] + BFloat16s v0.2.0
[fa961155] + CEnum v0.4.1
[052768ef] + CUDA v3.5.0
[d360d2e6] + ChainRulesCore v1.11.2
[9e997f8a] + ChangesOfVariables v0.1.1
[34da2185] + Compat v3.40.0
[ffbed154] + DocStringExtensions v0.8.6
[e2ba6199] + ExprTools v0.1.6
[0c68f7d7] + GPUArrays v8.1.2
[61eb1bfa] + GPUCompiler v0.13.9
[3587e190] + InverseFunctions v0.1.2
[92d709cd] + IrrationalConstants v0.1.1
[692b3bcd] + JLLWrappers v1.3.0
[929cbde3] + LLVM v4.7.0
[2ab3a3ac] + LogExpFunctions v0.3.5
[21216c6a] + Preferences v1.2.2
[74087812] + Random123 v1.4.2
[e6cf234a] + RandomNumbers v1.5.3
[189a3867] + Reexport v1.2.2
[ae029012] + Requires v1.1.3
[276daf66] + SpecialFunctions v1.8.1
[a759f4b9] + TimerOutputs v0.5.13
[dad2f222] + LLVMExtra_jll v0.0.13+0
[efe28fd5] + OpenSpecFun_jll v0.5.5+0
[0dad84c5] + ArgTools
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[f43a241f] + Downloads
[b77e0a4c] + InteractiveUtils
[4af54fe1] + LazyArtifacts
[b27032c2] + LibCURL
[76f85450] + LibGit2
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[ca575930] + NetworkOptions
[44cfe95a] + Pkg
[3fa0cd96] + REPL
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[10745b16] + Statistics
[fa267f1f] + TOML
[a4e569a6] + Tar
[8dfed614] + Test
[cf7118a7] + UUIDs
[deac9b47] + LibCURL_jll
[29816b5a] + LibSSH2_jll
[c8ffd9c3] + MbedTLS_jll
[14a3606d] + MozillaCACerts_jll
[05823500] + OpenLibm_jll
[83775a58] + Zlib_jll
[8e850ede] + nghttp2_jll
[3f19e933] + p7zip_jll
Precompiling project...
12 dependencies successfully precompiled in 40 seconds (23 already precompiled)
(jl_Lloy7T) pkg> st
Status `/tmp/jl_Lloy7T/Project.toml`
[052768ef] CUDA v3.5.0
[42fd0dbc] IterativeSolvers v0.9.2
[37e2e46d] LinearAlgebra
v1.6
(@v1.6) pkg> activate --temp
Activating new environment at `/tmp/jl_YPb3CG/Project.toml`
(jl_YPb3CG) pkg> add LinearAlgebra, IterativeSolvers
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `/tmp/jl_YPb3CG/Project.toml`
[42fd0dbc] + IterativeSolvers v0.9.2
[37e2e46d] + LinearAlgebra
Updating `/tmp/jl_YPb3CG/Manifest.toml`
[42fd0dbc] + IterativeSolvers v0.9.2
[3cdcf5f2] + RecipesBase v1.2.1
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[de0858da] + Printf
[9a3f8284] + Random
[9e88b42a] + Serialization
[2f01184e] + SparseArrays
[4ec0a83e] + Unicode
Precompiling project...
1 dependency successfully precompiled in 3 seconds (1 already precompiled)
(jl_YPb3CG) pkg> st
Status `/tmp/jl_YPb3CG/Project.toml`
[42fd0dbc] IterativeSolvers v0.9.2
[37e2e46d] LinearAlgebra
(jl_YPb3CG) pkg> add CUDA
Resolving package versions...
Downloaded artifact: LLVMExtra
Updating `/tmp/jl_YPb3CG/Project.toml`
[052768ef] + CUDA v3.5.0
Updating `/tmp/jl_YPb3CG/Manifest.toml`
[621f4979] + AbstractFFTs v1.0.1
[79e6a3ab] + Adapt v3.3.1
[ab4f0b2a] + BFloat16s v0.2.0
[fa961155] + CEnum v0.4.1
[052768ef] + CUDA v3.5.0
[d360d2e6] + ChainRulesCore v1.11.2
[9e997f8a] + ChangesOfVariables v0.1.1
[34da2185] + Compat v3.40.0
[ffbed154] + DocStringExtensions v0.8.6
[e2ba6199] + ExprTools v0.1.6
[0c68f7d7] + GPUArrays v8.1.2
[61eb1bfa] + GPUCompiler v0.13.9
[3587e190] + InverseFunctions v0.1.2
[92d709cd] + IrrationalConstants v0.1.1
[692b3bcd] + JLLWrappers v1.3.0
[929cbde3] + LLVM v4.7.0
[2ab3a3ac] + LogExpFunctions v0.3.5
[21216c6a] + Preferences v1.2.2
[74087812] + Random123 v1.4.2
[e6cf234a] + RandomNumbers v1.5.3
[189a3867] + Reexport v1.2.2
[ae029012] + Requires v1.1.3
[276daf66] + SpecialFunctions v1.8.1
[a759f4b9] + TimerOutputs v0.5.13
[dad2f222] + LLVMExtra_jll v0.0.13+0
[efe28fd5] + OpenSpecFun_jll v0.5.5+0
[0dad84c5] + ArgTools
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[f43a241f] + Downloads
[b77e0a4c] + InteractiveUtils
[4af54fe1] + LazyArtifacts
[b27032c2] + LibCURL
[76f85450] + LibGit2
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[ca575930] + NetworkOptions
[44cfe95a] + Pkg
[3fa0cd96] + REPL
[ea8e919c] + SHA
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[10745b16] + Statistics
[fa267f1f] + TOML
[a4e569a6] + Tar
[8dfed614] + Test
[cf7118a7] + UUIDs
[e66e0078] + CompilerSupportLibraries_jll
[deac9b47] + LibCURL_jll
[29816b5a] + LibSSH2_jll
[c8ffd9c3] + MbedTLS_jll
[14a3606d] + MozillaCACerts_jll
[05823500] + OpenLibm_jll
[83775a58] + Zlib_jll
[8e850ede] + nghttp2_jll
[3f19e933] + p7zip_jll
Precompiling project...
7 dependencies successfully precompiled in 41 seconds (26 already precompiled)
(jl_YPb3CG) pkg> st
Status `/tmp/jl_YPb3CG/Project.toml`
[052768ef] CUDA v3.5.0
[42fd0dbc] IterativeSolvers v0.9.2
[37e2e46d] LinearAlgebra
Is that a fresh Julia directory or maybe old/manually changed/whatever?
nilshg
December 9, 2021, 5:52pm
3
Looks like your registry might be corrupted - try deleting your /.julia/registries
directory and try again.
Or actually even easier do registry rm General
followed by registry add General
2 Likes
goerch
December 9, 2021, 6:38pm
4
Maybe try using a local environment .
nilshg
December 9, 2021, 6:49pm
5
Note that this isn’t a package conflict, as the error message says there are no known versions for AbstractFFTs (not no versions within some compatibility bounds)
2 Likes
goerch
December 9, 2021, 6:54pm
6
OTOH, I try everything when my global environment goes bonkers;)