mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-03 02:32:04 +08:00
b4d21fbbba
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
7 lines
215 B
Plaintext
7 lines
215 B
Plaintext
#############################
|
|
output for 'h5ls -w80 -r -d tarray1.h5'
|
|
#############################
|
|
/Dataset1 Dataset {4}
|
|
Data:
|
|
(0) [0,1,2,3], [10,11,12,13], [20,21,22,23], [30,31,32,33]
|