$DistributedDefinitions
gives the list of all symbols whose definitions have been distributed to parallel kernels.
Details
![](Files/$DistributedDefinitions.en/details_1.png)
- $DistributedDefinitions includes all symbols whose definitions have been distributed to parallel kernels either automatically or by using DistributeDefinitions.
- $DistributedDefinitions returns a list of symbols wrapped in HoldForm.
Examples
open allclose allBasic Examples (2)
Possible Issues (3)
By default, symbols in the current context are automatically distributed:
Clearing the distributed definitions may seem to work:
As soon as mat is used again in a parallel computation, its definition will be distributed automatically again:
Disable automatic distribution of definitions if you wish to control distribution of definitions manually:
The definition of a has not been distributed to parallel subkernels:
Text
Wolfram Research (2024), $DistributedDefinitions, Wolfram Language function, https://reference.wolfram.com/language/ref/$DistributedDefinitions.html.
CMS
Wolfram Language. 2024. "$DistributedDefinitions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$DistributedDefinitions.html.
APA
Wolfram Language. (2024). $DistributedDefinitions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$DistributedDefinitions.html