octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0
Date: Mon, 7 Jan 2019 15:27:45 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #45, bug #52475 (project octave):

Dmitri,

Thanks for testing!

Indeed the patch breaks compatibility with the 2.* release
but that is intended for two reasons:

1) I am not good enough at autotools to maintain that much 
backward compatibility

2) As the current version of SUNDIALS is 4.0.1 I don't think
it is worth maintaining compatibility with more than 2 old
major releases (and quite afew minor releases)

Can you please try the following?

with the patch applied, run configure adding 

-I/usr/include/suitesparse


to CPPFLAGS, i.e.


./configure CPPFLAGS=-I/usr/include/suitesparse ...


my understanding of the problem is that the Octave configure does detect
/usr/include/suitesparse/klu.h and sets the appropriate path in
octave-config.h
so that it is included as 


#include <suitesparse/klu.h>


but /usr/include/sunlinsol/sunlinsol_klu.h has 


#include <klu.h>


which does not work. Unfortunately with the current test in configure this
results in 


ac_cv_header_sunlinsol_sunlinsol_klu_h=no


but in the final *config.h


#define HAVE_SUNDIALS_SUNDIALS_SPARSE_H 1
#define HAVE_SUNDIALS_SUNLINSOL_KLU 1


but actually sundials/sparse and sundials/klu are unusable so the build
fails.

The logic to do this detection is not affected by the patch, 
so I still wonder how that could work before ...

c.


P.S. please remember to run "make maintainer-clean" and "bootstrap" each time
you apply or remove the patch.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?52475>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]