This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ParallelNeeds

ParallelNeeds["context`"]
evaluates Needs["context`"] on all available parallel kernels.
  • DistributeDefinitions in effect "registers" Needs specifications so that they are automatically performed in every new parallel kernel that may be launched.
Load package for master kernel:
Load package for subkernels:
Load package for master kernel:
In[1]:=
Click for copyable input
Load package for subkernels:
In[2]:=
Click for copyable input
It is generally necessary to load any package also on the master kernel:
Symbols can now be used on the master and parallel kernels:
New in 7