ParallelNeeds
ParallelNeeds["context`"]
evaluates Needs["context`"] on all available parallel kernels.
Details
- ParallelNeeds["context`"] effectively does ParallelEvaluate[Needs["context`"]].
- ParallelNeeds in effect "registers" Needs specifications so that they are automatically performed in every new parallel kernel that may be launched.
Examples
open allclose allProperties & Relations (2)
ParallelNeeds uses ParallelEvaluate to run Needs on all parallel kernels:
An explicit ParallelEvaluate does the same:
Only the effect of ParallelNeeds is remembered for new kernels:
Use ParallelNeeds to set up a package on all parallel kernels:
Use DistributeDefinitions to set up your own definitions:
Text
Wolfram Research (2008), ParallelNeeds, Wolfram Language function, https://reference.wolfram.com/language/ref/ParallelNeeds.html.
CMS
Wolfram Language. 2008. "ParallelNeeds." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ParallelNeeds.html.
APA
Wolfram Language. (2008). ParallelNeeds. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ParallelNeeds.html