Tell me more ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Here is the problem in more detail. I set up a remote kernel at port 8000 on another computer on an intranet. I want to get information in and out of this kernel from my laptop. It is easy to do with

link=LinkConnect["8000@192.168.0.5",LinkProtocol->"TCPIP"] 

I can then send requests to it using LinkReadyQ, LinkWrite, and LinkRead, but this is a pain. It would be a lot nicer if I could just connect a notebook frontend to it. It seems that it ought to be possible with Kernel Configuration, but I cannot seem to make it work. The Kernel configuration seems to always want to be trying to launch another kernel. I can get it to connect with MLOpen arguments:

-LinkMode Connect -LinkProtocol TCPIP -LinkName "8000@192.168.0.5" 

but it hangs. Windows command netstat shows the connection made after this, but the laptop notebook hangs, when I quit the kernel from the laptop, it takes down the running kernel on the remote machine. I think I may just be missing something simple; there is no need for security.

share|improve this question
related: stackoverflow.com/q/8717211/695132 – Szabolcs Jan 17 at 2:11
What you are doing is correct in concept, so it should work. What version of Mathematica is on the laptop? What version is the remote kernel? Can you show us exactly what you are doing on the remote kernel side to establish the connection? – Todd Gayley Jan 18 at 1:54
They are both version 9; I cannot do it with version 8 either. I have also tried the code for the GraphicApp Java mini front end and cannot get that to connect with similar instructions. – Bob R Jan 18 at 4:34
It seems to work today. I don't know why it didn't work before perhaps the post should be taken down. – Bob R Jan 18 at 17:29
show 1 more comment

closed as too localized by Oleksandr R., rcollyer, whuber, Yves Klett, rm -rf Jan 20 at 16:08

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.