Distributed.jl
Distributed.jl copied to clipboard
Create and control multiple Julia processes remotely for distributed computing. Ships as a Julia stdlib.
Rebase of https://github.com/JuliaLang/julia/pull/42239 plus fixes a thread safety issue in `init_multi`. Intended to fix/improve https://github.com/JuliaLang/Distributed.jl/issues/73
Closes https://github.com/JuliaLang/Distributed.jl/issues/52 This is the port from https://github.com/JuliaLang/julia/pull/48121 by @simonbyrne . I mostly reused the code from the PR, if that's not okay let me know I'll just close this...
Just a missing import
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @takost in actions/checkout#1436 Support fetching without the --progress option...
Bumps [actions/cache](https://github.com/actions/cache) from 1 to 4. Release notes Sourced from actions/cache's releases. v4.0.0 What's Changed Update action to node20 by @takost in actions/cache#1284 feat: save-always flag by @to-s in actions/cache#1242...
Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 1 to 2. Release notes Sourced from julia-actions/setup-julia's releases. v2.0.0 - Update to Node20 What's Changed update to node20 by @ranocha in julia-actions/setup-julia#209 Note the rationale for...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...
The cross-page link is broken. Rather than fix it, I removed it because the API section is typically already on-screen when folks see this link. The note syntax is not...
As discovered in https://discourse.julialang.org/t/help-with-binary-trees-benchmark-games-example/37307/13 ``` ❯ hyperfine -w1 "julia -p4 -E 'using Distributed; nprocs()'" "julia -E 'using Distributed; addprocs(); nprocs()'" Benchmark JuliaLang/julia#1: julia -p4 -E 'using Distributed; nprocs()' Time (mean...
here's my MWE (tested on 1.9.2): ```julia using Distributed, Serialization y = 3 f = x -> x + y worker = only(addprocs(1)) @everywhere worker using Serialization fs = let...