Open
Description
My goal is to add svd(A::DArray) to the julia interface to elemental. I have been looking at svdvals
for understanding how to do it. But I do not know how to use svdvals in parallel. The following program
has a sum of diffs of close to 0 when using a single process. When I run it with julia -p 2 or mpiexecjl -n 2 the sum of diffs is large.
How do I convert the program to run in parallel ?
using Elemental
using DistributedArrays
using LinearAlgebra
A = drandn(50,50)
Al = Matrix(A)
a = svdvals(Al)
b = Elemental.svdvals(A)
println("sum of diffs= ",sum(a-b))
Metadata
Metadata
Assignees
Labels
No labels