NonlinearSolve OrdinaryDiffEq ModelingToolkit

Hi everybody !

I’m experiencing problems when using those packages together

here is the command line

pkg> add Lux Optimization CUDA LuxCUDA Random ComponentArrays ModelingToolkit NeuralPDE

none of NonlinearSolve OrdinaryDiffEq ModelingToolkit agree to precompile !
red x is showing in front of those packages.

I did this in a proper directory and I have quite clean Project.toml and Manifest.toml

Naceur

What does ]status show?

1 Like

Hi Oscar

here is what status shows

pkg> status
Status ~/nnPDE/Project.toml
[052768ef] CUDA v5.1.2
⌅ [b0b7db55] ComponentArrays v0.14.1
⌃ [b2108857] Lux v0.5.5
[d0bbae9a] LuxCUDA v0.3.1
⌃ [961ee093] ModelingToolkit v8.70.0
⌃ [315f7962] NeuralPDE v5.8.0
⌃ [7f7a1694] Optimization v3.19.3
[02a925ec] cuDNN v1.2.2
[9a3f8284] Random
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use status --outdated

What is the error message being thrown?

@avikpal

1 Like

Hi Chris

it’s at the Precompiling stage that I can see the first not usual behavior

pkg> add Lux Optimization CUDA LuxCUDA Random ComponentArrays ModelingToolkit NeuralPDE

this installs many packages but at the very last moment (Precompile time) we get this :

Precompiling project…
✗ NonlinearSolve
✗ OrdinaryDiffEq
✗ StochasticDiffEq
✗ ModelingToolkit
✗ Optimization → OptimizationMTKExt
✗ NeuralPDE
1 dependency successfully precompiled in 97 seconds. 342 already precompiled.

The ✗ are red ! No green ok.

Naceur

Can you using NonlinearSolve and share the error message?

1 Like

yes ! in a second

ERROR: LoadError: Invalid Tag object:
Expected ForwardDiff.Tag{NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, Float32},
Observed ForwardDiff.Tag{Bool, Float32}.

And here is
the full output error

