summaryrefslogtreecommitdiffstats
path: root/testpar/testphdf5.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2005-08-30 04:35:17 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2005-08-30 04:35:17 (GMT)
commit3182a8a040b463629fd9f266b6a1eda6ce70c3d7 (patch)
treedb107c21fe8ae27e83b05686fd919dd44c0c12b6 /testpar/testphdf5.c
parentbd4312d0497592a665a25415ec2f9d3db9d9f6b2 (diff)
downloadhdf5-3182a8a040b463629fd9f266b6a1eda6ce70c3d7.zip
hdf5-3182a8a040b463629fd9f266b6a1eda6ce70c3d7.tar.gz
hdf5-3182a8a040b463629fd9f266b6a1eda6ce70c3d7.tar.bz2
[svn-r11312] Purpose:
Bug #281 Description: A dataset created in serial mode with H5D_ALLOC_TIME_INCR allocation setting was not extendible, either explicitly by H5Dextend or implicitly by writing to unallocated chunks. This was because parallel mode expects the allocation mode be H5D_ALLOC_TIME_INCR only. Solution: Modified library to allocate more space when needed or directed if the file is opened by parallel mode, independent of what the dataset allocation mode is. Platforms tested: Heping pp.
Diffstat (limited to 'testpar/testphdf5.c')
-rw-r--r--testpar/testphdf5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testpar/testphdf5.c b/testpar/testphdf5.c
index 2f75e51..10ce989 100644
--- a/testpar/testphdf5.c
+++ b/testpar/testphdf5.c
@@ -381,6 +381,8 @@ int main(int argc, char **argv)
"extendible dataset collective read", PARATESTFILE);
AddTest("eidsetw2", extend_writeInd2, NULL,
"extendible dataset independent write #2", PARATESTFILE);
+ AddTest("calloc", test_chunk_alloc, NULL,
+ "parallel extend Chunked allocation on serial file", PARATESTFILE);
#ifdef H5_HAVE_FILTER_DEFLATE
AddTest("cmpdsetr", compress_readAll, NULL,