<div dir="ltr">On Fri, Oct 4, 2013 at 1:48 PM, Roc Wang <span dir="ltr"><<a href="mailto:pengxwang@hotmail.com" target="_blank">pengxwang@hotmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello,<br><br>   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.<br>
<br> 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.<br>                                        </div>
</div>
</blockquote></div><br>If we do not install HDF5 for you, you still have to activate it during configure, --with-hdf5-include= --with-hdf5-lib=.</div><div class="gmail_extra"><br></div><div class="gmail_extra">   Matt<br clear="all">
<div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener
</div></div>