summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 583fc8e..a015ffc 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -85,7 +85,7 @@ phdf5write()
#endif
/* create the file collectively */
- fid1=H5Fcreate(FILE1,H5ACC_OVERWRITE,0,acc_tpl1);
+ fid1=H5Fcreate(FILE1,H5F_ACC_TRUNC,H5C_DEFAULT,acc_tpl1);
assert(fid1 != FAIL);
MESG("H5Fcreate succeed");
@@ -216,7 +216,7 @@ phdf5read()
/* open the file collectively */
- fid1=H5Fopen(FILE1,H5ACC_WRITE,acc_tpl1);
+ fid1=H5Fopen(FILE1,H5F_ACC_RDWR,acc_tpl1);
assert(fid1 != FAIL);
/* Release file-access template */