[petsc-dev] PETSC_HAVE_ZLIB gone with PR #1853

Hapla Vaclav vaclav.hapla at erdw.ethz.ch
Thu Sep 5 08:52:55 CDT 2019


Barry, you did a petscconf.h cleanup in BitBucket PR #1834 (merge commit 52556f0f).

The problem is PETSC_HAVE_ZLIB is no longer set when ZLIB is installed.
That effectively disables my tests with `requires: zlib` in
  src/mat/examples/tutorials/ex10.c
  src/ksp/ksp/examples/tutorials/ex27.c

That condition is there because loading an HDF5 file which uses compression without zlib installed leads to HDF5 errors (very cryptic at least in some older HDF5 versions).

Was the PETSC_HAVE_ZLIB removal intentional? Could it be brought back?

Vaclav


More information about the petsc-dev mailing list