Groups 205 of 99+ julia-users › Problem with addprocs 5 posts by 3 authors John 4/13/15 I'm unable to add a remote instance using addprocs (or a machine file). This works (without prompt): ssh xxx.xxx.xxx.xxx This command hangs with no output for the first minute: addprocs(["username@xxx.xxx.xxx.xxx"]) Then after one minute, the following message appears: Master process (id 1) could not connect within 60.0 seconds This command works: addprocs(["username@mycurrenthostname"]) Thanks in advance for your help! John wil...@gmail.com 4/13/15 This could be DNS issue. Try add 'mycurrenthostname xxx.xxx.xxx.xxx' to the 'hosts' file. - show quoted text - John 4/13/15 Oops, let me clarify: mycurrenthostname is not the same computer as xxx.xxx.xxx.xxx, it's my local computer's name on the network, whereas xxx.xxx.xxx.xxx is remote. - show quoted text - René Donner 4/13/15 Can you try whether using "tunnel = true" helps? http://docs.julialang.org/en/release-0.3/stdlib/parallel/#Base.addprocs When tunnel==false (the default), the workers need to be able to see each other directly, which will not work through firewalls which allow only ssh etc. - show quoted text - John 4/15/15 Hi Rene, that didn't fix the problem, unfortunately. I did manage to get it to fix it by calling addprocs from a remote machine in the cluster. So I think there is a problem with firewalls -- perhaps the remote machine is trying to SSH back into the local one and failing. It would be nice if these Julia library functions would emit more informative error messages or perhaps have a verbose mode. - show quoted text -