summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-04-17 14:52:41 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-04-17 14:52:41 (GMT)
commitd6923f46e0f0969aa0b73eb2c525dc8bf65e610c (patch)
tree691107678c0856aac60da073885814f3a672a340 /src/H5F.c
parent4d16aa5ab78589e0e09dcd3072a06b3681bf7d54 (diff)
downloadhdf5-d6923f46e0f0969aa0b73eb2c525dc8bf65e610c.zip
hdf5-d6923f46e0f0969aa0b73eb2c525dc8bf65e610c.tar.gz
hdf5-d6923f46e0f0969aa0b73eb2c525dc8bf65e610c.tar.bz2
[svn-r351] Removed the access_mode argument from H5Pset_mpi which was later
used to open an HDF5 file with MPIO access. The design has changed to provide access-mode controll (independent or collective access) as an argument in the H5D read/write calls. Also removed the macros H5FACC_INDEPENDENT and H5FACC_COLLECTIVE. The original thinking was to define how a file is independent or collective access. They are replaced by the enum H5D_transfer_t with values of H5D_XFER_INDEPENDENT and H5D_XFER_COLLECTIVE. These values are used in the H5Pset_xfer to setup a data transfer property list to be used during the H5D read/write calls. The original access_mode field in the File access structure is still there. It would be removed soon once the transfer control can be passed down to the low level I/O routines.
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 7a262e6..26117ad 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -149,8 +149,8 @@ H5F_init_interface(void)
#elif (H5F_LOW_DFLT == H5F_LOW_CORE)
H5F_access_dflt.u.core.increment = 10*1024;
#elif (H5F_LOW_DFLT == H5F_LOW_MPIO)
- H5F_access_dflt.u.mpio.access_mode = 0;
- H5F_access_dflt.u.mpio.comm = MPI_COMM_NULL;
+ H5F_access_dflt.u.mpio.access_mode = H5D_XFER_INDEPENDENT;
+ H5F_access_dflt.u.mpio.comm = MPI_COMM_SELF;
H5F_access_dflt.u.mpio.info = MPI_INFO_NULL;
#elif (H5F_LOW_DFLT == H5F_LOW_SPLIT)
/* Nothing to initialize */