How to install NeuralOperators as a CPU-Version?

Hello,

i’m new to using julia, but have extensive experience in python and mathematica. unfortunately, i have an old laptop with a non-cuda compatible graphics card. so i’d like to include the NeuralOperators package as a cpu version, but unfortunately i haven’t succeeded after extensive attempts. i’m only interested in basic tests for now, without any claims to performance! does anyone know if and how to install a cpu version of NeuralOperators in julia? that would be very helpful.

thanks in advance and best regards,

Andrew

Can you explain where you were unsuccessful? During installation, I received a compatibility error for CUDA.

Summary

(neural_operators) pkg> add NeuralOperators
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package NeuralOperators [ea5c82af]:
NeuralOperators [ea5c82af] log:
├─possible versions are: 0.1.0-0.4.8 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.4.8
├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.4.7-0.4.8 or uninstalled, leaving only versions: 0.4.7-0.4.8
│ └─CUDA [052768ef] log:
│ ├─possible versions are: 0.1.0-5.3.1 or uninstalled
│ ├─restricted by julia compatibility requirements to versions: [2.3.0, 2.5.0-5.3.1] or uninstalled
│ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 3.0.0-5.3.1
│ │ └─NeuralOperators [ea5c82af] log: see above
│ └─restricted by compatibility requirements with GPUCompiler [61eb1bfa] to versions: 5.0.0-5.3.1 or uninstalled, leaving only versions: 5.0.0-5.3.1
│ └─GPUCompiler [61eb1bfa] log:
│ ├─possible versions are: 0.1.0-0.26.4 or uninstalled
│ ├─restricted by julia compatibility requirements to versions: 0.22.0-0.26.4 or uninstalled
│ └─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.11.1-0.12.9, 0.13.3-0.21.4, 0.24.0-0.26.4], leaving only versions: 0.24.0-0.26.4
│ └─CUDA [052768ef] log: see above
├─restricted by compatibility requirements with CUDAKernels [72cfdca4] to versions: 0.4.8 or uninstalled, leaving only versions: 0.4.8
│ └─CUDAKernels [72cfdca4] log:
│ ├─possible versions are: 0.1.0-0.4.7 or uninstalled
│ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.2.0-0.4.7 or uninstalled
│ │ └─CUDA [052768ef] log: see above
│ ├─restricted by compatibility requirements with KernelAbstractions [63c18a36] to versions: 0.3.0-0.4.7 or uninstalled
│ │ └─KernelAbstractions [63c18a36] log:
│ │ ├─possible versions are: 0.1.0-0.9.18 or uninstalled
│ │ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 0.7.0-0.9.18
│ │ │ └─NeuralOperators [ea5c82af] log: see above
│ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.9.2-0.9.18
│ │ └─CUDA [052768ef] log: see above
│ └─restricted by compatibility requirements with CUDA [052768ef] to versions: uninstalled
│ └─CUDA [052768ef] log: see above
└─restricted by compatibility requirements with GeometricFlux [7e08b658] to versions: 0.1.0-0.3.1 or uninstalled — no versions left
└─GeometricFlux [7e08b658] log:
├─possible versions are: 0.1.0-0.14.0 or uninstalled
├─restricted by julia compatibility requirements to versions: [0.1.0-0.6.1, 0.7.7, 0.8.1, 0.9.0-0.14.0] or uninstalled
├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.1.0-0.6.0, 0.7.7-0.14.0] or uninstalled, leaving only versions: [0.1.0-0.6.0, 0.7.7, 0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─CUDA [052768ef] log: see above
├─restricted by compatibility requirements with Zygote [e88e6eb3] to versions: [0.1.0-0.1.1, 0.7.6-0.14.0] or uninstalled, leaving only versions: [0.1.0-0.1.1, 0.7.7, 0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─Zygote [e88e6eb3] log:
│ ├─possible versions are: 0.1.0-0.6.69 or uninstalled
│ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 0.6.0-0.6.69
│ │ └─NeuralOperators [ea5c82af] log: see above
│ ├─restricted by compatibility requirements with ChainRulesCore [d360d2e6] to versions: [0.1.0-0.6.5, 0.6.18-0.6.69] or uninstalled, leaving only versions: [0.6.0-0.6.5, 0.6.18-0.6.69]
│ │ └─ChainRulesCore [d360d2e6] log:
│ │ ├─possible versions are: 0.1.0-1.23.0 or uninstalled
│ │ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 1.0.0-1.23.0
│ │ │ └─NeuralOperators [ea5c82af] log: see above
│ │ ├─restricted by compatibility requirements with Zygote [e88e6eb3] to versions: 1.0.1-1.23.0
│ │ │ └─Zygote [e88e6eb3] log: see above
│ │ ├─restricted by compatibility requirements with Flux [587475ba] to versions: 1.12.0-1.23.0
│ │ │ └─Flux [587475ba] log:
│ │ │ ├─possible versions are: 0.4.1-0.14.15 or uninstalled
│ │ │ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 0.12.0-0.14.15
│ │ │ │ └─NeuralOperators [ea5c82af] log: see above
│ │ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.4.1-0.10.4, 0.12.2-0.14.15] or uninstalled, leaving only versions: 0.12.2-0.14.15
│ │ │ │ └─CUDA [052768ef] log: see above
│ │ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.4.1-0.10.4, 0.14.6-0.14.15] or uninstalled, leaving only versions: 0.14.6-0.14.15
│ │ │ └─CUDA [052768ef] log: see above
│ │ └─restricted by compatibility requirements with NNlib [872c559c] to versions: 1.13.0-1.23.0
│ │ └─NNlib [872c559c] log:
│ │ ├─possible versions are: 0.3.2-0.9.13 or uninstalled
│ │ ├─restricted by compatibility requirements with LoopVectorization [bdcacae8] to versions: [0.3.2-0.7.1, 0.7.4-0.9.13] or uninstalled
│ │ │ └─LoopVectorization [bdcacae8] log:
│ │ │ ├─possible versions are: 0.1.0-0.12.169 or uninstalled
│ │ │ ├─restricted by julia compatibility requirements to versions: 0.9.0-0.12.169 or uninstalled
│ │ │ ├─restricted by compatibility requirements with VectorizationBase [3d5dd08c] to versions: 0.12.19-0.12.169 or uninstalled
│ │ │ │ └─VectorizationBase [3d5dd08c] log:
│ │ │ │ ├─possible versions are: 0.1.0-0.21.66 or uninstalled
│ │ │ │ └─restricted by julia compatibility requirements to versions: 0.20.8-0.21.66 or uninstalled
│ │ │ └─restricted by compatibility requirements with ChainRulesCore [d360d2e6] to versions: [0.1.0-0.12.29, 0.12.31-0.12.169] or uninstalled, leaving only versions: [0.12.19-0.12.29, 0.12.31-0.12.169] or uninstalled
│ │ │ └─ChainRulesCore [d360d2e6] log: see above
│ │ ├─restricted by compatibility requirements with ChainRulesCore [d360d2e6] to versions: [0.3.2-0.7.9, 0.7.27-0.9.13] or uninstalled, leaving only versions: [0.3.2-0.7.1, 0.7.4-0.7.9, 0.7.27-0.9.13] or uninstalled
│ │ │ └─ChainRulesCore [d360d2e6] log: see above
│ │ ├─restricted by compatibility requirements with Flux [587475ba] to versions: [0.7.14-0.8.21, 0.9.1-0.9.13], leaving only versions: [0.7.27-0.8.21, 0.9.1-0.9.13]
│ │ │ └─Flux [587475ba] log: see above
│ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.3.2-0.8.21, 0.9.6-0.9.13] or uninstalled, leaving only versions: [0.7.27-0.8.21, 0.9.6-0.9.13]
│ │ │ └─CUDA [052768ef] log: see above
│ │ └─restricted by compatibility requirements with Flux [587475ba] to versions: 0.9.1-0.9.13, leaving only versions: 0.9.6-0.9.13
│ │ └─Flux [587475ba] log: see above
│ ├─restricted by compatibility requirements with ChainRules [082447d4] to versions: [0.1.0-0.4.20, 0.6.18-0.6.69] or uninstalled, leaving only versions: 0.6.18-0.6.69
│ │ └─ChainRules [082447d4] log:
│ │ ├─possible versions are: 0.0.1-1.64.0 or uninstalled
│ │ ├─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: 0.1.0-1.64.0 or uninstalled
│ │ │ └─SpecialFunctions [276daf66] log:
│ │ │ ├─possible versions are: 0.7.0-2.3.1 or uninstalled
│ │ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 1.3.0-2.3.1 or uninstalled
│ │ │ │ └─CUDA [052768ef] log: see above
│ │ │ ├─restricted by compatibility requirements with Zygote [e88e6eb3] to versions: 0.10.0-2.3.1, leaving only versions: 1.3.0-2.3.1
│ │ │ │ └─Zygote [e88e6eb3] log: see above
│ │ │ ├─restricted by compatibility requirements with ChainRulesCore [d360d2e6] to versions: [0.7.0-1.1.0, 1.6.0-2.3.1] or uninstalled, leaving only versions: 1.6.0-2.3.1
│ │ │ │ └─ChainRulesCore [d360d2e6] log: see above
│ │ │ └─restricted by compatibility requirements with Flux [587475ba] to versions: 2.1.2-2.3.1
│ │ │ └─Flux [587475ba] log: see above
│ │ ├─restricted by compatibility requirements with Zygote [e88e6eb3] to versions: 0.7.34-1.64.0
│ │ │ └─Zygote [e88e6eb3] log: see above
│ │ └─restricted by compatibility requirements with ChainRulesCore [d360d2e6] to versions: [0.0.1, 1.0.0-1.64.0] or uninstalled, leaving only versions: 1.0.0-1.64.0
│ │ └─ChainRulesCore [d360d2e6] log: see above
│ ├─restricted by compatibility requirements with GPUArrays [0c68f7d7] to versions: [0.1.0-0.6.41, 0.6.64-0.6.69] or uninstalled, leaving only versions: [0.6.18-0.6.41, 0.6.64-0.6.69]
│ │ └─GPUArrays [0c68f7d7] log:
│ │ ├─possible versions are: 0.3.0-10.1.0 or uninstalled
│ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [6.1.0-9.1.0, 10.0.1-10.1.0]
│ │ │ └─CUDA [052768ef] log: see above
│ │ ├─restricted by compatibility requirements with LLVM [929cbde3] to versions: [0.3.0-8.1.3, 8.8.1-10.1.0] or uninstalled, leaving only versions: [6.1.0-8.1.3, 8.8.1-9.1.0, 10.0.1-10.1.0]
│ │ │ └─LLVM [929cbde3] log:
│ │ │ ├─possible versions are: 0.9.0-6.6.3 or uninstalled
│ │ │ ├─restricted by julia compatibility requirements to versions: 4.0.0-6.6.3 or uninstalled
│ │ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 3.0.0-6.6.3, leaving only versions: 4.0.0-6.6.3
│ │ │ │ └─CUDA [052768ef] log: see above
│ │ │ └─restricted by compatibility requirements with GPUCompiler [61eb1bfa] to versions: 6.2.1-6.6.3
│ │ │ └─GPUCompiler [61eb1bfa] log: see above
│ │ ├─restricted by compatibility requirements with Adapt [79e6a3ab] to versions: [0.3.0-0.5.0, 6.2.0-10.1.0] or uninstalled, leaving only versions: [6.2.0-8.1.3, 8.8.1-9.1.0, 10.0.1-10.1.0]
│ │ │ └─Adapt [79e6a3ab] log:
│ │ │ ├─possible versions are: 0.3.0-4.0.4 or uninstalled
│ │ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: 3.3.0-4.0.4
│ │ │ └─CUDA [052768ef] log: see above
│ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: [9.0.0-9.1.0, 10.0.1-10.1.0]
│ │ └─CUDA [052768ef] log: see above
│ └─restricted by compatibility requirements with Flux [587475ba] to versions: 0.6.49-0.6.69, leaving only versions: 0.6.64-0.6.69
│ └─Flux [587475ba] log: see above
├─restricted by compatibility requirements with GraphLaplacians [a1251efa] to versions: [0.1.0-0.7.6, 0.8.0-0.14.0] or uninstalled, leaving only versions: [0.1.0-0.1.1, 0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─GraphLaplacians [a1251efa] log:
│ ├─possible versions are: 0.1.0-0.2.1 or uninstalled
│ └─restricted by julia compatibility requirements to versions: uninstalled
├─restricted by compatibility requirements with Flux [587475ba] to versions: 0.7.6-0.14.0 or uninstalled, leaving only versions: [0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─Flux [587475ba] log: see above
├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.1.0-0.6.0, 0.14.0] or uninstalled, leaving only versions: 0.14.0 or uninstalled
│ └─CUDA [052768ef] log: see above
└─restricted by compatibility requirements with GraphSignals [3ebe565e] to versions: 0.1.0-0.6.1 or uninstalled, leaving only versions: uninstalled
└─GraphSignals [3ebe565e] log:
├─possible versions are: 0.1.0-0.9.1 or uninstalled
├─restricted by julia compatibility requirements to versions: [0.2.0-0.2.3, 0.3.6-0.9.1] or uninstalled
├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.1.0-0.1.10, 0.2.1-0.9.1] or uninstalled, leaving only versions: [0.2.1-0.2.3, 0.3.6-0.9.1] or uninstalled
│ └─CUDA [052768ef] log: see above
├─restricted by compatibility requirements with GraphLaplacians [a1251efa] to versions: 0.3.3-0.9.1 or uninstalled, leaving only versions: 0.3.6-0.9.1 or uninstalled
│ └─GraphLaplacians [a1251efa] log: see above
└─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.1.0-0.1.10 or uninstalled, leaving only versions: uninstalled
└─CUDA [052768ef] log: see above

