I am trying to run a remote mathematica kernel between two macs.
Under Kernel Configuration Options For kernel program I have: /Applications/Mathematica.app/Contents/MacOS/MathKernel
The arguments of MLOpen: -LinkMode Listen -LinkProtocol TCPIP -LinkOptions MLDontInteract
The launch command is:
java
-jar mathssh
[email protected] /usr/local/bin/math -mathlink -LinkMode
Connect -LinkProtocol TCPIP -LinkName "linkname
" -LinkHost ipaddress
When i use this remote kernel (for instance 2+2 does not give a result) I get the error message: "The kernel Thomas Machine failed to connect to the front end. (Error = MLECONNECT). You should try running the kernel connection outside the front end."
It seems that Mathematica is not even opening on the remote machine since I used "top" and do not see it running after I start the remote kernel.
Any help would be greatly appreciated.
I just tried this with 8.0.1 -- here's my config (with bogus machine/user names):
In particular the /usr/local/bin/math
looks suspicious. You generally shouldn't need to use the advanced settings.
Drop to a command line and try:
ssh [email protected] /usr/local/bin/math
and see if you get a Mathematica prompt and can evaluate 1+1
there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With