summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.h
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-08-12 03:45:50 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-08-12 03:45:50 (GMT)
commit2a866e549f2cc0234611d293d1d0e5a78ef8de1c (patch)
tree8b9b3b9c1f8be9323cd96454d7a576875ed69368 /testpar/testphdf5.h
parentc22120541020a495238779c0d17b44ceb2fd3b22 (diff)
downloadhdf5-2a866e549f2cc0234611d293d1d0e5a78ef8de1c.zip
hdf5-2a866e549f2cc0234611d293d1d0e5a78ef8de1c.tar.gz
hdf5-2a866e549f2cc0234611d293d1d0e5a78ef8de1c.tar.bz2
[svn-r9071] Purpose:
Make collective chunk IO test more general Description: Previously collective chunk IO test is only fit for processor =4 with the dimension size to be set small; sometimes people would like to test with more than 4 processors(5,6 or more), the test therefore failed. Solution: To make the test case more general, dimensional size of the data is set to be large(right now 288 for each dimension), the disjoint hyperslab selection is re-calculated. Now the test cases should pass with 5,6 or 12 processors. Note, there is nothing wrong with the implementation of the library, it is the test case that causes the failure with the number of processor greater than 4. Platforms tested: Only at eirene, since only the test code is modified a little and it is very slow to test the parallel case. Misc. update:
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r--testpar/testphdf5.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h
index a608035..6bc1d5a 100644
--- a/testpar/testphdf5.h
+++ b/testpar/testphdf5.h
@@ -122,8 +122,8 @@
#define FACC_MPIPOSIX 0x8 /* MPIPOSIX */
/*Constants for collective chunk definitions */
-#define SPACE_DIM1 24
-#define SPACE_DIM2 24
+#define SPACE_DIM1 288
+#define SPACE_DIM2 288
#define BYROW_CONT 1
#define BYROW_DISCONT 2
#define DSET_COLLECTIVE_CHUNK_NAME "coll_chunk_name"