On Fri, Aug 23, 2019 at 12:16 PM Lawrence Mitchell <wence@gmx.li> wrote:
> On 23 Aug 2019, at 17:03, Matthew Knepley <knepley@gmail.com> wrote:

[...]

> Our issue is that we basically rely on PETSc to build most of the compiled dependencies, and hence if PETSc was built with --with-hdf5-dir=... (rather than --download-hdf5) we don't find it.
>
> Why doesn't this work? PETSc knows where HDF5 is, no matter how it is specified, and you can query it from Python.

How do I do this? I thought it was only possible by parsing the output of "make info".

Here is an example:

  https://gitlab.com/petsc/petsc/blob/master/lib/petsc/bin/petsc_conf.py

You would want to pull out the HDF5 module.

  Thanks,

     Matt
 
Thanks,

Lawrence


--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener