hdf_finalize Subroutine

private subroutine hdf_finalize(self, ierr, close_hdf5_interface)

This must be called on each HDF5 file to flush buffers to disk data loss can occur if program terminates before this procedure

We don't reference count because applications might also invoke HDF5 directly. close_hdf5_interface is when you know you have exactly one HDF5 file in your application, if true it closes ALL files, even those invoked directly from HDF5.

close hdf5 file sentinel lid

Arguments

Type IntentOptional AttributesName
class(hdf5_file), intent(inout) :: self
integer, intent(out), optional :: ierr
logical, intent(in), optional :: close_hdf5_interface

Calls

proc~~hdf_finalize~~CallsGraph proc~hdf_finalize hdf_finalize proc~check check proc~hdf_finalize->proc~check interface~std_unlink std_unlink proc~hdf_finalize->interface~std_unlink h5close_f h5close_f proc~hdf_finalize->h5close_f h5fclose_f h5fclose_f proc~hdf_finalize->h5fclose_f proc~std_unlink std_unlink interface~std_unlink->proc~std_unlink

Contents

None