# DistributedArray operation fails

**URL:** https://discourse.julialang.org/t/distributedarray-operation-fails/26177
**Category:** Julia at Scale
**Created:** [July 9, 2019, 8:20am UTC](https://discourse.julialang.org/t/distributedarray-operation-fails/26177 "2019-07-09T08:20:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![monty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monty/32/44234_2.png) [@monty](https://discourse.julialang.org/u/monty)
#### Post date: [July 9, 2019, 8:20am UTC](https://discourse.julialang.org/t/distributedarray-operation-fails/26177/1 "2019-07-09T08:20:32Z")

</div>

```julia
da = DistributedArrays.distribute(rand(10,10))
da' * da

```

works. However,

```julia
da * da'

```

fails. Any suggestions why and how it can be fixed? Thank you very much!

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [July 9, 2019, 9:13am UTC](https://discourse.julialang.org/t/distributedarray-operation-fails/26177/2 "2019-07-09T09:13:56Z")

</div>

Not sure what’s going on, maybe you can investigate by looking at:

```julia
julia> @which da' * da
*(adjA::LinearAlgebra.Adjoint{#s125,#s124} where #s124<:(DArray{T,2,A} where A where T) where #s125, B::AbstractArray{T,2} where T) in DistributedArrays at C:\Users\####\.julia\packages\DistributedArrays\h240R\src\linalg.jl:292

julia> @which da * da'
*(A::DArray{T,2,A} where A where T, B::AbstractArray{T,2} where T) in DistributedArrays at C:\Users\####\.julia\packages\DistributedArrays\h240R\src\linalg.jl:274

```

---

<div class="post-metadata">

### Author: ![monty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monty/32/44234_2.png) [@monty](https://discourse.julialang.org/u/monty)
#### Post date: [July 11, 2019, 7:31am UTC](https://discourse.julialang.org/t/distributedarray-operation-fails/26177/3 "2019-07-11T07:31:39Z")

</div>

Thank you very much for the suggestion but this did not help much. I am still not sure what is going on. Maybe it is a bug.

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [July 11, 2019, 8:24am UTC](https://discourse.julialang.org/t/distributedarray-operation-fails/26177/4 "2019-07-11T08:24:27Z")

</div>

Looks to me like a missing method somewhere, but I don’t know enough about how DistributedArrays work - maybe one of the devs can chime in here, alternatively try opening an issue.
