evaluates the expression expr on all available parallel kernels and returns the list of results obtained.
evaluates expr on the parallel kernel specified.
evaluates expr on the parallel kernels keri.
Details and Options
- ParallelEvaluate has attribute HoldFirst.
- Kernels can be specified either using KernelObject, as returned by Kernels, or using their integer IDs, as returned by $KernelID.
- The DistributedContexts option for ParallelEvaluate specifies which symbols appearing in expr have their definitions automatically distributed to all available kernels before the computation.
- The default value is DistributedContexts:>$DistributedContexts with $DistributedContexts:=$Context, which distributes definitions of all symbols in the current context, but does not distribute definitions of symbols from packages.