# DistributedArrays

**URL:** https://discourse.julialang.org/t/distributedarrays/43377
**Category:** New to Julia
**Created:** [July 20, 2020, 1:48pm UTC](https://discourse.julialang.org/t/distributedarrays/43377 "2020-07-20T13:48:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hyacykcharel](https://avatars.discourse-cdn.com/v4/letter/h/58956e/32.png) [@hyacykcharel](https://discourse.julialang.org/u/hyacykcharel)
#### Post date: [July 20, 2020, 1:48pm UTC](https://discourse.julialang.org/t/distributedarrays/43377/1 "2020-07-20T13:48:14Z")

</div>

hello! Ihave some distributedArrays to compute but i still getting error, is the any way to divide or multiplica dstributed Arrays??

using OhMyREPL  
using Distributed  
addprocs(4)  
@everywhere using DistributedArrays

S = drand(5,5)  
5×5 DArray{Float64,2,Array{Float64,2}}:  
0.130726 0.636561 0.00381297 0.477971 0.867984  
0.214333 0.842238 0.795536 0.00342917 0.534315  
0.684651 0.342051 0.136032 0.959128 0.436501  
0.49494 0.312472 0.825975 0.970675 0.547434  
0.280057 0.577652 0.214008 0.252421 0.277197

St = drand(5,1)  
5×1 DArray{Float64,2,Array{Float64,2}}:  
0.19622597700060718  
0.27748531804283094  
0.22285651648298943  
0.3043204241765969  
0.9679812617069683

P = S\St  
ERROR: MethodError: no method matching lu!(::DArray{Float64,2,Array{Float64,2}}, ::Val{true}; check=true)  
Closest candidates are:

---

<div class="post-metadata">

### Author: ![bjarthur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bjarthur/32/9638_2.png) [@bjarthur](https://discourse.julialang.org/u/bjarthur)
#### Post date: [September 10, 2020, 11:53am UTC](https://discourse.julialang.org/t/distributedarrays/43377/2 "2020-09-10T11:53:29Z")

</div>

can you refactor the `\` using the existing linear algebra functions that are implemented here? [https://github.com/JuliaParallel/DistributedArrays.jl/blob/master/src/linalg.jl](https://github.com/JuliaParallel/DistributedArrays.jl/blob/master/src/linalg.jl)
