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: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #52475] ode15 is not compatible with SUNDIALS >= 3.0.0
Date: Thu, 3 Jan 2019 02:10:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

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

On Fedora 29 (with Sundials 3.1.1) configure works, but compile 
fails with:



libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Iliboctave -I../liboctave
-I../liboctave/array -Iliboctave/numeric -I../liboctave/numeric
-Iliboctave/operators -I../liboctave/operators -I../liboctave/system
-I../liboctave/util -I../libinterp/octave-value -Ilibinterp -I../libinterp
-I../libinterp/operators -Ilibinterp/parse-tree -I../libinterp/parse-tree
-Ilibinterp/corefcn -I../libinterp/corefcn -I../liboctave/wrappers
-I/usr/include/GraphicsMagick -fPIC -pthread -fopenmp -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -MT libinterp/dldfcn/__ode15___la-__ode15__.lo -MD -MP -MF
libinterp/dldfcn/.deps/__ode15___la-__ode15__.Tpo -c
../libinterp/dldfcn/__ode15__.cc  -fPIC -DPIC -o
libinterp/dldfcn/.libs/__ode15___la-__ode15__.o
../libinterp/dldfcn/__ode15__.cc: In member function ‘void
octave::IDA::set_up(const ColumnVector&)’:
../libinterp/dldfcn/__ode15__.cc:359:24: error: ‘SUNSparseMatrix’ was not
declared in this scope
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
                        ^~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:359:24: note: suggested alternative:
‘SparseMatrix’
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
                        ^~~~~~~~~~~~~~~
                        SparseMatrix
../libinterp/dldfcn/__ode15__.cc:363:27: error: ‘SUNKLU’ was not declared
in this scope
         sunLinearSolver = SUNKLU (yy, sunJacMatrix);
                           ^~~~~~
../libinterp/dldfcn/__ode15__.cc:363:27: note: suggested alternative:
‘SUNTRUE’
         sunLinearSolver = SUNKLU (yy, sunJacMatrix);
                           ^~~~~~
                           SUNTRUE
../libinterp/dldfcn/__ode15__.cc: In member function ‘void
octave::IDA::jacsparse_impl(realtype, realtype, _generic_N_Vector*&,
_generic_N_Vector*&, _generic_SUNMatrix*&)’:
../libinterp/dldfcn/__ode15__.cc:443:5: error: ‘SUNMatZero_Sparse’ was not
declared in this scope
     SUNMatZero_Sparse (Jac);
     ^~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:443:5: note: suggested alternative:
‘SUNMatZero_Dense’
     SUNMatZero_Sparse (Jac);
     ^~~~~~~~~~~~~~~~~
     SUNMatZero_Dense
../libinterp/dldfcn/__ode15__.cc:444:32: error:
‘SUNSparseMatrix_IndexPointers’ was not declared in this scope
     octave_idx_type *colptrs = SUNSparseMatrix_IndexPointers (Jac);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:444:32: note: suggested alternative:
‘SUNDenseMatrix_Print’
     octave_idx_type *colptrs = SUNSparseMatrix_IndexPointers (Jac);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                SUNDenseMatrix_Print
../libinterp/dldfcn/__ode15__.cc:445:32: error:
‘SUNSparseMatrix_IndexValues’ was not declared in this scope
     octave_idx_type *rowvals = SUNSparseMatrix_IndexValues (Jac);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:445:32: note: suggested alternative:
‘SUNDenseMatrix_Column’
     octave_idx_type *rowvals = SUNSparseMatrix_IndexValues (Jac);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                SUNDenseMatrix_Column
../libinterp/dldfcn/__ode15__.cc:450:17: error: ‘SUNSparseMatrix_Data’ was
not declared in this scope
     double *d = SUNSparseMatrix_Data (Jac);
                 ^~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:450:17: note: suggested alternative:
‘SUNDenseMatrix_Data’
     double *d = SUNSparseMatrix_Data (Jac);
                 ^~~~~~~~~~~~~~~~~~~~
                 SUNDenseMatrix_Data
make[2]: *** [Makefile:19182: libinterp/dldfcn/__ode15___la-__ode15__.lo]
Error 1



9ec0a1e5d4d3+ (stable) tip

Dmitri.
-- 



    _______________________________________________________

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]