hdf5/tools/testfiles/tcomp-1.ls
Robb Matzke e3d9e80eda [svn-r6182] ./hdf5-devel/tools/testfiles/tcomp-1.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
2002-12-04 10:44:12 -05:00

60 lines
2.8 KiB
Plaintext

#############################
output for 'h5ls -w80 -r -d tcompound.h5'
#############################
/dset1 Dataset {5}
Data:
(0) {0, 0, 1}, {1, 1, 0.5}, {2, 4, 0.333333333333333}, {3, 9, 0.25},
(4) {4, 16, 0.2}
/group1 Group
/group1/dset2 Dataset {5}
Data:
(0) {0, 0}, {1, 1.1}, {2, 2.2}, {3, 3.3}, {4, 4.4}
/group1/dset3 Dataset {3, 6}
Data:
(0,0) {[0,1,2,3], [1,2,3,4,5,6,2,3,4,5,6,7,3,4,5,6,7,8,4,5,6,7,8,9,5,6,
(0,0) 7,8,9,10]},
(0,1) {[1,2,3,4], [2,3,4,5,6,7,3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,
(0,1) 7,8,9,10,11]},
(0,2) {[2,3,4,5], [3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,
(0,2) 7,8,9,10,11,12]},
(0,3) {[3,4,5,6], [4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,
(0,3) 12,8,9,10,11,12,13]},
(0,4) {[4,5,6,7], [5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,
(0,4) 12,13,9,10,11,12,13,14]},
(0,5) {[5,6,7,8], [6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,9,10,
(0,5) 11,12,13,14,10,11,12,13,14,15]},
(1,0) {[1,2,3,4], [2,3,4,5,6,7,3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,
(1,0) 7,8,9,10,11]},
(1,1) {[2,3,4,5], [3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,
(1,1) 7,8,9,10,11,12]},
(1,2) {[3,4,5,6], [4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,
(1,2) 12,8,9,10,11,12,13]},
(1,3) {[4,5,6,7], [5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,
(1,3) 12,13,9,10,11,12,13,14]},
(1,4) {[5,6,7,8], [6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,9,10,
(1,4) 11,12,13,14,10,11,12,13,14,15]},
(1,5) {[6,7,8,9], [7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12,13,14,10,
(1,5) 11,12,13,14,15,11,12,13,14,15,16]},
(2,0) {[2,3,4,5], [3,4,5,6,7,8,4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,
(2,0) 7,8,9,10,11,12]},
(2,1) {[3,4,5,6], [4,5,6,7,8,9,5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,
(2,1) 12,8,9,10,11,12,13]},
(2,2) {[4,5,6,7], [5,6,7,8,9,10,6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,
(2,2) 12,13,9,10,11,12,13,14]},
(2,3) {[5,6,7,8], [6,7,8,9,10,11,7,8,9,10,11,12,8,9,10,11,12,13,9,10,
(2,3) 11,12,13,14,10,11,12,13,14,15]},
(2,4) {[6,7,8,9], [7,8,9,10,11,12,8,9,10,11,12,13,9,10,11,12,13,14,10,
(2,4) 11,12,13,14,15,11,12,13,14,15,16]},
(2,5) {[7,8,9,10], [8,9,10,11,12,13,9,10,11,12,13,14,10,11,12,13,14,15,
(2,5) 11,12,13,14,15,16,12,13,14,15,16,17]}
/group1/dset4 Dataset {5}
Data:
(0) {0, 3}, {1, 4}, {2, 5}, {3, 6}, {4, 7}
/group1/type3 Type
/group2 Group
/group2/dset5 Dataset {5}
Data:
(0) {0, 0}, {1, 0.1}, {2, 0.2}, {3, 0.3}, {4, 0.4}
/type1 Type
/type2 Type