On Thu, 30 May 2013, Satish Balay wrote: > Looks like we need custom bindings for > PetscErrorCode PetscViewerHDF5PushGroup(PetscViewer viewer, const char *name) > PetscErrorCode PetscViewerHDF5GetGroup(PetscViewer viewer, const char **name) > > Will take a look. > > Fortran bindings don't make sense for these two? > PetscErrorCode PetscViewerHDF5Open(MPI_Comm comm, const char name[], > PetscFileMode type, PetscViewer *hdf5v) I see we already have a custom binding for this one
Satish > PetscErrorCode PetscViewerHDF5GetFileId(PetscViewer viewer, hid_t *file_id) > > Satish > > On Wed, 29 May 2013, Barry Smith wrote: > > > > > Satish, > > > > Please branch off of maint and get them all into the next patch (as > > well as master) if Jed hasn't done this. > > > > Barry > > > > On May 29, 2013, at 3:29 PM, Jed Brown <[email protected]> wrote: > > > > > Chris Eldred <[email protected]> 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. > > > > > >
