sundials

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

sundials

Clas Jacobson
I cannot find sundials for octave on Ubuntu 18.04. Is there a package - I need to be able to use this.

Thanks

Clas


Clas A. Jacobson
1010 Horizon Way
Manchester, CT 06042
860.783.0074 (home)
860.830.4151 (mobile)


Reply | Threaded
Open this post in threaded view
|

Re: sundials

apjanke-floss


On 4/19/19 5:33 PM, Clas Jacobson wrote:

> I cannot find sundials for octave on Ubuntu 18.04. Is there a package -
> I need to be able to use this.
>
> Thanks
>
> Clas
>
>
> Clas A. Jacobson
> 1010 Horizon Way
> Manchester, CT 06042
> [hidden email] <mailto:[hidden email]>
> 860.783.0074 (home)
> 860.830.4151 (mobile)
>
>

Look for libsundials-*.


janke@ubik:~$ cat /etc/os-release | head -2
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
janke@ubik:~$ apt search sundials
Sorting... Done
Full Text Search... Done
libsundials-arkode1/bionic 2.7.0+dfsg-2build1 amd64
  differential equation solver (SUNDIALS library)

libsundials-cvode2/bionic 2.7.0+dfsg-2build1 amd64
  ordinary differential equation solver (SUNDIALS library)

libsundials-cvodes2/bionic 2.7.0+dfsg-2build1 amd64
  ODE solver with sensistivity analysis (SUNDIALS library)

libsundials-dev/bionic 2.7.0+dfsg-2build1 amd64
  Package providing everything for SUNDIALS dev work

libsundials-ida2/bionic 2.7.0+dfsg-2build1 amd64
  differential-algebraic system solver (SUNDIALS library)

libsundials-idas1/bionic 2.7.0+dfsg-2build1 amd64
  IDA solver with sensitivity capabilities (SUNDIALS library)

libsundials-kinsol2/bionic 2.7.0+dfsg-2build1 amd64
  KINSOL solver (SUNDIALS library)

libsundials-nvecparallel-hypre2/bionic 2.7.0+dfsg-2build1 amd64
  HYPRE vector operations library (SUNDIALS library)

libsundials-nvecparallel-mpi2/bionic 2.7.0+dfsg-2build1 amd64
  MPI vector operations library (SUNDIALS library)

libsundials-nvecparallel-openmp2/bionic 2.7.0+dfsg-2build1 amd64
  OpenMP vector operations library (SUNDIALS library)

libsundials-nvecparallel-petsc2/bionic 2.7.0+dfsg-2build1 amd64
  PETSc vector operations library (SUNDIALS library)

libsundials-nvecparallel-pthread2/bionic 2.7.0+dfsg-2build1 amd64
  Pthread vector operations library (SUNDIALS library)

libsundials-nvecserial2/bionic 2.7.0+dfsg-2build1 amd64
  Non-parallel vector operations library (SUNDIALS library)

janke@ubik:~$



Unfortunately, it doesn't look like the octave in the Ubuntu 18
repository is built against SUNDIALS.


janke@ubik:~$ apt depends octave
octave
  Depends: libamd2 (>= 1:4.5.2)
  Depends: libbz2-1.0
  Depends: libc6 (>= 2.14)
  Depends: libccolamd2 (>= 1:4.5.2)
  Depends: libcholmod3 (>= 1:4.5.2)
  Depends: libcolamd2 (>= 1:4.5.2)
  Depends: libcxsparse3 (>= 1:4.5.2)
  Depends: libfftw3-double3 (>= 3.3.5)
  Depends: libfftw3-single3 (>= 3.3.5)
  Depends: libfltk-gl1.3 (>= 1.3.0)
  Depends: libfltk1.3 (>= 1.3.3)
  Depends: libgcc1 (>= 1:3.0)
  Depends: libgl1
  Depends: libglpk40 (>= 4.59)
 |Depends: libglu1-mesa
  Depends: <libglu1>
    libglu1-mesa
  Depends: liboctave4 (= 4.2.2-1ubuntu1)
  Depends: libosmesa6 (>= 10.2~)
  Depends: libportaudio2 (>= 19+svn20101113)
  Depends: libqhull7
  Depends: libqscintilla2-qt5-13 (>= 2.8.4)
  Depends: libqt5core5a (>= 5.9.0~beta)
  Depends: libqt5gui5 (>= 5.7.0)
  Depends: libqt5network5 (>= 5.0.2)
  Depends: libqt5opengl5 (>= 5.0.2)
  Depends: libqt5printsupport5 (>= 5.0.2)
  Depends: libqt5widgets5 (>= 5.6.0~beta)
  Depends: libsndfile1 (>= 1.0.20)
  Depends: libstdc++6 (>= 5.2)
  Depends: libsuitesparseconfig5 (>= 1:5.0.0)
  Depends: libx11-6
  Depends: zlib1g (>= 1:1.2.2)
  Depends: texinfo
    texinfo:i386
  Depends: octave-common (= 4.2.2-1ubuntu1)
  Breaks: <liboctave3v5>
  Recommends: gnuplot-qt
  Recommends: gnuplot-x11
  Recommends: gnuplot-nox
    gnuplot-qt
    gnuplot-x11
  Recommends: libopenblas-base
  Recommends: libatlas3-base
  Recommends: pstoedit
  Recommends: epstool
    epstool:i386
  Recommends: default-jre-headless
  Recommends: octave-doc
  Suggests: liboctave-dev
janke@ubik:~$


You may have to build from source.

Or use the flatpak Octave installation; that'll get you a newer Octave;
I don't know if it's built against SUNDIALS.

Cheers,
Andrew


Reply | Threaded
Open this post in threaded view
|

Re: sundials

Mike Miller-4
In reply to this post by Clas Jacobson
On Fri, Apr 19, 2019 at 17:33:24 -0400, Clas Jacobson wrote:
> I cannot find sundials for octave on Ubuntu 18.04. Is there a package - I
> need to be able to use this.

Can you clarify what you are looking for help with? Do you need the
SUNDIALS library to build Octave from source? Or are you looking for the
mex and m-file functions that SUNDIALS used to provide that call into
their libraries from Octave?

The "octave-sundials" package was available in Ubuntu 16.04 but is no
longer supported in Ubuntu 18.04. This is because the "sundialsTB"
toolbox of functions for Matlab and Octave was dropped by the SUNDIALS
authors in version 2.7.0 and later.

According to their web site, they are planning on reintroducing
sundialsTB at some unspecified point in the future.

--
mike



signature.asc (849 bytes) Download Attachment