[svn-r25963] Do not remove the prefix in the chunk alloc file, otherwise it makes

the H5Fcreate fail when prefix is specified.

tested parallel on Jam.
This commit is contained in:
Mohamad Chaarawi 2015-01-08 12:36:10 -05:00
parent 5da20c221e
commit 50c5f1ab2c

View File

@ -106,7 +106,7 @@ create_chunked_dataset(const char *filename, int chunk_factor, write_type write_
VRFY((memspace >= 0), "");
/* Create a new file. If file exists its contents will be overwritten. */
file_id = H5Fcreate(h5_rmprefix(filename), H5F_ACC_TRUNC, H5P_DEFAULT,
file_id = H5Fcreate(filename, H5F_ACC_TRUNC, H5P_DEFAULT,
H5P_DEFAULT);
VRFY((file_id >= 0), "H5Fcreate");