1
$\begingroup$

Lets say I have two windows laptop both with Mathematica installed on them:

If I want to connect to another mathematica installation on the same machine using the front end I can go to Evaluation -> Kernel Configuration Options... -> Add -> Basic Options -> Local Machine -> Advanced Options.

Then Arguments to MLOpen is populated as:

-LinkMode Launch -LinkName "WolframKernel -wstp -noicon"

So I just change the WolframKernel with the full path to WolframKernel.exe on the local machine and this works. Now I can start the kernel by going to Evaluation -> Start Kernel.

But now I want to connect to a mathematica installation on another laptop on the same network so I try the following:

Evaluation -> Kernel Configuration Options... -> Add -> Basic Options -> Remote Machine -> Advanced Options and now Arguments to MLOpen is populated as:

-LinkMode Listen -LinkProtocol TCPIP -LinkOptions MLDontInteract

I am assuming I shouldn't change anything here.

Then the other setting Shell command to launch kernel is populated as:

"`java`" -jar "`wolframssh`" username@ wolfram -wstp -LinkMode Connect -LinkProtocol TCPIP -LinkName "`linkname`" -LinkHost `ipaddress`

I am assuming I should put in place of ipaddress, IPv4 Address acquired by running ipconfig on the other laptop (xxx.xxx.x.x) and the linkname should be the path to the WolframKernel.exe in the same format as defined for local. Do I have to define the path like a shared path with computer name here \\ComputerName\C\Program Files\Wolfram Research\...?

Also what should I put in place of java and wolframssh?

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.