Package: octave
Version: 9.2.0-3
Severity: normal

sundials 7 is now available in experimental

In principle octave 9.2 is already patched to support sundials 7, and
indeed configure does find ida/ida.h, SUNLinSol_Dense,
SUNSparseMatrix_Reallocate etc.

But it misses nvector_serial.h for some reason, and consequently loses
support for ode15i and ode15s

checking for klu.h... yes
checking for klu_solve in -lklu ... yes
checking for UMFPACK separate complex matrix and rhs split... yes
checking for nvector_serial.h... no
checking for nvector/nvector_serial.h... no
configure: WARNING: SUNDIALS NVECTOR serial library not found.  The solvers 
ode15i and ode15s will be disabled.

Not quite sure why it's missing nvector/nvector_serial.h. It's still
provided by libsundials-dev 7.1.1+dfsg1-1exp1

There is one point to keep in mind for sundials 7.  MPI support is now
moved into the core library because of sunmpicomm, introduced in
https://github.com/LLNL/sundials/pull/370
So a standard build might fail with
"sundials_types.h:57:10: fatal error: mpi.h: No such file or directory"
which can be worked around by setting CC=mpicc

But the nvector error message doesn't refer to mpi, so not certain if
that's why configuration missed nvector_serial.h

Reply via email to