-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Description
to add procs on a remote machine as well as the local one, it only works if i do the remote first:
julia> addprocs([("remote-machine",1)])
1-element Array{Int64,1}:
2
julia> addprocs(1)
1-element Array{Int64,1}:
3
i get a connection refused
error if i reverse the order:
julia> addprocs(1)
1-element Array{Int64,1}:
2
julia> addprocs([("remote-machine",1)])
ERROR: connect: connection refused (ECONNREFUSED)
Stacktrace:
[1] yieldto(::Task, ::ANY) at ./event.jl:158
[2] wait() at ./event.jl:191
[3] wait(::Condition) at ./event.jl:27
[4] stream_wait(::TCPSocket, ::Condition, ::Vararg{Condition,N}) at ./stream.jl:42
[5] wait_connected(::TCPSocket) at ./stream.jl:258
[6] connect at ./stream.jl:957 [inlined]
[7] connect_to_worker(::String, ::Int16) at ./managers.jl:490
[8] connect_w2w(::Int64, ::WorkerConfig) at ./managers.jl:453
[9] connect(::Base.DefaultClusterManager, ::Int64, ::WorkerConfig) at ./managers.jl:387
[10] connect_to_peer(::Base.DefaultClusterManager, ::Int64, ::WorkerConfig) at ./multi.jl:1536
[11] (::Base.##527#529{WorkerConfig,Int64})() at ./task.jl:332
Error [connect: connection refused (ECONNREFUSED)] on 3 while connecting to peer 2. Exiting.
Worker 3 terminated.
ERROR (unhandled task failure): Version read failed. Connection closed by peer.
this is for julia 0.5 and the latest nightly.
i believe i've reported this before, and i thought at one point it was fixed, but i cannot find any record in the issue tracker.
Metadata
Metadata
Assignees
Labels
No labels