Commit Graph

774 Commits

Author SHA1 Message Date
Quincey Koziol
e0824c482e [svn-r6863] Purpose:
Bug fix

Description:
    A few groups were left open after they were used.

Solution:
    Closed them. :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-05-13 14:48:30 -05:00
Bill Wendling
8bac19a89f [svn-r6858] Purpose:
Bug Fix

Description:
    Some compilers aren't happy if you specify the same library multiple
    times when linking. This caused HDF5 Lite to crash during tests on
    Kelgia

Solution:
    Modified the script so that the shared libraries are specified only
    once for the commandline.

Platforms tested:
    Kelgia (small fix).

Misc. update:
2003-05-13 11:54:44 -05:00
Bill Wendling
8751379484 [svn-r6856] Purpose:
Bug Fix

Description:
    When doing a "configure" using the h5cc script as the compiler, it
    would fail to accept the "-E" flag as running the preprocessor. The
    problem was that it was trying to link the file afterwards. Of
    course, the file wouldn't be there, so it would fail.

Solution:
    Changed it so that if the -E flag is used, then we don't try to link
    (this is how it's done in mpicc...I must have copied it wrongly).

Platforms tested:
    Linux & Kelgia (small change not needing full testing)

Misc. update:
2003-05-13 10:52:13 -05:00
Pedro Vicente Nunes
a23049f488 [svn-r6849] Purpose:
changed algorythm

Description:
changed the array_diff function to increment the read buffer with a size selected
by an appropriate native data type.
previously it was assumed, e.g. int size = 4 bytes

Solution:

Platforms tested:

Linux 2.4 (rockaway)
SunOS 5.7 (arabica, 64bit mode)
IRIX 6.5 (modi4)


Misc. update:
2003-05-12 12:10:27 -05:00
Albert Cheng
3a832338c1 [svn-r6846] Purpose:
Bug fix

Description:
The tests would just segmentation fault in Tflops because the
compiled code were launched without using the $RUNSERIAL to launch
them.  This may fail in some batch systems like Tflops.

Solution:
Used $RUNSERIAL to launch the compiled code.
Also fixed a typo of the script command line.

Platforms tested:
Only tested in Tflops since the modified code resided there.

Misc. update:
2003-05-12 10:56:49 -05:00
Pedro Vicente Nunes
f2c1d0e162 [svn-r6844] Purpose:
bug fix

Description:
datasets with different storage datatypes where not read to memory to same size types

Solution:
obtain the memory type and size, for the TWO datasets ,
with the "fixtype" function
"upgrade" the smaller size to the larger if they are different
added H5DIFF_DEBUG flag for print information

Platforms tested:
Linux 2.4 (rockaway)
SunOS 5.7 (arabica, 64bit mode)
IRIX 6.5 (modi4)



Misc. update:
2003-05-10 14:38:57 -05:00
Pedro Vicente Nunes
401c1bc318 [svn-r6827] Purpose:
added new test files for h5diff
bug fix

Description:
the criteria for determining the correct switch case cast to void* to type* was the data size read from disk.
this was causing problems on Cray T3E, where all integer except char are 8 bytes long

Solution:
changed the criteria for using the memory size instead, which is determined by the same function
that reads the data into memory

the messages " using memory NATIVE_TYPE_X" were  removed, because they might not coincid on different
platforms.

Platforms tested:
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
2003-05-07 17:28:09 -05:00
Quincey Koziol
43e3b45021 [svn-r6825] Purpose:
New feature/enhancement

Description:
    Chunked datasets are handled poorly in several circumstances involving
certain selections and chunks that are too large for the chunk cache and/or
chunks with filters, causing the chunk to be read from disk multiple times.

Solution:
    Rearrange raw data I/O infrastructure to handle chunked datasets in a much
more friendly way by creating a selection in memory and on disk for each chunk
in a chunked dataset and performing all of the I/O on that chunk at one time.

    There are still some scalability (the current code attempts to
create a selection for all the chunks in the dataset, instead of just the
chunks that are accessed, requiring portions of the istore.c and fillval.c
tests to be commented out) and performance issues, but checking this in will
allow the changes to be tested by a much wider audience while I address the
remaining issues.


Platforms tested:
    h5committested, FreeBSD 4.8 (sleipnir) serial & parallel, Linux 2.4 (eirene)
2003-05-07 16:52:24 -05:00
Pedro Vicente Nunes
65f6af7110 [svn-r6802] Purpose:
removed this test file. it was the -l option test

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-05 22:32:27 -05:00
Pedro Vicente Nunes
180b83bbbe [svn-r6801] Purpose:
h5diff update

Description:
removed the -l , list, option
this feature will be part of a different tool

Solution:

Platforms tested:
Windows 2000 (octopus)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)




