On Fri, Oct 4, 2013 at 1:48 PM, Roc Wang <[email protected]> wrote:

> Hello,
>
>    The version of Petsc I am using is 3.3-p6.  I have hdf5 1.8.11
> installed as well as. I am trying to use PetscViewerHDF5Open(),
> PetscViewerHDF5PushGroup(). But the compiling error shows undefined
> reference to `PetscViewerHDF5Open' and  undefined reference to
> `PetscViewerHDF5PushGroup'.  I also tried to compile
> /petsc-3.3-p6/src/vec/vec/examples/tutorials/ex19.c with petsc style
> makefile, the same error occurs.
>
>  My config options are --with-cc=gcc --with-fc=gfortran
> --download-f-blas-lapack --download-mpich --with-cxx=g++ --download-hypre=1
> --download-ml=1. Should I re-install petsc with --download-hdf5=1? Thanks.
>

If we do not install HDF5 for you, you still have to activate it during
configure, --with-hdf5-include= --with-hdf5-lib=.

   Matt

-- 
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

Reply via email to