[svn-r6190] ./hdf5-devel/tools/testfiles/tvldtypes1.ls

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
This commit is contained in:
Robb Matzke 2002-12-04 10:44:22 -05:00
parent 9e2fbb14c9
commit a5c9a1e9a7

View File

@ -1,13 +1,13 @@
#############################
output for 'h5ls -w80 -r -d tvldtypes1.h5'
#############################
/tvldtypes1.h5/Dataset1.0 Dataset {4}
/Dataset1.0 Dataset {4}
Data:
(0) (0), (10,11), (20,21,22), (30,31,32,33)
/tvldtypes1.h5/Dataset2.0 Dataset {4}
/Dataset2.0 Dataset {4}
Data:
(0) (0), (10,10.1), (20,20.1,20.2), (30,30.1,30.2,30.3)
/tvldtypes1.h5/Dataset3.0 Dataset {SCALAR}
/Dataset3.0 Dataset {SCALAR}
Data:
(0) (0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,
(0) 46,48,50,52,54,56,58,60,62,64,66,68,70,72)