[petsc-dev] HDF5 Viewer for Fortran 90

Jed Brown jedbrown at mcs.anl.gov
Wed May 29 15:29:45 CDT 2013


Chris Eldred <chris.eldred at gmail.com> writes:

> I am having issues getting the HDF5 Viewer to work with Fortran 90.
> Specifically, I get the following types of errors when attempting to link
> my executable together:
>
> /home/user/Dropbox/NTM/SIEVETEST/OPERATOR/src/output.f90:664: undefined
> reference to `petscviewerhdf5settimestep_'
> /home/user/Dropbox/NTM/SIEVETEST/OPERATOR/src/output.f90:668: undefined
> reference to `petscviewerhdf5pushgroup_'
> /home/user/Dropbox/NTM/SIEVETEST/OPERATOR/src/output.f90:675: undefined
> reference to `petscviewerhdf5popgroup_'
>
> It seems like the Fortran interfaces for the HDF5-specific viewer functions
> are not present (there are no issues with the other viewer functions).

Yes, PetscViewerHDF5PushGroup() needs a custom binding.  The others can
be auto-generated.



More information about the petsc-dev mailing list