Please file this issue at DistributedArrays.jl
On Monday, November 23, 2015 at 8:13:06 AM UTC-5, Antonio Suriano wrote:
>
> addprocs(3)
>
> @everywhere using DistributedArrays
>
> function tony(N)
> return sum(drandn(N,N))
> end
>
>
> function pesante(N)
> a=zeros(N,N)
> for i = 1:N
> for j=1:N
> a[i,j]=tony(1000)
> end
> end
> return a
> end
>
> matrice= pesante(100)
>
>
> ----
> julia 0.4.1
>
> when calling pesante with N>30 sometimes it crashes
>
> LoadError: BoundsError: attempt to access 0-element Array{Any,1}
> at index [2]
> while loading In[3], in expression starting on line 20
>
> fatal error on 2: ERROR: MethodError: `convert` has no method matching
> convert(::Type{RemoteRef{T<:AbstractChannel}}, ::Base.RemoteDoMsg)
> This may have arisen from a call to the constructor
> RemoteRef{T<:AbstractChannel}(...),
> since type constructors fall back to convert methods.
> Closest candidates are:
> call{T}(::Type{T}, ::Any)
> convert{T}(::Type{T}, !Matched::T)
> RemoteRef()
> ...
> in setindex! at array.jl:313
> in deserialize_array at serialize.jl:616
> in deserialize_datatype at serialize.jl:651
> in handle_deserialize at serialize.jl:477 (repeats 2 times)
> in deserialize_datatype at serialize.jl:651
> in message_handler_loop at multi.jl:861
> in anonymous at task.jl:63
> Worker 2 terminated.
> ERROR (unhandled task failure): EOFError: read end of file
> in read at stream.jl:911
> in message_handler_loop at multi.jl:861
> in anonymous at task.jl:63
>