diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-18 15:34:28 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-18 15:34:28 (GMT) |
commit | 674f45036710a7bf230ca3dae86aa9ca37ff9ed1 (patch) | |
tree | 00e6d009398af054454608d96f2ab9c740043cb6 /src/H5FDmpi.h | |
parent | ca8d4218d2a7b888e04bd40c22cc090fb7cd207d (diff) | |
download | hdf5-674f45036710a7bf230ca3dae86aa9ca37ff9ed1.zip hdf5-674f45036710a7bf230ca3dae86aa9ca37ff9ed1.tar.gz hdf5-674f45036710a7bf230ca3dae86aa9ca37ff9ed1.tar.bz2 |
[svn-r22379] make the file and memory MPI datatypes as default properties in the
DXPL so that we don't have to insert and remove them everytime we
perform collective I/O.
Diffstat (limited to 'src/H5FDmpi.h')
-rw-r--r-- | src/H5FDmpi.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/H5FDmpi.h b/src/H5FDmpi.h index b9998dd..9ca2966 100644 --- a/src/H5FDmpi.h +++ b/src/H5FDmpi.h @@ -81,10 +81,8 @@ typedef struct H5FD_class_mpi_t { /* ======== Temporary data transfer properties ======== */ /* Definitions for memory MPI type property */ #define H5FD_MPI_XFER_MEM_MPI_TYPE_NAME "H5FD_mpi_mem_mpi_type" -#define H5FD_MPI_XFER_MEM_MPI_TYPE_SIZE sizeof(MPI_Datatype) /* Definitions for file MPI type property */ #define H5FD_MPI_XFER_FILE_MPI_TYPE_NAME "H5FD_mpi_file_mpi_type" -#define H5FD_MPI_XFER_FILE_MPI_TYPE_SIZE sizeof(MPI_Datatype) /* * The view is set to this value @@ -105,9 +103,8 @@ H5_DLL herr_t H5FD_mpi_comm_info_free(MPI_Comm *comm, MPI_Info *info); H5_DLL herr_t H5FD_mpio_wait_for_left_neighbor(H5FD_t *file); H5_DLL herr_t H5FD_mpio_signal_right_neighbor(H5FD_t *file); #endif /* NOT_YET */ -H5_DLL herr_t H5FD_mpi_setup_collective(hid_t dxpl_id, MPI_Datatype btype, - MPI_Datatype ftype); -H5_DLL herr_t H5FD_mpi_teardown_collective(hid_t dxpl_id); +H5_DLL herr_t H5FD_mpi_setup_collective(hid_t dxpl_id, MPI_Datatype *btype, + MPI_Datatype *ftype); /* Driver specific methods */ H5_DLL int H5FD_mpi_get_rank(const H5FD_t *file); |