-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop legacy SUNDIALS and go upstream #1328
Comments
https://github.com/neuronsimulator/nrn/tree/cvode3 will help with this along with https://github.com/neuronsimulator/nrn/tree/idainit
and their corresponding h files. |
If we cannot ensure binary compatibility, this issue will belong to a new milestone 9.0 |
Unfortunately, CVode in general has not given binary identical results from version to version. (But it's not like an uninitialized memory issue because the results for a given version of NEURON seem to always be consistent.) That means a few things to me: (1) if using the same CVode could produce different results, then switching to a different CVode and getting binary different results isn't inherently any worse. (2) something, somewhere is subtly wrong with what NEURON is doing with CVode in that it depends on some other aspect of the implementation. My impression has been that each version of NEURON produces one of two possible CVode outputs, but I haven't explicitly tested this hypothesis. |
We'd also need more sundials testing, current coverage for |
One difference (between windows and linux) has been traced to pow and exp. See #1324. But that does not explain the occasional difference on the same machine when different nrn versions are compared. One of the reasons for the https://github.com/neuronsimulator/nrn/tree/cvode3 was the hope that the latter issue would go away. The nrntest repostory tests already have been updated to accept the original and Sundial version 3 results. |
Thanks. I did not realize that. (Interesting but doesn't immediately elicit a hypothesis for me:) I've only experienced this strange behavior with some modeldb models. |
Experimented with |
Today we have a very old implementation copy in neuron.
Sundials is now on Github : https://github.com/LLNL/sundials
The text was updated successfully, but these errors were encountered: