How do I connect the Mathematica 3.0 or 4.0 front end to a remote Unix kernel?
 Connecting to a remote Unix kernel via MathLink takes place in two steps. First, the front end prepares itself for an incoming connection, opens a terminal window to the Unix host, and logs on to the remote host (either manually or automatically). Second, the front end uses a terminal window to command the Unix host to launch a kernel and connect back to the front end. Once this second step is complete, the terminal connection is closed. | 1. | Make sure you have OpenTransport installed and configured correctly. |
| | Consult your documentation or your local system adminstrator for more details. |
| 2. | Make sure the Communications Tools are correctly installed in your . |
| 3. | Select from the menu. This brings up a dialog box. |
| 4. | Click on the Add button. A dialog box appears to let you define a kernel connection. |
| 5. | Type a name for the new connection in the text box. |
| 6. | Click the radio button labeled Remote Machine. |
| 7. | Make sure that the Kernel Program text field reads math. (On most Unix systems, running math will start the kernel. If your Unix machine requires a different command, such as the full pathname of the kernel, then this should be entered.) |
| 8. | Edit the login string in the Remote Login text box. |
| 9. | If you want this kernel started automatically when the front end starts, click on the corresponding checkbox. |
| 10. | Click the Connection button. A Connection Settings dialog box appears. |
| 11. | Select the VersaTerm Telnet Tool from the pop-up menu at the top of the dialog box. |
| 12. | In the text box, type the name or IP address of the Unix host on which the kernel will run (replacing the 0.0.0.0 displayed above). |
| 13. | Click OK to activate the selected communications settings. The Communications Settings dialog box disappears and you are returned to the Kernel Configuration dialog box. |
| 14. | Click the Terminal button. A Terminal Settings dialog box appears that lets you specify what kind of terminal emulation your Macintosh will use when communicating with the remote computer. |
| 15. | Select the desired terminal emulation and specify any options you want in the dialog box. Note that for the purposes of a remote kernel, the default settings should work fine. |
| 16. | Click OK to activate the selected terminal settings. The Terminal Settings dialog box disappears and you are returned to the Kernel Configuration dialog box. |
| 17. | Click OK to save the kernel connection. The Kernel Configuration dialog box disappears and you are returned to the list of kernels dialog box. Your new kernel should be listed here. |
| 18. | To make this remote kernel connection the default connection, click the Kernel menu, then go to Default Kernel and select the remote kernel’s name. |
Download this FAQ as a Mathematica 5.2 Notebook
Questions or comments? Send email to support@wolfram.com.
| |