Is this a bug?
julia> using Distributed
julia> addprocs(4)
4-element Array{Int64,1}:
2
3
4
5
julia> using Distributed
julia> @everywhere using DistributedArrays
ERROR: ArgumentError: Package DistributedArrays not found in current path:
- Run `import Pkg; Pkg.add("DistributedArrays")` to install the DistributedArrays package.
Stacktrace:
[1] require(::Module, ::Symbol) at ./loading.jl:885
[2] top-level scope at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Distributed/src/macros.jl:199
I do not have DistributedArrays
installed. And if I want to use it @everywhere
, the Stacktrace[2]
will report a place:
/Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/Distributed/src/macros.jl:199
, which is nowhere on my computer. Should it be
/Applications/Julia-1.4.app/Contents/Resources/julia/share/julia/stdlib/v1.4/Distributed/src/macros.jl
It looks similar to another issue, but that was fixed.
julia> versioninfo()
Julia Version 1.4.0-DEV.435
Commit 3b11bf3add (2019-11-06 20:42 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.6.0)
CPU: Intel(R) Xeon(R) W-2140B CPU @ 3.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 16
JULIA_EDITOR = code