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?

  • $\begingroup$ 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 $\endgroup$
    – Jason B.
    Commented Jul 30, 2021 at 22:21


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.