[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62170] 6.4.0 build failure because of Sundial
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #62170] 6.4.0 build failure because of Sundials |
Date: |
Fri, 11 Mar 2022 14:47:13 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?62170>
Summary: 6.4.0 build failure because of Sundials
Project: GNU Octave
Submitted by: None
Submitted on: 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: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.4.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62170>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62170] 6.4.0 build failure because of Sundials,
anonymous <=