Skip to content

Commit

Permalink
NEWS: doc removal of include_from_node1
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored and jeffwong committed Jul 24, 2017
1 parent cc26379 commit 8222285
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ This section lists changes that do not have deprecation warnings.

* Juxtaposition of a non-literal with a macro call (`x@macro`) is no longer valid syntax ([#22868]).

* On a cluster, all files are now loaded from the local file system rather than node 1 ([#22588]).
To load the same file everywhere from node 1, one possible alternative is to broadcast a call to `include_string`:
`@everywhere include_string(Main, $(read("filename", String)), "filename")`.
Improving upon this API is left as an opportunity for packages.

Library improvements
--------------------

Expand Down
2 changes: 1 addition & 1 deletion doc/src/manual/parallel-computing.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ The function `count_heads` simply adds together `n` random bits. Here is how we
trials on two machines, and add together the results:

```julia-repl
julia> @everywhere include("count_heads.jl")
julia> @everywhere include_string(Main, $(read("count_heads.jl", String)), "count_heads.jl")
julia> a = @spawn count_heads(100000000)
Future(2, 1, 6, Nullable{Any}())
Expand Down

0 comments on commit 8222285

Please sign in to comment.