In the documentation for ModelingToolkit.jl - Exposing More Parallelism By Tearing Algebraic Equations in ODESystems I read
you can construct the
parallel_formto use the exposed parallelism in multithreaded function constructions
I’m assuming this means that I should setup the problem as
prob = ODEProblem(sys, , (0.0, 1.0); parallel=ModelingToolkit.MultithreadedForm())
Is my assumption correct here, or am I missing something?
I don’t see any speed improvements using
MultithreadedForm(), in fact the solver is slower this way compared with using
Also, side note, I see a couple bugs in the copy/paste code, will submit an issue on Github.