Here is the full stack trace of the errors I am getting when attempting to
‘using MPI’ after setting MPIPreferences as in:
julia --project -e ‘using MPIPreferences; MPIPreferences.use_jll_binary(“OpenMPI_jll”)’
‘’'julia> import Pkg;
julia> using Pkg;
julia> Pkg.instantiate()
Precompiling project…
1 dependency successfully precompiled in 1 seconds. 1 already precompiled.
julia> using MPI
│ Package MPI not found, but a package named MPI is available from a registry.
│ Install package?
│ (@v1.8) pkg> add MPI
└ (y/n/o) [y]: y
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 88 100 88 0 0 187 0 --:–:-- --:–:-- --:–:-- 187
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = Error status 200 while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/Registry/Registry.jl:68
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
Updating registry at ~/.julia/registries/General
Updating git-repo https://github.com/JuliaRegistries/General.git
Resolving package versions…
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 88 100 88 0 0 523 0 --:–:-- --:–:-- --:–:-- 523
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = Error status 200 while requesting https://pkg.julialang.org/registries
└ @ Pkg.Registry /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/Registry/Registry.jl:68
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
0 0 0 3003 0 0 4469 0 --:–:-- --:–:-- --:–:-- 15973
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
0 0 0 7600 0 0 10755 0 --:–:-- --:–:-- --:–:-- 40860
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
0 0 0 8413 0 0 11607 0 --:–:-- --:–:-- --:–:-- 39497
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
0 0 0 29171 0 0 39710 0 --:–:-- --:–:-- --:–:-- 124k
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
0 0 0 7240 0 0 9819 0 --:–:-- --:–:-- --:–:-- 33518
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
0 0 0 8931 0 0 11668 0 --:–:-- --:–:-- --:–:-- 33701
Installed MPItrampoline_jll ─── v5.2.1+0
0 0 0 27477 0 0 34587 0 --:–:-- --:–:-- --:–:-- 99k
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
0 0 0 119k 0 0 150k 0 --:–:-- --:–:-- --:–:-- 940k
┌ Error: curl_easy_getinfo: 43
/utils.jl:29
Cloning [9237b28f-5490-5468-be7b-bb81f5f5e6cf] MicrosoftMPI_jll from GitHub - JuliaBinaryWrappers/MicrosoftMPI_jll.jl
Installed MicrosoftMPI_jll ──── v10.1.3+2
Cloning [ae029012-a4dd-5104-9daa-d747884805df] Requires from GitHub - JuliaPackaging/Requires.jl: Lazy code loading for Julia
Installed Requires ──────────── v1.3.0
Cloning [fe0851c0-eecd-5654-98d4-656369965a5c] OpenMPI_jll from GitHub - JuliaBinaryWrappers/OpenMPI_jll.jl
Installed OpenMPI_jll ───────── v4.1.5+0
hub.com/JuliaPackaging/JLLWrappers.jl.git
Installed JLLWrappers ───────── v1.4.1
Cloning [7cb0a576-ebde-5e09-9194-50597f1243b4] MPICH_jll from GitHub - JuliaBinaryWrappers/MPICH_jll.jl
Installed MPICH_jll ─────────── v4.1.1+0
Cloning [ffbed154-4ef7-542d-bbb7-c09d3a79fcae] DocStringExtensions from GitHub - JuliaDocs/DocStringExtensions.jl: Extensions for Julia's docsystem.
Installed DocStringExtensions ─ v0.9.3
Cloning [da04e1cc-30fd-572f-bb4f-1f8673147195] MPI from GitHub - JuliaParallel/MPI.jl: MPI wrappers for Julia
Installed MPI ───────────────── v0.20.8
Downloading artifact: OpenMPI
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 4812k 100 4812k 0 0 5443k 0 --:–:-- --:–:-- --:–:-- 7915k
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl Downloaded artifact: OpenMPI
Downloading artifact: OpenMPI
┌ Error: curl_easy_setopt: 48
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl/utils.jl:29
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 4809k 100 4809k 0 0 4202k 0 0:00:01 0:00:01 --:–:-- 7949k
┌ Error: curl_easy_getinfo: 43
└ @ Downloads.Curl /var/tmp/julia/usr/share/julia/stdlib/v1.8/Downloads/src/Curl Downloaded artifact: OpenMPI
ERROR: Unable to automatically download/install artifact ‘OpenMPI’ from sources listed in ‘/home/wadedl/.julia/packages/OpenMPI_jll/AbWrR/Artifacts.toml’.
Sources attempted:
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[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 /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/Artifacts.jl:468
[3] download_artifacts(env::Pkg.Types.EnvCache; platform::Base.BinaryPlatforms.Platform, julia_version::VersionNumber, verbose::Bool, io::Base.TTY)
@ Pkg.Operations /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:665
[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 /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:1282
[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 /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:275
[6] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:156
[7] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:145
[8] #add#27
@ /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:144 [inlined]
[9] add
@ /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:144 [inlined]
[10] try_prompt_pkg_add(pkgs::Vector{Symbol})
@ Pkg.REPLMode /var/tmp/julia/usr/share/julia/stdlib/v1.8/Pkg/src/REPLMode/REPLMode.jl:717
[11] #invokelatest#2
@ ./essentials.jl:729 [inlined]
[12] invokelatest
@ ./essentials.jl:726 [inlined]
[13] check_for_missing_packages_and_run_hooks(ast::Any)
@ REPL /var/tmp/julia/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:176
[14] eval_user_input(ast::Any, backend::REPL.REPLBackend)
@ REPL /var/tmp/julia/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:146
[15] repl_backend_loop(backend::REPL.REPLBackend)
@ REPL /var/tmp/julia/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:247
[16] start_repl_backend(backend::REPL.REPLBackend, consumer::Any)
@ REPL /var/tmp/julia/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:232
[17] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool)
@ REPL /var/tmp/julia/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:369
[18] run_repl(repl::REPL.AbstractREPL, consumer::Any)
@ REPL /var/tmp/julia/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:355
[19] (::Base.var"#967#969"{Bool, Bool, Bool})(REPL::Module)
@ Base ./client.jl:419
[20] #invokelatest#2
@ ./essentials.jl:729 [inlined]
[21] invokelatest
@ ./essentials.jl:726 [inlined]
[22] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
@ Base ./client.jl:404
[23] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:318
[24] _start()
@ Base ./client.jl:522
julia> f9744710560ba3ddc00cd9df62ac7dfcd18c8649
[wadedl@sequoia 3]$
‘’’
I can myself download the gzipped wrapper files from github. If I put them somewhere, how would I tell the
/home/wadedl/.julia/packages/OpenMPI_jll/AbWrR/Artifacts.toml
file where to find them? ( i.e URL is http://file: … … … )
Thank you for your attention to this.