summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-11-20 14:37:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-11-20 14:37:11 (GMT)
commit1b27db1755be9cef391ee93a0e3c03360cd0c8ff (patch)
tree3e413f6e2e0f9e3a141dabdb0708d6e9dc955b15 /src/H5F.c
parent649ddde342329272100b74c7be0cd3c9fc5f8793 (diff)
downloadhdf5-1b27db1755be9cef391ee93a0e3c03360cd0c8ff.zip
hdf5-1b27db1755be9cef391ee93a0e3c03360cd0c8ff.tar.gz
hdf5-1b27db1755be9cef391ee93a0e3c03360cd0c8ff.tar.bz2
[svn-r7861] 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 63d6408..586e416 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -232,6 +232,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? */
@@ -241,6 +242,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: