To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV
To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV
To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV
Hi Ravi,
So is the 0-0.2 seconds difference in the CVode call with 2.5 and 6.2 for solving one single 6x1 ODE system? Or, is it cumulative over solving several of the 6x1 ODE systems? I assume it’s the former and that the accumulation of 0-0.2 seconds across many solves is the issue for your application.
In either case, I think the easiest way to make up the time difference is to see if we can reduce the number of time steps or nonlinear iterations to make things faster. Can you provide a sample of how many time steps, function evaluations, and nonlinear iterations are being used? Also it would be good to know how many error test failures and nonlinear convergence failures there were.
Specific to the case I am assuming (many 6x1 ODE systems to solve), if you can parallelize across the systems that may also be an option to think about.
Thanks,
Cody
Regards,
Hi Ravi,
You can use the functions CVodeGetNumSteps, CVodeGetNumRhsEvals, CVodeGetNumNonlinSolvIters, CVodeGetNumNonlinSolvConvFails, and CVodeGetNumErrTestFails to get the number of time steps, right-hand-side evaluations, nonlinear solver iterations, and nonlinear solver convergence failures, and number of error test failures respectively.