SciMLBenchmarks.jl icon indicating copy to clipboard operation
SciMLBenchmarks.jl copied to clipboard

fix methodoflines tests

Open xtalax opened this issue 1 year ago • 4 comments

xtalax avatar Sep 11 '23 16:09 xtalax

@ChrisRackauckas burgers should be working, it seems that the analytic funcs for the PDESystemLibrary being generated at precompile time means that RuntimeGeneratedFunctions can't find the function body in the cache dict at runtime so the full test runs but doesn't display any plots

xtalax avatar Sep 11 '23 16:09 xtalax

@ChrisRackauckas @shashi The functions are generated inside MTK with build_function, but are stored in a precompiled variable in PDESystemLibrary, Does symbolics also support passing cache and context down? What would these be in this case?

From the RuntimeGeneratedFunctions readme:

image

xtalax avatar Sep 12 '23 15:09 xtalax

@YingboMa do you remember what was done for this?

ChrisRackauckas avatar Sep 12 '23 16:09 ChrisRackauckas

By passing in eval_module like https://github.com/SciML/DiffEqProblemLibrary.jl/blob/bf3b582c3aaef62da3a71f298216b2a9f15218d2/lib/ODEProblemLibrary/src/ode_simple_nonlinear_prob.jl#L58C1-L59C1

YingboMa avatar Sep 13 '23 18:09 YingboMa