Bug#1082085: libsundials-dev: sundials_config.h sets SUNDIALS_MPI_ENABLED=1 even for serial jobs

Drew Parsons dparsons at debian.org
Wed Sep 18 08:59:13 BST 2024


Package: libsundials-dev
Version: 7.1.1+dfsg1-1exp1
Severity: normal

The build for sundials 7.1.1 seems to hardcode support for MPI, placing
#define SUNDIALS_MPI_ENABLED 1
in /usr/include/sundials/sundials_config.h

This makes it more difficult than it should be to use components of
SUNDIALS in serial applications, which get an error like

In file included from /usr/include/arkode/arkode_butcher.h:21,
                 from /usr/include/arkode/arkode.h:31,
                 from /usr/include/arkode/arkode_erkstep.h:20,
                 from include/opendrop/younglaplace.hpp:9,
                 from opendrop/fit/younglaplace/.checkpoints/shape.cpp:1239:
/usr/include/sundials/sundials_types.h:57:10: fatal error: mpi.h: No such file or directory
   57 | #include <mpi.h>
      |          ^~~~~~~
compilation terminated.




-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libsundials-dev depends on:
ii  cmake                              3.30.3-1
ii  gfortran                           4:14.1.0-2
ii  libhypre-dev                       2.31.0-1exp2
ii  libsundials-arkode6                7.1.1+dfsg1-1exp1
ii  libsundials-core7                  7.1.1+dfsg1-1exp1
ii  libsundials-cvode7                 7.1.1+dfsg1-1exp1
ii  libsundials-cvodes7                7.1.1+dfsg1-1exp1
ii  libsundials-ida7                   7.1.1+dfsg1-1exp1
ii  libsundials-idas6                  7.1.1+dfsg1-1exp1
ii  libsundials-kinsol7                7.1.1+dfsg1-1exp1
ii  libsundials-nvecparallel-hypre7    7.1.1+dfsg1-1exp1
ii  libsundials-nvecparallel-mpi7      7.1.1+dfsg1-1exp1
ii  libsundials-nvecparallel-openmp7   7.1.1+dfsg1-1exp1
ii  libsundials-nvecparallel-petsc7    7.1.1+dfsg1-1exp1
ii  libsundials-nvecparallel-pthread7  7.1.1+dfsg1-1exp1
ii  libsundials-nvecserial7            7.1.1+dfsg1-1exp1
ii  libsundials-sunlinsol5             7.1.1+dfsg1-1exp1
ii  libsundials-sunmatrix5             7.1.1+dfsg1-1exp1
ii  mpi-default-dev                    1.17
ii  petsc-dev                          3.21.4+dfsg1-1exp2
ii  pkgconf                            1.8.1-3

libsundials-dev recommends no packages.

libsundials-dev suggests no packages.

-- no debconf information



More information about the debian-science-maintainers mailing list