mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
1cdb9cc6a5
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
18 lines
534 B
Plaintext
18 lines
534 B
Plaintext
#############################
|
|
output for 'h5ls -w80 -r -g tgroup.h5'
|
|
#############################
|
|
/ Group
|
|
/g1 Group
|
|
/g1/g1.1 Group
|
|
/g1/g1.2 Group
|
|
/g2 Group
|
|
/g2/g2.1 Group
|
|
/g2/g2.1/g2.1.1 Group
|
|
/g2/g2.1/g2.1.2 Group
|
|
/g2/g2.1/g2.1.3 Group
|
|
/g3 Group
|
|
/g3/g3.1 Group
|
|
/g3/g3.2 Group
|
|
/g3/g3.3 Group
|
|
/g3/g3.4 Group
|