I have a problem with installing binaries wrappers (Sundials_jll or MPICH_jll when trying to install PETSc or ), whether I am installing it from an URL or from a local path after downloading the repo manually.
My current guess is that it has something to do with the company preventing the installation of binaries, since it works on my laptop at home.
Whether I install it locally from the cloned repo or not doesn’t help too
from url:
(v1.7) pkg> add MPICH_jll
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Downloaded artifact: MPICH
Downloaded artifact: MPICH
ERROR: Unable to automatically install 'MPICH' from '/home/vj611463/.julia/packages/MPICH_jll/HKdV9/Artifacts.toml'
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] ensure_artifact_installed(name::String, meta::Dict{String, Any}, artifacts_toml::String; platform::Base.BinaryPlat [3] download_artifacts(env::Pkg.Types.EnvCache; platform::Base.BinaryPlatforms.Platform, julia_version::VersionNumber, verbose::Bool, io::Base.TTY)
@ Pkg.Operations /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:617
[4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:1182
[5] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
@ Pkg.API /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:268
[6] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:149
[7] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:144
[8] do_cmd!(command::Pkg.REPLMode.Command, repl::REPL.LineEditREPL)
@ Pkg.REPLMode /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:407
[9] do_cmd(repl::REPL.LineEditREPL, input::String; do_rethrow::Bool)
@ Pkg.REPLMode /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:385
[10] do_cmd
@ /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:376 [inlined]
[11] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL, REPL.LineEdit.Prompt})(s::REPL.LineEdit.MIState, buf::IOBuffer, ok::Bool)
@ Pkg.REPLMode /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:549
[12] #invokelatest#2
@ ./essentials.jl:716 [inlined]
[13] invokelatest
@ ./essentials.jl:714 [inlined]
[14] run_interface(terminal::REPL.Terminals.TextTerminal, m::REPL.LineEdit.ModalInterface, s::REPL.LineEdit.MIState)
@ REPL.LineEdit /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/REPL/src/LineEdit.jl:2493
[15] run_frontend(repl::REPL.LineEditREPL, backend::REPL.REPLBackendRef)
@ REPL /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/REPL/src/REPL.jl:1232
[16] (::REPL.var"#49#54"{REPL.LineEditREPL, REPL.REPLBackendRef})()
@ REPL ./task.jl:429
from local path:
julia> using Pkg
julia> Pkg.add(path="/home/ccc/vj611463/travail/MPICH_jll.jl")
Updating git-repo `/net/jabba/home0/vj611463/travail/MPICH_jll.jl`
Resolving package versions...
Downloaded artifact: MPICH
Downloaded artifact: MPICH
ERROR: Unable to automatically install 'MPICH' from '/home/ccc/vj611463/.julia/packages/MPICH_jll/HKdV9/Artifacts.toml'
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] ensure_artifact_installed(name::String, meta::Dict{String, Any}, artifacts_toml::String; platform::Base.BinaryPlatforms.Platform, verbose::Bool, quiet_download::Bool, io::Base.TTY)
@ Pkg.Artifacts /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/Artifacts.jl:441
[3] download_artifacts(env::Pkg.Types.EnvCache; platform::Base.BinaryPlatforms.Platform, julia_version::VersionNumber, verbose::Bool, io::Base.TTY)
@ Pkg.Operations /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:617
[4] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Set{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:1182
[5] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
@ Pkg.API /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:268
[6] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:149
[7] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:144
[8] #add#26
@ /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:141 [inlined]
[9] add
@ /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:141 [inlined]
[10] add(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::String, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /net/jabba/home0/vj611463/installs/julia-1.7.3/share/julia/stdlib/v1.7/Pkg/src/API.jl:166
[11] top-level scope
@ REPL[4]:1