1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
|
HDF5 version 1.10.0-pre2 currently under development
================================================================================
INTRODUCTION
This document describes the differences between HDF5-1.8.* and
HDF5 1.10.0 release, and contains information on the platforms
tested.
Links to HDF5 1.10.0 source code can be found on The HDF Group's
development FTP server at the following location:
http://www.hdfgroup.org/HDF5/release/obtain5110.html
User documentation be accessed directly at this location:
http://www.hdfgroup.org/HDF5/docNewFeatures/
For more information, see the HDF5 home page:
http://www.hdfgroup.org/HDF5/
If you have any questions or comments, please send them to the HDF
Help Desk:
help@hdfgroup.org
CONTENTS
- New Features
- Issues Addressed in this Release
- Tested Configuration Features Summary
- More Tested Platforms
- Known Problems
New Features
============
This release supports the following features:
Configuration
-------------
- API Compatibility with HDF5 1.8 Flag Was Added
The 1.10 version of the HDF5 Library can be configured to operate
identically to the 1.8 library with the --with-default-api-version=v18
configure flag. This allows existing code to be compiled with the 1.10
library without requiring immediate changes to the application source
code. For addtional configuration options and other details, see
"API Compatibility Macros in HDF5" at
http://www.hdfgroup.org/HDF5/doc/RM/APICompatMacros.html.
- Autotools Configuration Has Been Extensively Reworked
The autotools configuration options have been updated to allow more
fine-grained control of the build options and to correct some bugs.
See configure --help for comprehensive information on each option.
Specific changes:
* --enable-debug and --enable-production are no longer accepted.
Use --enable-build-mode=(debug | production) instead. These set
appropriate defaults for symbols, optimizations, and other
configuration options. These defaults can be overridden by the
user.
* Extra debug output messages are no longer enabled with
--enable-debug=<package list>. Use --enable-internal-debug=<pkg list>
instead.
* A new --enable-symbols option allows symbols to be generated
independently of the build mode. --disable-symbols can be used
to strip symbols from the binary.
* A new --enable-asserts option sets/unsets NDEBUG. This is
independent of the build mode. This also enables some extra
low-overhead debug checks in the library.
* A new --enable-profiling option sets profiling flags. This is
independent of the build mode.
* A new --enable-optimization option sets the optimization level.
This is independent of the build mode.
* Many of these options can take a flags string that will be used
to build the library. This can be useful for specifying custom
optimization flags such as -Os and -Ofast.
* gnu C++ and Fortran use configure sub-files that update the
build flags and turn on warnings. The increase in warnings when
building these wrapper libraries is due to these flag changes
and not to a decrease in code quality.
* The option to clear file buffers has been removed. Any buffer that
will eventually be written to disk will now always be memset
to zero. This prevents the previous contents of the buffer from
being written to the disk if the buffer contents are not
completely overwritten, which has security implications.
- LFS Changes
The way the autotools handle large file support (LFS) has been
overhauled in this release.
* We assume ftello and fseeko exist
* We no longer explicitly use the *64 I/O functions. Instead, we
rely on a mapping provided by _FILE_OFFSET_BITS or its equivalent.
* _LARGEFILE(64)_SOURCE is no longer exported via AM_CPPFLAGS.
Parallel Library
-----------------
- Collective Metadata I/O
Calls for HDF5 metadata can result in many small reads and writes.
On metadata reads, collective metadata I/O can improve performance
by allowing the library to perform optimizations when reading the
metadata by having one rank read the data and broadcasting it to
all other ranks.
Collective metadata I/O improves metadata write performance through
the construction of an MPI derived datatype that is then written
collectively in a single call. For more information, see
https://www.hdfgroup.org/HDF5/docNewFeatures/NewFeaturesCollectiveMetadataIoDocs.html.
Library
--------
- Concurrent Access to HDF5 Files - Single Writer/ Multple Reader (SWMR)
The Single Writer/ Multiple Reader or SWMR feature enables users to
read data concurrently while writing it. Communications between the
processes and file locking are not required. The processes can run
on the same or on different platforms as long as they share a common
file system that is POSIX compliant. For more information, see the
Single-Writer/Multiple-Reader (SWMR) documentation at
https://www.hdfgroup.org/HDF5/docNewFeatures/NewFeaturesSwmrDocs.html.
- Virtual Dataset (VDS)
The VDS feature enables data to be accessed across HDF5 files
using standard HDF5 objects such as groups and datasets without
rewriting or rearranging the data. An HDF5 virtual dataset (VDS)
is an HDF5 dataset that is composed of source HDF5 datasets in
a predefined mapping. VDS can be used with the SWMR feature. For
documentation, check
https://www.hdfgroup.org/HDF5/docNewFeatures/NewFeaturesVirtualDatasetDocs.html.
- Persistent Free File Space Tracking
Usage patterns when working with an HDF5 file sometimes result in
wasted space within the file. This can also impair access times
when working with the resulting files. The new file space management
feature provides strategies for managing space in a file to improve
performance in both of these areas. For more information, see
http://www.hdfgroup.org/HDF5/docNewFeatures/NewFeaturesFileSpaceMgmtDocs.html.
- Version 3 Metadata Cache
The version 3 metadata cache moves management of metadata I/O from
the clients to the metadata cache proper. This change is essential for
SWMR and other features that have yet to be released.
C++ Library
------------
- New Member Function Added to H5::ArrayType
The assignment operator ArrayType::operator= was added because
ArrayType has pointers to data members.
(BMR - 2016/03/07, HDFFV-9562)
Tools
------
- h5watch
The h5watch tool allows users to output new records appended to
a dataset under SWMR access as it grows. The functionality is
similar to the Unix user command "tail" with the follow option,
which outputs appended data as the file grows. For more
information, see
http://www.hdfgroup.org/HDF5/docNewFeatures/NewFeaturesSwmrDocs.html#Tools.
- h5format_convert
The h5format_convert tool allows users to convert the indexing
type of a chunked dataset made with a 1.10.x version of the HDF5
Library when the latest file format is used to the 1.8.x version 1 B-tree indexing
type. For example, datasets created using SWMR access, can be
converted to be accessed by the HDF5 1.18 library and tools. The
tool does not rewrite raw data, but it does rewrite HDF5 metadata.
High-Level APIs
----------------
- H5DOappend
The function appends data to a dataset along a specified dimension.
C Packet Table API
------------------
- Replacement of a Public Function with H5PTcreate
The existing function H5PTcreate_fl limits applications so they
can use the deflate compression only. The public function
H5PTcreate has been added to replace H5PTcreate_fl. H5PTcreate
takes a property list identifier to provide flexibility on
creation properties.
(BMR - 2016/03/04, HDFFV-8623)
- New Public Functions: H5PTget_dataset and H5PTget_type
Two accessor functions have been added. H5PTget_dataset returns
the identifier of the dataset associated a packet table, and
H5PTget_type returns the identifier of the datatype used by
a packet table.
(BMR, 2016/03/04, HDFFV-8623)
- Regarding #ifdef VLPT_REMOVED
The #ifdef VLPT_REMOVED blocks have been removed from the packet
table (PT) library source except for the following functions:
+ H5PTis_varlen() has been made available again
+ H5PTfree_vlen_readbuff() is now H5PTfree_vlen_buff()
(BMR - 2016/03/04, HDFFV-442)
C++ Packet Table API
--------------------
- New Constructor Added to FL_PacketTable
An overloaded constructor has been added to FL_PacketTable and
takes a property list identifier to provide flexibility on
creation properties.
(BMR - 2016/03/08, HDFFV-8623)
- New Public Functions
Two accessor wrappers are added to class PacketTable.
PacketTable::GetDataset() returns the identifier of the dataset
associated with the packet table, and PacketTable::GetDatatype()
returns the identifier of the datatype that the packet table uses.
(BMR - 2016/03/04, HDFFV-8623)
- Member Functions with "char*" as an Argument
Overloaded functions were added to provide the "const char*"
argument; the existing version will be deprecated in future
releases.
(BMR - 2016/03/04, HDFFV-8623)
- Regarding #ifdef VLPT_REMOVED
The #ifdef VLPT_REMOVED blocks have been removed from the packet
table library source code except for the following functions:
+ VL_PacketTable::IsVariableLength() was moved to PacketTable
+ VL_PacketTable::FreeReadBuff() is now PacketTable::FreeBuff()
(BMR - 2016/03/04, HDFFV-442)
Java Wrapper Library
--------------------
The Java HDF5 JNI library has been integrated into the HDF5 repository.
The configure option is "--enable-java", and the CMake option is
HDF5_BUILD_JAVA:BOOL=ON. The package hierarchy has changed from the
HDF5 1.8 JNI, which was "ncsa.hdf.hdflib.hdf5", to HDF5 1.10,
"hdf.hdflib.hdf5".
A number of new APIs were added including some for VDS and SWMR.
Other Important Changes
-----------------------
The hid_t type was changed from 32-bit to a 64-bit value.
Issues Addressed in this Release Since alpha1
=============================================
- H5Pget_virtual_printf_gap, H5Pget_virtual_view, H5Pget_efile_prefix
The correct access property list settings from the
H5Pget_virtual_printf_gap, H5Pget_virtual_view, and
H5Pget_efile_prefix function calls could not be retrieved
using H5Dget_access_plist().
Fixed.
(DER and NAF - 2016/03/14, HDFFV-9716)
- h5dump
When h5dump was provided with the name of a non-existing file or
when optional arguments were the last option on the command line,
h5dump would segfault.
Fixed.
(ADB 2016/02/28 HDFFV-9639, HDFFV-9684)
- No Error Message for Corrupt Metadata
The HDF5 Library did not propagate an error when it encountered
corrupt metadata in an HDF5 file. The issue was fixed for a
specific file provided by a user. If you still see the problem,
please contact help@hdfgroup.org
Fixed.
(MC - 2016/02/18, HDFFV-9670)
- Problem Reading Chunked Datasets with a String Datatype Larger
Than the Chunk Size in Bytes
When the latest file format was used and when a chunked dataset
was created with a datatype with the size bigger than a chunk
size, the data could not be read back. The issue was reported
for chunked datasets with a string datatype and was confirmed
for other datatypes with the sizes bigger than the chunk size in
bytes.
Fixed.
(JM - 2016/02/13, HDFFV-9672)
- Control over the Location of External Files
Users were unable to specify the locations of external files.
Two APIs - H5Pget_efile_prefix and H5Pset_efile_prefix - were
added so that users could specify the locations of external files.
(DER - 2016/02/04, HDFFV-8740)
Issues Addressed in this Release Since alpha0
=============================================
- h5format_convert
The h5format_convert tool did not downgrade the version of the
superblock.
Fixed. The tool now will downgrade the version of the superblock.
(EIP 2016/01/11)
- Crashes with multiple threads: invalid pointers
It was reported that alpha0 crashed when used with multiple
threads. The issue exists in the HDF5 Library versions 1.8 and
1.9. The problem is related to a shared file pointer used in some
miscellaneous data structures. The thread-safe library exposed
paths in the library where a file pointer became invalid.
The alpha1 release contains the fixes for the specific use case
as described in HDFFV-9643. We will keep working on identifying
and fixing other paths in the library with similar problems.
(EIP - 2016/01/15, HDFFV-9643)
Supported Platforms
===================
The following platforms are supported and have been tested for this release.
They are built with the configure process unless specified otherwise.
AIX 6.1 xlc/xlc_r 10.1.0.5
(NASA G-ADA) xlC/xlC_r 10.1.0.5
xlf90/xlf90_r 12.1.0.6
Linux 2.6.32-573.18.1.el6 GNU C (gcc), Fortran (gfortran), C++ (g++)
#1 SMP x86_64 GNU/Linux compilers:
(mayll/platypus) Version 4.4.7 20120313 (Red Hat 4.4.7-16)
Version 4.9.3, Version 5.2.0
PGI C, Fortran, C++ for 64-bit target on
x86-64;
Version 15.7-0
Intel(R) C (icc), C++ (icpc), Fortran (icc)
compilers:
Version 15.0.3.187 Build 20150407
MPICH 3.1.4 compiled with GCC 4.9.3
Linux 2.6.32-504.8.1.el6.ppc64 gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
#1 SMP ppc64 GNU/Linux g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
(ostrich) GNU Fortran (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
IBM XL C/C++ V13.1
IBM XL Fortran V15.1
Linux 3.10.0-327.10.1.el7 GNU C (gcc), Fortran (gfortran), C++ (g++)
#1 SMP x86_64 GNU/Linux compilers:
(kituo/moohan) Version 4.8.5 20150623 (Red Hat 4.8.5-4)
Version 4.9.3, Version 5.2.0
Intel(R) C (icc), C++ (icpc), Fortran (icc)
compilers:
Version 15.0.3.187 Build 20150407
MPICH 3.1.4 compiled with GCC 4.9.3
SunOS 5.11 32- and 64-bit Sun C 5.12 SunOS_sparc
(emu) Sun Fortran 95 8.6 SunOS_sparc
Sun C++ 5.12 SunOS_sparc
Windows 7 Visual Studio 2012 w/ Intel Fortran 15 (cmake)
Visual Studio 2013 w/ Intel Fortran 15 (cmake)
Visual Studio 2015 w/ Intel Fortran 16 (cmake)
Cygwin(CYGWIN_NT-6.1 2.2.1(0.289/5/3) gcc(4.9.3) compiler and gfortran)
(cmake and autotools)
Windows 7 x64 Visual Studio 2012 w/ Intel Fortran 15 (cmake)
Visual Studio 2013 w/ Intel Fortran 15 (cmake)
Visual Studio 2015 w/ Intel Fortran 16 (cmake)
Windows 8.1 Visual Studio 2012 w/ Intel Fortran 15 (cmake)
Visual Studio 2013 w/ Intel Fortran 15 (cmake)
Windows 8.1 x64 Visual Studio 2012 w/ Intel Fortran 15 (cmake)
Visual Studio 2013 w/ Intel Fortran 15 (cmake)
Mac OS X Mt. Lion 10.8.5 Apple clang/clang++ version 5.1 from Xcode 5.1
64-bit gfortran GNU Fortran (GCC) 4.8.2
(swallow/kite) Intel icc/icpc/ifort version 15.0.3
Mac OS X Mavericks 10.9.5 Apple clang/clang++ version 6.0 from Xcode 6.2.0
64-bit gfortran GNU Fortran (GCC) 4.9.2
(wren/quail) Intel icc/icpc/ifort version 15.0.3
Mac OS X Yosemite 10.10.5 Apple clang/clang++ version 6.0 from Xcode 7.0.0
64-bit gfortran GNU Fortran (GCC) 4.9.2
(osx1010dev/osx1010test) Intel icc/icpc/ifort version 15.0.3
Mac OS X El Capitan 10.11.3 Apple clang/clang++ version 7.0.2 from Xcode 7.0.2
64-bit gfortran GNU Fortran (GCC) 5.2.0
(osx1010dev/osx1010test) Intel icc/icpc/ifort version 15.0.3
Tested Configuration Features Summary
=====================================
In the tables below
y = tested
n = not tested in this release
C = Cluster
W = Workstation
x = not working in this release
dna = does not apply
( ) = footnote appears below second table
<blank> = testing incomplete on this feature or platform
Platform C F90/ F90 C++ zlib SZIP
parallel F2003 parallel
SunOS 5.11 32-bit n y/y n y y y
SunOS 5.11 64-bit n y/y n y y y
Windows 7 y y/y n y y y
Windows 7 x64 y y/y n y y y
Windows 7 Cygwin n y/y n y y n
Windows 8.1 n y/y n y y y
Windows 8.1 x64 n y/y n y y y
Mac OS X Mountain Lion 10.8.5 64-bit n y/y n y y y
Mac OS X Mavericks 10.9.5 64-bit n y/y n y y y
Mac OS X Yosemeti 10.10.5 64-bit n y/y n y y y
AIX 6.1 32- and 64-bit n y/n n y y y
CentOS 6.7 Linux 2.6.32 x86_64 GNU y y/y y y y y
CentOS 6.7 Linux 2.6.32 x86_64 Intel n y/y n y y y
CentOS 6.7 Linux 2.6.32 x86_64 PGI n y/y n y y y
CentOS 7.1 Linux 3.10.0 x86_64 GNU y y/y y y y y
CentOS 7.1 Linux 3.10.0 x86_64 Intel n y/y n y y y
Linux 2.6.32-431.11.2.el6.ppc64 n y/n n y y y
Platform Shared Shared Shared Thread-
C libs F90 libs C++ libs safe
SunOS 5.11 32-bit y y y y
SunOS 5.11 64-bit y y y y
Windows 7 y y y y
Windows 7 x64 y y y y
Windows 7 Cygwin n n n y
Windows 8.1 y y y y
Windows 8.1 x64 y y y y
Mac OS X Mountain Lion 10.8.5 64-bit y n y y
Mac OS X Mavericks 10.9.5 64-bit y n y y
Mac OS X Yosemeti 10.10.5 64-bit y n y y
AIX 6.1 32- and 64-bit y n n y
CentOS 6.7 Linux 2.6.32 x86_64 GNU y y y y
CentOS 6.7 Linux 2.6.32 x86_64 Intel y y y y
CentOS 6.7 Linux 2.6.32 x86_64 PGI y y y y
CentOS 7.1 Linux 3.10.0 x86_64 GNU y y y y
CentOS 7.1 Linux 3.10.0 x86_64 Intel y y y y
Linux 2.6.32-431.11.2.el6.ppc64 y y y y
Compiler versions for each platform are listed in the preceding
"Supported Platforms" table.
More Tested Platforms
=====================
The following platforms are not supported but have been tested for this release.
Linux 2.6.18-431.11.2.el6 g95 (GCC 4.0.3 (g95 0.94!)
#1 SMP x86_64 GNU/Linux
(platypus)
Windows 7 Visual Studio 2008 (cmake)
Windows 7 x64 Visual Studio 2008 (cmake)
Windows 7 x64 Visual Studio 2010 (cmake) with SWMR using GPFS
Windows 10 Visual Studio 2013 w/ Intel Fortran 15 (cmake)
Windows 10 x64 Visual Studio 2013 w/ Intel Fortran 15 (cmake)
Debian7.5.0 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
gcc (Debian 4.7.2-5) 4.7.2
GNU Fortran (Debian 4.7.2-5) 4.7.2
(cmake and autotools)
Fedora20 3.15.3-200.fc20.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
gcc (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1)
GNU Fortran (GCC) 4.8.3 20140624 (Red Hat 4.8.3-1)
(cmake and autotools)
SUSE 13.1 3.11.10-17-desktop #1 SMP PREEMPT x86_64 x86_64 x86_64 GNU/Linux
gcc (SUSE Linux) 4.8.1
GNU Fortran (SUSE Linux) 4.8.1
(cmake and autotools)
Ubuntu 14.04 3.13.0-35-generic #62-Ubuntu SMP x86_64 GNU/Linux
gcc (Ubuntu/Linaro 4.9.1-0ubuntu1) 4.9.1
GNU Fortran (Ubuntu/Linaro 4.9.1-0ubuntu1) 4.9.1
(cmake and autotools)
hopper.nersc.gov PrgEnv-gnu/5.2.40
gcc (GCC) 4.9.2 20141030 (Cray Inc.)
GNU Fortran (GCC) 4.9.2 20141030 (Cray Inc.)
g++ (GCC) 4.9.2 20141030 (Cray Inc.)
Known Problems and Limitations
==============================
This section contains the list of known problems and limitations introduced
in this release of HDF5.
Note: this list is not exhaustive of all known issues discovered in HDF5
software to date. For a list of significant problems and known workarounds
identified in past releases, please refer to:
https://www.hdfgroup.org/HDF5/release/known_problems/
The HDF Group also maintains a JIRA issue-tracking database which is used to
capture all known issues which are too numerous to reasonably list in this
document. The HDF Group is taking steps to make our JIRA issue database
open to the public, and this section will refer to that database in a future
release. In the meantime, please contact help@hdfgroup.org if you come across
an issue not listed here or at the link above, and we will provide any
information about known workarounds that we have or add it to our list of
known issues if it is a new issue.
- The JUnit-interface test may fail on Solaris platforms. The result of
a test for verifying the content of the error stack to stdout is
in a different order on Solaris then other platforms. Use make -i option
to test beyond the java/test folder.
(ADB - 2016/03/22 - HDFFV-9734)
- The flush/refresh test occasionally fails on OS X platforms. This is
being investigated and may be a problem with SWMR on HFS+.
(DER - 2016/03/22 - HDFFV-9731)
- The VDS/SWMR test will fail with a segmentation fault if the library
is built with --enable-using-memchecker.
(DER - 2016/03/21 - HDFFV-9732)
- SWMR feature
The SWMR feature will only work if an HDF5 file under SWMR access resides
on a file system that obeys POSIX write() ordering semantics. Because of
this, SWMR will not work on network file systems (e.g., NFS, SMB/Windows
file shares), since those systems do not guarantee write odering. SWMR
regression tests are likely to fail if run on a network file system. SWMR
is currently not tested on Windows though it can be tested manually
(some of the SWMR test programs are built by CMake) and there are no
obvious reasons for it to not work on NTFS or GPFS.
(EIP - 2016/03/20 - HDFFV-9733)
- VDS feature
Currently, the path to a VDS source file is interpreted as relative to the
directory where the executable program runs and not to the HDF5 file with
the VDS dataset unless a full path to the source file is specified during
the mapping.
(EIP - 2016/03/20 - HDFFV-9724)
|