bugGNU Octave - Bugs: bug #52475, ode15 is not compatible with...


bug #52475: ode15 is not compatible with SUNDIALS >= 3.0.0

Submitted by:  Sebastian <sschoeps>
Submitted on:  Tue 21 Nov 2017 09:48:12 PM UTC  
Category: LibrariesSeverity: 3 - Normal
Priority: 1 - LaterItem Group: Other
Status: PostponedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 16 Apr 2018 12:13:35 PM UTC, comment #5:

I attached a patch file to this bug report to update _ode15_.cc to build with sundials 3.1.

Bill Greene <billgreene>
Tue 03 Apr 2018 12:59:03 AM UTC, comment #4:

I added more tests to configure on the stable branch as a stopgap for this bug for the Octave 4.4 release


This will automatically disable building against SUNDIALS 3.0.0 and later. Octave 4.4 will build against version 2.7.0 only. This is no longer a build failure error, so recategorizing and retitling.

Please do comment if there are still build errors that the new configure changes don't take care of automatically.

Leaving this bug open until after the release when someone has time to fix it on the development branch by rewriting the interface to the new IDA API.

Mike Miller <mtmiller>
Project Administrator
Fri 30 Mar 2018 07:05:15 PM UTC, comment #3:

I've built a copy of sundials 3.1.0 and I confirm the error and that the API has changed significantly.

I think we're probably short on time to get a true fix in for 4.4, so it might make sense to add tests to configure for the ida_dense API and conditionally compile out those parts of the code. I can take a look at doing that in the short term.

Mike Miller <mtmiller>
Project Administrator
Fri 30 Mar 2018 06:11:17 AM UTC, comment #2:

FYI -- Fedora 28 (beta is out, final is expected to be released on May 1) comes with sundials 3.1.0


Dmitri A. Sergatskov <dasergatskov>
Wed 21 Mar 2018 11:23:11 PM UTC, comment #1:

It would be really nice if someone familiar with the SUNDIALS interface could take a look at this for Octave 4.4, since distributions will probably start moving to SUNDIALS 3 very soon.

Mike Miller <mtmiller>
Project Administrator
Tue 21 Nov 2017 09:48:12 PM UTC, original submission:

As initially reported in [1]: Sundials has changed the treatment of dense matrices [1], such that "ida_dense.h" which is included by "__ode15__.cc" is gone.

From the manual:

> Added generic SUNMATRIX module with three provided implementations:
> dense, banded and sparse.
> These replicate previous SUNDIALS Dls and Sls matrix structures in a
> single object-oriented API.

[1] http://octave.1599824.n4.nabble.com/Sundials-issues-with-ode15-tt4685656.html
[2] https://computation.llnl.gov/sites/default/files/public/idas_guide.pdf

Sebastian <sschoeps>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #43949:  __ode15__.cc.patch added by None (11KiB - application/octet-stream - Patch file for _ode15_.cc with the required, minimal changes to build with sundials 3.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by billgreene (Posted a comment)
  • -unavailable- added by dasergatskov (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by siko1056 (Updated the item)
  • -unavailable- added by sschoeps (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 16 Apr 2018 12:11:04 PM UTCNoneAttached File-=>Added _ode15_.cc.patch, #43949
    Tue 03 Apr 2018 12:59:28 AM UTCmtmillerCategoryConfiguration and Build System=>Libraries
    Tue 03 Apr 2018 12:59:03 AM UTCmtmillerSeverity4 - Important=>3 - Normal
      Priority5 - Normal=>1 - Later
      Item GroupBuild Failure=>Other
      Summaryode15 does not compile with Sundials >=3.0=>ode15 is not compatible with SUNDIALS >= 3.0.0
    Fri 30 Mar 2018 06:21:43 AM UTCmtmillerCategoryOctave Function=>Configuration and Build System
    Wed 21 Mar 2018 11:23:11 PM UTCmtmillerSeverity3 - Normal=>4 - Important
    Wed 29 Nov 2017 09:05:01 AM UTCsiko1056StatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1