Page 1 of 1

CVode convergence error

Posted: Wed Feb 26, 2025 10:58 am
by AMaxion
Hello everyone,

I want to optimize my model, but for certain parameter combinations I get an error, which crashes the program.

Code: Select all

err=-7
CVode-- At t = 81881.7 and h = 3.99816e-07, the corrector
convergence failed repeatedly or with |h| = hmin.

382 NEURON: variable step integrator error
382  near line 0
382  objref hoc_obj_[2]
                   ^
        382 fadvance()
I already tried changing the atol and rtol, but the problem remains. How can I find out what causes the problem? It would also be fine to have a workaround that just discards this specific parameter combination. I already tried to insert a try-except block around it, but it still crashes.

Thanks for your help!

Best,
Anna