summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-08-17 18:40:33 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-08-17 18:40:33 (GMT)
commit907dbc770a2e1adb615a6b58f4b4b681cc9ad564 (patch)
treebbcb54f75052747dac29eb8dfc35c9e4e4edfa2d /testpar/testphdf5.c
parent8d40aa83cfa3cc2a062d30ffbc2eb423a3485985 (diff)
downloadhdf5-907dbc770a2e1adb615a6b58f4b4b681cc9ad564.zip
hdf5-907dbc770a2e1adb615a6b58f4b4b681cc9ad564.tar.gz
hdf5-907dbc770a2e1adb615a6b58f4b4b681cc9ad564.tar.bz2
[svn-r9103]
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 parallel test, no needs to test oh other platforms). Misc. update:
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 6e1a777..bc37cb9 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -446,22 +446,23 @@ int main(int argc, char **argv)
"dataset fill value", filenames[8]);
- 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;
+ if(mpi_size > 64) {
+ if(MAINPROCESS) {
+ printf("The collective chunk IO test hasn't been tested for the number of process greater than 64\n");
+ printf("Please try with the number of process no greater than 64\n");
+ printf("All collective chunk tests will be skipped \n");
+ }
}
- AddTest("coll_chunked1", coll_chunk1,NULL,
+ else {
+ AddTest("coll_chunked1", coll_chunk1,NULL,
"simple collective chunk io",filenames[9]);
- AddTest("coll_chunked2", coll_chunk2,NULL,
+ AddTest("coll_chunked2", coll_chunk2,NULL,
"noncontiguous collective chunk io",filenames[10]);
- AddTest("coll_chunked3", coll_chunk3,NULL,
+ AddTest("coll_chunked3", coll_chunk3,NULL,
"multi-chunk collective chunk io",filenames[11]);
- AddTest("coll_chunked4", coll_chunk4,NULL,
+ AddTest("coll_chunked4", coll_chunk4,NULL,
"collective to independent chunk io",filenames[12]);
+ }
/* Display testing information */
TestInfo(argv[0]);