diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2006-03-23 02:50:09 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2006-03-23 02:50:09 (GMT) |
commit | 15f0a2e95c3c6ea72fe88fe8c9bc45cab7eb3212 (patch) | |
tree | a446225b73fbc0992ac80f496073a81910160045 /testpar/testphdf5.h | |
parent | 36dda5514c3e077d34b526dfa059f93e978764c5 (diff) | |
download | hdf5-15f0a2e95c3c6ea72fe88fe8c9bc45cab7eb3212.zip hdf5-15f0a2e95c3c6ea72fe88fe8c9bc45cab7eb3212.tar.gz hdf5-15f0a2e95c3c6ea72fe88fe8c9bc45cab7eb3212.tar.bz2 |
[svn-r12142] Purpose:
change the array size of collective chunking features of parallel tests.
Description:
Previously array size for collective optimization tests
including
cchunk1,
cchunk2,
cchunk3,
cchunk4,
ccontw,
ccontr,
cschunkw,
cschunkr,
ccchunkw,
ccchunkr
are fixed,
They are only valid for some good number of processors(1,2,3,4,6,8,12,16,24,32,48 etc).
Recently there are more requests for parallel tests to be valid on some odd number of processes such as 5,7,11,13 etc.
Solution:
I change the array size to be dynamic rather than static. Now the fastest change array size is a function of mpi_size. dim2 = constant *mpi_size. After some tunings, theoretically the above tests should be valid for any number of processors. However, other parallel tests still need to be tuned.
To verify the correctness of these tests, using mpirun -np 5 ./testphdf5 -b cchunk1 at heping.
Platforms tested:
h5committest(shanti is refused to be connected)
at heping, 5 and 7 processes are used to verify the correctness.
Misc. update:
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r-- | testpar/testphdf5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h index 416c3d3..0e35fcf 100644 --- a/testpar/testphdf5.h +++ b/testpar/testphdf5.h @@ -51,7 +51,7 @@ #define FACC_MPIPOSIX 0x8 /* MPIPOSIX */ /*Constants for collective chunk definitions */ -#define SPACE_DIM1 5760 +#define SPACE_DIM1 24 #define SPACE_DIM2 3 #define BYROW_CONT 1 #define BYROW_DISCONT 2 |