Misc. update:
2003-05-05 22:29:39 -05:00
Pedro Vicente Nunes
b0880f9331 [svn-r6789] Purpose:
new feature

Description:
during the sequencial match list, by default the differences between matched datasets were printed.
added an -m option that allows to turn this off, just printing the file differences

Solution:

Platforms tested:
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)



Misc. update:
2003-05-01 14:57:56 -05:00
Bill Wendling
c3748e1b0b [svn-r6788] Purpose:
Update

Description:
    Fixed description. Should be 1-byte instead of 1-bytes

Platforms tested:
    Linux (Small change, no need for full checking)

Misc. update:
2003-04-30 17:44:31 -05:00
Bill Wendling
d5ccf919e4 [svn-r6787] Purpose:
Update

Description:
    Fixed description. Should be 1-byte instead of 1-bytes

Platforms tested:
    Linux

Misc. update:
2003-04-30 17:44:20 -05:00
Bill Wendling
a306b38d67 [svn-r6785] Purpose:
Feature Add

Description:
    It's now possible to print out characters as actual characters
    instead of their decimal equivalent numbers. It's the same thing that
    h5ls does. The flag to do this is "--string" or "-r".

Platforms tested:
    Verbena (Fortran & C++)
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)

Misc. update:
2003-04-30 17:37:06 -05:00
Albert Cheng
d67139f909 [svn-r6783] Purpose:
Bug fix

Description:
"$@" was used to represent all argument provided.  This has the
unfortunate effect as one argument of "" when actually no argument
was given.  Some machines throw the "" away but some like Tflops
and Alpha Q, retains them as a single argument of "".  This caused
the no filename given test to fail.

Solution:
Replaced "$@" with a plain $@.

Platforms tested:
h5committested

Misc. update:
2003-04-30 02:26:58 -05:00
Pedro Vicente Nunes
c37bcc12fc [svn-r6771] Purpose:
added more tests, described in the test matrix

Description:
test -r
test -l
expanded -d, -p and -n tests
test different types to include links and named types
test for non supported classes, e.g bitfield, opaque , etc

Platforms tested:
 Linux 2.4 (rockaway)
 SunOS 5.7 (arabica)
 IRIX 6.5 (modi4)

Misc. update:
2003-04-28 18:56:32 -05:00
Albert Cheng
4f923a56ca [svn-r6736] Purpose:
update

Description:
Added h5fc to the h5tools list.
Added feature that it will udpate tools that are present.
(Would still abort if no tools found at all.)

Platforms tested:
Did not h5committest since it does not test this tool at all.
Did various test in eirene by hand.

Misc. update:
2003-04-23 00:59:21 -05:00
Pedro Vicente Nunes
a0acc67bdb [svn-r6701] Purpose:
added the testfiles below

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-17 15:54:57 -05:00
Pedro Vicente Nunes
4147628137 [svn-r6700] Purpose:
added tests 1.7, 1.8, 1.9 described in the test matrix

Description:

Solution:

Platforms tested:

Linux/rockaway(C)
SunOS/arabica (C)
SGI/modi4 (C)


Misc. update:
2003-04-17 15:53:06 -05:00
Pedro Vicente Nunes
1f7002f469 [svn-r6695] Purpose:
test files
2003-04-17 11:52:33 -05:00
Pedro Vicente Nunes
3bff6431c7 [svn-r6694] Purpose:
added some niceties and utilities, and more tests

