2015-12-22 75 views
-1

我學習並行計算這個 要使用分佈式陣列朱莉婭,但我在使用它的圖書館錯誤而使用distrubuted陣列中的朱莉婭

ERROR: ArgumentError: DistributedArrays not found in path

我使用Ubuntu 14.04和Julia面臨的一些錯誤版本0.4.2

請幫我解決這個問題

+3

你加了嗎? 'Pkg.add(「DistributedArrays」)' –

+0

https://github.com/JuliaParallel/DistributedArrays.jl –

+0

http://docs.julialang.org/zh/release-0.4/manual/packages/ –

回答

2

DArrays have been removed from Julia Base library in v0.4

Pkg.add("DistributedArrays")#=>必須將它添加

so it is now necessary to import the DistributedArrays package on all spawned processes.

@everywhere using DistributedArrays