Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Mathematica System Setup > Parallel Computation Setup & Configuration > CloseKernels >
Mathematica > Systems Interfaces & Deployment > Parallel Computing > Parallel Computation Setup & Configuration > CloseKernels >
Mathematica > Core Language > Tuning & Debugging > Parallel Computing > Parallel Computation Setup & Configuration > CloseKernels >

CloseKernels

CloseKernels
terminates all parallel kernels from the list Kernels.
CloseKernels[k]
terminates the kernel k.
CloseKernels
terminates the kernels , , ....
  • Closed kernels are removed from the list of kernels available for parallel computing, as given by Kernels.
Close all running parallel kernels:
Close all running parallel kernels:
In[1]:=
Click for copyable input
Out[1]=
Close any parallel kernels that may be running and launch the default kernels:
Close all kernels:
Launch copies of the previously running kernels:
Measure the speedup of the same calculation with different numbers of kernels used:
Distributed definitions and shared variables apply to running kernels and new ones:
Packages read with ParallelNeeds also apply to running and new kernels:
Close all running kernels and launch new ones:
The new kernels inherit previously distributed definitions and shared variables:
The new kernels also inherit packages read previously:
If no kernels are available, most parallel calculations are done sequentially:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF