help-octave
[Top][All Lists]
Advanced

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

Failed to build octave-6.4.0 and octave's configuration.


From: Pei Jia
Subject: Failed to build octave-6.4.0 and octave's configuration.
Date: Mon, 17 Jan 2022 02:14:34 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0


Hi, all:


1. I tried to build octave-6.4.0 with the newest sundials-6.1.0, but failed with the following ERROR messages. It looks Octave is NOT compatible with the newest sundials yet?


libinterp/dldfcn/__ode15__.cc: In member function ‘void octave::IDA::set_up(const ColumnVector&)’:
libinterp/dldfcn/__ode15__.cc:420:54: 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/local/include/sunlinsol/sunlinsol_dense.h:36,
                 from libinterp/dldfcn/__ode15__.cc:62:
/usr/local/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:64: 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/local/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:34: 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/local/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:24: error: too few arguments to function ‘void* IDACreate(SUNContext)’
  531 |     m_mem = IDACreate ();
      |                        ^
In file included from libinterp/dldfcn/__ode15__.cc:51:
/usr/local/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:48: 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/local/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:40: 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/local/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:41: 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/local/include/nvector/nvector_serial.h:85:26: note: declared here
   85 | SUNDIALS_EXPORT N_Vector N_VNew_Serial(sunindextype vec_length, SUNContext sunctx);
      |                          ^~~~~~~~~~~~~
  CXX      libinterp/operators/liboctinterp_la-op-bm-bm.lo
  CXX      libinterp/operators/liboctinterp_la-op-bm-sbm.lo
  CXX      libinterp/operators/liboctinterp_la-op-cdm-cdm.lo
  CXX      libinterp/operators/liboctinterp_la-op-cdm-cm.lo
  CXX      libinterp/operators/liboctinterp_la-op-cdm-cs.lo
  CXX      libinterp/operators/liboctinterp_la-op-cdm-dm.lo
make[2]: *** [Makefile:19680: libinterp/dldfcn/__ode15___la-__ode15__.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '....../octave-6.4.0'
make[1]: *** [Makefile:27541: all-recursive] Error 1
make[1]: Leaving directory '....../octave-6.4.0'
make: *** [Makefile:11166: all] Error 2



2. When I configure octave, I always get the following warnings:

configure: WARNING: Qhull library found, but does not seem to work properly.  This will result in loss of functionality for some geometry functions.  Please try recompiling the library with -fno-strict-aliasing.
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.
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are not found
configure: NOTE: OR if they are missing required features on your system.


Any suggestions? Thank you ...



--
Dr. Pei Jia
CTO of Longer Vision Technology (Canada) Ltd.
Email: jiapei@longervision.com
Cell Number: +1 778-863-5816

reply via email to

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