You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default CUDA installation on AWS Ubuntu image utilizes the port 5555.
Unfortunately this seems that this port is needed during precompilation of ZMQ.jl
The workaround is sudo pkill -f nvidia and than trying to install ZMQ.jl (which is required by other very common Julia packages such as IJulia). This is however more than ugly workaround. Perhaps ZMQ could not try to start a server while precompiling or could be able to fallback to another port if 5555 is in use?
julia> using ZMQ
Precompiling ZMQ
Info Given ZMQ was explicitly requested, output will be shown live
ERROR: LoadError: ZMQ.StateError("Address already in use")
Stacktrace:
[1] bind
@ ~/.julia/packages/ZMQ/4Jw8C/src/socket.jl:106 [inlined]
[2] macro expansion
@ ~/.julia/packages/ZMQ/4Jw8C/src/ZMQ.jl:61 [inlined]
[3] macro expansion
@ ~/.julia/packages/PrecompileTools/L8A3n/src/workloads.jl:78 [inlined]
[4] top-level scope
@ ~/.julia/packages/ZMQ/4Jw8C/src/ZMQ.jl:47
[5] include
@ ./Base.jl:495 [inlined]
[6] 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, UInt128}}, source::Nothing)
@ Base ./loading.jl:2222
[7] top-level scope
@ stdin:3
in expression starting at /home/ubuntu/.julia/packages/ZMQ/4Jw8C/src/ZMQ.jl:3
in expression starting at stdin:3
✗ ZMQ
0 dependencies successfully precompiled in 3 seconds. 5 already precompiled.
ERROR: The following 1 direct dependency failed to precompile:
ZMQ [c2297ded-f4af-51ae-bb23-16f91089e4e1]
The text was updated successfully, but these errors were encountered:
The default CUDA installation on AWS Ubuntu image utilizes the port 5555.
Unfortunately this seems that this port is needed during precompilation of ZMQ.jl
The workaround is
sudo pkill -f nvidia
and than trying to install ZMQ.jl (which is required by other very common Julia packages such as IJulia). This is however more than ugly workaround. Perhaps ZMQ could not try to start a server while precompiling or could be able to fallback to another port if5555
is in use?The text was updated successfully, but these errors were encountered: