mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
2f44455b20
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
8 lines
254 B
Plaintext
8 lines
254 B
Plaintext
#############################
|
|
output for 'h5ls -w80 -r -d tloop.h5'
|
|
#############################
|
|
/g1 Group
|
|
/g1/g1.1 Group
|
|
/g1/g1.1/g2.1 Group, same as /g1
|
|
/g2 Group, same as /g1/g1.1
|