Bug#904301: libpetsc-real3.9-dev: Include paths to mpi header missing from petscvariables (and pkgconfig)
Mikael Öhman
micketeer at gmail.com
Mon Jul 23 01:16:13 BST 2018
Package: libpetsc-real3.9-dev
Version: 3.9.3+dfsg1-3
Severity: normal
Dear Maintainer,
* What led up to the situation?
Building a CMake based code using FindPETSc.cmake (which is made by a petsc
dev), it refused to use the petsc3.9 installation, as it failed to build a
small test code.
After some digging, I found that it was only missing the include path to the
mpi headers.
petsc-dev-3.7.5 included the path -I/usr/lib/x86_64-linux-gnu/openmpi/include,
which is gone from the 3.8 and 3.9 packages.
It's missing from petscvariables, but it's also missing from the pkgconfig
file.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Hacking in -I/usr/lib/x86_64-linux-gnu/openmpi/include into PETSC_CC_INCLUDES
resolved the issues with FindPETSc.cmake.
Best regards, Mikael
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libpetsc-real3.9-dev depends on:
ii gfortran 4:8.1.0-1
ii libfftw3-dev 3.3.8-1
ii libfftw3-mpi-dev 3.3.8-1
ii libhdf5-mpi-dev 1.10.0-patch1+docs-4+b1
ii libhypre-dev 2.14.0-2+b1
ii libmumps-dev 5.1.2-4+b1
ii libopenmpi-dev 3.1.1.real-4
ii libpetsc-real3.9 3.9.3+dfsg1-3
ii libptscotch-dev 6.0.4.dfsg1-8+b1
ii libscalapack-mpi-dev 2.0.2-7
ii libspooles-dev 2.2-13
ii libssl-dev 1.1.0h-4
ii libsuitesparse-dev 1:5.2.0+dfsg-1
ii libsuperlu-dev 5.2.1+dfsg1-3
ii libsuperlu-dist-dev 5.3.0+dfsg1-1+b1
ii python 2.7.15-3
Versions of packages libpetsc-real3.9-dev recommends:
ii ksh 93u+20120801-3.1
ii libpetsc3.9-dev-examples 3.9.3+dfsg1-3
Versions of packages libpetsc-real3.9-dev suggests:
pn libluminate-dev <none>
pn libpetsc-real3.9-dbg <none>
pn petsc-dev <none>
pn petsc3.9-doc <none>
-- no debconf information
More information about the debian-science-maintainers
mailing list