diff options
author | Albert Cheng <acheng@hdfgroup.org> | 1999-07-03 00:27:36 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 1999-07-03 00:27:36 (GMT) |
commit | 1b20703c2048cf176df2d5c792de56da92ae03e2 (patch) | |
tree | 16bd088a5b6c7673d7f089a95e92fe8bf6f03d02 /testpar/t_dset.c | |
parent | 8ecbdd7050c038277de3e4644f1aed92163ba52c (diff) | |
download | hdf5-1b20703c2048cf176df2d5c792de56da92ae03e2.zip hdf5-1b20703c2048cf176df2d5c792de56da92ae03e2.tar.gz hdf5-1b20703c2048cf176df2d5c792de56da92ae03e2.tar.bz2 |
[svn-r1417] t_mpi.c:
Changed it to skip the test instead of aborting when there is not
enough processes to do the test. Also corrected an error in the
error reporting printf statement.
t_dset.c:
testphdf5.c:
testphdf5.h:
Added option for specifying chunk dimensions.
Diffstat (limited to 'testpar/t_dset.c')
-rw-r--r-- | testpar/t_dset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/t_dset.c b/testpar/t_dset.c index 6dfdaca..81c6030 100644 --- a/testpar/t_dset.c +++ b/testpar/t_dset.c @@ -842,8 +842,8 @@ extend_writeInd(char *filename) MPI_Comm_rank(MPI_COMM_WORLD,&mpi_rank); /* setup chunk-size. Make sure sizes are > 0 */ - chunk_dims[0] = (dim0+9)/10; - chunk_dims[1] = (dim1+9)/10; + chunk_dims[0] = chunkdim0; + chunk_dims[1] = chunkdim1; /* allocate memory for data buffer */ data_array1 = (DATATYPE *)malloc(dim0*dim1*sizeof(DATATYPE)); |