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 committed Jul 19, 2017
1 parent 7c045f0 commit e262c94
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 @@ -63,6 +63,11 @@ This section lists changes that do not have deprecation warnings.
* The `Diagonal` type definition has changed from `Diagonal{T}` to
`Diagonal{T,V<:AbstractVector{T}}` ([#22718]).

* 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 possibile alternatively 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 e262c94

Please sign in to comment.