One problem solve, next problem.
I am learning to use EnsembleProblem together with Jump Processes. The code:
jprob, prob = setupSystem(dgr)
@time sol = solve(jprob, SSAStepper(), saveat=0.25)
ensemble_prob = EnsembleProblem(jprob)
sim = solve(ensemble_prob, SSAStepper(), trajectories=1)
plotly()
plot(sim, linealpha=0.4)
freezes when executing the plot
command. What is worse, is that when I interrupt, the plot
command, I do not return to the Julia client, but I am forced to restart Julia.
Here is the output to sim
:
julia> sim
EnsembleSolution Solution of length 1 with uType:
ODESolution{Float64,2,Array{Array{Float64,1},1},Nothing,Nothing,Array{Float64,1},Nothing,DiscreteProblem{Array{Float64,1},Tuple{Float64,Float64},true,Array{Float64,1},DiscreteFunction{true,ModelingToolkit.var"#103#104",Nothing,Array{Symbol,1}},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}},SSAStepper,DiffEqBase.ConstantInterpolation{Array{Float64,1},Array{Array{Float64,1},1}},Nothing}
I must say that I love Julia, but so far, everything is a struggle. I wish the learning curve was not so steep!