$DistributedContexts
is the default value of the DistributedContexts option of functions such as ParallelTable and ParallelMap.
Details
- Before a parallel computation, definitions of symbols to be evaluated in a parallel kernel will automatically be distributed to all kernels, provided these symbols belong to a context given in the DistributedContexts option.
- The initial value is $DistributedContexts:=$Context, which distributes definitions of all symbols in the current context, but does not distribute definitions of symbols from packages.
Examples
open allclose allScope (5)
Properties & Relations (1)
Find all parallel functions that currently use $DistributedContexts:
Possible Issues (1)
The value of $DistributedContexts is not used in Parallelize:
Set the value of the DistributedContexts option of Parallelize:
Text
Wolfram Research (2010), $DistributedContexts, Wolfram Language function, https://reference.wolfram.com/language/ref/$DistributedContexts.html.
CMS
Wolfram Language. 2010. "$DistributedContexts." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$DistributedContexts.html.
APA
Wolfram Language. (2010). $DistributedContexts. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DistributedContexts.html