Commit Graph

4453 Commits

Author SHA1 Message Date
Quincey Koziol
0c3c4a158a [svn-r6263] Purpose:
Update test

Description:
    Some of the performance improvements changed the errors that are reported
    for creating a duplicated dataset in a file, causing this test's hard-coded
    errors to check for to fail.

Solution:
    Updated error stack reported for dataset creation failure.

Platforms tested:
    FreeBSD 4.7 (sleipnir) w/threads
2003-01-10 08:17:03 -05:00
Quincey Koziol
98f01e2df2 [svn-r6255] Purpose:
Code cleanup

Description:
    Clean up a few more warnings and update dependencies.

Platforms tested:
    Linux 2.2.18smp (eirene) serial & parallel
2003-01-09 13:40:19 -05:00
Quincey Koziol
9a433b99a5 [svn-r6252] Purpose:
Lots of performance improvements & a couple new internal API interfaces.

Description:
    Performance Improvements:
        - Cached file offset & length sizes in shared file struct, to avoid
            constantly looking them up in the FCPL.
        - Generic property improvements:
            - Added "revision" number to generic property classes to speed
                up comparisons.
            - Changed method of storing properties from using a hash-table
                to the TBBT routines in the library.
            - Share the propery names between classes and the lists derived
                from them.
            - Removed redundant 'def_value' buffer from each property.
            - Switching code to use a "copy on write" strategy for
                properties in each list, where the properties in each list
                are shared with the properties in the class, until a
                property's value is changed in a list.
        - Fixed error in layout code which was allocating too many buffers.
        - Redefined public macros of the form (H5open()/H5check, <variable>)
            internally to only be (<variable>), avoiding innumerable useless
            calls to H5open() and H5check_version().
        - Reuse already zeroed buffers in H5F_contig_fill instead of
            constantly re-zeroing them.
        - Don't write fill values if writing entire dataset.
        - Use gettimeofday() system call instead of time() system when
            checking the modification time of a dataset.
        - Added reference counted string API and use it for tracking the
            names of objects opening in a file (for the ID->name code).
        - Removed redundant H5P_get() calls in B-tree routines.
        - Redefine H5T datatype macros internally to the library, to avoid
            calling H5check redundantly.
        - Keep dataspace information for dataset locally instead of reading
            from disk each time.  Added new module to track open objects
            in a file, to allow this (which will be useful eventually for
            some FPH5 metadata caching issues).
        - Remove H5AC_find macro which was inlining metadata cache lookups,
            and call function instead.
        - Remove redundant memset() calls from H5G_namei() routine.
        - Remove redundant checking of object type when locating objects
            in metadata cache and rely on the address only.
        - Create default dataset object to use when default dataset creation
            property list is used to create datasets, bypassing querying
            for all the property list values.
        - Use default I/O vector size when performing raw data with the
            default dataset transfer property list, instead of querying for
            I/O vector size.
        - Remove H5P_DEFAULT internally to the library, replacing it with
            more specific default property list based on the type of
            property list needed.
        - Remove redundant memset() calls in object header message (H5O*)
            routines.
        - Remove redunant memset() calls in data I/O routines.
        - Split free-list allocation routines into malloc() and calloc()-
            like routines, instead of one combined routine.
        - Remove lots of indirection in H5O*() routines.
        - Simplify metadata cache entry comparison routine (used when
            flushing entire cache out).
        - Only enable metadata cache statistics when H5AC_DEBUG is turned
            on, instead of always tracking them.
        - Simplify address comparison macro (H5F_addr_eq).
        - Remove redundant metadata cache entry protections during dataset
            creation by protecting the object header once and making all
            the modifications necessary for the dataset creation before
            unprotecting it.
        - Reduce # of "number of element in extent" computations performed
            by computing and storing the value during dataspace creation.
        - Simplify checking for group location's file information, when file
            has not been involving in file-mounting operations.
        - Use binary encoding for modification time, instead of ASCII.
        - Hoist H5HL_peek calls (to get information in a local heap)
            out of loops in many group routine.
        - Use static variable for iterators of selections, instead of
            dynamically allocation them each time.
        - Lookup & insert new entries in one step, avoiding traversing
            group's B-tree twice.
        - Fixed memory leak in H5Gget_objname_idx() routine (tangential to
            performance improvements, but fixed along the way).
        - Use free-list for reference counted strings.
        - Don't bother copying object names into cached group entries,
            since they are re-created when an object is opened.

        The benchmark I used to measure these results created several thousand
        small (2K) datasets in a file and wrote out the data for them.  This is
        Elena's "regular.c" benchmark.

        These changes resulted in approximately ~4.3x speedup of the
        development branch when compared to the previous code in the
        development branch and ~1.4x speedup compared to the release
        branch.

        Additionally, these changes reduce the total memory used (code and
        data) by the development branch by ~800KB, bringing the development
        branch back into the same ballpark as the release branch.

        I'll send out a more detailed description of the benchmark results
        as a followup note.

    New internal API routines:
        Added "reference counted strings" API for tracking strings that get
            used by multiple owners without duplicating the strings.
        Added "ternary search tree" API for text->object mappings.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    Other platforms/configurations tested?
        FreeBSD 4.7 (sleipnir) serial & parallel
        Solaris 2.6 (baldric) serial
2003-01-09 12:20:03 -05:00
Binh-Minh Ribler
7fd449cb79 [svn-r6236] Purpose: Copyright
Description:
    Added copyright notice to C++ API files, including *.h, *.cpp, and
    Makefile.in

Platforms:
    Linux 6.2 (eirene)
2003-01-06 23:22:12 -05:00
Binh-Minh Ribler
f3ca60385f [svn-r6235] Purpose: Copyright
Description:
    Added copyright notice to C++ API files, including *.h, *.cpp, and
    Makefile.in
Platforms:
    Linux 6.2 (eirene)
2003-01-06 23:18:46 -05:00
Albert Cheng
5433de9dfc [svn-r6234] Updated with the new MPE feature. 2003-01-04 10:33:30 -05:00
Albert Cheng
22c46e25b1 [svn-r6233] Purpose:
Updated with the newly added file, H5MPprivate.h.
2003-01-03 14:38:29 -05:00
Albert Cheng
bd54330abf [svn-r6232] Purpose:
new feature
Description:
    Added MPICH/MPE instrumentation support.
    All source code are bracketed by the macro H5_HAVE_MPE.
    Use "--enable-mpe" to configure it in.
    Currently only worked in Eirene because the MPE library is
    not installed in all machines yet.
    The added file, H5MPprivate.h, holds HDF5/MPE related defintions.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? Yep.
    Other platforms/configurations tested?
	--enable-mpe feature tested in Eirene.
2003-01-03 14:37:48 -05:00
Albert Cheng
8bd4ac2b38 [svn-r6231] Purpose:
new feature
Description:
    Added MPICH/MPE instrumentation support.
    All source code are bracketed by the macro H5_HAVE_MPE.
    Use "--enable-mpe" to configure it in.
    Currently only worked in Eirene because the MPE library is
    not installed in all machines yet.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? Yep.
    Other platforms/configurations tested?
	--enable-mpe feature tested in Eirene.
2003-01-03 14:37:10 -05:00
Albert Cheng
3494014c72 [svn-r6229] Purpose:
Minor fix
Description:
    By mistake, the MPI_Error handling macros were inserted outside the
    overall macro bracket.  Moved them back inside the bracket.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?  Yep.
2003-01-03 13:25:16 -05:00
Albert Cheng
a4f5705d1c [svn-r6228] Description:
When I removed the option (--enable-parallel=mpich), which did not work,
    I failed to run autoheader to update this file.  I am checking in the
    updated version now.
Platforms tested:
    No need to test since it just removed a #undefine and comments.
2003-01-03 10:00:34 -05:00
Albert Cheng
7fb720becf [svn-r6225] Purpose:
Bug fix
Description:
    SGI shell treats $0 as function name if used in a function.
    Set the name here to avoid that ambiguity and better style too.
Platforms tested:
    Just in modi4 and burrwhite since it is a shell script and the
    change is machine independent.
2003-01-02 15:48:33 -05:00
Binh-Minh Ribler
ca003aafc4 [svn-r6223] Purpose:
Bug fix - informed by Kent

Description:
    Some identifiers were flagged as unresolved symbols when building
    with c++ on Windows.  The reason is the name of these identifiers
    were changed by the c++ compiler, also called name mangling.

