[petsc-users] use of undeclared identifier PetscViewerHDF5Open - in Petsc 3.12

Armando Coco armandococo28 at gmail.com
Tue Aug 10 04:35:11 CDT 2021


Hello,

I am trying to compile a petsc program that calls PetscViewerHDF5Open.
I have added #include <petscviewerhdf5.h> in the header, but the
compilation fails with error:
use of undeclared identifier PetscViewerHDF5Open

I have asked a colleague to run the same program in a newer version 3.14 or
3.15 and everything seems to work properly. Does it mean that I have to
update my petsc version necessarily?

Many Thanks
Armando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210810/08bbb579/attachment.html>


More information about the petsc-users mailing list