turtle
September 17, 2018, 8:44am
1
I am trying to add workers on a Windows 10 node from a Windows 10 master.
Identical Julia 0.7.0 and passwordless login are set up correctly.
However addprocs( [(remote_ip,6)] )
fails with the error message:
‘sh’ is not recognized as an internal or external command
I would greatly appreciate any advice.
EDIT: Even if there is no solution, it would be a help to know this.
There is no immediate fix that I can think of. addprocs
ends up calling https://github.com/JuliaLang/julia/blob/1f1b1b8c4e27668efddcaceb59db9422bb274cfd/stdlib/Distributed/src/managers.jl#L148 which assumes a Unix environment with sh
being available. I don’t know if anyone ever tried this with Windows 10.
Can you ssh
to that machine? What shell does that drop you in?
turtle
September 18, 2018, 12:29pm
3
Thank you very much for your answer.
I can ssh from Windows 10 to Windows 10 without a password,
arriving at the the default cmd.exe
prompt.
Sounds like an untrodden path.
Should I give it up for now?
Is it cmd
or powershell? If you are strongly interested in this you could probably implement your own ClusterManager for WindowsSSH and/or contribute to the existing one to fix the Unix only assumptions.
x-ref: https://github.com/JuliaLang/julia/issues/29243
turtle
September 18, 2018, 12:40pm
5
It is the plain cmd.exe
, not powershell
.
Thank you very much for creating an issue for this,
but unfortunately I am not qualified to solve it.