Bug#691307: libpetsc3.2-dbg: PETSC_CHECKS m4 macro fails with PETSC_ARCH=linux-gnu-c-debug

Markus Mayr markus.mayr at outlook.com
Wed Oct 24 06:08:18 UTC 2012


Package: libpetsc3.2-dbg
Version: 3.2.dfsg-5
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Recently, I tried to link PETSC in debugging mode, but unfortunately it failed.

I run my configure script that makes use of the PETSC_CHECKS macro and set the
PETSC_DIR and PETSC_ARCH environment variables:

  ./configure PETSC_DIR=/usr/lib/petscdir/3.2 PETSC_ARCH=linux-gnu-c-debug

Unfortunately, after some time configure told me that it could not compile the
test that checks for PetscPrintf. After taking a look at the log files, I
noticed that this was due to not linking to hdf5 libraries. I added

  -lhdf5

to the PETSC_EXTERNAL_LIBS variable within the /usr/share/aclocal/petsc.m4
macro (which links to /usr/lib/petscdir/3.2/aclocal/petsc.m4) and now
everything is working.

I didn't test the static library from the non-debug package.

Best regards,
Markus Mayr

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpetsc3.2-dbg depends on:
ii  libpetsc3.2-dev  3.2.dfsg-5

libpetsc3.2-dbg recommends no packages.

Versions of packages libpetsc3.2-dbg suggests:
pn  petsc-dbg  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list