Skip to content

Commit b677a5b

Browse files
Naiklessvchuravy
andauthored
Update distributed doc (JuliaLang/julia#45368)
* point out Julia versions should be the same Using addprocs to add workers on remote machines can fail when Julia versions differ because serialization is not guaranteed to be backward compatible. This points this out explicitly in the manual. * updated docstrings for `exename` flag in addprocs Another location where a warning about the necessity of matching Julia versions across worker processes might be helpful. * fixed reference in manual Co-authored-by: Valentin Churavy <[email protected]>
1 parent a36f6dd commit b677a5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/managers.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ addprocs([
107107
processes. Default is `false`.
108108
109109
* `exename`: name of the `julia` executable. Defaults to `"\$(Sys.BINDIR)/julia"` or
110-
`"\$(Sys.BINDIR)/julia-debug"` as the case may be.
110+
`"\$(Sys.BINDIR)/julia-debug"` as the case may be. It is recommended that a common Julia
111+
version is used on all remote machines because serialization and code distribution might
112+
fail otherwise.
111113
112114
* `exeflags`: additional flags passed to the worker processes.
113115

0 commit comments

Comments
 (0)