Description:
some niceties: more error messages on cases of bad input
utilities: some functions to more human readable output
more tests: described in the test matrix


Platforms tested:

Linux/rockaway(C)
SunOS/arabica (C)
SGI/modi4 (C)
2003-04-17 11:50:56 -05:00
Pedro Vicente Nunes
b7df7a09d2 [svn-r6627] Purpose:
added new files for tests , according to test matrix


Description:

Solution:

Platforms tested:


Misc. update:
2003-04-09 22:17:24 -05:00
Pedro Vicente Nunes
2596820e38 [svn-r6626] Purpose:
added new tests
removed compiler warnings from unix platforms
changed usage message

Description:

Solution:

Platforms tested:
w2000, linux, arabica, modi4

Misc. update:
2003-04-09 22:16:17 -05:00
Bill Wendling
bb0df72af6 [svn-r6621] Purpose:
Update

Description:
    Updated the copyright statements that I forgot...

Platforms tested:
    Modi4 (Fortran & Parallel)
    Arabica (Fortran)
    Burrwhite (Fortran & C++)

Misc. update:
2003-04-09 19:34:15 -05:00
Elena Pourmal
79890b5022 [svn-r6618]
Purpose: Bug fix

Description: On HP11.00 and True64 systems strtoll function that is used
             to read text to long integers is not available. Compilation
             fails for h5import.c

Solution: Replace strtoll with HDstrtoll. HDstrtoll is a private HDF5 function
          defined in H5private.h file, but this include file was already used
          by h5import for some other reasons. It would be probably better
          to choose strtol or strtoll functions at the configuration
          time, but HDstrtoll provided really simple solution for now.

Platforms tested: arabica (to test that where it was working, it is still working),
                  kelgia (HP11.00) and PSC True64 machine.

Misc. update:
2003-04-09 17:15:15 -05:00
Quincey Koziol
dcf796501e [svn-r6603] Purpose:
Code cleanup

Description:
    Update dependencies.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 20:48:53 -05:00
Pedro Vicente Nunes
7e723792ba [svn-r6599] Purpose:
code warrior port

Description:
replaced strdup with HDstrdup  for CW portability

Solution:

Platforms tested:
w2000(CW , MS)
linux
arabica
modi4

Misc. update:
2003-04-08 15:27:27 -05:00
Quincey Koziol
5d20142327 [svn-r6596] Purpose:
Code cleanup/bug fix

Description:
    Clean up files created during testing.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Linux 2.4 (eirene)

Misc. update:
2003-04-08 14:50:17 -05:00
Albert Cheng
cc2855c56e [svn-r6591] Purpose:
Bug fixes

Description:
There is a typo in each of the expected output files. Corrected them.

Platforms tested:
h5committested.

Misc. update:
2003-04-06 12:43:27 -05:00
Elena Pourmal
3de935af7b [svn-r6589]
Purpose: Bug fix

Description: h5import tests will fail if srcdir option
             is used with configure.

Solution: Modified h5importtest.c h5importtestutil.sh files
          to search for input files in the proper directory and
          to write output files to the proper directory.

Platforms tested: Tested on burrwhite, arabica, and modi4.
                  Unfortunately srcdir option was used only on
                  arabica, since I am having a weird 'timezone'
                  problem on all Linux machines when srcdir is used, and
                  on modi4 build has to be done in the same directory (at
                  least this is a message I am getting from configure;
                  should it work?)

Misc. update:
2003-04-05 12:34:31 -05:00
Pedro Vicente Nunes
3bd39f60e0 [svn-r6588] Purpose:
added more tests to automatic testing

Description:
added test for an invalid option letter
added test for -h option
added test for an invalid option -d
added test for an invalid option -d number

Solution:

Platforms tested:
linux, solaris, sgi

Misc. update:
2003-04-04 14:42:26 -05:00
Pedro Vicente Nunes
d6f94bf8bd [svn-r6587] Purpose:
typo in usage message

Description:

Solution:

Platforms tested:
linux
Misc. update:
2003-04-04 13:54:37 -05:00
Elena Pourmal
78c2c38d98 [svn-r6584]
Purpose: Maintenance