Solution:
    Moved
        #ifdef __cplusplus
        extern "C" {
        #endif
    to include the offending identifiers so the c++ compiler will take
    them as is.

Platforms:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    Windows 2000
2002-12-21 22:30:19 -05:00
HDF Admin
221db7cc32 [svn-r6221] Snapshot version 1.5 release 44 2002-12-21 04:27:49 -05:00
Bill Wendling
d8198f2f83 [svn-r6220] Purpose:
Update
Description:
    A few generic changes to the FPHDF5 code. Some error messages
    reworked a bit. Cleaning up in case of failure improved in some
    cases. Added another field to the synchronization messages...
Platforms tested:
    Linux
2002-12-19 16:48:07 -05:00
Bill Wendling
ac3d122def [svn-r6219] Purpose:
Update
Description:
    Removed the EFL field from the FPHDF5 structure as the property list
    already has this info.
Platforms tested:
    Linux
2002-12-19 16:43:22 -05:00
Bill Wendling
a695575387 [svn-r6218] Purpose:
Bug Fix
Description:
    Was encoding a value as DTYPE instead of MTIME, which would cause a
    couple of errors. Also, got rid of the EFL field as it's encoded in
    the PLIST already...
Platforms tested:
    Linux...Modest test, FPHDF5 not fully implemented just yet.
2002-12-19 16:42:32 -05:00
Elena Pourmal
5977b667aa [svn-r6217]
Purpose:
    Bug fix
Description:
    man pages for the following F90 functions were missing:
    h5tget_super_f h5tarray_create_f h5tget_array_ndims_f
    h5tget_array_dims_f
Solution:
    Added missing man pages
Platforms tested:
    IE
2002-12-19 14:35:21 -05:00
Albert Cheng
9174121b6b [svn-r6215] Added Files:
fortran/config/powerpc-ibm-aix5.x
       To cover AIX 5.x.
Removed Files:
    fortran/config/powerpc-ibm-aix4.2.1.0
    fortran/config/powerpc-ibm-aix4.3.2.0
    These files are outdated and have been replaced by powerpc-ibm-aix4.x.
Modified Files:
    MANIFEST
    Update it.
Platforms tested:
    Only on LLNL blue.  LLNL SP are the only machines that use
    these files and that I have access.
2002-12-18 18:03:05 -05:00
Raymond Lu
b53b6e5668 [svn-r6213]
Purpose:
    bug fix
Description:
    some arrays were too big, running out of memory limit for some machines.
Solution:
    change to dynamic memory allocation.
Platforms tested:
    arabica, sleipnir
2002-12-16 17:49:12 -05:00
Frank Baker
53886f93a6 [svn-r6210]
Purpose:
    Adding H5Gmove2 and H5Glink2.
Description:
    Added H5Gmove2 and H5Glink2.
    Renamed H5Gmove parameters for consistency.
Platforms tested:
    IE 5
2002-12-16 16:45:09 -05:00
Frank Baker
a30c07c9cf [svn-r6209]
Purpose:
    Adding new H5Fget_obj_* functions.  (Development branch only)
Description:
    Added H5Fget_obj_count.
    Stubbed in H5Fget_obj_ids, but the entry is not filled in.
    Reordered entries to group similar functions.
Platforms tested:
    IE 5
2002-12-16 14:18:43 -05:00
Raymond Lu
fe49d0bc4f [svn-r6208]
Misc. update:
    Update an error assertion improvement for nil VL string.
2002-12-16 11:39:11 -05:00
Raymond Lu
70862d68a1 [svn-r6207]
Purpose:
    Add more test
Description:
    More tests on nil and zero-sized VL strings.
Platforms tested:
    arabica, eirene
2002-12-16 11:34:27 -05:00
Raymond Lu
69195e41a9 [svn-r6206]
Purpose:
    Improve error handling
Description:
    make error handling better for VL string null pointer.
Platform tested:
    arabica
2002-12-13 16:17:46 -05:00
MuQun Yang
6aa87a74e1 [svn-r6205]
Purpose:
update windows project file
Description:
Solution:
Platforms tested:
windows 2000(not affect other platforms)
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-12-13 13:28:00 -05:00
MuQun Yang
c260faee11 [svn-r6204]
Purpose:
     bug fix
Description:
Need to use HDopen, HDread for windows support.
off_t in windows is 32-bit; however, windows can support 64-bit file. So we
have to change off_t to int64 in order that >4G file can be supported.
Solution:
See above
Platforms tested:
linux2.2.18smp, windows 2000
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-12-13 11:44:57 -05:00
MuQun Yang
764a09dddf [svn-r6203]
Purpose:
bug fixed for windows
Description:
windows fopen functions by default opens a text mode file. It will fail for HDF5 file.
So to use HDopen HDread HDclose for test.
Solution:
Change from fopen, fread, fclose to HDopen, HDread, HDclose.
Platforms tested:
linux2.2.18smp, windows 2000
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-12-13 11:29:01 -05:00
MuQun Yang
1c0e435421 [svn-r6202]
Purpose:
Fix bugs for windows platform.
Description:
1. Update HDlseek for windows
2. Update H5Otime.c for normal time(non-daylight time)
3. Add H5_DLL in front of two functions so that windows DLL can work.
Solution:
Platforms tested:
windows 2000, eirene(since most updates have WIN32 around it, not need to test other platforms)
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-12-13 11:25:51 -05:00
Raymond Lu
ae1e58baea [svn-r6201]
Purpose:
    Bug fix(kinda)
Description:
    Windows handle "fopen, fseek, fread, fclose" C functions slightly different.
Solution:
    change to HDopen, HDlseek, HDread, HDclose to cover both Unix and Windows.
Platforms tested:
    arabica
2002-12-12 17:44:56 -05:00
Raymond Lu
0e1f75306a [svn-r6199]
Purpose:
    error-detection improvement
Description:
    verify string parameter in function H5T_vlen_str_mem_getlen isn't nil.
2002-12-12 14:44:53 -05:00
Raymond Lu
6a09c9086b [svn-r6196]
Purpose:
    more tests.
Description:
    a few more test cases.
Platforms tested:
    modi4, eirene, arabica
2002-12-11 11:19:52 -05:00
Raymond Lu
dcd54d7624 [svn-r6195]
Purpose:
    Cleanup H5Tget_native_type code
Description:
    improve code cosmetics.
Solution:
Platforms tested:
    modi4, eirene, arabica
2002-12-11 11:19:14 -05:00
HDF Admin
f7d295517e [svn-r6193] Snapshot version 1.5 release 43 2002-12-07 08:44:24 -05:00
Robb Matzke
5760cd2c9a [svn-r6191] ./hdf5-devel/bin/trace
Purpose:
    Missed a file
Description:
    Missed the `trace' changes.
Solution:
    Committing again
Platforms tested:
    None
2002-12-04 11:06:13 -05:00
Robb Matzke
a5c9a1e9a7 [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
2002-12-04 10:44:22 -05:00
Robb Matzke
9e2fbb14c9 [svn-r6189] ./hdf5-devel/tools/testfiles/tstr-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:20 -05:00
Robb Matzke
aa0f452d82 [svn-r6188] ./hdf5-devel/tools/testfiles/tslink-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:19 -05:00
Robb Matzke
4d5c39f720 [svn-r6187] ./hdf5-devel/tools/testfiles/tsaf.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:17 -05:00
Robb Matzke
a6dde20878 [svn-r6186] ./hdf5-devel/tools/testfiles/tnestcomp-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:16 -05:00
Robb Matzke
2f44455b20 [svn-r6185] ./hdf5-devel/tools/testfiles/tloop-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:15 -05:00
Robb Matzke
1cdb9cc6a5 [svn-r6184] ./hdf5-devel/tools/testfiles/tgroup-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:14 -05:00
Robb Matzke
6dcad708d9 [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
2002-12-04 10:44:13 -05:00
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
Robb Matzke
b4d21fbbba [svn-r6181] ./hdf5-devel/tools/testfiles/tarray1.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:11 -05:00
Robb Matzke
e5b584c280 [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
2002-12-04 10:44:10 -05:00
Robb Matzke
76f7bb10ac [svn-r6179] ./hdf5-devel/tools/h5ls/h5ls.c
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-03 23:00:35 Robb Matzke  <matzke@arborea.spizella.com>
	* main: Replaced the H5LS_PREPEND_FILENAME compile-time symbol which was
	   always defined, with a runtime decision. If h5ls is
	   invoked with more than one argument then the file name
	   is displayed as part of the object name, otherwise the
	   file name is not displayed.
2002-12-04 10:44:07 -05:00
Robb Matzke
b081991663 [svn-r6178] ./hdf5-devel/src/H5Epublic.h
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-03 22:51:43 Robb Matzke  <matzke@arborea.spizella.com>
	*: Added H5E_FCNTL minor error number.
2002-12-04 10:44:05 -05:00
Robb Matzke
e9f828ecfb [svn-r6177] ./hdf5-devel/src/H5E.c
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-03 22:50:23 Robb Matzke  <matzke@arborea.spizella.com>
	*: Added H5E_FCNTL minor error number.
2002-12-04 10:44:03 -05:00
Robb Matzke
dc7de8f715 [svn-r6176] ./hdf5-devel/src/H5.c
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-03 23:23:45 Robb Matzke  <matzke@arborea.spizella.com>
	* H5_trace: Added printing for H5S_sel_type, code "St".

2002-12-03 22:45:11 Robb Matzke  <matzke@arborea.spizella.com>
	*: Removed a little white space. Other changes are probably due to
	   additional API tracing statements inserted
	   automatically.
2002-12-04 10:44:01 -05:00