The Wolfram Lightweight Grid Client >

RemoteKernelOpen

RemoteKernelOpen[spec]
launches a kernel with the given specification.

launches kernels in parallel.
  • With the default setting , the remote kernel creates a link and Mathematica connects to it. With , Mathematica creates a link and the remote kernel connects to it. Some network configurations do not allow Mathematica to connect to links created on the remote computer, requiring to establish a connection.
  • The following options can be given:
"LocalLinkMode""Connect"how to establish the link
"Service"""names the service to launch
"Timeout"30the timeout for the network connection, in seconds
Open one kernel on a remote computer:
Evaluate an expression on the remote kernel:
Close the kernel:
In[1]:=
Click for copyable input
Open one kernel on a remote computer:
In[2]:=
Click for copyable input
Out[2]=
Evaluate an expression on the remote kernel:
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
Close the kernel:
In[5]:=
Click for copyable input
Out[5]=
Open kernels on a multi-core machine:
Let the remote kernel create a MathLink link and connect to it in this Mathematica session:
Create the MathLink link in this Mathematica session running on clusterhead.example.com and have the remote kernel connect to it:
Open a kernel using the "ProjectGamma" service on octet.example.com:
Wait 2.5 seconds for a response from octet.example.com before returning:
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF