diff options
author | Richard Warren <Richard.Warren@hdfgroup.org> | 2019-10-07 21:22:51 (GMT) |
---|---|---|
committer | Richard Warren <Richard.Warren@hdfgroup.org> | 2019-10-07 21:22:51 (GMT) |
commit | a97c0d418dd93e6e878ec90a306098610e2925d1 (patch) | |
tree | 9727c81f2965687c71542dd3003fb47cc38bdc2c /src/H5private.h | |
parent | a074eeda117072a82300c9b937f086e23def9243 (diff) | |
download | hdf5-a97c0d418dd93e6e878ec90a306098610e2925d1.zip hdf5-a97c0d418dd93e6e878ec90a306098610e2925d1.tar.gz hdf5-a97c0d418dd93e6e878ec90a306098610e2925d1.tar.bz2 |
At the suggestion of the PR reviewers, moved the mpio_create_large_type to H5mpi.c and renamed the function appropriately. Also moved some support functions to set and get the vvalue where we transistion to using derived datatypes.
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index bb2a2eb..016d69a 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -2669,13 +2669,21 @@ H5_DLL herr_t H5_build_extpath(const char *name, char **extpath /*out*/); H5_DLL herr_t H5_combine_path(const char *path1, const char *path2, char **full_name /*out*/); #ifdef H5_HAVE_PARALLEL +#define TWO_GIG_LIMIT 2147483648 +#ifndef H5_MAX_MPI_COUNT +#define H5_MAX_MPI_COUNT (1 << 30) +#endif + /* Generic MPI functions */ +H5_DLL hsize_t H5_mpio_get_bigio_count(); H5_DLL herr_t H5_mpi_comm_dup(MPI_Comm comm, MPI_Comm *comm_new); H5_DLL herr_t H5_mpi_info_dup(MPI_Info info, MPI_Info *info_new); H5_DLL herr_t H5_mpi_comm_free(MPI_Comm *comm); H5_DLL herr_t H5_mpi_info_free(MPI_Info *info); H5_DLL herr_t H5_mpi_comm_cmp(MPI_Comm comm1, MPI_Comm comm2, int *result); H5_DLL herr_t H5_mpi_info_cmp(MPI_Info info1, MPI_Info info2, int *result); +H5_DLL herr_t H5_mpio_create_large_type(hsize_t num_elements, MPI_Aint stride_bytes, + MPI_Datatype old_type, MPI_Datatype *new_type); #endif /* H5_HAVE_PARALLEL */ /* Functions for debugging */ |