Math remote kernel on macs

I am trying to start a remote math core between two poppies.

Under Kernel configuration options For the kernel program, I have: /Applications/Mathematica.app/Contents/MacOS/MathKernel

Arguments MLOpen: -LinkMode Listen -LinkProtocol TCPIP -LinkOptions MLDontInteract

Run command: java -jar mathssh username@xxxxxx.dynamic.uiowa.edu / usr / local / bin / math -mathlink -LinkMode Connect -LinkProtocol TCPIP -LinkName " linkname " -LinkHost ipaddress

When I use this remote kernel (for example, 2 + 2 does not give a result), I get an error: "The Thomas Machine kernel could not connect to the interface (Error = MLECONNECT). You should try to start the connection to the kernel outside the external interface . "

It seems that Mathematica does not even open on the remote computer, since I used the "top" and I do not see it working after starting the remote kernel.

Any help would be greatly appreciated.

+6
source share
1 answer

I just tried this with 8.0.1 - here is my configuration (with dummy machine / user names):

kernel config dialog

In particular, /usr/local/bin/math looks suspicious. Usually you do not need to use advanced settings.

Go to the command line and try:

 ssh username@xxxxxx.dynamic.uiowa.edu /usr/local/bin/math 

and see if you get a Mathematica invitation and can rate 1+1 there.

+4
source

Source: https://habr.com/ru/post/898408/


All Articles