-
Notifications
You must be signed in to change notification settings - Fork 17
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
radau5 solver does not support sundials 64 bit index #107
Comments
Can you provide some more information such as the error message and sundials version? |
yes, thats for all sundials versions >=5: |
Just for clarity, your initial comment states Radau5, the test you quote is CVode, so you observe both solvers being affected? |
maybe the error message does not match the output, because only radau uses superlu, right ? |
CVode + sparse also uses superLU. |
oh then that might be it too, sorry if the report wasnt super clear |
I can reproduce the issue with CVode , looking into it. |
This is somewhat of a known issue, see https://github.com/modelon-community/Assimulo/blob/master/setup.py#L394 Sticking with SUNDIALS_INDEX_SIZE=32 is likely the best option for now. If one used a superLU configured to match SUNDIALS_INDEX_SIZE=64, there might be issues with Radau5's sparse solver. /Peter |
@PeterMeisrimelModelon @jschueller is this issue solved by #108? |
no |
but with #108 now we configure sundials with the correct index type (32 bits) so that newer versions can be tested |
Also just for completeness, the issue here seems to be that the sparse jacobian callbacks for both Radau5 & CVode (+ IDA?) both work with generic Cython |
if sundials is compiled with SUNDIALS_INDEX_SIZE=64 (default) radau5 will fail in superlu_mt method get_perm_c
with message error from colamd
The text was updated successfully, but these errors were encountered: