diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-09-09 14:21:01 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-09-09 14:21:01 (GMT) |
commit | c7364155af94c6b07f18147075046879d69a271f (patch) | |
tree | b2c7686377fc6560cc766c3917834bc09460d5ce /testpar | |
parent | 5bf2422ec614291c6f46fed803ab2c4071081093 (diff) | |
download | hdf5-c7364155af94c6b07f18147075046879d69a271f.zip hdf5-c7364155af94c6b07f18147075046879d69a271f.tar.gz hdf5-c7364155af94c6b07f18147075046879d69a271f.tar.bz2 |
[svn-r9235] Purpose:
Shrink HDF5 parallel test (folded what Kent has done in v1.7 to v1.6.)
Description:
Previously the collective chunk IO tests created and opened four HDF5 files;
it turned out that all collective chunk IO tests can use one file for testing.
Solution:
To use one file for all collective chunk IO tests with trunc option to be set in
H5Fcreate.
Platforms tested:
eirene (no need to use h5committest)
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/testphdf5.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index 047c547..4e87279 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -39,7 +39,7 @@ void *old_client_data; /* previous error handler arg.*/ /* other option flags */ /* FILENAME and filenames must have the same number of names */ -const char *FILENAME[14]={ +const char *FILENAME[11]={ "ParaEg1", "ParaEg2", "ParaEg3", @@ -49,12 +49,9 @@ const char *FILENAME[14]={ "ParaIndividual", "ParaBig", "ParaFill", - "ParaCC1", - "ParaCC2", - "ParaCC3", - "ParaCC4", + "ParaCC", NULL}; -char filenames[14][PATH_MAX]; +char filenames[11][PATH_MAX]; hid_t fapl; /* file access property list */ #ifdef USE_PAUSE @@ -430,11 +427,11 @@ int main(int argc, char **argv) AddTest("cchunk1", coll_chunk1,NULL, "simple collective chunk io",filenames[9]); AddTest("cchunk2", coll_chunk2,NULL, - "noncontiguous collective chunk io",filenames[10]); + "noncontiguous collective chunk io",filenames[9]); AddTest("cchunk3", coll_chunk3,NULL, - "multi-chunk collective chunk io",filenames[11]); + "multi-chunk collective chunk io",filenames[9]); AddTest("cchunk4", coll_chunk4,NULL, - "collective to independent chunk io",filenames[12]); + "collective to independent chunk io",filenames[9]); } /* Display testing information */ |