RemoteKernelClose
RemoteKernelClose[kernel]
closes a Lightweight Grid kernel.
Details and Options
Examples
Basic Examples
Scope
Options
"Timeout"
See Also
Tech Notes
Related Guides
LightweightGridClient`
LightweightGridClient`
RemoteKernelClose
RemoteKernelClose[kernel]
closes a Lightweight Grid kernel.
Details and Options
- The input to RemoteKernelClose can be a LinkObject, a link name, or a RemoteServicesKernel expression.
- RemoteKernelClose returns a ClosedKernel expression.
- RemoteKernelClose automatically threads over lists.
- The following option can be given:
-
"Timeout" 30 the timeout for the network connection, in seconds
Examples
open all close allBasic Examples (1)
Needs["LightweightGridClient`"]Open one kernel on a remote computer:
link = RemoteKernelOpen["cluster1.example.com"]LinkObject["55423@cluster1.example.com,55424@cluster1.example.com", 51, 8]Evaluate an expression on the remote kernel:
LinkWriteHeld[link, Hold[FactorInteger[2 ^ 32 - 1]]]LinkRead[link]RemoteKernelClose[link]ClosedKernel["55423@cluster1.example.com, 55424@cluster1.example.com"]