summaryrefslogtreecommitdiffstats
path: root/testpar/t_coll_chunk.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-10-04 20:29:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-10-04 20:29:41 (GMT)
commit6d3c07598c93db261fabf9523cfd8ad16585be1c (patch)
tree5478eb7a1d14f68a41e9c185d181ca36bec6c32f /testpar/t_coll_chunk.c
parentc719c2d3b876a3ac6f0aec7d776d5aaebf5e1fef (diff)
downloadhdf5-6d3c07598c93db261fabf9523cfd8ad16585be1c.zip
hdf5-6d3c07598c93db261fabf9523cfd8ad16585be1c.tar.gz
hdf5-6d3c07598c93db261fabf9523cfd8ad16585be1c.tar.bz2
[svn-r9359] Purpose:
Bug fix Description: Relax restrictions on parallel I/O to allow compressed, chunked datasets to be read in parallel (collective access will be degraded to independent access, but will retrieve the information still). Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Solaris 2.7 (arabica) IRIX64 6.5 (modi4) h5committest
Diffstat (limited to 'testpar/t_coll_chunk.c')
-rw-r--r--testpar/t_coll_chunk.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/testpar/t_coll_chunk.c b/testpar/t_coll_chunk.c
index 680940f..c7d4bef 100644
--- a/testpar/t_coll_chunk.c
+++ b/testpar/t_coll_chunk.c
@@ -93,7 +93,7 @@ coll_chunk4(void)
char *filename;
int mpi_size;
MPI_Comm comm = MPI_COMM_WORLD;
- MPI_Comm_size(comm,&mpi_size);
+ MPI_Comm_size(comm,&mpi_size);
filename = (char *) GetTestParameters();
coll_chunktest(filename,mpi_size*2,BYROW_DISCONT);
@@ -339,17 +339,8 @@ ccslab_set(int mpi_rank, int mpi_size, hssize_t start[], hsize_t count[],
break;
case BYROW_DISCONT:
/* Each process takes several disjoint blocks. */
- /*
- block[0] = 2;
- block[1] = 2;
- stride[0] = 3;
- stride[1] = 6;
- count[0] = 2;
- count[1] = 3;
- */
-
- block[0] = 1;
- block[1] = 1;
+ block[0] = 1;
+ block[1] = 1;
stride[0] = 3;
stride[1] = 3;
count[0] = (SPACE_DIM1/mpi_size)/(stride[0]*block[0]);