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: Tue, 8 May 2018 18:54:17 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

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

configure step looked better, but compile failed:


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/libinterp_dldfcn___ode15___la-__ode15__.lo -MD -MP -MF
libinterp/dldfcn/.deps/libinterp_dldfcn___ode15___la-__ode15__.Tpo -c
../libinterp/dldfcn/__ode15__.cc  -fPIC -DPIC -o
libinterp/dldfcn/.libs/libinterp_dldfcn___ode15___la-__ode15__.o
../libinterp/dldfcn/__ode15__.cc: In member function ‘void
octave::IDA::set_up(const ColumnVector&)’:
../libinterp/dldfcn/__ode15__.cc:358:24: error: ‘SUNSparseMatrix’ was not
declared in this scope
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
                        ^~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:358:24: note: suggested alternative:
‘SparseMatrix’
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
                        ^~~~~~~~~~~~~~~
                        SparseMatrix
../libinterp/dldfcn/__ode15__.cc:362:27: error: ‘SUNKLU’ was not declared
in this scope
         sunLinearSolver = SUNKLU (yy, sunJacMatrix);
                           ^~~~~~
../libinterp/dldfcn/__ode15__.cc:362: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:442:5: error: ‘SUNMatZero_Sparse’ was not
declared in this scope
     SUNMatZero_Sparse (Jac);
     ^~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:442:5: note: suggested alternative:
‘SUNMatZero_Dense’
     SUNMatZero_Sparse (Jac);
     ^~~~~~~~~~~~~~~~~
     SUNMatZero_Dense
../libinterp/dldfcn/__ode15__.cc:443:20: error:
‘SUNSparseMatrix_IndexPointers’ was not declared in this scope
     int *colptrs = SUNSparseMatrix_IndexPointers (Jac);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:443:20: note: suggested alternative:
‘SUNDenseMatrix_Print’
     int *colptrs = SUNSparseMatrix_IndexPointers (Jac);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                    SUNDenseMatrix_Print
../libinterp/dldfcn/__ode15__.cc:444:20: error:
‘SUNSparseMatrix_IndexValues’ was not declared in this scope
     int *rowvals = SUNSparseMatrix_IndexValues (Jac);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:444:20: note: suggested alternative:
‘SUNDenseMatrix_Column’
     int *rowvals = SUNSparseMatrix_IndexValues (Jac);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                    SUNDenseMatrix_Column
../libinterp/dldfcn/__ode15__.cc:449:17: error: ‘SUNSparseMatrix_Data’ was
not declared in this scope
     double *d = SUNSparseMatrix_Data (Jac);
                 ^~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:449:17: note: suggested alternative:
‘SUNDenseMatrix_Data’
     double *d = SUNSparseMatrix_Data (Jac);
                 ^~~~~~~~~~~~~~~~~~~~
                 SUNDenseMatrix_Data
make[2]: *** [Makefile:18603:
libinterp/dldfcn/libinterp_dldfcn___ode15___la-__ode15__.lo] Error 1
make[2]: Leaving directory '/home/dima/src/octave/gcc_def'
make[1]: *** [Makefile:26445: all-recursive] Error 1



Dmitri.
-- 


    _______________________________________________________

Reply to this item at:

  <http://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]