summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-11-20 14:36:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-11-20 14:36:59 (GMT)
commit1619a308cbd6cb45ace7724a8aaadf003a3f80a2 (patch)
treecaa4deb7836762854d88dddf8c970abb72cd68f4 /src/H5F.c
parent0f45aeb53a0d2cfe379ed50e9370faef09d18a25 (diff)
downloadhdf5-1619a308cbd6cb45ace7724a8aaadf003a3f80a2.zip
hdf5-1619a308cbd6cb45ace7724a8aaadf003a3f80a2.tar.gz
hdf5-1619a308cbd6cb45ace7724a8aaadf003a3f80a2.tar.bz2
[svn-r7860] Purpose:
Bug fix Description: Our previous "optimization" of metadata writing which only wrote metadata from one process was abusing MPI-I/O and after some consultation with Rob Ross and Rajeev Thakur, Albert & I have come up with a solution... Solution: Instead of only writing from one process, issue a collective write operation with all processes, for metadata writes. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5F.c b/src/H5F.c
index c8d9bf2..574f512 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -237,6 +237,7 @@ H5F_init_interface(void)
FUNC_ENTER_NOINIT(H5F_init_interface)
+#ifdef OLD_METADATA_WRITE
#ifdef H5_HAVE_PARALLEL
{
/* Allow MPI buf-and-file-type optimizations? */
@@ -246,6 +247,7 @@ H5F_init_interface(void)
}
}
#endif /* H5_HAVE_PARALLEL */
+#endif /* OLD_METADATA_WRITE */
/*
* Initialize the atom group for the file IDs. There are two groups: