Fortran Interface: h5pset_coll_metadata_write_f
SUBROUTINE h5pset_coll_metadata_write_f(plist_id, is_collective, hdferr)
INTEGER(HID_T) , INTENT(IN) :: plist_id
LOGICAL, INTENT(IN) :: is_collective
INTEGER, INTENT(OUT) :: hdferr
fapl_id - File access property list identifier.
is_collective - Indicates if metadata writes are collective or not.
hdferr - Returns 0 if successful and -1 if fails.
IN: File access propery list identifier
IN: Boolean value indicating whether metadata writes are collective (TRUE) or independent (FALSE) Default mode: Independent (FALSE)
H5P_SET_COLL_METADATA_WRITE tells the HDF5 library whether to perform metadata writes collectively (TRUE) or independently (FALSE).
If collective access is selected, then on a flush of the metadata cache, all processes will divide the metadata cache entries to be flushed evenly among themselves and issue a single MPI-IO collective write operation. This is the preferred method when the size of the metadata created by the application is large.
If independent access is selected, the library uses the default method for doing metadata I/O either from process zero or independently from each process.
Returns a non-negative value if successful; otherwise returns a negative value.
C function and Fortran wrapper introduced with this release.