From e5b584c280b8aee2fe7dc467283985e9907e4dad Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Wed, 4 Dec 2002 10:44:10 -0500 Subject: [svn-r6180] ./hdf5-devel/tools/testfiles/tall-2.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 --- tools/testfiles/tall-2.ls | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tools/testfiles/tall-2.ls b/tools/testfiles/tall-2.ls index 136ffbe..e1b0bcf 100644 --- a/tools/testfiles/tall-2.ls +++ b/tools/testfiles/tall-2.ls @@ -1,9 +1,9 @@ ############################# output for 'h5ls -w80 -r -d tall.h5' ############################# -/tall.h5/g1 Group -/tall.h5/g1/g1.1 Group -/tall.h5/g1/g1.1/dset1.1.1 Dataset {10, 10} +/g1 Group +/g1/g1.1 Group +/g1/g1.1/dset1.1.1 Dataset {10, 10} Data: (0,0) 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 2, (2,2) 4, 6, 8, 10, 12, 14, 16, 18, 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, @@ -11,17 +11,17 @@ (5,8) 40, 45, 0, 6, 12, 18, 24, 30, 36, 42, 48, 54, 0, 7, 14, 21, 28, (7,5) 35, 42, 49, 56, 63, 0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 0, 9, (9,2) 18, 27, 36, 45, 54, 63, 72, 81 -/tall.h5/g1/g1.1/dset1.1.2 Dataset {20} +/g1/g1.1/dset1.1.2 Dataset {20} Data: (0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 -/tall.h5/g1/g1.2 Group -/tall.h5/g1/g1.2/g1.2.1 Group -/tall.h5/g1/g1.2/g1.2.1/slink -> somevalue -/tall.h5/g2 Group -/tall.h5/g2/dset2.1 Dataset {10} +/g1/g1.2 Group +/g1/g1.2/g1.2.1 Group +/g1/g1.2/g1.2.1/slink -> somevalue +/g2 Group +/g2/dset2.1 Dataset {10} Data: (0) 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9 -/tall.h5/g2/dset2.2 Dataset {3, 5} +/g2/dset2.2 Dataset {3, 5} Data: (0,0) 0, 0.1, 0.2, 0.3, 0.4, 0, 0.2, 0.4, 0.6, 0.8, 0, 0.3, 0.6, 0.9, (2,4) 1.2 -- cgit v0.12