Closed andreamola closed 1 year ago
I agree with your assessment that the prescribed jacobians seem to be ignored, there should not be any F-evals in the run statistics with a user supplied Jacobian.
This exact issue has not been reported previously (to my knowledge), but might possibly be related to https://github.com/modelon-community/Assimulo/issues/55
Can you provide us with a list of the tests that are failing?
Thanks Peter, I took a look at #55 but I am not entirely sure the two problems have the same root. I attached here a list of what I think are the failed tests. The nosestests output is way heavier, as it is full of deprecation messages for np.float use.
Let me know if this helps, and thanks again.
The numpy.float issue should be fixed on master already. As for the other tests, it does look like there are some more changes required to get full Sundials 6.x support.
We currently have not work planned to enhance support for Sundials 6.x. Our main focus is compliance with Sundials 2.7, see also "Sundials compliance" in the README. We would suggest trying a lower Sundials version.
Thank you very much for the clarification, Peter. I'll make sure thet Sundials 2.7 is used then.
Hi everyone, I am trying to use Assimulo to use Kinsol and IDA functions in python. I recently installed the package through anaconda (mamba install -c conda-forge assimulo) on a Debian 12 distribution. Apparently the installation went through, but I somehow cannot get the package to work properly. In fact, in all the KINSOL examples I try to run, whenever the SPGMR solver is selected, I observe that the setup_jacobian function is never called, nor is the preconditioner solve. As a consequence, there is a high number of linear solver failures reported, and the final result accuracy is way higher than the specified tolerance. For instance, this is the output of the kinsol_ors example
As can be seen, it is way different from the one reported here https://jmodelica.org/assimulo/EXAMPLE_kinsol_ors.html
In addition, the same behavior is observed when I run the tests, in which I have
Again, I think this is due to the fact that user prescribed jacobian and preconditioner functions are ignored during the computations. Has this behavior ever been observed? I must say that I have an independent installation of sundials 6.5.0 (which I use for C++ simulations): could this interfere with the anaconda install? Thank you very much for the help, and sorry for the lengthy message.