summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_chunk_alloc.c5
-rw-r--r--testpar/t_dset.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/testpar/t_chunk_alloc.c b/testpar/t_chunk_alloc.c
index 88ab3ff..31846b9 100644
--- a/testpar/t_chunk_alloc.c
+++ b/testpar/t_chunk_alloc.c
@@ -106,8 +106,9 @@ create_chunked_dataset(const char *filename, int nchunks, write_type write)
VRFY((memspace >= 0), "");
/* Create a new file. If file exists its contents will be overwritten. */
- file_id = H5Fcreate (filename, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
- VRFY((file_id >= 0), "");
+ file_id = H5Fcreate(h5_rmprefix(filename), H5F_ACC_TRUNC, H5P_DEFAULT,
+ H5P_DEFAULT);
+ VRFY((file_id >= 0), "H5Fcreate");
/* Modify dataset creation properties, i.e. enable chunking */
cparms = H5Pcreate (H5P_DATASET_CREATE);
diff --git a/testpar/t_dset.c b/testpar/t_dset.c
index 2591591..15c562d 100644
--- a/testpar/t_dset.c
+++ b/testpar/t_dset.c
@@ -2122,7 +2122,7 @@ compress_readAll(void)
hsize_t chunk_dim; /* Chunk dimensions */
/* Create the file */
- fid = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
+ fid = H5Fcreate(h5_rmprefix(filename), H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
VRFY((fid > 0), "H5Fcreate succeeded");
/* Create property list for chunking and compression */