mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
a6dde20878
Purpose: New Feature; Optimization; Clean-up (Merged from 1.4 branch) Description: There is no symbolic constant to pass to functions that take an optional object ID for when the caller wants to indicate no object ID. In the past the caller always passed a negative integer. GPFS performs poorly. The h5ls tool decides whether to list the file name in the output based on a compile-time choice, which isn't always optimal at run time. Solution: Added a symbolic constant H5I_INVALID_HID. Added code to tell the mmfsd of GPFS to forego byte range token prefetching. h5ls decides whether to print the file name at runtime based on the number of objects being listed. Platforms tested: SuSE Linux (arborea), gcc and mpich-1.2.4 SunOS (baldric), gcc
14 lines
631 B
Plaintext
14 lines
631 B
Plaintext
#############################
|
|
output for 'h5ls -w80 -r -d tnestedcomp.h5'
|
|
#############################
|
|
/ArrayOfStructures Dataset {10}
|
|
Data:
|
|
(0) {0, 0, 1, {"A", [-100,100]}}, {1, 1, 0.5, {"B", [-100,100]}},
|
|
(2) {2, 4, 0.333333333333333, {"C", [-100,100]}},
|
|
(3) {3, 9, 0.25, {"D", [-100,100]}}, {4, 16, 0.2, {"E", [-100,100]}},
|
|
(5) {5, 25, 0.166666666666667, {"F", [-100,100]}},
|
|
(6) {6, 36, 0.142857142857143, {"G", [-100,100]}},
|
|
(7) {7, 49, 0.125, {"H", [-100,100]}},
|
|
(8) {8, 64, 0.111111111111111, {"I", [-100,100]}},
|
|
(9) {9, 81, 0.1, {"J", [-100,100]}}
|