summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-08-13 13:29:43 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-08-13 13:29:43 (GMT)
commit092105b2a33973c3468cca43805b01b53045bdd2 (patch)
tree9acbe8c05f3057778418cb9490751b143d272707 /testpar/testphdf5.c
parent08fde753d9cdce4370f3746fa318eaace4c6795e (diff)
downloadhdf5-092105b2a33973c3468cca43805b01b53045bdd2.zip
hdf5-092105b2a33973c3468cca43805b01b53045bdd2.tar.gz
hdf5-092105b2a33973c3468cca43805b01b53045bdd2.tar.bz2
[svn-r9076] Purpose:
Better collective chunk IO test arrangements Description: collective chunk IO tests have been verified with the number of process greater than 24 and the test is very slow with big number of process. That may cause confusions to users who run collective chunk IO tests. Solution: To avoid possible confusions, A if-block will be used to check whether the number of process is greater than 24. If yes, the collective chunk tests will be skipped and a message will be printed out. Platforms tested: linux 2.4 (too trivial to use h5committest) Misc. update:
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 43b8ae3..81bc760 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -411,6 +411,7 @@ int main(int argc, char **argv)
TestInit();
/* Tests are generally arranged from least to most complexity... */
+#if 0
AddTest("mpio_dup", test_fapl_mpio_dup, NULL,
"fapl_mpio_dup", NULL);
AddTest("mpiposix_dup", test_fapl_mpiposix_dup, NULL,
@@ -467,7 +468,16 @@ int main(int argc, char **argv)
"big dataset test", filenames[7]);
AddTest("fillvalue", dataset_fillvalue, NULL,
"dataset fill value", filenames[8]);
-
+#endif
+
+ if(mpi_size > 24) {
+ if(MAINPROCESS) {
+ printf("The collective chunk IO test hasn't been tested for the number of process greater than 24\n");
+ printf("Please try with the number of process no greater than 24\n");
+ printf("All collective chunk tests will be skipped \n");
+ }
+ goto finish;
+ }
AddTest("coll_chunked1", coll_chunk1,NULL,
"simple collective chunk io",filenames[10]);
AddTest("coll_chunked2", coll_chunk2,NULL,