Precompiling NonlinearSolve
Info Given NonlinearSolve was explicitly requested, output will be shown live
ERROR: LoadError: Invalid Tag object:
Expected ForwardDiff.Tag{NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, Float32},
Observed ForwardDiff.Tag{Bool, Float32}.
Stacktrace:
[1] checktag(::Type{ForwardDiff.Tag{Bool, Float32}}, f::NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, x::Vector{Float32})
@ ForwardDiff ~/.julia/packages/ForwardDiff/PcZ48/src/config.jl:34
[2] jacobian!(result::Matrix{Float32}, f!::Function, y::Vector{Float32}, x::Vector{Float32}, cfg::ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, ::Val{true})
@ ForwardDiff ~/.julia/packages/ForwardDiff/PcZ48/src/jacobian.jl:76
[3] jacobian!(result::Matrix{Float32}, f!::Function, y::Vector{Float32}, x::Vector{Float32}, cfg::ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}})
@ ForwardDiff ~/.julia/packages/ForwardDiff/PcZ48/src/jacobian.jl:76
[4] sparse_jacobian!(J::Matrix{Float32}, ::ADTypes.AutoForwardDiff{0, Bool}, cache::SparseDiffTools.ForwardDiffJacobianCache{SparseDiffTools.NoMatrixColoring, ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, Nothing, Vector{Float32}, Vector{Float32}}, f!::NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, fx::Vector{Float32}, x::Vector{Float32})
@ SparseDiffTools ~/.julia/packages/SparseDiffTools/CsonI/src/highlevel/forward_mode.jl:70
[5] jacobian!!(J::Matrix{Float32}, cache::NonlinearSolve.NewtonRaphsonCache{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, NonlinearSolve.NewtonRaphson{nothing, ADTypes.AutoForwardDiff{0, Bool}, Nothing, typeof(NonlinearSolve.DEFAULT_PRECS), NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, LinearSolve.LinearCache{Matrix{Float32}, Vector{Float32}, Vector{Float32}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float32, Matrix{Float32}, Matrix{Float32}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Tuple{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, LinearAlgebra.SVD{Float32, Float32, Matrix{Float32}, Vector{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, LinearAlgebra.QRPivoted{Float32, Matrix{Float32}, Vector{Float32}, Vector{Int64}}}, LinearSolve.InvPreconditioner{LinearAlgebra.Diagonal{Float32, Vector{Float32}}}, LinearAlgebra.Diagonal{Float32, Vector{Float32}}, Float32, Bool}, Matrix{Float32}, SparseDiffTools.ForwardDiffJacobianCache{SparseDiffTools.NoMatrixColoring, ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, Nothing, Vector{Float32}, Vector{Float32}}, Bool, typeof(NonlinearSolve.DEFAULT_NORM), Float32, SciMLBase.NonlinearProblem{Vector{Float32}, true, Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, NonlinearSolve.LineSearchCache{NonlinearSolve.var"#eval_f#18"{Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}, Val{true}, Vector{Float32}}, Nothing, Nothing, Nothing, Float32, NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}})
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/jacobian.jl:40
[6] perform_step!(cache::NonlinearSolve.NewtonRaphsonCache{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, NonlinearSolve.NewtonRaphson{nothing, ADTypes.AutoForwardDiff{0, Bool}, Nothing, typeof(NonlinearSolve.DEFAULT_PRECS), NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, LinearSolve.LinearCache{Matrix{Float32}, Vector{Float32}, Vector{Float32}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float32, Matrix{Float32}, Matrix{Float32}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Tuple{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, LinearAlgebra.SVD{Float32, Float32, Matrix{Float32}, Vector{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, LinearAlgebra.QRPivoted{Float32, Matrix{Float32}, Vector{Float32}, Vector{Int64}}}, LinearSolve.InvPreconditioner{LinearAlgebra.Diagonal{Float32, Vector{Float32}}}, LinearAlgebra.Diagonal{Float32, Vector{Float32}}, Float32, Bool}, Matrix{Float32}, SparseDiffTools.ForwardDiffJacobianCache{SparseDiffTools.NoMatrixColoring, ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, Nothing, Vector{Float32}, Vector{Float32}}, Bool, typeof(NonlinearSolve.DEFAULT_NORM), Float32, SciMLBase.NonlinearProblem{Vector{Float32}, true, Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, NonlinearSolve.LineSearchCache{NonlinearSolve.var"#eval_f#18"{Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}, Val{true}, Vector{Float32}}, Nothing, Nothing, Nothing, Float32, NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}})
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/raphson.jl:88
[7] solve!
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/raphson.jl:136 [inlined]
[8] #__solve#1
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:34 [inlined]
[9] __solve
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:31 [inlined]
[10] #solve_call#34
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:559 [inlined]
[11] solve_call
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:529 [inlined]
[12] #solve_up#42
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:1028 [inlined]
[13] solve_up
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:993 [inlined]
[14] #solve#41
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:987 [inlined]
[15] macro expansion
@ ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:61 [inlined]
[16] macro expansion
@ ~/.julia/packages/PrecompileTools/kmH5L/src/workloads.jl:78 [inlined]
[17] top-level scope
@ ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:48
[18] include
@ Base ./Base.jl:495 [inlined]
[19] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2216
[20] top-level scope
@ stdin:3
in expression starting at /home/naceur/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:1
in expression starting at stdin:3
✗ NonlinearSolve
0 dependencies successfully precompiled in 8 seconds. 234 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec]

Failed to precompile NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] to “/home/naceur/.julia/compiled/v1.10/NonlinearSolve/jl_SDmWFv”.
ERROR: LoadError: Invalid Tag object:
Expected ForwardDiff.Tag{NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, Float32},
Observed ForwardDiff.Tag{Bool, Float32}.
Stacktrace:
[1] checktag(::Type{ForwardDiff.Tag{Bool, Float32}}, f::NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, x::Vector{Float32})
@ ForwardDiff ~/.julia/packages/ForwardDiff/PcZ48/src/config.jl:34
[2] jacobian!(result::Matrix{Float32}, f!::Function, y::Vector{Float32}, x::Vector{Float32}, cfg::ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, ::Val{true})
@ ForwardDiff ~/.julia/packages/ForwardDiff/PcZ48/src/jacobian.jl:76
[3] jacobian!(result::Matrix{Float32}, f!::Function, y::Vector{Float32}, x::Vector{Float32}, cfg::ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}})
@ ForwardDiff ~/.julia/packages/ForwardDiff/PcZ48/src/jacobian.jl:76
[4] sparse_jacobian!(J::Matrix{Float32}, ::ADTypes.AutoForwardDiff{0, Bool}, cache::SparseDiffTools.ForwardDiffJacobianCache{SparseDiffTools.NoMatrixColoring, ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, Nothing, Vector{Float32}, Vector{Float32}}, f!::NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, fx::Vector{Float32}, x::Vector{Float32})
@ SparseDiffTools ~/.julia/packages/SparseDiffTools/CsonI/src/highlevel/forward_mode.jl:70
[5] jacobian!!(J::Matrix{Float32}, cache::NonlinearSolve.NewtonRaphsonCache{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, NonlinearSolve.NewtonRaphson{nothing, ADTypes.AutoForwardDiff{0, Bool}, Nothing, typeof(NonlinearSolve.DEFAULT_PRECS), NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, LinearSolve.LinearCache{Matrix{Float32}, Vector{Float32}, Vector{Float32}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float32, Matrix{Float32}, Matrix{Float32}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Tuple{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, LinearAlgebra.SVD{Float32, Float32, Matrix{Float32}, Vector{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, LinearAlgebra.QRPivoted{Float32, Matrix{Float32}, Vector{Float32}, Vector{Int64}}}, LinearSolve.InvPreconditioner{LinearAlgebra.Diagonal{Float32, Vector{Float32}}}, LinearAlgebra.Diagonal{Float32, Vector{Float32}}, Float32, Bool}, Matrix{Float32}, SparseDiffTools.ForwardDiffJacobianCache{SparseDiffTools.NoMatrixColoring, ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, Nothing, Vector{Float32}, Vector{Float32}}, Bool, typeof(NonlinearSolve.DEFAULT_NORM), Float32, SciMLBase.NonlinearProblem{Vector{Float32}, true, Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, NonlinearSolve.LineSearchCache{NonlinearSolve.var"#eval_f#18"{Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}, Val{true}, Vector{Float32}}, Nothing, Nothing, Nothing, Float32, NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}})
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/jacobian.jl:40
[6] perform_step!(cache::NonlinearSolve.NewtonRaphsonCache{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, NonlinearSolve.NewtonRaphson{nothing, ADTypes.AutoForwardDiff{0, Bool}, Nothing, typeof(NonlinearSolve.DEFAULT_PRECS), NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, Vector{Float32}, NonlinearSolve.JacobianWrapper{true, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}}, LinearSolve.LinearCache{Matrix{Float32}, Vector{Float32}, Vector{Float32}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float32, Matrix{Float32}, Matrix{Float32}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Tuple{LinearAlgebra.LU{Float32, Matrix{Float32}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, LinearAlgebra.SVD{Float32, Float32, Matrix{Float32}, Vector{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, LinearAlgebra.Cholesky{Float32, Matrix{Float32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LinearAlgebra.LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, LinearAlgebra.QRPivoted{Float32, Matrix{Float32}, Vector{Float32}, Vector{Int64}}}, LinearSolve.InvPreconditioner{LinearAlgebra.Diagonal{Float32, Vector{Float32}}}, LinearAlgebra.Diagonal{Float32, Vector{Float32}}, Float32, Bool}, Matrix{Float32}, SparseDiffTools.ForwardDiffJacobianCache{SparseDiffTools.NoMatrixColoring, ForwardDiff.JacobianConfig{ForwardDiff.Tag{Bool, Float32}, Float32, 1, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{Bool, Float32}, Float32, 1}}}}, Nothing, Vector{Float32}, Vector{Float32}}, Bool, typeof(NonlinearSolve.DEFAULT_NORM), Float32, SciMLBase.NonlinearProblem{Vector{Float32}, true, Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, @Kwargs{}, SciMLBase.StandardNonlinearProblem}, NonlinearSolve.LineSearchCache{NonlinearSolve.var"#eval_f#18"{Vector{Float32}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, NonlinearSolve.var"#53#55", LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing}, Vector{Float32}, Val{true}, Vector{Float32}}, Nothing, Nothing, Nothing, Float32, NonlinearSolve.LineSearch{LineSearches.Static, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}}, Bool}}})
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/raphson.jl:88
[7] solve!
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/raphson.jl:136 [inlined]
[8] #__solve#1
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:34 [inlined]
[9] __solve
@ NonlinearSolve ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:31 [inlined]
[10] #solve_call#34
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:559 [inlined]
[11] solve_call
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:529 [inlined]
[12] #solve_up#42
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:1028 [inlined]
[13] solve_up
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:993 [inlined]
[14] #solve#41
@ DiffEqBase ~/.julia/packages/DiffEqBase/s433k/src/solve.jl:987 [inlined]
[15] macro expansion
@ ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:61 [inlined]
[16] macro expansion
@ ~/.julia/packages/PrecompileTools/kmH5L/src/workloads.jl:78 [inlined]
[17] top-level scope
@ ~/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:48
[18] include
@ Base ./Base.jl:495 [inlined]
[19] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2216
[20] top-level scope
@ stdin:3
in expression starting at /home/naceur/.julia/packages/NonlinearSolve/6NIAV/src/NonlinearSolve.jl:1
in expression starting at stdin:
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
[2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{…})
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:1656
[3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
[4] precompile
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
[5] precompile#114
@ Pkg.API ~/.julia/juliaup/julia-1.10.0+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
[6] #invokelatest#2
@ Base ./essentials.jl:889 [inlined]
[7] invokelatest
@ Base ./essentials.jl:884 [inlined]
[8] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1957
[9] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1806
[10] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[11] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[12] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1797
[13] macro expansion
@ Base ./loading.jl:1784 [inlined]
[14] macro expansion
@ Base ./lock.jl:267 [inlined]
[15] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1747
[16] #invoke_in_world#3
@ Base ./essentials.jl:921 [inlined]
[17] invoke_in_world
@ Base ./essentials.jl:918 [inlined]
[18] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1740
[19] eval
@ Core ./boot.jl:385 [inlined]
[20] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
@ Base ./loading.jl:2070
[21] include_string(m::Module, txt::String, fname::String)
@ Base ./loading.jl:2080
[22] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{})
@ Base ./essentials.jl:887
[23] invokelatest(::Any, ::Any, ::Vararg{Any})
@ Base ./essentials.jl:884
[24] inlineeval(m::Module, code::String, code_line::Int64, code_column::Int64, file::String; softscope::Bool)
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/eval.jl:263
[25] (::VSCodeServer.var"#67#72"{…})()
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/eval.jl:181
[26] withpath(f::VSCodeServer.var"#67#72"{…}, path::String)
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/repl.jl:274
[27] (::VSCodeServer.var"#66#71"{…})()
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/eval.jl:179
[28] hideprompt(f::VSCodeServer.var"#66#71"{…})
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/repl.jl:38
[29] (::VSCodeServer.var"#65#70"{…})()
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/eval.jl:150
[30] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[31] with_logger
@ ./logging.jl:627 [inlined]
[32] (::VSCodeServer.var"#64#69"{VSCodeServer.ReplRunCodeRequestParams})()
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/eval.jl:255
[33] #invokelatest#2
@ Base ./essentials.jl:887 [inlined]
[34] invokelatest(::Any)
@ Base ./essentials.jl:884
[35] (::VSCodeServer.var"#62#63")()
@ VSCodeServer ~/.vscode/extensions/julialang.language-julia-1.66.2/scripts/packages/VSCodeServer/src/eval.jl:34
Some type information was truncated. Use show(err) to see complete types.

Dear Chris

I made some progress in that issue
I was able to install the needed packages, restricting NonlinearSolve to the version 1.10.1
here is the output of ] st

(nnPDE) pkg> st
Status ~/nnPDE/Project.toml
⌅ [052768ef] CUDA v4.4.1
[b0b7db55] ComponentArrays v0.15.7
[b2108857] Lux v0.5.14
[d0bbae9a] LuxCUDA v0.3.1
⌃ [961ee093] ModelingToolkit v8.70.0
[315f7962] NeuralPDE v5.9.0
⌅ [8913a72c] NonlinearSolve v1.10.1
⌃ [7f7a1694] Optimization v3.19.3
⌃ [42dfb2eb] OptimizationOptimisers v0.1.6
⌃ [02a925ec] cuDNN v1.1.1
[9a3f8284] Random
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use status --outdated

(nnPDE) pkg>

And the small code I wrote seems to run It did not finish yet, but it is running :blush:
So something happened between version 1.10.1 and version 3.4.0.
I haven’t tracked the versions to see when (at which version of NonlinearSolve) this problem occurs.

Naceur

NonlinearSolve v1 was ages ago. Can you try add NonlinearSolve@3 and see which packages are holding NonlinearSolve back?

1 Like

Hi Avikpal

here is the output if we add NonlinearSolve@3

(nnPDE) pkg> add NonlinearSolve@3
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package Integrals [de52edbc]:
Integrals [de52edbc] log:
├─possible versions are: 3.0.0-4.1.0 or uninstalled
├─restricted by compatibility requirements with NeuralPDE [315f7962] to versions: 3.1.0-3.9.0
│ └─NeuralPDE [315f7962] log:
│ ├─possible versions are: 2.0.0-5.9.0 or uninstalled
│ ├─restricted to versions * by an explicit requirement, leaving only versions: 2.0.0-5.9.0
│ ├─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: [2.0.0-3.8.0, 4.2.0-5.9.0] or uninstalled, leaving only versions: [2.0.0-3.8.0, 4.2.0-5.9.0]
│ │ └─ModelingToolkit [961ee093] log:
│ │ ├─possible versions are: 0.0.1-8.75.0 or uninstalled
│ │ ├─restricted to versions * by an explicit requirement, leaving only versions: 0.0.1-8.75.0
│ │ ├─restricted by compatibility requirements with NeuralPDE [315f7962] to versions: 3.11.0-8.75.0
│ │ │ └─NeuralPDE [315f7962] log: see above
│ │ ├─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: [0.0.1-5.8.0, 8.35.0-8.75.0] or uninstalled, leaving only versions: [3.11.0-5.8.0, 8.35.0-8.75.0]
│ │ │ └─NonlinearSolve [8913a72c] log:
│ │ │ ├─possible versions are: 0.1.0-3.4.0 or uninstalled
│ │ │ └─restricted to versions 3 by an explicit requirement, leaving only versions: 3.0.0-3.4.0
│ │ ├─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: [0.0.1-2.0.0, 8.12.0-8.75.0] or uninstalled, leaving only versions: 8.35.0-8.75.0
│ │ │ └─ArrayInterface [4fba245c] log:
│ │ │ ├─possible versions are: 0.0.1-7.7.0 or uninstalled
│ │ │ ├─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 6.0.24-7.7.0
│ │ │ │ └─NonlinearSolve [8913a72c] log: see above
│ │ │ ├─restricted by compatibility requirements with LinearSolve [7ed4a6bd] to versions: 7.4.11-7.7.0
│ │ │ │ └─LinearSolve [7ed4a6bd] log:
│ │ │ │ ├─possible versions are: 0.1.0-2.22.1 or uninstalled
│ │ │ │ └─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 2.12.0-2.22.1
│ │ │ │ └─NonlinearSolve [8913a72c] log: see above
│ │ │ └─restricted by compatibility requirements with MaybeInplace [bb5d69b7] to versions: 7.6.0-7.7.0
│ │ │ └─MaybeInplace [bb5d69b7] log:
│ │ │ ├─possible versions are: 0.1.0-0.1.1 or uninstalled
│ │ └─restricted by compatibility requirements with SimpleNonlinearSolve [727e6d20] to versions: [0.0.1-8.34.0, 8.73.2-8.75.0] or uninstalled, leaving only versions: 8.73.2-8.75.0
│ │ └─SimpleNonlinearSolve [727e6d20] log:
│ │ ├─possible versions are: 0.1.0-1.2.1 or uninstalled
│ │ └─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 1.0.0-1.2.1
│ │ └─NonlinearSolve [8913a72c] log: see above
│ ├─restricted by compatibility requirements with SymbolicUtils [d1185830] to versions: [2.0.0-3.15.0, 4.3.0-5.9.0] or uninstalled, leaving only versions: [2.0.0-3.8.0, 4.3.0-5.9.0]
│ │ └─SymbolicUtils [d1185830] log:
│ │ ├─possible versions are: 0.1.0-1.5.0 or uninstalled
│ │ ├─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: [0.4.1-0.6.3, 0.7.4-0.8.4, 0.19.0-1.5.0]
│ │ │ └─ModelingToolkit [961ee093] log: see above
│ │ ├─restricted by compatibility requirements with Setfield [efcf1570] to versions: [0.1.0-0.8.4, 0.19.10-1.5.0] or uninstalled, leaving only versions: [0.4.1-0.6.3, 0.7.4-0.8.4, 0.19.10-1.5.0]
│ │ │ └─Setfield [efcf1570] log:
│ │ │ ├─possible versions are: 0.2.0-1.1.1 or uninstalled
│ │ │ ├─restricted by compatibility requirements with Lux [b2108857] to versions: 0.8.0-1.1.1
│ │ │ │ └─Lux [b2108857] log:
│ │ │ │ ├─possible versions are: 0.3.0-0.5.14 or uninstalled
│ │ │ │ ├─restricted to versions * by an explicit requirement, leaving only versions: 0.3.0-0.5.14
│ │ │ │ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: 0.4.38-0.5.14 or uninstalled, leaving only versions: 0.4.38-0.5.14
│ │ │ │ │ └─CUDA [052768ef] log:
│ │ │ │ │ ├─possible versions are: 0.1.0-5.1.2 or uninstalled
│ │ │ │ │ ├─restricted to versions * by an explicit requirement, leaving only versions: 0.1.0-5.1.2
│ │ │ │ │ ├─restricted by julia compatibility requirements to versions: [2.3.0, 2.5.0-5.1.2] or uninstalled, leaving only versions: [2.3.0, 2.5.0-5.1.2]
│ │ │ │ │ └─restricted by compatibility requirements with cuDNN [02a925ec] to versions: 4.0.0-5.1.2
│ │ │ │ │ └─cuDNN [02a925ec] log:
│ │ │ │ │ ├─possible versions are: 1.0.0-1.2.2 or uninstalled
│ │ │ │ │ └─restricted to versions * by an explicit requirement, leaving only versions: 1.0.0-1.2.2
│ │ │ │ └─restricted by compatibility requirements with ADTypes [47edcb42] to versions: [0.3.0-0.4.58, 0.5.1-0.5.14] or uninstalled, leaving only versions: [0.4.38-0.4.58, 0.5.1-0.5.14]
│ │ │ │ └─ADTypes [47edcb42] log:
│ │ │ │ ├─possible versions are: 0.1.0-0.2.6 or uninstalled
│ │ │ │ ├─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 0.2.0-0.2.6
│ │ │ │ │ └─NonlinearSolve [8913a72c] log: see above
│ │ │ │ └─restricted by compatibility requirements with SparseDiffTools [47a9eef4] to versions: 0.2.1-0.2.6
│ │ │ │ └─SparseDiffTools [47a9eef4] log:
│ │ │ │ ├─possible versions are: 0.1.0-2.15.0 or uninstalled
│ │ │ │ └─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 2.14.0-2.15.0
│ │ │ │ └─NonlinearSolve [8913a72c] log: see above
│ │ │ └─restricted by compatibility requirements with SparseDiffTools [47a9eef4] to versions: 1.0.0-1.1.1
│ │ │ └─SparseDiffTools [47a9eef4] log: see above
│ │ ├─restricted by compatibility requirements with DataStructures [864edb3b] to versions: [0.1.0-0.3.3, 0.5.1-1.5.0] or uninstalled, leaving only versions: [0.5.1-0.6.3, 0.7.4-0.8.4, 0.19.10-1.5.0]
│ │ │ └─DataStructures [864edb3b] log:
│ │ │ ├─possible versions are: 0.9.0-0.18.16 or uninstalled
│ │ │ ├─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 0.17.0-0.18.16
│ │ │ │ └─ModelingToolkit [961ee093] log: see above
│ │ │ ├─restricted by compatibility requirements with StochasticDiffEq [789caeaf] to versions: 0.18.0-0.18.16
│ │ │ │ └─StochasticDiffEq [789caeaf] log:
│ │ │ │ ├─possible versions are: 5.0.0-6.64.0 or uninstalled
│ │ │ │ ├─restricted by compatibility requirements with NeuralPDE [315f7962] to versions: 6.13.0-6.64.0
│ │ │ │ │ └─NeuralPDE [315f7962] log: see above
│ │ │ │ ├─restricted by compatibility requirements with SciMLOperators [c0aeaf25] to versions: [5.0.0-6.60.0, 6.61.1-6.64.0] or uninstalled, leaving only versions: [6.13.0-6.60.0, 6.61.1-6.64.0]
│ │ │ │ │ └─SciMLOperators [c0aeaf25] log:
│ │ │ │ │ ├─possible versions are: 0.1.0-0.3.7 or uninstalled
│ │ │ │ │ ├─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 0.3.0-0.3.7
│ │ │ │ │ │ └─NonlinearSolve [8913a72c] log: see above
│ │ │ │ │ └─restricted by compatibility requirements with SparseDiffTools [47a9eef4] to versions: 0.3.7
│ │ │ │ │ └─SparseDiffTools [47a9eef4] log: see above
│ │ │ │ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 6.28.0-6.64.0 or uninstalled, leaving only versions: [6.28.0-6.60.0, 6.61.1-6.64.0]
│ │ │ │ │ └─Reexport [189a3867] log:
│ │ │ │ │ ├─possible versions are: 0.2.0-1.2.2 or uninstalled
│ │ │ │ │ └─restricted by compatibility requirements with OptimizationOptimJL [36348300] to versions: 1.2.0-1.2.2
│ │ │ │ │ └─OptimizationOptimJL [36348300] log:
│ │ │ │ │ ├─possible versions are: 0.1.1-0.2.1 or uninstalled
│ │ │ │ │ └─restricted to versions * by an explicit requirement, leaving only versions: 0.1.1-0.2.1
│ │ │ │ ├─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: [5.0.0-6.7.0, 6.58.0-6.64.0] or uninstalled, leaving only versions: [6.58.0-6.60.0, 6.61.1-6.64.0]
│ │ │ │ │ └─ArrayInterface [4fba245c] log: see above
│ │ │ │ ├─restricted by compatibility requirements with SparseDiffTools [47a9eef4] to versions: [5.0.0-6.6.0, 6.61.0-6.64.0] or uninstalled, leaving only versions: 6.61.1-6.64.0
│ │ │ │ │ └─SparseDiffTools [47a9eef4] log: see above
│ │ │ │ └─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: [5.0.0-6.48.0, 6.63.0-6.64.0] or uninstalled, leaving only versions: 6.63.0-6.64.0
│ │ │ │ └─SciMLBase [0bca4576] log:
│ │ │ │ ├─possible versions are: 1.0.0-2.18.0 or uninstalled
│ │ │ │ └─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 2.9.0-2.18.0
│ │ │ │ └─NonlinearSolve [8913a72c] log: see above
│ │ │ └─restricted by compatibility requirements with Compat [34da2185] to versions: [0.9.0-0.17.20, 0.18.13-0.18.16] or uninstalled, leaving only versions: 0.18.13-0.18.16
│ │ │ └─Compat [34da2185] log:
│ │ │ ├─possible versions are: 1.0.0-4.12.0 or uninstalled
│ │ │ ├─restricted by julia compatibility requirements to versions: 2.0.0-4.12.0 or uninstalled
│ │ │ ├─restricted by compatibility requirements with Optim [429524aa] to versions: 3.2.0-4.12.0
│ │ │ │ └─Optim [429524aa] log:
│ │ │ │ ├─possible versions are: 0.15.3-1.7.8 or uninstalled
│ │ │ │ ├─restricted by compatibility requirements with NeuralPDE [315f7962] to versions: 0.20.0-1.7.8
│ │ │ │ │ └─NeuralPDE [315f7962] log: see above
│ │ │ │ ├─restricted by compatibility requirements with OptimizationOptimJL [36348300] to versions: 1.0.0-1.7.8
│ │ │ │ │ └─OptimizationOptimJL [36348300] log: see above
│ │ │ │ ├─restricted by compatibility requirements with FillArrays [1a297f60] to versions: [0.15.3-0.18.1, 1.6.2-1.7.8] or uninstalled, leaving only versions: 1.6.2-1.7.8
│ │ │ │ │ └─FillArrays [1a297f60] log:
│ │ │ │ │ ├─possible versions are: 0.2.0-1.9.3 or uninstalled
│ │ │ │ │ ├─restricted by compatibility requirements with Lux [b2108857] to versions: 0.13.0-1.9.3 or uninstalled
│ │ │ │ │ │ └─Lux [b2108857] log: see above
│ │ │ │ │ ├─restricted by compatibility requirements with Optim [429524aa] to versions: 0.6.2-1.9.3, leaving only versions: 0.13.0-1.9.3
│ │ │ │ │ │ └─Optim [429524aa] log: see above
│ │ │ │ │ ├─restricted by compatibility requirements with LazyArrays [5078a376] to versions: 1.0.0-1.9.3
│ │ │ │ │ │ └─LazyArrays [5078a376] log:
│ │ │ │ │ │ ├─possible versions are: 0.0.1-1.8.3 or uninstalled
│ │ │ │ │ │ └─restricted by compatibility requirements with NonlinearSolve [8913a72c] to versions: 1.8.0-1.8.3
│ │ │ │ │ │ └─NonlinearSolve [8913a72c] log: see above
│ │ │ │ │ └─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 1.6.0-1.9.3
│ │ │ │ │ └─SciMLBase [0bca4576] log: see above
│ │ │ │ └─restricted by compatibility requirements with Compat [34da2185] to versions: [0.17.2-0.20.1, 1.7.2-1.7.8] or uninstalled, leaving only versions: 1.7.2-1.7.8
│ │ │ │ └─Compat [34da2185] log: see above
│ │ │ └─restricted by compatibility requirements with SparseDiffTools [47a9eef4] to versions: 4.1.0-4.12.0
│ │ │ └─SparseDiffTools [47a9eef4] log: see above
│ │ └─restricted by compatibility requirements with NeuralPDE [315f7962] to versions: 0.19.0-1.5.0, leaving only versions: 0.19.10-1.5.0
│ │ └─NeuralPDE [315f7962] log: see above
│ ├─restricted by compatibility requirements with Reexport [189a3867] to versions: 3.3.0-5.9.0 or uninstalled, leaving only versions: [3.3.0-3.8.0, 4.3.0-5.9.0]
│ │ └─Reexport [189a3867] log: see above
│ ├─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: [2.0.0-3.8.0, 5.0.0-5.9.0] or uninstalled, leaving only versions: [3.3.0-3.8.0, 5.0.0-5.9.0]
│ │ └─ArrayInterface [4fba245c] log: see above
│ ├─restricted by compatibility requirements with Adapt [79e6a3ab] to versions: 3.4.0-5.9.0 or uninstalled, leaving only versions: [3.4.0-3.8.0, 5.0.0-5.9.0]
│ │ └─Adapt [79e6a3ab] log:
│ │ ├─possible versions are: 0.3.0-4.0.0 or uninstalled
│ │ ├─restricted by compatibility requirements with NeuralPDE [315f7962] to versions: 1.0.0-3.7.2
│ │ │ └─NeuralPDE [315f7962] log: see above
│ │ ├─restricted by compatibility requirements with ArrayInterface [4fba245c] to versions: 3.0.0-4.0.0, leaving only versions: 3.0.0-3.7.2
│ │ │ └─ArrayInterface [4fba245c] log: see above
│ │ └─restricted by compatibility requirements with CUDA [052768ef] to versions: 3.3.0-3.7.2
│ │ └─CUDA [052768ef] log: see above
│ ├─restricted by compatibility requirements with CUDA [052768ef] to versions: [2.0.0, 5.0.0-5.9.0] or uninstalled, leaving only versions: 5.0.0-5.9.0
│ │ └─CUDA [052768ef] log: see above
│ └─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: [2.0.0-3.6.0, 5.9.0] or uninstalled, leaving only versions: 5.9.0
│ └─SciMLBase [0bca4576] log: see above
└─restricted by compatibility requirements with SciMLBase [0bca4576] to versions: 4.0.0-4.1.0 or uninstalled — no versions left
└─SciMLBase [0bca4576] log: see above

(nnPDE) pkg>

It is difficult to me to interpret this output. Does this says some thing to you ?

Naceur

Avikpal

The issue occurs between NonlinearSolve1.10.1 and NonlinearSolve2.1.0
NonlinearSolve1.10.1 good
NonlinearSolve2.1.0 not good

Naceur

Avikpal !

Another issue

Why the update of NonlinearSolve is automatic from 1.10.1 to 2.1.0
While at the end the version 2.1.0 is not precompiled along with NeuralPDE and ModelingToolkit ?

If I want to trust the process of choosing the set of packages versions that are friends, this should not be possible ? Since NolinearSolve2.1.0 will not precompile along with NeuralPDE5.9 or 5.8 nor with ModelingToolkit8.70 or 8.75

I am restricting myself to not hit ] up because if I do it : NolinearSolve is upgraded from 1.10.1 to 2.1.0, when it does not precompile at the end of the process !!!

Hope this could help you to progress in helping me to progress ! :smiley:

Have A Nice Day

Naceur

This got handled. For bug reports in the future I recommend opening an issue on Github as it will be better tracked.