diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2004-11-11 21:05:03 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2004-11-11 21:05:03 (GMT) |
commit | 7a11c453f92d252eb24675bc4a198fcdddb6eb31 (patch) | |
tree | b1cb926f6b2ca07581bcb13568d5c2bf6eacddeb /testpar/testphdf5.h | |
parent | 1702d75b3a49465b184362e088cf120b1b4817f3 (diff) | |
download | hdf5-7a11c453f92d252eb24675bc4a198fcdddb6eb31.zip hdf5-7a11c453f92d252eb24675bc4a198fcdddb6eb31.tar.gz hdf5-7a11c453f92d252eb24675bc4a198fcdddb6eb31.tar.bz2 |
[svn-r9520] Purpose:
Adding general MPI derived datatype testing code.
Description:
The testing code will not be tested. The purpose of checking in is for
better debugging later. HDF5 routine or daily test should not be aware of this.
Solution:
Platforms tested:
Copper(AIX 5.1),
Heping(Linux 2.4 + MPICH 1.2.6).
Misc. update:
Diffstat (limited to 'testpar/testphdf5.h')
-rw-r--r-- | testpar/testphdf5.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testpar/testphdf5.h b/testpar/testphdf5.h index b66d196..788a02a 100644 --- a/testpar/testphdf5.h +++ b/testpar/testphdf5.h @@ -119,6 +119,21 @@ #define BYROW_DISCONT 2 #define DSET_COLLECTIVE_CHUNK_NAME "coll_chunk_name" + +/*Constants for MPI derived data type generated from span tree */ + +#define MSPACE1_RANK 1 /* Rank of the first dataset in memory */ +#define MSPACE1_DIM 50 /* Dataset size in memory */ +#define MSPACE2_RANK 1 /* Rank of the second dataset in memory */ +#define MSPACE2_DIM 4 /* Dataset size in memory */ +#define FSPACE_RANK 2 /* Dataset rank as it is stored in the file */ +#define FSPACE_DIM1 8 /* Dimension sizes of the dataset as it is stored in the file */ +#define FSPACE_DIM2 12 /* We will read dataset back from the file to the dataset in memory with these dataspace parameters. */ +#define MSPACE_RANK 2 +#define MSPACE_DIM1 8 +#define MSPACE_DIM2 9 +#define NPOINTS 4 /* Number of points that will be selected and overwritten */ + /* type definitions */ typedef struct H5Ptest_param_t /* holds extra test parameters */ { @@ -163,6 +178,7 @@ void coll_chunk1(void); void coll_chunk2(void); void coll_chunk3(void); void coll_chunk4(void); +void t_span_tree(void); void io_mode_confusion(void); #ifdef H5_HAVE_FILTER_DEFLATE void compress_readAll(void); |