ParallelNeeds["context`"]
evaluates Needs["context`"] on all available parallel kernels.


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 all close 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:
Related Workflows
- Run a Computation in Parallel
History
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
BibTeX
@misc{reference.wolfram_2025_parallelneeds, author="Wolfram Research", title="{ParallelNeeds}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/ParallelNeeds.html}", note=[Accessed: 07-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_parallelneeds, organization={Wolfram Research}, title={ParallelNeeds}, year={2008}, url={https://reference.wolfram.com/language/ref/ParallelNeeds.html}, note=[Accessed: 07-August-2025]}