Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5F_GET_MPI_ATOMICITY

Retrieves the atomicity mode in use

Procedure:

H5F_GET_MPI_ATOMICITY (file_id, flag)

Signature:

herr_t H5Fget_mpi_atomicity( hid_t file_id, hbool_t *flag )

SUBROUTINE h5fget_mpi_atomicity_f(file_id, flag, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: file_id ! File identifier
  INTEGER(HBOOL_T), INTENT(OUT) :: flag ! Atomicity flag
  INTEGER, INTENT(OUT) :: hdferr        ! Error code:
                                        ! 0 on success, -1 on failure
END SUBROUTINE h5fget_mpi_atomicity_f 

Parameters:
hid_t file_idIN: HDF5 file identifier
hbool_t *flagOUT: Logical flag for atomicity setting 
Valid values are:
  • TRUE    MPI file access is set to atomic mode.
  • FALSE   MPI file access is set to nonatomic mode.

Description:

H5F_GET_MPI_ATOMICITY retrieves the current consistency semantics mode for data access for the file file_id.

Upon successful return, flag will be set to TRUE if file access is set to atomic mode and FALSE if file access is set to nonatomic mode.

Returns:

Returns a non-negative value if successful; otherwise returns a negative value. 

Example:

Coming soon!

History:
Release    Change
1.8.9C function and Fortran subroutine introduced in this release

--- Last Modified: December 18, 2018 | 03:44 PM