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, 11 Mar 2019 01:27:16 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:65.0) Gecko/20100101 Firefox/65.0

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

to clarify comment #69


#include <sunmatrix/sunmatrix_sparse.h>


should be in sunlinsol/sunlinsol_klu.h

if it isn't, including it directly would 
fix the error


/home/jwe/src/octave/libinterp/dldfcn/__ode15__.cc: In member function 'void
octave::IDA::set_up(const ColumnVector&)':
/home/jwe/src/octave/libinterp/dldfcn/__ode15__.cc:371:24: error: 
'SUNSparseMatrix' was not declared in this scope
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);


but it won't fix other errors related
to missing KLU related definitions.

I personally think it is not a good idea
to have two separate config variables to
detect whether sparse matrices are available
in sundials and whether sundials supports KLU.

But that choice is not new in this 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]