[petsc-users] cannot find PetscViewerHDF5 functions in libraries

Roc Wang pengxwang at hotmail.com
Fri Oct 4 13:48:43 CDT 2013


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.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131004/51ccfa6f/attachment.html>


More information about the petsc-users mailing list