summaryrefslogtreecommitdiffstats
path: root/c++/examples/h5tutr_extend.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2013-10-01 02:40:32 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2013-10-01 02:40:32 (GMT)
commit85971108372c8ea1331d89092a8049aa68728fdb (patch)
treeff5b78ef9f7726ab8d79bd96d958b287ecbc4000 /c++/examples/h5tutr_extend.cpp
parent7fcd636cb37e493665191af5fbc876a6a012158a (diff)
downloadhdf5-85971108372c8ea1331d89092a8049aa68728fdb.zip
hdf5-85971108372c8ea1331d89092a8049aa68728fdb.tar.gz
hdf5-85971108372c8ea1331d89092a8049aa68728fdb.tar.bz2
[svn-r24235] Description:
- Appended h5tutr_ to names of data files to avoid name clashing with existing examples. - Added example dependencies to Makefile.* (pointed out by Allen) Platforms tested: SunOS 5.11 (emu) with gmake Linux/ppc64 (ostrich) Linux/32 2.6 (jam) Linux/64 2.6 (koala)/PGI compilers
Diffstat (limited to 'c++/examples/h5tutr_extend.cpp')
-rw-r--r--c++/examples/h5tutr_extend.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/examples/h5tutr_extend.cpp b/c++/examples/h5tutr_extend.cpp
index c3a18d7..432ca5e 100644
--- a/c++/examples/h5tutr_extend.cpp
+++ b/c++/examples/h5tutr_extend.cpp
@@ -31,7 +31,7 @@
#endif // H5_NO_STD
#endif
-const H5std_string FILE_NAME("extend.h5");
+const H5std_string FILE_NAME("h5tutr_extend.h5");
const H5std_string DATASETNAME("ExtendibleArray");
int main (void)
@@ -130,6 +130,7 @@ int main (void)
if (H5D_CHUNKED == prop.getLayout())
rank_chunk = prop.getChunk(rank, chunk_dimsr);
+ cout << "rank chunk = " << rank_chunk << endl;;
memspace = new DataSpace(rank, dimsr, NULL);
dataset->read(rdata, PredType::NATIVE_INT, *memspace, *filespace);