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

ModalC0Bases test failed on my local computer with Julia 1.9 #917

Closed
amartinhuertas opened this issue Jul 11, 2023 · 0 comments · Fixed by #918
Closed

ModalC0Bases test failed on my local computer with Julia 1.9 #917

amartinhuertas opened this issue Jul 11, 2023 · 0 comments · Fixed by #918

Comments

@amartinhuertas
Copy link
Member

The ModalC0Bases test failed on my local computer with Gridap#main branch (94419b8) + Julia 1.9. The error I get is as follows:

ModalC0Bases: Error During Test at /home/u1134396/git-repos/Gridap.jl/test/PolynomialsTests/runtests.jl:13
  Got exception outside of a @test
  LoadError: DimensionMismatch: array could not be broadcast to match destination
  Stacktrace:
    [1] check_broadcast_shape
      @ ./broadcast.jl:553 [inlined]
    [2] check_broadcast_axes
      @ ./broadcast.jl:556 [inlined]
    [3] instantiate
      @ ./broadcast.jl:297 [inlined]
    [4] materialize!
      @ ./broadcast.jl:884 [inlined]
    [5] materialize!
      @ ./broadcast.jl:881 [inlined]
    [6] permute!(v::Matrix{Tuple{Int64, Int64}}, p::Vector{Int64})
      @ Base ./combinatorics.jl:187
    [7] _sort_by_nfaces!(terms::Vector{CartesianIndex{2}}, orders::Tuple{Int64, Int64})
      @ Gridap.Polynomials ~/git-repos/Gridap.jl/src/Polynomials/ModalC0Bases.jl:271
    [8] _define_terms_mc0(filter::Function, sort!::typeof(Gridap.Polynomials._sort_by_nfaces!), orders::Tuple{Int64, Int64})
      @ Gridap.Polynomials ~/git-repos/Gridap.jl/src/Polynomials/ModalC0Bases.jl:305
    [9] #_#11
      @ ~/git-repos/Gridap.jl/src/Polynomials/ModalC0Bases.jl:30 [inlined]
   [10] ModalC0Basis
      @ ~/git-repos/Gridap.jl/src/Polynomials/ModalC0Bases.jl:22 [inlined]
   [11] #_#14
      @ ~/git-repos/Gridap.jl/src/Polynomials/ModalC0Bases.jl:68 [inlined]
   [12] (Gridap.Polynomials.ModalC0Basis{2})(::Type{Float64}, order::Int64, a::Vector{Gridap.TensorValues.VectorValue{2, Float64}}, b::Vector{Gridap.TensorValues.VectorValue{2, Float64}})
      @ Gridap.Polynomials ~/git-repos/Gridap.jl/src/Polynomials/ModalC0Bases.jl:59
   [13] top-level scope
      @ ~/git-repos/Gridap.jl/test/PolynomialsTests/ModalC0BasesTests.jl:49
   [14] include(mod::Module, _path::String)
      @ Base ./Base.jl:457
   [15] include(x::String)
      @ Main.GridapRunTests.PolynomialsTests ~/git-repos/Gridap.jl/test/PolynomialsTests/runtests.jl:1
   [16] macro expansion
      @ ~/git-repos/Gridap.jl/test/PolynomialsTests/runtests.jl:13 [inlined]
   [17] macro expansion
      @ ~/software_installers/julia-1.9.1/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
   [18] top-level scope
      @ ~/git-repos/Gridap.jl/test/PolynomialsTests/runtests.jl:13
   [19] include(mod::Module, _path::String)
      @ Base ./Base.jl:457
   [20] include
      @ ~/git-repos/Gridap.jl/test/runtests.jl:1 [inlined]
   [21] macro expansion
      @ ~/git-repos/Gridap.jl/test/runtests.jl:17 [inlined]
   [22] macro expansion
      @ ~/software_installers/julia-1.9.1/share/julia/stdlib/v1.9/Test/src/Test.jl:1498 [inlined]
   [23] macro expansion
      @ ~/git-repos/Gridap.jl/test/runtests.jl:17 [inlined]
   [24] top-level scope
      @ ./timing.jl:273 [inlined]
   [25] top-level scope
      @ ~/git-repos/Gridap.jl/test/runtests.jl:0
   [26] include(fname::String)
      @ Base.MainInclude ./client.jl:478
   [27] top-level scope
      @ none:6
   [28] eval
      @ ./boot.jl:370 [inlined]
   [29] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:280
   [30] _start()
      @ Base ./client.jl:522
  in expression starting at /home/u1134396/git-repos/Gridap.jl/test/PolynomialsTests/ModalC0BasesTests.jl:1

My local package manager environment is as follows:

Project Gridap v0.17.17
Status `~/git-repos/Gridap.jl/Project.toml`
  [1520ce14] AbstractTrees v0.4.4
  [fbb218c0] BSON v0.3.7
  [8e7c35d0] BlockArrays v0.16.35
  [861a8166] Combinatorics v1.0.2
  [864edb3b] DataStructures v0.18.14
  [ffbed154] DocStringExtensions v0.9.3
⌅ [442a2c76] FastGaussQuadrature v0.4.9
  [5789e2e9] FileIO v1.16.1
  [1a297f60] FillArrays v1.3.0
  [f6369f11] ForwardDiff v0.10.35
  [033835bb] JLD2 v0.4.32
  [682c06a0] JSON v0.21.4
  [d3d80556] LineSearches v7.2.0
  [2774e3e8] NLsolve v4.5.1
  [b8a86587] NearestNeighbors v0.4.13
  [c74db56a] PolynomialBases v0.4.18
  [1fd47b50] QuadGK v2.8.2
  [a0a7dd2c] SparseMatricesCSR v0.6.7
  [90137ffa] StaticArrays v1.6.0
  [64499a7a] WriteVTK v1.18.0
  [37e2e46d] LinearAlgebra
  [9a3f8284] Random
  [2f01184e] SparseArrays
  [8dfed614] Test
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated`
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.

1 participant