diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2004-07-20 21:41:44 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2004-07-20 21:41:44 (GMT) |
commit | 3176090a0381967a6c2e4fdd22fd203bb335ed7a (patch) | |
tree | a3ba2c1718c9f0bd4d6cc25fa038947104ef004f /testpar/testphdf5.c | |
parent | 8933c596946b9ba88fb2ca66a3f46f1f1d209aed (diff) | |
download | hdf5-3176090a0381967a6c2e4fdd22fd203bb335ed7a.zip hdf5-3176090a0381967a6c2e4fdd22fd203bb335ed7a.tar.gz hdf5-3176090a0381967a6c2e4fdd22fd203bb335ed7a.tar.bz2 |
[svn-r8907] Purpose:
To add collective chunk IO tests.
Description:
three tests are added.
1. Only one hyperslab for each process, and this hyperslab is fit in exactly one chunk.
2. non-contiguous hyperslabs in each process, these hyperslabs are fit in one chunk.
3. Single hyperslab for each process, smaller chunk is assigned. Number of chunks for
every process is equal.
Solution:
the dataset size is set to be very small, will enlarge later.
Platforms tested:
AIX 5.1(copper)
Misc. update:
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r-- | testpar/testphdf5.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c index 551a02a..43818ff 100644 --- a/testpar/testphdf5.c +++ b/testpar/testphdf5.c @@ -45,7 +45,7 @@ int doindependent=1; /* independent test */ unsigned dobig=0; /* "big" dataset tests */ /* FILENAME and filenames must have the same number of names */ -const char *FILENAME[11]={ +const char *FILENAME[14]={ "ParaEg1", "ParaEg2", "ParaEg3", @@ -56,8 +56,11 @@ const char *FILENAME[11]={ "ParaIndividual", "ParaBig", "ParaFill", + "ParaCC1", + "ParaCC2", + "ParaCC3", NULL}; -char filenames[11][PATH_MAX]; +char filenames[14][PATH_MAX]; hid_t fapl; /* file access property list */ #ifdef USE_PAUSE @@ -465,6 +468,13 @@ int main(int argc, char **argv) AddTest("fillvalue", dataset_fillvalue, NULL, "dataset fill value", filenames[8]); + + AddTest("coll. chunked 1", coll_chunk1,NULL, + "simple collective chunk io",filenames[10]); + AddTest("coll. chunked 2", coll_chunk2,NULL, + "noncontiguous collective chunk io",filenames[11]); + AddTest("coll. chunked 3", coll_chunk3,NULL, + "muliti-chunk collective chunk io",filenames[12]); /* Display testing information */ TestInfo(argv[0]); |