Parallel Computation Setup & Configuration

The Wolfram Language automatically sets up the infrastructure for parallel computing on standard systems, and provides a variety of tools for sharing and synchronizing definitions across all kernels participating in a parallel computation.

Broadcasting Computations & Definitions

(RefLink[ParallelEvaluate, paclet:ref/ParallelEvaluate]) —evaluate an expression on all parallel subkernels

(RefLink[DistributeDefinitions, paclet:ref/DistributeDefinitions]) — distribute definitions to all parallel subkernels

(RefLink[ParallelNeeds, paclet:ref/ParallelNeeds]) — load the same package into all parallel subkernels

(OrangeLink[Continuously Shared Variables & Functions », paclet:guide/ResourceSharingInParallelComputing])

(RefLink[SetSharedVariable, paclet:ref/SetSharedVariable]) — set symbols to share values across subkernels

(RefLink[SetSharedFunction, paclet:ref/SetSharedFunction]) — set functions to share downvalues across subkernels

(RefLink[UnsetShared, paclet:ref/UnsetShared]) — stop sharing variables or functions

Low-Level Kernel Setup

(RefLink[LaunchKernels, paclet:ref/LaunchKernels]) — launch subkernels

(RefLink[AbortKernels, paclet:ref/AbortKernels]) — abort running computations on all subkernels

(RefLink[CloseKernels, paclet:ref/CloseKernels]) — close down subkernels

(RefLink[$KernelCount, paclet:ref/$KernelCount]) — number of currently running parallel subkernels

(RefLink[Kernels, paclet:ref/Kernels]) — list of currently running parallel subkernels

(RefLink[$KernelID, paclet:ref/$KernelID]) — unique ID for each parallel subkernel

(RefLink[$ConfiguredKernels, paclet:ref/$ConfiguredKernels]) — default list of kernels to launch