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 > AbortKernels >
Mathematica > Systems Interfaces & Deployment > Parallel Computing > Parallel Computation Setup & Configuration > AbortKernels >
Mathematica > Core Language > Tuning & Debugging > Parallel Computing > Parallel Computation Setup & Configuration > AbortKernels >

AbortKernels

AbortKernels
aborts evaluations running in all parallel subkernels.
  • AbortKernels attempts to put subkernels in a state suitable for new evaluations and verifies communications links to them. Any subkernel that does not respond is removed from the list of available subkernels as given by Kernels.
Scheduled evaluations that are no longer needed can be aborted with AbortKernels:
Find such that is prime, scheduling one search loop for each kernel:
Run them until manually aborted, and clean up by aborting all parallel kernels:
ParallelTry is essentially implemented in terms of WaitNext and AbortKernels:
If aborting fails, kernels can often be closed and reopened:
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF