diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2006-06-01 22:57:29 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2006-06-01 22:57:29 (GMT) |
commit | 849a6c299d1e07f0392bfe99d21e178494c035a2 (patch) | |
tree | 0dd58daf2253d8202d4f9efe14c8bb85dba10ce8 /testpar/t_dset.c | |
parent | cca4e8351bd0901b6f65291e3f6ba8ba8304dd42 (diff) | |
download | hdf5-849a6c299d1e07f0392bfe99d21e178494c035a2.zip hdf5-849a6c299d1e07f0392bfe99d21e178494c035a2.tar.gz hdf5-849a6c299d1e07f0392bfe99d21e178494c035a2.tar.bz2 |
[svn-r12396] Purpose:
Bug fix.
Description:
Sometimes the parallel prefix is given in the form of nfs:/mnt/pfs which
if given to a non-MPIO VFD like the default H5Fcreate, it would fail.
Called h5_rmprefix which would return the non-prefix component
part of the file name which would be okay for the default H5Fcreate and
such.
Platforms tested:
Tested in heping parallel.
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r-- | testpar/t_dset.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |