# Unexpect results constructing a DArray

**URL:** <https://discourse.julialang.org/t/unexpect-results-constructing-a-darray/45861>\
**Category:** New to Julia\
**Tags:** distributed\
**Created:** [August 31, 2020, 8:06pm UTC](https://discourse.julialang.org/t/unexpect-results-constructing-a-darray/45861 "2020-08-31T20:06:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leandro\_Bataglia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leandro_bataglia/32/15674_2.png) [@Leandro\_Bataglia](https://discourse.julialang.org/u/Leandro_Bataglia)\
**Post date:** [August 31, 2020, 8:06pm UTC](https://discourse.julialang.org/t/unexpect-results-constructing-a-darray/45861/1 "2020-08-31T20:06:49Z")

</div>

I have been playing with DistributedArrays recently and found the following result:

```julia
r1 = @spawnat 2 ones(Int64, 3, 2)
r2 = @spawnat 3 fill(5, (3,2))
r3 = @spawnat 2 fill(9, (3,2))
r4 = @spawnat 3 zeros(Int64, (3,2))
Drs = DArray([r1 r2
              r3 r4])
Output: 
6×4 DArray{Int64,2,Array{Int64,2}}:
 1 1 5 5
 1 1 5 5
 1 1 5 5
 1 1 5 5
 1 1 5 5
 1 1 5 5

```

Figured I could create a DArray from different Futures in the same process, but it seems it repeats for some reason… Is this expected? Could I be doing something wrong here? Thanks!
