From 6dcad708d959af9ceeeeb30982d68f81e0a7a071 Mon Sep 17 00:00:00 2001 From: Robb Matzke Date: Wed, 4 Dec 2002 10:44:13 -0500 Subject: [PATCH] [svn-r6183] ./hdf5-devel/tools/testfiles/tdset-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 --- tools/testfiles/tdset-1.ls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testfiles/tdset-1.ls b/tools/testfiles/tdset-1.ls index cb4e7b11f7..68534298c3 100644 --- a/tools/testfiles/tdset-1.ls +++ b/tools/testfiles/tdset-1.ls @@ -1,7 +1,7 @@ ############################# output for 'h5ls -w80 -r -d tdset.h5' ############################# -/tdset.h5/dset1 Dataset {10, 20} +/dset1 Dataset {10, 20} Data: (0,0) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, (0,19) 19, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, @@ -15,7 +15,7 @@ (7,19) 26, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, (8,16) 24, 25, 26, 27, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, (9,12) 21, 22, 23, 24, 25, 26, 27, 28 -/tdset.h5/dset2 Dataset {30, 20} +/dset2 Dataset {30, 20} Data: (0,0) 0, 0.0001, 0.0002, 0.0003, 0.0004, 0.0005, 0.0006, 0.0007, 0.0008, (0,9) 0.0009, 0.001, 0.0011, 0.0012, 0.0013, 0.0014, 0.0015, 0.0016,