This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ParallelDo

ParallelDo[expr, {imax}]
evaluates expr in parallel imax times.
ParallelDo[expr, {i, imax}]
evaluates expr in parallel with the variable i successively taking on the values 1 through imax (in steps of 1).
ParallelDo[expr, {i, imin, imax}]
starts with i=imin.
ParallelDo[expr, {i, imin, imax, di}]
uses steps di.
ParallelDo[expr, {i, {i1, i2, ...}}]
uses the successive values i1, i2, ....
ParallelDo[expr, {i, imin, imax}, {j, jmin, jmax}, ...]
evaluates expr looping in parallel over different values of j, etc. for each i.
  • ParallelDo is a parallel version of Do which automatically distributes different evaluations of expr among different kernels and processors.
  • If side effects involve unshared variables, they will in general work differently than in Do.
New in 7