diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-04 20:29:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-04 20:29:41 (GMT) |
commit | 6d3c07598c93db261fabf9523cfd8ad16585be1c (patch) | |
tree | 5478eb7a1d14f68a41e9c185d181ca36bec6c32f /testpar/testphdf5.c | |
parent | c719c2d3b876a3ac6f0aec7d776d5aaebf5e1fef (diff) | |
download | hdf5-6d3c07598c93db261fabf9523cfd8ad16585be1c.zip hdf5-6d3c07598c93db261fabf9523cfd8ad16585be1c.tar.gz hdf5-6d3c07598c93db261fabf9523cfd8ad16585be1c.tar.bz2 |
[svn-r9359] Purpose:
Bug fix
Description:
Relax restrictions on parallel I/O to allow compressed, chunked datasets
to be read in parallel (collective access will be degraded to independent
access, but will retrieve the information still).
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Solaris 2.7 (arabica)
IRIX64 6.5 (modi4)
h5committest
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r-- | testpar/testphdf5.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index 1db6e9a..d8fb74b 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -41,7 +41,7 @@ void *old_client_data; /* previous error handler arg.*/ /* FILENAME and filenames must have the same number of names. * Use PARATESTFILE in general and use a separated filename only if the file * created in one test is accessed by a different test. - * filenames[0] is reserved as the file name for PARATESTFILE. + * FILENAME[0] is reserved as the file name for PARATESTFILE. */ #define PARATESTFILE filenames[0] const char *FILENAME[2]={ @@ -334,6 +334,7 @@ int main(int argc, char **argv) int mpi_size, mpi_rank; /* mpi variables */ H5Ptest_param_t ndsets_params, ngroups_params; H5Ptest_param_t collngroups_params; + H5Ptest_param_t io_mode_confusion_params; /* Un-buffer the stdout and stderr */ setbuf(stderr, NULL); @@ -384,6 +385,11 @@ int main(int argc, char **argv) AddTest("eidsetw2", extend_writeInd2, NULL, "extendible dataset independent write #2", PARATESTFILE); +#ifdef H5_HAVE_FILTER_DEFLATE + AddTest("cmpdsetr", compress_readAll, NULL, + "compressed dataset collective read", PARATESTFILE); +#endif /* H5_HAVE_FILTER_DEFLATE */ + ndsets_params.name = PARATESTFILE; ndsets_params.count = ndatasets; AddTest("ndsetw", multiple_dset_write, NULL, @@ -432,6 +438,13 @@ int main(int argc, char **argv) "collective to independent chunk io",PARATESTFILE); } + io_mode_confusion_params.name = PARATESTFILE; + io_mode_confusion_params.count = 0; /* value not used */ + + AddTest("I/Omodeconf", io_mode_confusion, NULL, + "I/O mode confusion test -- hangs quickly on failure", + &io_mode_confusion_params); + /* Display testing information */ TestInfo(argv[0]); |