bugGNU Octave - Bugs: bug #62170, 6.4.0 build failure because of...

 
 

bug #62170: 6.4.0 build failure because of Sundials

Submitter:  None
Submitted:  Fri 11 Mar 2022 07:47:11 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.4.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 12 Mar 2022 01:25:18 PM UTC, comment #1: 

This is a duplicate of bug #61738.

Closing report.

Markus Mützel <mmuetzel>
Group administrator
Fri 11 Mar 2022 07:47:11 PM UTC, original submission:  

Build errors for 6.4.0 about Sundials:

  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:420:41: error: too few arguments to function ‘_generic_SUNMatrix* SUNDenseMatrix(sunindextype, sunindextype, SUNContext)’
  420 |         m_sunJacMatrix = SUNDenseMatrix (m_num, m_num);
      |                          ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/sunlinsol/sunlinsol_dense.h:36,
                 from ../libinterp/dldfcn/__ode15__.cc:62:
/usr/include/sunmatrix/sunmatrix_dense.h:79:27: note: declared here
   79 | SUNDIALS_EXPORT SUNMatrix SUNDenseMatrix(sunindextype M, sunindextype N, SUNContext sunctx);
      |                           ^~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:424:45: error: too few arguments to function ‘_generic_SUNLinearSolver* SUNLinSol_Dense(N_Vector, SUNMatrix, SUNContext)’
  424 |         m_sunLinearSolver = SUNLinSol_Dense (yy, m_sunJacMatrix);
      |                             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from ../libinterp/dldfcn/__ode15__.cc:62:
/usr/include/sunlinsol/sunlinsol_dense.h:58:33: note: declared here
   58 | SUNDIALS_EXPORT SUNLinearSolver SUNLinSol_Dense(N_Vector y, SUNMatrix A, SUNContext sunctx);
      |                                 ^~~~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc: In static member function ‘static _generic_N_Vector* octave::IDA::ColToNVec(const ColumnVector&, long int)’:
../libinterp/dldfcn/__ode15__.cc:508:32: error: too few arguments to function ‘_generic_N_Vector* N_VNew_Serial(sunindextype, SUNContext)’
  508 |     N_Vector v = N_VNew_Serial (n);
      |                  ~~~~~~~~~~~~~~^~~
In file included from ../libinterp/dldfcn/__ode15__.cc:47:
/usr/include/nvector/nvector_serial.h:85:26: note: declared here
   85 | SUNDIALS_EXPORT N_Vector N_VNew_Serial(sunindextype vec_length, SUNContext sunctx);
      |                          ^~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc: In member function ‘void octave::IDA::initialize()’:
../libinterp/dldfcn/__ode15__.cc:531:23: error: too few arguments to function ‘void* IDACreate(SUNContext)’
  531 |     m_mem = IDACreate ();
      |             ~~~~~~~~~~^~
In file included from ../libinterp/dldfcn/__ode15__.cc:51:
/usr/include/ida/ida.h:107:23: note: declared here
  107 | SUNDIALS_EXPORT void *IDACreate(SUNContext sunctx);
      |                       ^~~~~~~~~
../libinterp/dldfcn/__ode15__.cc: In member function ‘octave_value_list octave::IDA::integrate(int, const ColumnVector&, const ColumnVector&, const ColumnVector&, int, bool, bool, const octave_value&, bool, ColumnVector&, bool, const octave_value&)’:
../libinterp/dldfcn/__ode15__.cc:690:42: error: too few arguments to function ‘_generic_N_Vector* N_VNew_Serial(sunindextype, SUNContext)’
  690 |             N_Vector dky = N_VNew_Serial (m_num);
      |                            ~~~~~~~~~~~~~~^~~~~~~
In file included from ../libinterp/dldfcn/__ode15__.cc:47:
/usr/include/nvector/nvector_serial.h:85:26: note: declared here
   85 | SUNDIALS_EXPORT N_Vector N_VNew_Serial(sunindextype vec_length, SUNContext sunctx);
      |                          ^~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc: In member function ‘bool octave::IDA::interpolate(int&, Matrix&, ColumnVector&, int, realtype, bool, bool, const octave_value&, ColumnVector&, bool, const octave_value&, ColumnVector&, Matrix&, ColumnVector&, ColumnVector&, ColumnVector&, ColumnVector&, int&, ColumnVector&)’:
../libinterp/dldfcn/__ode15__.cc:840:34: error: too few arguments to function ‘_generic_N_Vector* N_VNew_Serial(sunindextype, SUNContext)’
  840 |     N_Vector dky = N_VNew_Serial (m_num);
      |                    ~~~~~~~~~~~~~~^~~~~~~
In file included from ../libinterp/dldfcn/__ode15__.cc:47:
/usr/include/nvector/nvector_serial.h:85:26: note: declared here
   85 | SUNDIALS_EXPORT N_Vector N_VNew_Serial(sunindextype vec_length, SUNContext sunctx);
      |                          ^~~~~~~~~~~~~
../libinterp/dldfcn/__ode15__.cc:842:35: error: too few arguments to function ‘_generic_N_Vector* N_VNew_Serial(sunindextype, SUNContext)’
  842 |     N_Vector dkyp = N_VNew_Serial (m_num);
      |                     ~~~~~~~~~~~~~~^~~~~~~
In file included from ../libinterp/dldfcn/__ode15__.cc:47:
/usr/include/nvector/nvector_serial.h:85:26: note: declared here
   85 | SUNDIALS_EXPORT N_Vector N_VNew_Serial(sunindextype vec_length, SUNContext sunctx);
      |                          ^~~~~~~~~~~~~


Configure summary:

  KLU CPPFLAGS:
  KLU LDFLAGS:
  KLU libraries:                 -lklu
  SuiteSparse config libraries:  -lsuitesparseconfig
  SUNDIALS IDA CPPFLAGS:
  SUNDIALS IDA LDFLAGS:
  SUNDIALS IDA libraries:        -lsundials_ida
  SUNDIALS NVECTOR CPPFLAGS:
  SUNDIALS NVECTOR LDFLAGS:
  SUNDIALS NVECTOR libraries:    -lsundials_nvecserial
  SUNLINSOL KLU CPPFLAGS:
  SUNLINSOL KLU LDFLAGS:
  SUNLINSOL KLU libraries:

configure: WARNING: SUNDIALS IDA library not configured with SUNLINSOL_KLU or sunlinksol_klu.h is not usable.  The solvers ode15i and ode15s will not support the sparse Jacobian feature.


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-12 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #61738

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code