summaryrefslogtreecommitdiffstats
path: root/testpar/t_coll_chunk.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/t_coll_chunk.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/t_coll_chunk.c')
-rw-r--r--testpar/t_coll_chunk.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/testpar/t_coll_chunk.c b/testpar/t_coll_chunk.c
index 17bfc10..0d8980b 100644
--- a/testpar/t_coll_chunk.c
+++ b/testpar/t_coll_chunk.c
@@ -86,6 +86,7 @@ coll_chunk3(void)
}
+
void
coll_chunk4(void)
{
@@ -166,7 +167,10 @@ coll_chunktest(const char* filename,int chunk_factor,int select_factor) {
/* test1: chunk size is equal to dataset size */
chunk_dims[0] = SPACE_DIM1/chunk_factor;
- chunk_dims[1] = SPACE_DIM2/chunk_factor;
+
+ /* to decrease the testing time, maintain bigger chunk size */
+ if(chunk_factor >2) chunk_dims[1] = SPACE_DIM2/2;
+ else chunk_dims[1] = SPACE_DIM2/chunk_factor;
status = H5Pset_chunk(crp_plist, 2, chunk_dims);
VRFY((status >= 0),"chunk creation property list succeeded");