Description:  There was an old h5import (h5import.c) tool in the misc directory.
              The tool created 8-bit integer datasets , it was never tested and/or
              supported.
Solution:     We decided to rename old h5import.c to h5createU8.c. The new name reflects what
              actually old tool does. New executable h5createU8 is built in the misc directory.
              h5import.c file (old one) is still in the misc directory, but h5import executable
              is not built. (Sorry if I confused you!)

Platforms tested: vebena, arabica, modi4 were tested

Misc. update:
2003-04-03 15:10:25 -05:00
Elena Pourmal
1d76391f63 [svn-r6583]
Purpose: New tool

Description: Pankaj created h5import tool long time ago. I am finally checking
             the source code in for the 1.6 release.
             Known problems: h5import test will crash if srcdir option
                             is used; will be fixed before the release.

Solution:

Platforms tested: vebena, arabica, modi4 were tested. h5import tests passed
                  I also tested on arabica with srcdir option to make sure that
                  there is a problem when srcdir is used. After that I disabled
                  h5import tests. Daily tests will build h5import, but will not run
                  h5import tests.

Misc. update:
2003-04-03 15:00:42 -05:00
Quincey Koziol
a3a391d457 [svn-r6576] Purpose:
Cleanup

Description:
    Update dependencies.

Solution:

Platforms tested:
    Linux 2.4 (eirene)

Misc. update:
2003-04-03 08:46:11 -05:00
Pedro Vicente Nunes
febe7d0bd9 [svn-r6563] Purpose:
added test script for h5diff
code cleaning for alpha release
makefile now generates the h5difftst.c program that generates 2 .h5 files for testing

Description:
the .sh script runs several runs of h5diff and compares the output
with a predifined output located in /tools/testfiles (.txt files)
righ now it has only one test


Solution:

Platforms tested:
linux (other platforms later , ok !? )

Misc. update:
2003-04-02 13:44:12 -05:00
Bill Wendling
b8843dde4f [svn-r6545] Purpose:
Update

Description:
    Updated copyright

Platforms tested:
    LInux (Comment change only)

Misc. update:
2003-03-31 13:12:46 -05:00
Bill Wendling
eb018ba036 [svn-r6544] Purpose:
Update

Description:
    Update copyright statement

Platforms tested:
    Linux (Comment change only)

Misc. update:
2003-03-31 13:10:51 -05:00
Bill Wendling
bd16546ad0 [svn-r6543] Purpose:
Update

Description:
    Updated copyright statement

Platforms tested:
    Linux (only comment change)

Misc. update:
2003-03-31 13:08:23 -05:00
Bill Wendling
9b08ade742 [svn-r6542] Purpose:
Update

Description:
    Updated copyright statement

Platforms tested:
    None needed

Misc. update:
2003-03-31 13:07:01 -05:00
Bill Wendling
48eb3267ca [svn-r6541] Purpose:
Update

Description:
    Updated Copyright statements

Platforms tested:
    None needed...

Misc. update:
2003-03-31 13:06:44 -05:00
Bill Wendling
a003adc409 [svn-r6540] Purpose:
Update

Description:
    Updated copyright statement

Platforms tested:
    Linux (Only change in comments...checked if compiles)

Misc. update:
2003-03-31 13:04:52 -05:00
Pedro Vicente Nunes
5d51e5adeb [svn-r6526] Purpose:
update

Description:
clean code , removed empty spaces, tested on solaris

Solution:

Platforms tested:
w2000, linux, solaris

Misc. update:
2003-03-27 13:03:00 -05:00
Pedro Vicente Nunes
37cefed10e [svn-r6521] Purpose:
update

Description:
added the new cosequential match algorythm
added extra checking of bad input values

Platforms tested:

w2000, linux



Misc. update:
2003-03-26 09:23:48 -05:00
Quincey Koziol
06ee92414d [svn-r6519] Purpose:
Bug fix/code cleanup/new feature

