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

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

[Octave-bug-tracker] [bug #59248] configure is still testing for a funct


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59248] configure is still testing for a function (IDADense) which does not exists anymore in sundials
Date: Thu, 15 Oct 2020 08:32:33 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36 Edg/86.0.622.38

Update of bug #59248 (project octave):

                  Status:          Ready For Test => In Progress            

    _______________________________________________________

Follow-up Comment #3:

That turns out to be more complicated than what I hoped it would be.
The configure output contains:

checking for SUNDenseLinearSolver... yes
checking whether SUNDIALS API provides the necessary functions... yes


Yet compilation fails with:

../src/libinterp/dldfcn/__ode15__.cc: In function ‘_generic_SUNLinearSolver*
octave::SUNLinSol_Dense(N_Vector, SUNMatrix)’:
../src/libinterp/dldfcn/__ode15__.cc:103:12: error: ‘SUNDenseLinearSolver’
was not declared in this scope; did you mean ‘SUNLinearSolver’?
  103 |     return SUNDenseLinearSolver (y, A);
      |            ^~~~~~~~~~~~~~~~~~~~
      |            SUNLinearSolver
../src/libinterp/dldfcn/__ode15__.cc: In member function ‘void
octave::IDA::set_up(const ColumnVector&)’:
../src/libinterp/dldfcn/__ode15__.cc:420:26: error: ‘SUNDenseMatrix’ was
not declared in this scope; did you mean ‘SUNMatrix’?
  420 |         m_sunJacMatrix = SUNDenseMatrix (m_num, m_num);
      |                          ^~~~~~~~~~~~~~
      |                          SUNMatrix
../src/libinterp/dldfcn/__ode15__.cc: In member function ‘void
octave::IDA::jacdense_impl(realtype, realtype, _generic_N_Vector*&,
_generic_N_Vector*&, _generic_SUNMatrix*&)’:
../src/libinterp/dldfcn/__ode15__.cc:457:16: error: ‘SUNDenseMatrix_Data’
was not declared in this scope
  457 |                SUNDenseMatrix_Data (JJ));
      |                ^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:19642: libinterp/dldfcn/__ode15___la-__ode15__.lo]
Error 1
make[2]: *** Waiting for unfinished jobs....


That's probably because I removed the test
`AC_CHECK_HEADERS([sunlinsol/sunlinsol_dense.h])`. I am currently trying to
find the best place to add that back in.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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