Skip to content

Commit

Permalink
Added note to use exeflags to load environment. (JuliaLang#33607)
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick authored and StefanKarpinski committed Oct 21, 2019
1 parent eb9d68a commit 617f797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/src/manual/parallel-computing.md
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,8 @@ It is automatically made available on the worker processes.

Note that workers do not run a `~/.julia/config/startup.jl` startup script, nor do they synchronize
their global state (such as global variables, new method definitions, and loaded modules) with any
of the other running processes.
of the other running processes. You may use `addprocs(exeflags="--project")` to initialize a worker with
a particular environment, and then `@everywhere using <modulename>` or `@everywhere include("file.jl")`.

Other types of clusters can be supported by writing your own custom `ClusterManager`, as described
below in the [ClusterManagers](@ref) section.
Expand Down

0 comments on commit 617f797

Please sign in to comment.