ClosedKernel["linkname"]
represents a Lightweight Grid kernel that was successfully closed.
更多信息和选项
范例
基本范例
参见
技术笔记
相关指南
LightweightGridClient`
LightweightGridClient`
ClosedKernel
ClosedKernel["linkname"]
represents a Lightweight Grid kernel that was successfully closed.
更多信息和选项
- ClosedKernel is returned by RemoteKernelClose and RemoteKernelCloseAll.
范例
基本范例 (1)
Open one kernel on a remote computer:
Needs["LightweightGridClient`"]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]result = RemoteKernelClose[link]ClosedKernel["55423@cluster1.example.com, 55424@cluster1.example.com"]