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

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

[Octave-bug-tracker] [bug #55911] building with sundials 3.x does not wa


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55911] building with sundials 3.x does not warn in configure that support is disabled
Date: Wed, 13 Mar 2019 16:23:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

Follow-up Comment #2, bug #55911 (project octave):

Even worse now. Now there are no warning messages at all, configure looks like
it succeeded and I would be building with sundials. But when it gets to
compilation,


  CXX      libinterp/dldfcn/__ode15___la-__ode15__.lo
../libinterp/dldfcn/__ode15__.cc: In member function ‘void
octave::IDA::set_up(const ColumnVector&)’:
../libinterp/dldfcn/__ode15__.cc:356:60: error: ‘CSC_MAT’ was not declared
in this scope
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
                                                            ^~~~~~~
../libinterp/dldfcn/__ode15__.cc:356:24: error: ‘SUNSparseMatrix’ was not
declared in this scope
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
                        ^~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:356:24: note: suggested alternative:
‘SparseMatrix’
         sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
                        ^~~~~~~~~~~~~~~
                        SparseMatrix
../libinterp/dldfcn/__ode15__.cc:360:27: error: ‘SUNLinSol_KLU’ was not
declared in this scope
         sunLinearSolver = SUNLinSol_KLU (yy, sunJacMatrix);
                           ^~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:360:27: note: suggested alternative:
‘SUNLinSolFree’
         sunLinearSolver = SUNLinSol_KLU (yy, sunJacMatrix);
                           ^~~~~~~~~~~~~
                           SUNLinSolFree
../libinterp/dldfcn/__ode15__.cc:364:13: error: ‘IDASetLinearSolver’ was
not declared in this scope
         if (IDASetLinearSolver (mem, sunLinearSolver, sunJacMatrix))
             ^~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:364:13: note: suggested alternative:
‘SUNLinearSolver’
         if (IDASetLinearSolver (mem, sunLinearSolver, sunJacMatrix))
             ^~~~~~~~~~~~~~~~~~
             SUNLinearSolver
../libinterp/dldfcn/__ode15__.cc:367:9: error: ‘IDASetJacFn’ was not
declared in this scope
         IDASetJacFn (mem, IDA::jacsparse);
         ^~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:367:9: note: suggested alternative:
‘IDASetId’
         IDASetJacFn (mem, IDA::jacsparse);
         ^~~~~~~~~~~
         IDASetId
../libinterp/dldfcn/__ode15__.cc:381:27: error: ‘SUNLinSol_Dense’ was not
declared in this scope
         sunLinearSolver = SUNLinSol_Dense (yy, sunJacMatrix);
                           ^~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:381:27: note: suggested alternative:
‘SUNLinSolFree_Dense’
         sunLinearSolver = SUNLinSol_Dense (yy, sunJacMatrix);
                           ^~~~~~~~~~~~~~~
                           SUNLinSolFree_Dense
../libinterp/dldfcn/__ode15__.cc:385:13: error: ‘IDASetLinearSolver’ was
not declared in this scope
         if (IDASetLinearSolver (mem, sunLinearSolver, sunJacMatrix))
             ^~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:385:13: note: suggested alternative:
‘SUNLinearSolver’
         if (IDASetLinearSolver (mem, sunLinearSolver, sunJacMatrix))
             ^~~~~~~~~~~~~~~~~~
             SUNLinearSolver
../libinterp/dldfcn/__ode15__.cc:388:24: error: ‘IDASetJacFn’ was not
declared in this scope
         if (havejac && IDASetJacFn (mem, IDA::jacdense) != 0)
                        ^~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:388:24: note: suggested alternative:
‘IDASetId’
         if (havejac && IDASetJacFn (mem, IDA::jacdense) != 0)
                        ^~~~~~~~~~~
                        IDASetId
../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:440:5: error: ‘SUNMatZero_Sparse’ was not
declared in this scope
     SUNMatZero_Sparse (Jac);
     ^~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:440:5: note: suggested alternative:
‘SUNMatZero_Dense’
     SUNMatZero_Sparse (Jac);
     ^~~~~~~~~~~~~~~~~
     SUNMatZero_Dense
../libinterp/dldfcn/__ode15__.cc:441:29: error:
‘SUNSparseMatrix_IndexPointers’ was not declared in this scope
     sunindextype *colptrs = SUNSparseMatrix_IndexPointers (Jac);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:441:29: note: suggested alternative:
‘SUNDenseMatrix_Print’
     sunindextype *colptrs = SUNSparseMatrix_IndexPointers (Jac);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             SUNDenseMatrix_Print
../libinterp/dldfcn/__ode15__.cc:442:29: error:
‘SUNSparseMatrix_IndexValues’ was not declared in this scope
     sunindextype *rowvals = SUNSparseMatrix_IndexValues (Jac);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:442:29: note: suggested alternative:
‘SUNDenseMatrix_Column’
     sunindextype *rowvals = SUNSparseMatrix_IndexValues (Jac);
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                             SUNDenseMatrix_Column
../libinterp/dldfcn/__ode15__.cc:447:17: error: ‘SUNSparseMatrix_Data’ was
not declared in this scope
     double *d = SUNSparseMatrix_Data (Jac);
                 ^~~~~~~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:447:17: note: suggested alternative:
‘SUNDenseMatrix_Data’
     double *d = SUNSparseMatrix_Data (Jac);
                 ^~~~~~~~~~~~~~~~~~~~
                 SUNDenseMatrix_Data


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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