Description:
    Fix h5debug to work correctly again, with all the changes over the past
    few months.

    Improved and cleaned up debugging output available in h5debug.

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-03-22 09:53:27 -05:00
Pedro Vicente Nunes
140ad8b106 [svn-r6469] Purpose:
h5diff bug fix, enhancements
Description:
    the case for 8 byte integers was not handled
    added more checking of wrong input data
Solution:
    added the size 8 integer case
Platforms tested:
    w2000, linux, solaris (64 mode)
2003-03-06 12:09:41 -05:00
Pedro Vicente Nunes
7abadfa871 [svn-r6466] Purpose:
bug fix
Description:
   some data not read correctly due to type_id used in read
Solution:
    did a function that determines the optimal memory type
Platforms tested:
    w2000, linux, solaris
2003-03-05 20:26:25 -05:00
Pedro Vicente Nunes
85c4030da8 [svn-r6465] Purpose:
bug fixes in h5diff
Description:
    there was a incorrect reading of arguments when only 1 object name was supplied
    reading of data was done using type_id got from disk, causing some values not read correctly into memory
Solution:
    used native types to read into memory
Platforms tested:
    w2000, linux, solaris57
2003-03-05 19:46:47 -05:00
Pedro Vicente Nunes
f37f561094 [svn-r6462] Purpose:
h5diff enhancements

Description:

 changed -r to count the number of differences, but do not print them
 changed the output format with some printf enginnering, to align columns
 print the dimensions of dsets, in case they are different
 test files added test for non supported data (class not integer or float)
 fix print dimensions to 0 index


Platforms tested:
    w2000, linux, solaris
2003-03-05 14:11:27 -05:00
Albert Cheng
fe6d6071fa [svn-r6459] Purpose:
Minor purpose correction and updated Copyright notice to include 2003
Platforms tested:
    None tested.  All changes are comments.
2003-03-04 18:38:29 -05:00
Albert Cheng
b0bcccf0ee [svn-r6457] Purpose:
new feature
Description:
    Added a force mode (-force) which turns off prompting, just do it.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? no
    [If no, why not?] It is just a shell script.  Tested it in eirene.
Misc. update:
    Will check in the updated RELEASE and document files.
2003-03-04 18:06:13 -05:00
Pedro Vicente Nunes
478d199a62 [svn-r6441] Purpose:
h5diff bugs and enhancements
Description:

  added checking for not comparable datatypes
  added checking for the same dimensionality
  changed the functionality of -n option, to check up to n reported differences
  changed the formula for -p to relative error with absolute value
  fixed a bug on solaris, related to printf integer format (int datatype)

Platforms tested:
    w2000, linux, solaris
2003-02-27 14:51:44 -05:00
Pedro Vicente Nunes
7758b8182d [svn-r6429] Purpose:
removed -d , -g , -t and -v options and renamed -m to -d and -v to -l
    added output for objects that are not in one file but in the other
Platforms tested:
    windows, linux
2003-02-24 13:53:22 -05:00
Quincey Koziol
0475dd9a70 [svn-r6412] Purpose:
Code cleanup

Description:
    Update dependencies and clean up a few warnings.

Platforms tested:
    Linux 2.2 (eirene) w/parallel
2003-02-17 12:11:03 -05:00
Quincey Koziol
946c606452 [svn-r6411] Purpose:
Code cleanup

Description:
    Clean up miscellaneous warnings which have crept into the code.

    Fix "_POSIX_C_SOURCE not defined" warning on FreeBSD.

    Adjust gcc compiler flags to be more concise for production mode.

    Refactor the H5O code so that there is a stronger boundary between code
    in the H5O package and code in the library which just calls H5O routines.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir) serial & parallel and gcc 2.95.4 & gcc 3.2.2

Misc. update:
    Update MANIFEST if you add or remove any file.
