I'm having trouble setting-up a parallel remote kernel.
I have correctly set-up remote kernels and can use them instead of the local kernels, by executing
tunnel.sh script as explained here
However I can't manage to use remote parallel kernels in addition to the local kernels.
I tried to use the
WolframSSH.jar as described here
MathKernel process is launched, but dies after a few second of freeze.
Then I tried with :
LaunchKernels[ SubKernels`RemoteKernels`RemoteMachine["remote", "ssh -v remoteuser@remoteIP math -mathlink -linkmode Connect \ `4` -linkname `2` -subkernel -noinit 1>out.txt 2>err.txt" ] ]
MathKernel process launches on the remote machine, but dies straight away
out.txt output is then:
LinkConnect::linkc: -- Message text not found -- ( LinkObject[46644@remoteIP,52289@remoteIP, 3, 1])
err.txt output is then:
debug1: Sending command: math -mathlink -linkmode Connect -linkprotocol TCPIP -linkname 46644@remoteIP,52289@remoteIP -subkernel -noinit debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK debug1: fd 1 clearing O_NONBLOCK debug1: fd 2 clearing O_NONBLOCK Transferred: sent 3232, received 2412 bytes, in 0.3 seconds Bytes per second: sent 12332.3, received 9203.4 debug1: Exit status 1
Local and remote machine are running Mathematica 10.0 under Linux (Ubuntu). I'm not using a VPN but just ssh connection.
Any ideas ?