summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-08-14 23:22:06 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-08-14 23:22:06 (GMT)
commitbd8da502cf5b763433e3c628a4043a4264529cec (patch)
tree452da55063d4a6c6d7ea585826e67e416dcaaf02 /src/H5private.h
parent2b72832d97496290f74ccaffcda41c3e596f8f49 (diff)
downloadhdf5-bd8da502cf5b763433e3c628a4043a4264529cec.zip
hdf5-bd8da502cf5b763433e3c628a4043a4264529cec.tar.gz
hdf5-bd8da502cf5b763433e3c628a4043a4264529cec.tar.bz2
Some refactoring prior to implementing new H5P MPI functions.
* Macro cleanup and obvious warning fixes in parallel code. * Moved H5FD comm and info dup/free wrapper code to a new H5mpi.c file and separated it to deal with each MPI type separately.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 537e860..18b52a0 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -2668,6 +2668,14 @@ H5_DLL double H5_get_time(void);
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
+/* Generic MPI functions */
+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);
+#endif /* H5_HAVE_PARALLEL */
+
/* Functions for debugging */
H5_DLL herr_t H5_buffer_dump(FILE *stream, int indent, const uint8_t *buf,
const uint8_t *marker, size_t buf_offset, size_t buf_size);