I'm trying to use remote processes in conjuntion with local processes, but when I do I get the following output
julia> addprocs(["user@host"], tunnel=true, dir="~/julia-79599ada44/bin/", sshflags=`-p 6969`)
id: cannot find name for group ID 350
1-element Array{Any,1}:
2
julia> addprocs(23)
fatal error on 2: ERROR: connect: host is unreachable (EHOSTUNREACH)
in wait at ./task.jl:284
in wait at ./task.jl:194
in stream_wait at stream.jl:263
in wait_connected at stream.jl:301
in Worker at multi.jl:113
in anonymous at task.jl:905
fatal error on fatal error on 5: 6: fatal error on fatal error on fatal error on 9: 14: 8: Worker 3 terminated.
...
I have tried adding the local processes first but I get the same errors when I add the remote ones.
I know the question is old, but I was asked today if I knew the answer of this unanswered question.
You could use the
-palong with the--machinefileoptions:It has been a long time since I used the
--machinefileoption, in my case thenoption didn't work and I don't know if it has been fixed, but you could add one line for each worker process you want instead, for example, if this doesn't work for you:You could try this:
And then invoke julia like:
For a total of 25 processes (2 local and 23 remote).
But the
noption should work if it is documented, else please check if there is a bug and if not, open a new one.