JuliaArrays / JuliaArrays/StaticArrays.jl
lu(::SizedMatrix) fails for large dimension
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 844
- Forks
- 159
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 3
Description
julia> VERSION
v"1.8.0-rc1.41"
(@v1.8) pkg> st StaticArrays
Status `~/.julia/environments/v1.8/Project.toml`
[90137ffa] StaticArrays v1.5.0
julia> using StaticArrays, LinearAlgebra
julia> N = 149
149
julia> lu(SizedMatrix{N,N}(randn(N, N)))
Internal error: encountered unexpected error in runtime:
StackOverflowError()
process_node! at ./compiler/ssair/ir.jl:989
process_newnode! at ./compiler/ssair/ir.jl:1195
iterate at ./compiler/ssair/ir.jl:1295
process_newnode! at ./compiler/ssair/ir.jl:1203
iterate at ./compiler/ssair/ir.jl:1295
repeats forever.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure using Julia v1.8.0-rc1.41, StaticArrays v1.5.0, and lu(SizedMatrix{149,149}(randn(149, 149))). Start by investigating the compiler StackOverflowError shown in the report. Done means lu on this large SizedMatrix no longer reaches the repeated compiler error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100