ParallelEvaluate

ParallelEvaluate[expr]

evaluates the expression expr on all available parallel kernels and returns the list of results obtained.

ParallelEvaluate[expr,kernel]

evaluates expr on the parallel kernel specified.

ParallelEvaluate[expr,{ker1,ker2,}]

evaluates expr on the parallel kernels keri.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Obtain each parallel kernel's unique ID number:

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

Obtain each parallel kernel's system process ID:

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

Scope  (5)

Generalizations & Extensions  (1)

Options  (5)

Applications  (4)

Properties & Relations  (5)

Possible Issues  (2)

Neat Examples  (1)

See Also

Parallelize  ParallelTry  DistributeDefinitions  ParallelNeeds  Kernels  $KernelCount  CloudEvaluate

Introduced in 2008
(7.0)