Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README single processor svd example does not work #56

Closed
ViralBShah opened this issue Apr 19, 2020 · 1 comment · Fixed by #60
Closed

README single processor svd example does not work #56

ViralBShah opened this issue Apr 19, 2020 · 1 comment · Fixed by #60

Comments

@ViralBShah
Copy link
Member

ViralBShah commented Apr 19, 2020

I'm using Julia 1.4 and Elemental.jl 0.5 (which downloaded and built Elemental through deps/build.jl)

julia> using LinearAlgebra, Elemental

julia> A = Elemental.Matrix(Float64)
0×0 Elemental.Matrix{Float64}

julia> Elemental.gaussian!(A, 100, 80);

julia> U, s, V = svd(A);

julia> convert(Matrix{Float64}, s)[1:10]
ERROR: MethodError: no method matching Array{Float64,2}(::Int64, ::Int64)
Closest candidates are:
  Array{Float64,2}(::UndefInitializer, ::Int64, ::Int64) where T at boot.jl:407
  Array{Float64,2}(::UndefInitializer, ::Int64...) where {T, N} at boot.jl:411
  Array{Float64,2}(::UndefInitializer, ::Integer, ::Integer) where T at baseext.jl:13
  ...
Stacktrace:
 [1] convert(::Type{Array{Float64,2}}, ::Elemental.Matrix{Float64}) at /home/viralbshah/.julia/packages/Elemental/ovOAZ/src/julia/generic.jl:114
 [2] top-level scope at REPL[19]:1
@ViralBShah ViralBShah changed the title README svd example does not work README single processor svd example does not work Apr 19, 2020
@andreasnoack
Copy link
Member

Closed by #60

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants