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

Dep warnings result in inference failure #1630

Closed
charleskawczynski opened this issue Feb 27, 2024 · 0 comments · Fixed by #1632
Closed

Dep warnings result in inference failure #1630

charleskawczynski opened this issue Feb 27, 2024 · 0 comments · Fixed by #1632
Labels
bug Something isn't working

Comments

@charleskawczynski
Copy link
Member

From running JET:

  ││││││┌ limited_tendency!(Yₜ::ClimaCore.Fields.FieldVector{…}, Y::ClimaCore.Fields.FieldVector{…}, p::ClimaAtmos.AtmosCache{…}, t::Float64) @ ClimaAtmos /Users/charliekawczynski/Dropbox/Caltech/work/dev/CliMA/ClimaAtmos.jl/src/prognostic_equations/limited_tendencies.jl:4
  │││││││┌ tracer_hyperdiffusion_tendency!(Yₜ::ClimaCore.Fields.FieldVector{…}, Y::ClimaCore.Fields.FieldVector{…}, p::ClimaAtmos.AtmosCache{…}, t::Float64) @ ClimaAtmos /Users/charliekawczynski/Dropbox/Caltech/work/dev/CliMA/ClimaAtmos.jl/src/prognostic_equations/hyperdiffusion.jl:199
  ││││││││┌ node_horizontal_length_scale(space::ClimaCore.Spaces.SpectralElementSpace2D{…}) @ ClimaCore.Spaces /Users/charliekawczynski/.julia/packages/ClimaCore/vUG1Z/src/Spaces/spectralelement.jl:229
  │││││││││┌ getproperty(space::ClimaCore.Spaces.SpectralElementSpace2D{…}, name::Symbol) @ ClimaCore.Spaces /Users/charliekawczynski/.julia/packages/ClimaCore/vUG1Z/src/Spaces/spectralelement.jl:129
  ││││││││││┌ depwarn(msg::String, funcsym::Symbol) @ Base ./deprecated.jl:121
  │││││││││││┌ depwarn(msg::String, funcsym::Symbol; force::Bool) @ Base ./deprecated.jl:132
  ││││││││││││┌ firstcaller(bt::Vector{…}, funcsym::Symbol) @ Base ./deprecated.jl:152
  │││││││││││││┌ firstcaller(bt::Vector{…}, funcsyms::Tuple{…}) @ Base ./deprecated.jl:157
  ││││││││││││││┌ lookup(pointer::Ptr{…}) @ Base.StackTraces ./stacktraces.jl:193
  │││││││││││││││┌ get_inlinetable(mi::Core.MethodInstance) @ Base.StackTraces ./stacktraces.jl:104
  ││││││││││││││││ runtime dispatch detected: (%28::Any).linetable::Any
  │││││││││││││││└────────────────────
  │││││││││││││││┌ get_inlinetable(mi::Core.MethodInstance) @ Base.StackTraces ./stacktraces.jl:105
  ││││││││││││││││ runtime dispatch detected: Base.StackTraces.filter!(#1, %29::Any)::Any
  │

I think it'd be good if we take some time to remove these deprecations and do a breaking release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant