summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDmpio.h')
-rw-r--r--src/H5FDmpio.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/H5FDmpio.h b/src/H5FDmpio.h
index 9bcc182..6ee0a1a 100644
--- a/src/H5FDmpio.h
+++ b/src/H5FDmpio.h
@@ -29,27 +29,6 @@
#endif /* H5_HAVE_PARALLEL */
#ifdef H5_HAVE_PARALLEL
-#define H5FD_GET_MPI_RANK_AND_SIZE(rank,size, f) { \
- (rank) = 0; (size) = 1; \
- if (H5F_HAS_FEATURE((f), H5FD_FEAT_HAS_MPI)) { \
- (rank) = H5F_mpi_get_rank((f)); \
- (size) = H5F_mpi_get_size((f)); \
- } else { \
- int mpi_initialized = 0, mpi_finalized = 0; \
- MPI_Initialized(&mpi_initialized); \
- MPI_Finalized(&mpi_finalized); \
- if (mpi_initialized && !mpi_finalized) { \
- MPI_Comm_rank(MPI_COMM_WORLD, &(rank)); \
- MPI_Comm_size(MPI_COMM_WORLD, &(size)); \
- } \
- }}
-
-#define H5FD_GET_MPI_COMM(comm, f) { \
- if (H5F_HAS_FEATURE((f), H5FD_FEAT_HAS_MPI)) \
- (comm) = H5F_mpi_get_comm((f)); \
- else (comm) = MPI_COMM_WORLD; \
- }
-
/*Turn on H5FDmpio_debug if H5F_DEBUG is on */
#ifdef H5F_DEBUG
#ifndef H5FDmpio_DEBUG