2003-02-17 10:54:15 -05:00
Bill Wendling
0f125bf0fc [svn-r6404] Purpose:
Bug Fix (Bug #806)
Description:
    When compiling/installing with the command "make install" (without
    performing a "make" beforehand) the tools weren't being made. This
    was because the `install' command in the Makefiles only relied upon
    public libraries, not private ones (which the one in the tools
    directory is).
Solution:
    Had the `install' command be dependent upon an "AUX_LIB" macro which
    includes libraries which are needed but aren't distributed (that is,
    they're staticly compiled).
Platforms tested:
    Linux
2003-02-14 16:17:16 -05:00
Quincey Koziol
1074ccf4d9 [svn-r6398] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-02-12 12:04:40 -05:00
Quincey Koziol
24d8506dd5 [svn-r6387] Purpose:
Bug Fix

Description:
    Metadata cache in parallel I/O can cause hangs in applications which
    perform independent I/O on chunked datasets, because the metadata cache
    can attempt to flush out dirty metadata from only a single process, instead
    of collectively from all processes.

Solution:
    Pass a dataset transfer property list down from every API function which
    could possibly trigger metadata I/O.

    Then, split the metadata cache into two sets of entries to allow dirty
    metadata to be set aside when a hash table collision occurs during
    independent I/O.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
        modi4 (parallel, fortran)}

    FreeBSD 4.7 (sleipnir) serial & parallel

Misc. update:
    Updated release_docs/RELEASE
2003-02-10 12:26:09 -05:00
Pedro Vicente Nunes
1e35713691 [svn-r6344] Purpose:
bug fix
    added more verbose help message
    added support for all dataset types
    added more error checking
    added new output format (28 Jan version )



Platforms tested:
    windows , linux
2003-01-29 15:56:34 -05:00
Pedro Vicente Nunes
e4dc71bbee [svn-r6328] Purpose:
fix bug in Makefile.in

Platforms tested:
    windows , linux
2003-01-24 13:01:44 -05:00
Pedro Vicente Nunes
85751bbbe9 [svn-r6326] Purpose:
added h5diff to CVS
    current version, options only work for float dataset type
Platforms tested:
    windows, linux
2003-01-23 17:08:51 -05:00
Albert Cheng
06ace9e426 [svn-r6310] Purpose:
patch
Description:
    Tflops interprets "$@" as "" when no parameter is given (e.g., the
    case of missing file name).  Changed it to use $@ till Tflops fixes it.
Platforms tested:
    Tflops, burrwhite (pp), modi4(pp)
2003-01-22 01:08:52 -05:00
Quincey Koziol
04f2fe8ff8 [svn-r6301] Purpose:
Code cleanup & bug fix

Description:
    Cleanup another set of warnings on Windows and also fix mis-placed assertion
    that caused the daily tests to fail.

Platforms tested:
    IRIX64 6.5 (modi4) w/-n32
2003-01-18 08:17:33 -05:00
Quincey Koziol
1208e94eff [svn-r6296] Purpose:
Code cleanup

Description:
    Reduce warnings on Windows

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-01-17 15:34:14 -05:00
Quincey Koziol
8e391ad35a [svn-r6269] Purpose:
Code cleanup

Description:
    Various code cleanups to allow the development branch to be compiled with
    a C++ compiler (i.e. CC=g++ )

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir) C++
2003-01-13 08:15:49 -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
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
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
Raymond Lu
5f91db8d68 [svn-r6102]
Purpose:
    bug fix
Description:
    forgot to change datatype print-out when fixed VL string bug for h5dump.
Platforms tested:
    modi4
2002-11-19 09:50:04 -05:00
Raymond Lu
0105a3b97c [svn-r6099]
Purpose:
    bug fix.
Description:
    h5dump cannot dump data and datatype for VL string.
Platforms tested:
    eirene, arabica
Misc. update:
    MANIFEST, RELEASE.txt
2002-11-18 11:38:11 -05:00
Robert E. McGrath
da647e3537 [svn-r6031] Purpose:
Fixes bug #836.
	Also fixes the 'usage' message.
Description:
Solution:
Platforms tested:
Misc. update:
2002-10-24 09:48:19 -05:00
Albert Cheng
16b3cfabba [svn-r6017] Description:
Renamed h5dumptst.c to h5dumpgentest.c.
    Added a test to run h5dumpgentest to make it can run without error.  Note
    that this does not verify if it is generating the correct test files.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? YES
Misc. update:
    Update MANIFEST if you add or remove any file. YES
