prob_ode_...
(since anonymous functions in the sense they are used there actually compile for full performance. Not necessary for most things, but required for the threading tests)
prob = prob_ode_linear
When using sundials, I always get:
ERROR: UndefVarError: cvode_fulloutput not defined
in #solve#499(::Array{Any,1}, ::Function, ::DifferentialEquations.ODEProblem{Float64,Float64}, ::Array{Int64,1}) at /Users/rveltz/.julia/v0.5/DifferentialEquations/src/ode/ode_solve.jl:255
in (::DifferentialEquations.#kw##solve)(::Array{Any,1}, ::DifferentialEquations.#solve, ::DifferentialEquations.ODEProblem{Float64,Float64}, ::Array{Int64,1}) at ./<missing>:0
Oh, did you check the conditional deps docs? There's a PR that needs to go through, so right now it's compatible with the branch for that PR (since it's right about to merge and change everything). Either use the branch handles
from alyst/Sundials.jl
, i.e.
Pkg.clone("https://github.com/alyst/Sundials.jl")
Pkg.checkout("Sundials","handles")
or just wait for the PR. It's here: JuliaDiffEq/Sundials.jl#67. It should've gone through, but Travis hasn't been working and we can't merge until it does...
Hi there. I'm trying to get this package to replace ODE.jl in my code, since I really like the design of it. My first attempt results in the following error:
ERROR: LoadError: LoadError: ArgumentError: argument is not a generic function
in methods at reflection.jl:180
in numparameters at /Users/cbinz/.julia/v0.4/DifferentialEquations/src/general/problems.jl:460
in call at /Users/cbinz/.julia/v0.4/DifferentialEquations/src/general/problems.jl:395
...
Here's the line that throws the error:
p = ODEProblem( (t,y)->vopeom(t, y, sat, propOpt), x)
f(t,y) = vopeom(t, y, sat, propOpt)
p = ODEProblem(f, x)
Can DifferentialEquations.jl support Cudanative???
Yes it did in v0.6, but we do need to fix it.