mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
e5b584c280
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
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
#############################
|
|
output for 'h5ls -w80 -r -d tall.h5'
|
|
#############################
|
|
/g1 Group
|
|
/g1/g1.1 Group
|
|
/g1/g1.1/dset1.1.1 Dataset {10, 10}
|
|
Data:
|
|
(0,0) 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 2,
|
|
(2,2) 4, 6, 8, 10, 12, 14, 16, 18, 0, 3, 6, 9, 12, 15, 18, 21, 24, 27,
|
|
(4,0) 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 0, 5, 10, 15, 20, 25, 30, 35,
|
|
(5,8) 40, 45, 0, 6, 12, 18, 24, 30, 36, 42, 48, 54, 0, 7, 14, 21, 28,
|
|
(7,5) 35, 42, 49, 56, 63, 0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 0, 9,
|
|
(9,2) 18, 27, 36, 45, 54, 63, 72, 81
|
|
/g1/g1.1/dset1.1.2 Dataset {20}
|
|
Data:
|
|
(0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
|
|
/g1/g1.2 Group
|
|
/g1/g1.2/g1.2.1 Group
|
|
/g1/g1.2/g1.2.1/slink -> somevalue
|
|
/g2 Group
|
|
/g2/dset2.1 Dataset {10}
|
|
Data:
|
|
(0) 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9
|
|
/g2/dset2.2 Dataset {3, 5}
|
|
Data:
|
|
(0,0) 0, 0.1, 0.2, 0.3, 0.4, 0, 0.2, 0.4, 0.6, 0.8, 0, 0.3, 0.6, 0.9,
|
|
(2,4) 1.2
|