2002-10-19 15:59:19 -05:00
Albert Cheng
73046ca029 [svn-r6009] Purpose:
Created the expected output of failure of missing file name.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? YES.
2002-10-16 00:39:20 -05:00
Albert Cheng
e7600e5ff8 [svn-r6008] Purpose:
Changed the file name nofilename.ddl to tnofilename.ddl, to be consistent
    with the other file names.
Platforms tested:
    eirene only since this is a very simple change.
2002-10-16 00:37:54 -05:00
Albert Cheng
3ec37aad96 [svn-r6007] Purpose:
Improvement
Description:
    Moved the code parsing for missing file name in the parse_command_line
    routine.
    Added a test checking if the tool fails as expected when no file name is
    given.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? YES
Misc. update:
    Update MANIFEST if you add or remove any file. YES, added nofilename.ddl
2002-10-16 00:31:00 -05:00
Albert Cheng
22d4e6a05d [svn-r6000] Purpose:
Bug fix (ID 765 and part of ID 841)
Description:
    "h5dump -H" would core dump.  It was because the code was not
    checking if there was any file argument after option parsing.
    It referred to an non-existing filename argument.
    There was also some very old but not commented code which allowed
    the use of back slash to escape a filename begun with '-'.  The
    '--' option is better and more common practice.
Solution:
    Added code to check if there is still a filename argument after parsing.
    (This checking probably should goto inside the option_parsing routine.
    Also removed that old code mentioned above.
Platforms tested:
    eirene, arabica and modi4
2002-10-15 00:23:54 -05:00
Albert Cheng
3658b8bbd7 [svn-r5998] Purpose:
updated copyright note.
    Copied the UNUSED correction from v1.4.
    Added an example to the usage of -- option.
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    arabica (fortran), modi4 (pp, fortran),eirene (fortran, CC).
2002-10-14 23:12:42 -05:00
Quincey Koziol
ea08053e29 [svn-r5983] Purpose:
More fixups to the Dependencies files...
2002-10-14 13:11:12 -05:00
Quincey Koziol
a83585acca [svn-r5981] Purpose:
Regenerate Dependencies files.
2002-10-14 09:58:25 -05:00
Bill Wendling
b19aa45229 [svn-r5978] Purpose:
Bug Fix
Description:
    Tests were failing on SOlaris machines.
Solution:
    Added an explicit return value (0) to the script and main function.
2002-10-11 12:59:24 -05:00
Pedro Vicente Nunes
c705a9300a [svn-r5976] Purpose:
more features to h5diff

Platforms tested:


   linux, windows
2002-10-10 17:24:54 -05:00
Pedro Vicente Nunes
a9c1a913ab [svn-r5975] Purpose:
changed script for tests


Platforms tested:

linux 2.4.18
2002-10-10 11:33:16 -05:00
Pedro Vicente Nunes
2ac05ce9dc [svn-r5973] Purpose:
added h5fiff to configure and makefiles

Platforms tested:


   linux 2.4.18
2002-10-09 16:25:48 -05:00
Pedro Vicente Nunes
d49f76ace9 [svn-r5972] Purpose:
added a test file , a makefile and a script to run h5diff tests

Platforms tested:

linux 2.4.18
2002-10-09 16:23:38 -05:00
Pedro Vicente Nunes
375c22e776 [svn-r5969] Purpose:
added a new file
Description:

 prototype program for h5diff

Platforms tested:

    windows 2000
2002-10-09 11:33:05 -05:00
Albert Cheng
cf834c832e [svn-r5876] Change the wording of the message from "current directory" to
"current setting".
latforms tested:
    Modi4
2002-08-17 02:54:35 -05:00
Quincey Koziol
ea052ffd55 [svn-r5674] Purpose:
Code cleanup

Description:
    Removed more compiler warnings, etc.

Platforms tested:
    Linux 2.2.x (eirene) w/parallel
2002-06-19 11:06:55 -05:00
Quincey Koziol
aefc39ac32 [svn-r5667] Purpose:
Code cleanup

Description:
    Turn on more warnings in the IRIX builds and clean them up.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 07:54:53 -05:00