I am running a numerical integration using scipy ode on several million cases and occasionally I get the error:
Excess work done on this call (perhaps wrong Dfun type).
I increased nsteps a fair bit (500,000), and I also tried specifying the BDF method for 'stiff' problems, as described in this question
r = ode(RHS).set_initial_value(state0, t_initial).set_f_params(Efield,qmp)
r.set_integrator('vode',nsteps=500000,method='bdf')
My question is: what happens when this occurs? Is that integration run thrown out? Or, can I force it to be thrown out? I don't care if I lose a few out of millions of runs, but I don't want the data to be contaminated.