summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-08-17 18:44:26 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-08-17 18:44:26 (GMT)
commitad655bf083814ff768849a994c834b2010d67bda (patch)
tree783397c4ab62cee7308936e1b38e69ba8cb6b83e /testpar/testphdf5.c
parent2d3c6215f26b94e6fa0cb46178ea5c60fa075d66 (diff)
downloadhdf5-ad655bf083814ff768849a994c834b2010d67bda.zip
hdf5-ad655bf083814ff768849a994c834b2010d67bda.tar.gz
hdf5-ad655bf083814ff768849a994c834b2010d67bda.tar.bz2
[svn-r9104]
Purpose: bug fix Description: 1. The IF-block of skipping collective chunk IO tests when the number of processes is greater than some number essentially skipped all parallel tests. 2. John tested at copper with the number of processor = 64 and collective chunk IO tests passed, so we increase the number of precessor =24 to 64 for skipping the test. Solution: 1. change the IF block flow so that it only skips collective chunk IO tests when the number of process is greater than 64. Platforms tested: copper(only change a bit of parallel test code, no needs to test on other platforms). Misc. update:
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c29
1 files changed, 16 insertions, 13 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 57c3012..106e4ba 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -448,22 +448,25 @@ int main(int argc, char **argv)
AddTest("fillvalue", dataset_fillvalue, NULL,
"dataset fill value", filenames[8]);
- if(mpi_size > 24) {
+ if(mpi_size > 64) {
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");
+ printf("Collective chunk IO tests haven't been tested \n");
+ printf(" for the number of process greater than 64.\n");
+ printf("Please try with the number of process \n");
+ printf(" no greater than 64 for collective chunk IO test.\n");
+ printf("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,
- "noncontiguous collective chunk io",filenames[11]);
- AddTest("coll_chunked3", coll_chunk3,NULL,
- "multi-chunk collective chunk io",filenames[12]);
- AddTest("coll_chunked4", coll_chunk4,NULL,
- "collective to independent chunk io",filenames[13]);
+ else {
+ AddTest("coll_chunked1", coll_chunk1,NULL,
+ "simple collective chunk io",filenames[10]);
+ AddTest("coll_chunked2", coll_chunk2,NULL,
+ "noncontiguous collective chunk io",filenames[11]);
+ AddTest("coll_chunked3", coll_chunk3,NULL,
+ "multi-chunk collective chunk io",filenames[12]);
+ AddTest("coll_chunked4", coll_chunk4,NULL,
+ "collective to independent chunk io",filenames[13]);
+ }
/* Display testing information */
TestInfo(argv[0]);