My computer is somewhat old too. Did you receive a similar error?

Based on this example, it seems like you don’t need a special version of the package for cpu.

First I try to install NeuralOperators (NeOp) with no CUDA package and I got following Error:

Summary

julia> using Pkg

julia> Pkg.add(“NeuralOperators”)
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package NeuralOperators [ea5c82af]:
NeuralOperators [ea5c82af] log:
├─possible versions are: 0.1.0-0.4.8 or uninstalled
├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.4.8
├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.4.7-0.4.8 or uninstalled, leaving only versions: 0.4.7-0.4.8
│ └─CUDA [052768ef] log:
│ ├─possible versions are: 0.1.0-5.3.1 or uninstalled
│ ├─restricted by julia compatibility requirements to versions: [2.3.0, 2.5.0-5.3.1] or uninstalled
│ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 3.0.0-5.3.1
│ │ └─NeuralOperators [ea5c82af] log: see above
│ ├─restricted by compatibility requirements with LLVM [929cbde3] to versions: 3.3.3-5.3.1 or uninstalled, leaving only versions: 3.3.3-5.3.1
│ │ └─LLVM [929cbde3] log:
│ │ ├─possible versions are: 0.9.0-6.6.3 or uninstalled
│ │ ├─restricted by julia compatibility requirements to versions: 4.0.0-6.6.3 or uninstalled
│ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 3.0.0-6.6.3, leaving only versions: 4.0.0-6.6.3
│ │ │ └─CUDA [052768ef] log: see above
│ │ └─restricted by compatibility requirements with GPUCompiler [61eb1bfa] to versions: 6.2.1-6.6.3
│ │ └─GPUCompiler [61eb1bfa] log:
│ │ ├─possible versions are: 0.1.0-0.26.4 or uninstalled
│ │ ├─restricted by julia compatibility requirements to versions: 0.22.0-0.26.4 or uninstalled
│ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.11.1-0.12.9, 0.13.3-0.21.4, 0.24.0-0.26.4], leaving only versions: 0.24.0-0.26.4
│ │ └─CUDA [052768ef] log: see above
│ └─restricted by compatibility requirements with GPUCompiler [61eb1bfa] to versions: 5.0.0-5.3.1 or uninstalled, leaving only versions: 5.0.0-5.3.1
│ └─GPUCompiler [61eb1bfa] log: see above
├─restricted by compatibility requirements with Flux [587475ba] to versions: 0.4.8 or uninstalled, leaving only versions: 0.4.8
│ └─Flux [587475ba] log:
│ ├─possible versions are: 0.4.1-0.14.15 or uninstalled
│ ├─restricted to versions * by an explicit requirement, leaving only versions: 0.4.1-0.14.15
│ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 0.12.0-0.14.15
│ │ └─NeuralOperators [ea5c82af] log: see above
│ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.4.1-0.10.4, 0.12.2-0.14.15] or uninstalled, leaving only versions: 0.12.2-0.14.15
│ │ └─CUDA [052768ef] log: see above
│ └─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.4.1-0.10.4, 0.14.6-0.14.15] or uninstalled, leaving only versions: 0.14.6-0.14.15
│ └─CUDA [052768ef] log: see above
└─restricted by compatibility requirements with GeometricFlux [7e08b658] to versions: 0.1.0-0.3.1 or uninstalled — no versions left
└─GeometricFlux [7e08b658] log:
├─possible versions are: 0.1.0-0.14.0 or uninstalled
├─restricted by julia compatibility requirements to versions: [0.1.0-0.6.1, 0.7.7, 0.8.1, 0.9.0-0.14.0] or uninstalled
├─restricted by compatibility requirements with Flux [587475ba] to versions: 0.7.6-0.14.0 or uninstalled, leaving only versions: [0.7.7, 0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─Flux [587475ba] log: see above
├─restricted by compatibility requirements with GraphLaplacians [a1251efa] to versions: [0.1.0-0.7.6, 0.8.0-0.14.0] or uninstalled, leaving only versions: [0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─GraphLaplacians [a1251efa] log:
│ ├─possible versions are: 0.1.0-0.2.1 or uninstalled
│ └─restricted by julia compatibility requirements to versions: uninstalled
├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.1.0-0.6.0, 0.14.0] or uninstalled, leaving only versions: 0.14.0 or uninstalled
│ └─CUDA [052768ef] log: see above
└─restricted by compatibility requirements with GraphSignals [3ebe565e] to versions: 0.1.0-0.6.1 or uninstalled, leaving only versions: uninstalled
└─GraphSignals [3ebe565e] log:
├─possible versions are: 0.1.0-0.9.1 or uninstalled
├─restricted by julia compatibility requirements to versions: [0.2.0-0.2.3, 0.3.6-0.9.1] or uninstalled
├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.1.0-0.1.10, 0.2.1-0.9.1] or uninstalled, leaving only versions: [0.2.1-0.2.3, 0.3.6-0.9.1] or uninstalled
│ └─CUDA [052768ef] log: see above
├─restricted by compatibility requirements with GraphLaplacians [a1251efa] to versions: 0.3.3-0.9.1 or uninstalled, leaving only versions: 0.3.6-0.9.1 or uninstalled
│ └─GraphLaplacians [a1251efa] log: see above
└─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.1.0-0.1.10 or uninstalled, leaving only versions: uninstalled
└─CUDA [052768ef] log: see above
Stacktrace:
[1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool)
@ Pkg.Resolve C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1072
[2] propagate_constraints! (repeats 2 times)
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1008 [inlined]
[3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool)
@ Pkg.Resolve C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1533
[4] simplify_graph! (repeats 2 times)
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1532 [inlined]
[5] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, julia_version::VersionNumber, installed_only::Bool)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:407
[6] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1360
[7] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, julia_version::VersionNumber, try_all_installed::Bool)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1349
[8] _resolve(io::Base.TTY, env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1370
[9] add(ctx::Pkg.Types.Context, pkgs::Vector{…}, new_git::Set{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1387
[10] add
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1376 [inlined]
[11] add(ctx::Pkg.Types.Context, pkgs::Vector{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{…})
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:278
[12] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:159
[13] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:148
[14] add
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
[15] add(pkg::String)
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:146
[16] top-level scope
@ REPL[3]:1
Some type information was truncated. Use show(err) to see complete types.

After that I install CUDA (I know that it is incompatible with my GC) and I got following meessages (it seems to be installed):

Summary

julia> Pkg.add(“CUDA”)
Resolving package versions…
Updating C:\Users\Andreas\.julia\environments\v1.10\Project.toml
[052768ef] + CUDA v5.3.1
Updating C:\Users\Andreas\.julia\environments\v1.10\Manifest.toml
[ab4f0b2a] + BFloat16s v0.5.0
[052768ef] + CUDA v5.3.1
[1af6417a] + CUDA_Runtime_Discovery v0.2.4
[3da002f7] + ColorTypes v0.11.5
[5ae59095] + Colors v0.12.10
[a93c6f00] + DataFrames v1.6.1
[53c48c17] + FixedPointNumbers v0.8.4
[61eb1bfa] + GPUCompiler v0.26.4
[842dd82b] + InlineStrings v1.4.0
[41ab1584] + InvertedIndices v1.3.0
[8b046642] + LLVMLoopInfo v1.0.0
[5da4648a] + NVTX v0.3.4
[2dfb63ee] + PooledArrays v1.4.3
[6c6a2e73] + Scratch v1.2.1
[91c51154] + SentinelArrays v1.4.1
[4ee394cb] + CUDA_Driver_jll v0.8.1+0
[76a88914] + CUDA_Runtime_jll v0.12.1+0
[9c1d0b0a] + JuliaNVTXCallbacks_jll v0.2.1+0
[e98f9f5b] + NVTX_jll v3.1.0+2

After that I try to instal NeOp again, with the following error-messages:

Summary

julia> Pkg.add(“NeuralOperators”)
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package GeometricFlux [7e08b658]:
GeometricFlux [7e08b658] log:
├─possible versions are: 0.1.0-0.14.0 or uninstalled
├─restricted by julia compatibility requirements to versions: [0.1.0-0.6.1, 0.7.7, 0.8.1, 0.9.0-0.14.0] or uninstalled
├─restricted by compatibility requirements with Flux [587475ba] to versions: 0.7.6-0.14.0 or uninstalled, leaving only versions: [0.7.7, 0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─Flux [587475ba] log:
│ ├─possible versions are: 0.4.1-0.14.15 or uninstalled
│ ├─restricted to versions * by an explicit requirement, leaving only versions: 0.4.1-0.14.15
│ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 0.12.0-0.14.15
│ │ └─NeuralOperators [ea5c82af] log:
│ │ ├─possible versions are: 0.1.0-0.4.8 or uninstalled
│ │ ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-0.4.8
│ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.4.7-0.4.8 or uninstalled, leaving only versions: 0.4.7-0.4.8
│ │ │ └─CUDA [052768ef] log:
│ │ │ ├─possible versions are: 0.1.0-5.3.1 or uninstalled
│ │ │ ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-5.3.1
│ │ │ ├─restricted by julia compatibility requirements to versions: [2.3.0, 2.5.0-5.3.1] or uninstalled, leaving only versions: [2.3.0, 2.5.0-5.3.1]
│ │ │ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 3.0.0-5.3.1
│ │ │ │ └─NeuralOperators [ea5c82af] log: see above
│ │ │ ├─restricted by compatibility requirements with LLVM [929cbde3] to versions: 3.3.3-5.3.1 or uninstalled, leaving only versions: 3.3.3-5.3.1
│ │ │ │ └─LLVM [929cbde3] log:
│ │ │ │ ├─possible versions are: 0.9.0-6.6.3 or uninstalled
│ │ │ │ ├─restricted by julia compatibility requirements to versions: 4.0.0-6.6.3 or uninstalled
│ │ │ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 3.0.0-6.6.3, leaving only versions: 4.0.0-6.6.3
│ │ │ │ │ └─CUDA [052768ef] log: see above
│ │ │ │ └─restricted by compatibility requirements with GPUCompiler [61eb1bfa] to versions: 6.2.1-6.6.3
│ │ │ │ └─GPUCompiler [61eb1bfa] log:
│ │ │ │ ├─possible versions are: 0.1.0-0.26.4 or uninstalled
│ │ │ │ ├─restricted by julia compatibility requirements to versions: 0.22.0-0.26.4 or uninstalled
│ │ │ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.11.1-0.12.9, 0.13.3-0.21.4, 0.24.0-0.26.4], leaving only versions: 0.24.0-0.26.4
│ │ │ │ └─CUDA [052768ef] log: see above
│ │ │ └─restricted by compatibility requirements with GPUCompiler [61eb1bfa] to versions: 5.0.0-5.3.1 or uninstalled, leaving only versions: 5.0.0-5.3.1
│ │ │ └─GPUCompiler [61eb1bfa] log: see above
│ │ └─restricted by compatibility requirements with CUDAKernels [72cfdca4] to versions: 0.4.8 or uninstalled, leaving only versions: 0.4.8
│ │ └─CUDAKernels [72cfdca4] log:
│ │ ├─possible versions are: 0.1.0-0.4.7 or uninstalled
│ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.2.0-0.4.7 or uninstalled
│ │ │ └─CUDA [052768ef] log: see above
│ │ ├─restricted by compatibility requirements with KernelAbstractions [63c18a36] to versions: 0.3.0-0.4.7 or uninstalled
│ │ │ └─KernelAbstractions [63c18a36] log:
│ │ │ ├─possible versions are: 0.1.0-0.9.18 or uninstalled
│ │ │ ├─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 0.7.0-0.9.18
│ │ │ │ └─NeuralOperators [ea5c82af] log: see above
│ │ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.9.2-0.9.18
│ │ │ └─CUDA [052768ef] log: see above
│ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: uninstalled
│ │ └─CUDA [052768ef] log: see above
│ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.4.1-0.10.4, 0.12.2-0.14.15] or uninstalled, leaving only versions: 0.12.2-0.14.15
│ │ └─CUDA [052768ef] log: see above
│ └─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.4.1-0.10.4, 0.14.6-0.14.15] or uninstalled, leaving only versions: 0.14.6-0.14.15
│ └─CUDA [052768ef] log: see above
├─restricted by compatibility requirements with GraphLaplacians [a1251efa] to versions: [0.1.0-0.7.6, 0.8.0-0.14.0] or uninstalled, leaving only versions: [0.8.1, 0.9.0-0.14.0] or uninstalled
│ └─GraphLaplacians [a1251efa] log:
│ ├─possible versions are: 0.1.0-0.2.1 or uninstalled
│ └─restricted by julia compatibility requirements to versions: uninstalled
├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.1.0-0.6.0, 0.14.0] or uninstalled, leaving only versions: 0.14.0 or uninstalled
│ └─CUDA [052768ef] log: see above
├─restricted by compatibility requirements with GraphSignals [3ebe565e] to versions: 0.1.0-0.6.1 or uninstalled, leaving only versions: uninstalled
│ └─GraphSignals [3ebe565e] log:
│ ├─possible versions are: 0.1.0-0.9.1 or uninstalled
│ ├─restricted by julia compatibility requirements to versions: [0.2.0-0.2.3, 0.3.6-0.9.1] or uninstalled
│ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [0.1.0-0.1.10, 0.2.1-0.9.1] or uninstalled, leaving only versions: [0.2.1-0.2.3, 0.3.6-0.9.1] or uninstalled
│ │ └─CUDA [052768ef] log: see above
│ ├─restricted by compatibility requirements with GraphLaplacians [a1251efa] to versions: 0.3.3-0.9.1 or uninstalled, leaving only versions: 0.3.6-0.9.1 or uninstalled
│ │ └─GraphLaplacians [a1251efa] log: see above
│ └─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.1.0-0.1.10 or uninstalled, leaving only versions: uninstalled
│ └─CUDA [052768ef] log: see above
└─restricted by compatibility requirements with NeuralOperators [ea5c82af] to versions: 0.13.0-0.14.0 — no versions left
└─NeuralOperators [ea5c82af] log: see above
Stacktrace:
[1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool)
@ Pkg.Resolve C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1072
[2] propagate_constraints! (repeats 2 times)
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1008 [inlined]
[3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool)
@ Pkg.Resolve C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1533
[4] simplify_graph! (repeats 2 times)
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Resolve\graphtype.jl:1532 [inlined]
[5] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, julia_version::VersionNumber, installed_only::Bool)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:407
[6] targeted_resolve(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1360
[7] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, julia_version::VersionNumber, try_all_installed::Bool)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1349
[8] _resolve(io::Base.TTY, env::Pkg.Types.EnvCache, registries::Vector{…}, pkgs::Vector{…}, preserve::Pkg.Types.PreserveLevel, julia_version::VersionNumber)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1370
[9] add(ctx::Pkg.Types.Context, pkgs::Vector{…}, new_git::Set{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1387
[10] add
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Operations.jl:1376 [inlined]
[11] add(ctx::Pkg.Types.Context, pkgs::Vector{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{…})
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:278
[12] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:159
[13] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:148
[14] add
@ C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
[15] add(pkg::String)
@ Pkg.API C:\Users\Andreas.julia\juliaup\julia-1.10.2+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:146
[16] top-level scope
@ REPL[5]:1
Some type information was truncated. Use show(err) to see complete types.

Now there are other additional incompatibilities with other packages - wellcome in the hell of version-(in)compatibility. I’m not an expert, but I think one should choose specific combination of versions, maybe I’m wrong…?

My current status of packages in my default environment is:

julia> Pkg.status()
Status C:\Users\Andreas\.julia\environments\v1.10\Project.toml
[052768ef] CUDA v5.3.1
[587475ba] Flux v0.14.15
[b2108857] Lux v0.5.37
[315f7962] NeuralPDE v5.16.0

I have also tried to check-out the source code from git and try to install the Package from the local directory with:

git clone
cd(“go to in my local gitClone”)
Pkg.activate(“.”)
Pkg.instantiate()

It leads to similar erros.

Additionallay I tried also the following, by using to set an Environment-Variable which should be determine the CPU and GPU controlling:

ENV[“JULIA_CUDA_USE_BINARYBUILDER”] = “false”
Pkg.add(PackageSpec(url=“GitHub - SciML/NeuralOperators.jl: DeepONets, (Fourier) Neural Operators, Physics-Informed Neural Operators, and more in Julia”))

It was also unsuccessful.

I searched a lot in the internet and also try to find some informations by using ChatGPT. It was not successful :frowning:

Mabe I should try to start to install only NeOp in a new specific environment from scratch…?

Maybe you have some additional remarks?
Whom or where I can ask for further help?

Hello Christopher,

I have tested a number of different version combinations of the individual packages. Unfortunately, all without success. But then I did not use the official current version 1.10.2 of Julia but version 1.9.4. And lo and behold, everything I need for my work could be installed perfectly.
As of version 1.10., NeuralOperators cannot simply be installed. I think there might be a bug, or what do you mean? Could you please verify this? If so, I could report this bug, or what do you mean? Where do I report the bug? As a newbie in julia I am unfortunately not familiar with some things.

Short info would be nice and helpful.
Thanks in advance and best regards,

Andrew

1 Like