diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-10-01 02:40:32 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2013-10-01 02:40:32 (GMT) |
commit | 85971108372c8ea1331d89092a8049aa68728fdb (patch) | |
tree | ff5b78ef9f7726ab8d79bd96d958b287ecbc4000 /c++/examples/h5tutr_extend.cpp | |
parent | 7fcd636cb37e493665191af5fbc876a6a012158a (diff) | |
download | hdf5-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.cpp | 3 |
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); |