summaryrefslogtreecommitdiffstats
path: root/src/H5HL.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-12-17 14:37:22 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-12-17 14:37:22 (GMT)
commit2c7bbf697f56815d82c298e1103870daebe298c3 (patch)
tree1df07bb74e8d7f53bdb1c931a35b40eec27bcf67 /src/H5HL.c
parent36c94d90182b5740742aff9d15edc430520e2c71 (diff)
downloadhdf5-2c7bbf697f56815d82c298e1103870daebe298c3.zip
hdf5-2c7bbf697f56815d82c298e1103870daebe298c3.tar.gz
hdf5-2c7bbf697f56815d82c298e1103870daebe298c3.tar.bz2
[svn-r1881] Changed all the HAVE_PARALLEL and HAVE_GASS macros to the new
form of H5_HAVE_PARALLEL and H5_HAVE_GASS.
Diffstat (limited to 'src/H5HL.c')
-rw-r--r--src/H5HL.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5HL.c b/src/H5HL.c
index bb3cda0..9dec1eb 100644
--- a/src/H5HL.c
+++ b/src/H5HL.c
@@ -379,9 +379,9 @@ H5HL_flush(H5F_t *f, hbool_t destroy, haddr_t addr, H5HL_t *heap)
hdr_end_addr = addr + (hsize_t)H5HL_SIZEOF_HDR(f);
if (H5F_addr_eq(heap->addr, hdr_end_addr)) {
/* The header and data are contiguous */
-#ifdef HAVE_PARALLEL
+#ifdef H5_HAVE_PARALLEL
H5FD_mpio_tas_allsame( f->shared->lf, TRUE ); /* only p0 writes */
-#endif /* HAVE_PARALLEL */
+#endif /* H5_HAVE_PARALLEL */
if (H5F_block_write(f, addr,
(hsize_t)(H5HL_SIZEOF_HDR(f)+heap->disk_alloc),
H5P_DEFAULT, heap->chunk) < 0) {
@@ -389,17 +389,17 @@ H5HL_flush(H5F_t *f, hbool_t destroy, haddr_t addr, H5HL_t *heap)
"unable to write heap header and data to file");
}
} else {
-#ifdef HAVE_PARALLEL
+#ifdef H5_HAVE_PARALLEL
H5FD_mpio_tas_allsame( f->shared->lf, TRUE ); /* only p0 writes */
-#endif /* HAVE_PARALLEL */
+#endif /* H5_HAVE_PARALLEL */
if (H5F_block_write(f, addr, (hsize_t)H5HL_SIZEOF_HDR(f),
H5P_DEFAULT, heap->chunk)<0) {
HRETURN_ERROR(H5E_HEAP, H5E_WRITEERROR, FAIL,
"unable to write heap header to file");
}
-#ifdef HAVE_PARALLEL
+#ifdef H5_HAVE_PARALLEL
H5FD_mpio_tas_allsame( f->shared->lf, TRUE ); /* only p0 writes */
-#endif /* HAVE_PARALLEL */
+#endif /* H5_HAVE_PARALLEL */
if (H5F_block_write(f, heap->addr, (hsize_t)(heap->disk_alloc),
H5P_DEFAULT,
heap->chunk + H5HL_SIZEOF_HDR(f)) < 0) {