According to Mathematica documentation, ParallelNeeds can load packages for all kernels, while parallelized functions like ParallelTable have the option DistributedContexts which allows you to distribute the definitions of a package over all kernels. Am I right that ParallelNeeds and DistributedContexts can be used to achieve the same results? If so, how should I choose between the two?
Asked
Active
Viewed 66 times
1
felix
- 549
- 2
- 5
-
This answer may shed some light on the matter. If it does answer your question you should make an answer here, rather than close this as a duplicate – Jason B. Jul 30 '21 at 22:21