Sets data transfer mode

Procedure:

H5P_SET_DXPL_MPIO ( dxpl_id, xfer_mode )

Signature:

<pre><code class="language-c">herr_t H5Pset_dxpl_mpio(
                     hid_t dxpl_id,
                     H5FD_mpio_xfer_t xfer_mode
    )
  </code></pre>

<pre><code class="language-fortran">Fortran90 Interface:
    
SUBROUTINE h5pset_dxpl_mpio_f(prp_id, data_xfer_mode, hdferr) 
  IMPLICIT NONE
  INTEGER(HID_T), INTENT(IN) :: prp_id  ! Property list identifier
  INTEGER, INTENT(IN) :: data_xfer_mode ! Data transfer mode 
                                        ! Possible values are:
                                        !    H5FD_MPIO_INDEPENDENT_F
                                        !    H5FD_MPIO_COLLECTIVE_F
  INTEGER, INTENT(OUT) :: hdferr        ! Error code
                                        ! 0 on success and -1 on failure
END SUBROUTINE h5pset_dxpl_mpio_f
	</code></pre>

Parameters:
hid_t dxpl_idIN: Data transfer property list identifier
H5FD_mpio_xfer_t xfer_mode    IN: Transfer mode

Description:

H5P_SET_DXPL_MPIO sets the data transfer property list dxpl_id to use transfer mode xfer_mode. The property list can then be used to control the I/O transfer mode during data I/O operations.

Valid transfer modes are as follows:

H5FD_MPIO_INDEPENDENT Use independent I/O access (default)

H5FD_MPIO_COLLECTIVE Use collective I/O access

Returns:

Returns a non-negative value if successful. Otherwise returns a negative value.

Example:

 

 

History:
Release    Change
1.4.0Function introduced in this release.