From a5c9a1e9a7750375534998419ca160604cd2653f Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Wed, 4 Dec 2002 10:44:22 -0500 Subject: [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 --- tools/testfiles/tvldtypes1.ls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testfiles/tvldtypes1.ls b/tools/testfiles/tvldtypes1.ls index 255e1f9..cf1688e 100644 --- a/tools/testfiles/tvldtypes1.ls +++ b/tools/testfiles/tvldtypes1.ls @@ -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) -- cgit v0.12