summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2005-07-12 19:26:26 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2005-07-12 19:26:26 (GMT)
commit5edb327cbfff97e5d2be9b01d037f938b57f073d (patch)
treef27437b900e356b19d19e16545a2b6ad894617d0 /testpar/testphdf5.c
parent0f1c1ae4b3c6ac7fad11b4c949f9f4c67cd2989a (diff)
downloadhdf5-5edb327cbfff97e5d2be9b01d037f938b57f073d.zip
hdf5-5edb327cbfff97e5d2be9b01d037f938b57f073d.tar.gz
hdf5-5edb327cbfff97e5d2be9b01d037f938b57f073d.tar.bz2
[svn-r11067] Purpose:
Updating phase 2 work of collective IO Description: The current collective IO tests cannot test for number of processors bigger than some values, this change will lift those restriction. However, the test may be slower. Solution: Platforms tested: linux 2.4, AIX 5.1, Linux 2.4 IA64 and IRIX 6.5 (I haven't tested big number of processors with the restriction of the machine) Misc. update:
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c38
1 files changed, 35 insertions, 3 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 284a2e1..5fe8cb7 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -415,9 +415,11 @@ int main(int argc, char **argv)
AddTest("fill", dataset_fillvalue, NULL,
"dataset fill value", PARATESTFILE);
+#if 0
/* Collective Chunk IO are verified to work for 64 processes.
* Add or skip depending on whether mpi_size is larger than 64.
*/
+
if((mpi_size > 64) && MAINPROCESS) {
printf("Collective chunk IO tests haven't been tested \n");
printf(" for the number of process greater than 64.\n");
@@ -433,10 +435,39 @@ int main(int argc, char **argv)
coll_chunk3,NULL, "multi-chunk collective chunk io",PARATESTFILE);
AddTest((mpi_size > 64) ? "-cchunk4" : "cchunk4",
coll_chunk4,NULL, "collective to independent chunk io",PARATESTFILE);
+#endif
- /* Collective irregular chunk IO are verified to work for 3 processes.
- * Add or skip depending on whether mpi_size is larger than 3.
- */
+ AddTest("cchunk1",
+ coll_chunk1,NULL, "simple collective chunk io",PARATESTFILE);
+ AddTest("cchunk2",
+ coll_chunk2,NULL, "noncontiguous collective chunk io",PARATESTFILE);
+ AddTest("cchunk3",
+ coll_chunk3,NULL, "multi-chunk collective chunk io",PARATESTFILE);
+ AddTest("cchunk4",
+ coll_chunk4,NULL, "collective to independent chunk io",PARATESTFILE);
+
+/* irregular collective IO tests*/
+ AddTest("ccontw",
+ coll_irregular_cont_write,NULL,
+ "collective irregular contiguous write",PARATESTFILE);
+ AddTest("ccontr",
+ coll_irregular_cont_read,NULL,
+ "collective irregular contiguous read",PARATESTFILE);
+ AddTest("cschunkw",
+ coll_irregular_simple_chunk_write,NULL,
+ "collective irregular simple chunk write",PARATESTFILE);
+ AddTest("cschunkr",
+ coll_irregular_simple_chunk_read,NULL,
+ "collective irregular simple chunk read",PARATESTFILE);
+ AddTest("ccchunkw",
+ coll_irregular_complex_chunk_write,NULL,
+ "collective irregular complex chunk write",PARATESTFILE);
+ AddTest("ccchunkr",
+ coll_irregular_complex_chunk_read,NULL,
+ "collective irregular complex chunk read",PARATESTFILE);
+
+
+#if 0
if((mpi_size > 3) && MAINPROCESS) {
printf("Collective irregular chunk IO tests haven't been tested \n");
printf(" for the number of process greater than 3.\n");
@@ -462,6 +493,7 @@ int main(int argc, char **argv)
AddTest((mpi_size > 3) ? "-ccchunkr" : "ccchunkr",
coll_irregular_complex_chunk_read,NULL,
"collective irregular complex chunk read",PARATESTFILE);
+#endif
AddTest("null", null_dataset, NULL,