CloseKernels

CloseKernels[]

terminates all parallel kernels from the list Kernels[].

CloseKernels[k]

terminates the kernel k.

CloseKernels[{k1,k2,}]

terminates the kernels k1, k2, .

Details

  • Kernels can be specified either using KernelObject, as returned by Kernels[], or using their integer IDs, as returned by $KernelID.
  • Closed kernels are removed from the list of kernels available for parallel computing, as given by Kernels[].

Examples

open allclose all

Basic Examples  (1)

Close all running parallel kernels:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Applications  (1)

Properties & Relations  (1)

Possible Issues  (1)

See Also

AbortKernels  Kernels  LaunchKernels

Introduced in 2008
(7.0)