-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Discretization failed (no method matching getmetadata(...)) #427
Comments
The new syntax seems to be
Probably the error could be more informative? Or during the construction of |
I see, I missed the new synthax, thanks a lot ! |
Is there also a new way to call "remake" function ? newprob = remake(prob, p=[D=>0.2])
@time "PDE Solve" newsol = solve(newprob, Tsit5(), saveat=0.1) throw the warnings: ┌ Warning: Initialization system is overdetermined. 1 equations for 0 unknowns. Initialization will default to using least squares. To suppress this warning pass warn_initialize_determined = false. To make this warning into an error, pass fully_determined = true
└ @ ModelingToolkit C:\Users\yoann.cartier\.julia\packages\ModelingToolkit\zfOUk\src\systems\diffeqs\abstractodesystem.jl:1291
PDE Solve: 0.029451 seconds (52.85 k allocations: 3.002 MiB, 92.12% compilation time: 100% of which was recompilation)
┌ Warning: Solution has length 1 in dimension x. Interpolation will not be possible for variable c(x, t). Solution return code is InitialFailure.
└ @ MethodOfLines C:\Users\yoann.cartier\.julia\packages\MethodOfLines\NV0bv\src\interface\solution\solution_utils.jl:18 which then returns non-working solution (one column matrix...). The same code was working before. |
Did you reverse the order of x and t everywhere in the problem setup? I have multiple parameters in my problem that might be the source of the continuing issue. Thanks. MethodError: no method matching namemap(::Type{ModelingToolkit.VariableType})
The function `namemap` exists, but no method is defined for this combination of argument types.
Closest candidates are:
namemap(::Type{ModelingToolkit.VariableType}) (method too new to be called from this world context.)
@ ModelingToolkit Enums.jl:215
namemap(!Matched::Type{LinearSolve.OperatorCondition.T}) (method too new to be called from this world context.)
@ LinearSolve ~/.julia/packages/EnumX/Aoxb1/src/EnumX.jl:130
namemap(!Matched::Type{LibGit2.Consts.OBJECT})
@ LibGit2 Enums.jl:215
... |
it seems again that the syntax has changed Parameters Tutorial
but I couldn't make it work. the new error is
|
That's a completely different thing. Using the SciMLStructures interface for quickly replacing tunables is an interface for optimizers. It's separate from @cartiery what's your full example? |
Describe the example
I was doing PDE discretization using MOL (julia v1.10.5). I did the upgrade to julia v1.11.1, going along with packages updates, and now I've some error.
Minimal Reproducible Example 👇
Error & Stacktrace⚠️
Working Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context
Packages version where MWE works:
The whole story is that I uninstalled julia that I had manually installed, to install it through MS store (to have juliaup). Juliaup installed last julia release, so I went from v1.10.5 to v1.11.1. I tried to install packages through julia v1.10.5 channel, but it installs same packages version as in v1.11.1 channel (which do not work), so I'm stuck with this MOL error.
The text was updated successfully, but these errors were encountered: