summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-05-29 19:59:42 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-05-29 19:59:42 (GMT)
commitfd2f6b9f7f4f61009008df43495b3276f8ab7128 (patch)
tree64e80572dc0d1d0f5cefec0472ac08b755789d52 /src/H5D.c
parenta92096e9a3af3376388f0088a88773a4ba02a5cc (diff)
downloadhdf5-fd2f6b9f7f4f61009008df43495b3276f8ab7128.zip
hdf5-fd2f6b9f7f4f61009008df43495b3276f8ab7128.tar.gz
hdf5-fd2f6b9f7f4f61009008df43495b3276f8ab7128.tar.bz2
[svn-r404] Updated parallel code to reflect the changes in the H5F_t structure
in which access_parms is now a pointer to a struct (was a struct before.)
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 77e2954..ea0eb38 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1172,7 +1172,7 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
/* can always be simulated by independent access. */
/* Nevertheless, must check driver is MPIO before using those */
/* access_mode which exists only for MPIO case. */
- if (dataset->ent.file->shared->access_parms.driver == H5F_LOW_MPIO){
+ if (dataset->ent.file->shared->access_parms->driver == H5F_LOW_MPIO){
/*
* -AKC-
* "plant" the collective access mode into the file information
@@ -1188,8 +1188,8 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
printf("%s: collective access requested\n", FUNC);
#endif
access_mode_saved =
- dataset->ent.file->shared->access_parms.u.mpio.access_mode;
- dataset->ent.file->shared->access_parms.u.mpio.access_mode =
+ dataset->ent.file->shared->access_parms->u.mpio.access_mode;
+ dataset->ent.file->shared->access_parms->u.mpio.access_mode =
H5D_XFER_COLLECTIVE;
}else{
HGOTO_ERROR (H5E_DATASET, H5E_UNSUPPORTED, FAIL,
@@ -1403,7 +1403,7 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
* If so, need to restore the access mode. Shouldnot needed.
*/
if (xfer_parms->xfer_mode == H5D_XFER_COLLECTIVE){
- dataset->ent.file->shared->access_parms.u.mpio.access_mode = access_mode_saved;
+ dataset->ent.file->shared->access_parms->u.mpio.access_mode = access_mode_saved;
}
#endif /*HAVE_PARALLEL*/
FUNC_LEAVE(ret_value);
@@ -1476,7 +1476,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
/* can always be simulated by independent access. */
/* Nevertheless, must check driver is MPIO before using those */
/* access_mode which exists only for MPIO case. */
- if (dataset->ent.file->shared->access_parms.driver == H5F_LOW_MPIO){
+ if (dataset->ent.file->shared->access_parms->driver == H5F_LOW_MPIO){
/*
* -AKC-
* "plant" the collective access mode into the file information
@@ -1492,8 +1492,8 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
printf("%s: collective access requested\n", FUNC);
#endif
access_mode_saved =
- dataset->ent.file->shared->access_parms.u.mpio.access_mode;
- dataset->ent.file->shared->access_parms.u.mpio.access_mode =
+ dataset->ent.file->shared->access_parms->u.mpio.access_mode;
+ dataset->ent.file->shared->access_parms->u.mpio.access_mode =
H5D_XFER_COLLECTIVE;
}
else{
@@ -1714,7 +1714,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
* If so, need to restore the access mode. Shouldnot needed.
*/
if (xfer_parms->xfer_mode == H5D_XFER_COLLECTIVE){
- dataset->ent.file->shared->access_parms.u.mpio.access_mode = access_mode_saved;
+ dataset->ent.file->shared->access_parms->u.mpio.access_mode = access_mode_saved;
}
#endif /*HAVE_PARALLEL*/
FUNC_LEAVE(ret_value);