Commit Graph

1051 Commits

Author SHA1 Message Date
Raymond Lu
c4d9f6ae10 [svn-r8066] Purpose: bug fix
Description: h5dump and h5ls failed an assertion check when a dataset's
    datatype is enumerate type and there are special characters in the names
    of these values.


Platforms tested: h5committest
2004-01-15 11:42:13 -05:00
Pedro Vicente Nunes
7f7fbb4718 [svn-r8062] Purpose:
bug fix

Description:
cases of rank 0 were not handled, now a warning is made that the dataset cannot be compressed

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-14 15:09:44 -05:00
Pedro Vicente Nunes
62a9b30a64 [svn-r8060] Purpose:
added a usage message for h5repack

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-14 12:45:20 -05:00
Pedro Vicente Nunes
d83a48e4f9 [svn-r8056] Purpose:
h5repack change

Description:
changed the default size of chunks when defining a new dataset to apply a filter
this size is now equal to the current dimensions. previously , it was set to half this
value, and it was causing write calls to fail on some files (probably a bug)

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-13 13:12:47 -05:00
Albert Cheng
c08c387235 [svn-r8043] Purpose:
Feature

Description:
Added option -showconfig which Shows the HDF5 library configuration summary

Platforms tested:
No h5committest test which does not test these tools.
Tested in eirene by hand.

Misc. update:
2004-01-08 15:08:36 -05:00
Pedro Vicente Nunes
be7ebb248f [svn-r8040] Purpose:
bug fix, code improvment

Description:
fixed a bug in the parse of chunking function
added some auxiliary functions to avoid repeated parts of the code in several places

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-08 10:53:32 -05:00
Quincey Koziol
feaa5bb9d5 [svn-r8038] Purpose:
Bug fix

Description:
    When two property lists are compared, the H5Pequal routine was just
comparing the raw information for the property values.  This causes problems
when the raw information contains pointers to other information.

Solution:
    Allow a 'compare' callback to be registered for properties, so that a user
application get perform the comparison itself, allowing for "deep" compares of
the property value.
    This was exported to the H5Pregister & H5Pinsert routines in the development
branch, but not the release branch.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-01-08 09:55:11 -05:00
Pedro Vicente Nunes
3396dd9513 [svn-r8028] Purpose:
small change  to the szip generated dataset

Description:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-06 13:55:09 -05:00
Pedro Vicente Nunes
e59b3d3bcf [svn-r8025] Purpose:
small fix

Description:
the main prog had some repeated code

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-06 13:18:05 -05:00
Pedro Vicente Nunes
68607efcd1 [svn-r8021] Purpose:
h5repack new features

Description:
added support/tests for multi filters

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-01-06 12:49:00 -05:00
Quincey Koziol
0d405bdfb2 [svn-r8006] Purpose:
Code cleanup

Description:
    Tweaked down the size of the szip 'pixels per block' for a test, now that
the library is range-checking this value more strictly.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor for h5committest
2003-12-31 15:26:00 -05:00
Quincey Koziol
b3a3693688 [svn-r8005] Purpose:
Code cleanup

Description:
    Removed redundant testing script from being executed, since it's just
running the program in the "TEST_PROGS" macro.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor for h5committest
2003-12-31 15:25:05 -05:00
Pedro Vicente Nunes
738e808d26 [svn-r7999] Purpose:
h5repack new features

Description:
added support/ tests for contiguous and compact layout processing

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2003-12-31 09:00:36 -05:00
Pedro Vicente Nunes
d8531b8482 [svn-r7997] Purpose:
h5repack new features

Description:
added support for layout options

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2003-12-30 17:59:33 -05:00
Pedro Vicente Nunes
95da5842df [svn-r7996] Purpose:
h5repack new features

Description:
added support for shuffle and checksum filters

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2003-12-30 12:01:30 -05:00
Pedro Vicente Nunes
f503a72491 [svn-r7994] Purpose:
h5repack new features

Description:
added checking routines for the filters that were applied to the output file
added tests for szip filter

Solution:

Platforms tested:
linux
solaris

(IRIX is not available)
:

Misc. update:
2003-12-29 15:26:21 -05:00
Albert Cheng
f1e00b2afe [svn-r7980] Purpose:
Regenerate the Dependncies files.

Platforms tested:
"h5committested"

Misc. update:
2003-12-25 19:08:54 -05:00
Pedro Vicente Nunes
5658d88327 [svn-r7971] Purpose:
h5repack bug

Description:
changed the copy hardlinks algorithm
added more tests

Solution:

Platforms tested:
linux
solaris
IRIX


Misc. update:
2003-12-18 15:25:11 -05:00
Pedro Vicente Nunes
8f65e4252d [svn-r7969] Purpose:
h5repack new features

Description:
addded the copy routines for hard links
changed the traversal structure to store information about the hard links
added tests

Solution:

Platforms tested:
linux
solaris
IRIX

Misc. update:
2003-12-18 11:18:09 -05:00
Pedro Vicente Nunes
cd7b4b8b90 [svn-r7966] Purpose:
h5repack new features

Description:
added debugging functions and a hard link generated dataset for the test suite

Solution:

Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-12-17 09:07:41 -05:00
Pedro Vicente Nunes
dc4f40f02f [svn-r7962] Purpose:
h5repack new features

Description:
added the copy of referenced objects

Solution:

Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-12-16 13:08:45 -05:00
Albert Cheng
aaff647518 [svn-r7914] Purpose:
Regenerate the Dependencies files if needed.

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-05 10:39:53 -05:00
Pedro Vicente Nunes
28e43d818f [svn-r7913] Purpose:
code clean

Description:
separated the h5repack code in several  modules

Solution:

Platforms tested:
linux
IRIX
solaris


Misc. update:
2003-12-04 14:35:33 -05:00
Pedro Vicente Nunes
967a04fdec [svn-r7912] Purpose:
code clean, bug fix

Description:
the attributes of the root group were not being compared
removed compiler warnings on IRIX and solaris

Solution:
added a special function to compare the attributes of the root group

Platforms tested:
linux
IRIX 6.5
solaris 2.7

Misc. update:
2003-12-04 10:31:05 -05:00
Pedro Vicente Nunes
2d011283a3 [svn-r7908] Purpose:
code clean, bug fix

Description:
cleaned warnings on IRIX
fixed bug in parse command line

Solution:

Platforms tested:
linux
IRIX 6.5 64

Misc. update:
2003-12-03 10:35:32 -05:00
Pedro Vicente Nunes
a70274ecea [svn-r7907] Purpose:
bug fix

Description:
sleipnir was complaining about a missing header declaration

Solution:
added the include

Platforms tested:
linux (small)


Misc. update:
2003-12-03 09:26:51 -05:00
Pedro Vicente Nunes
e55c5f8e95 [svn-r7905] Purpose:
continuation of the h5diff changes

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-02 18:14:45 -05:00
Pedro Vicente Nunes
486c13d307 [svn-r7904] Purpose:
h5diff new features

Description:
added comparison for attributes
adeded comparison for all dataset datatypes
added tests for the new features
changed the output format

Solution:

Platforms tested:
linux
solaris 5.7
IRIX 6.5 (64)

Misc. update:
2003-12-02 18:13:27 -05:00
Quincey Koziol
e1792ebb22 [svn-r7842] Purpose:
Bug fix

Description:
    Variable length strings and sequences with NULL pointers were not handled
by library, causing problems access the data.  This also affected fill values
for variable-length datatypes.

Solution:
    Address the issues in the library by detecting NULL sequences/strings
and avoid trying to convert them.

    Patched up dumper to display NULL sequences/strings.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-11-13 10:19:50 -05:00
Pedro Vicente Nunes
54f35626c1 [svn-r7834] Purpose:
code clean

Description:
removed compiler warnings on IRIX

Solution:

Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-11-10 16:32:01 -05:00
Pedro Vicente Nunes
b00b2d31e7 [svn-r7833] Purpose:
bug fix, clean code

Description:
a malloced buffer was not release
cleaned some compiler warnings


Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-11-10 15:59:32 -05:00
Quincey Koziol
8ca8c23b5a [svn-r7822] Purpose:
Bug fix & code cleanup

Description:
    Propagate error value out of function, so that failures can be detected by
testing scripts.

    Clean up a few compiler warnings while I'm here.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-11-06 08:45:39 -05:00
Bill Wendling
bfbfda0cae [svn-r7816] Purpose:
Improvement

Description:
    If the library is built in parallel mode, then name the "h5cc" and
    "h5fc" programs "h5pcc" and "h5pfc" resp. This saves the user from
    worrying about mixing serial and parallel builds of the library and
    having to specify the pathnames and so-forth.

Platforms tested:
    Linux (w/ parallel & Fortran)
    Modi4 (w/ parallel & Fortran)
    Sol (Serial & Fortran & C++)

Misc. update:
    Updated release/docs/RELEASE
2003-11-04 13:10:59 -05:00
Pedro Vicente Nunes
75a5e8a0e6 [svn-r7813] Purpose:
h5diff new feature


Description:

added compare for attributes
a new options flag (-a) was added to the options structure. it is 0 by default (no compare )
the output of the compare is the same that for datasets, and all the other flags also apply for attributes
(the memory compare is done in the same function diff_array)
all the other requirements for compare of datasets (type, space) are identical too




Platforms tested:
linux
solaris 2.7
IRIX


Misc. update:
2003-11-03 17:10:57 -05:00
Albert Cheng
a10e147ae8 [svn-r7809] Purpose:
bug fix.

Description:
It sometimes complained of wrong number of argument to test.
This happened when more than 1 tool are redeployed.
The problem is due to an unquoted variable expanded into
multiple strings, confusing the test command.
Fixed by putting quotes around it.

Platforms tested:
only tested in eirene since it is trivial.

Misc. update:
2003-11-03 10:30:46 -05:00
Pedro Vicente Nunes
61d964625e [svn-r7804] Purpose:
h5diff new feature

Description:
added diff for the class ENUM

Solution:

Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-10-31 16:18:09 -05:00
Pedro Vicente Nunes
79a8f37886 [svn-r7797] Purpose:
code clean

Description:
added some comments

Solution:

Platforms tested:
linux (small change)


Misc. update:
2003-10-30 17:15:24 -05:00
Pedro Vicente Nunes
cceba7e0c9 [svn-r7796] Purpose:
h5diff improvment

Description:
changed a call to exit(1) for return -1 for user friendiness in the h5diff function
in the case that H5Fopen fails

Solution:

Platforms tested:
linux (small change )


Misc. update:
2003-10-30 16:51:32 -05:00
Pedro Vicente Nunes
4cb9330435 [svn-r7793] Purpose:
h5diff new features

Description:

added the diff for variable lenght, opaque, enum, and bitfield datasets

Solution:

Platforms tested:
linux
solaris 2.7
IRIX


Misc. update:
2003-10-30 12:15:56 -05:00
Pedro Vicente Nunes
46646fc654 [svn-r7792] Purpose:
h5diff new features
bug fix

Description:
implemented the diff for STRING and ARRAY types
fixed a bug. when the datasets are empty, do not try to compare them .
the check empty is made with H5Dgetstorage_size

Solution:

Platforms tested:
linux
solaris 5.7
IRIX

Misc. update:
2003-10-30 09:40:01 -05:00
Pedro Vicente Nunes
9ed099022e [svn-r7791] Purpose:
h5diff new features

Description:
implemented diff for compound types. so far it only compares the integer and float classes
of these compound types. this is done with a new recursive function
that compares datum by datum



Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-10-29 16:02:53 -05:00
Pedro Vicente Nunes
8b45b9a5f0 [svn-r7785] Purpose:
h5repack new features


Description:
added a copy routine for all types
added a copy routine for attributes
commnented some debug messages in h5trav
added the verbose option to some h5diff messages


Platforms tested:
linux
solaris 2.5
IRIX


Misc. update:
2003-10-29 12:46:11 -05:00
Bill Wendling
45124df0a1 [svn-r7779] Purpose:
Regenerated

Details:
    Regenerated because of changes to h5diff and tools library
2003-10-28 15:52:34 -05:00
Bill Wendling
e5f6a34448 [svn-r7778] *** empty log message *** 2003-10-28 15:52:04 -05:00
Bill Wendling
0a2a91f24a [svn-r7777] Purpose:
Regenerated

Description:
    Regenerated Dependencies files because of changes to the h5diff and
    tools library.

Platforms tested:
    Linux (small change and just needed to be checked once).
2003-10-28 15:52:00 -05:00
Pedro Vicente Nunes
5bcb1054d1 [svn-r7774] Purpose:
changed the name of one struct in this file



Platforms tested:
linux,
solaris
IRIX

Misc. update:
2003-10-28 13:22:05 -05:00
Pedro Vicente Nunes
f2b52777f4 [svn-r7769] Purpose:
moved h5diff "public API" routines to tools/lib folder



Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-10-28 12:40:05 -05:00
Robert E. McGrath
df5d528100 [svn-r7737] Purpose:
bug fix

Description:
wrong parameter to subroutine call

Solution:
use correct parameter

Platforms tested:
verbena

Misc. update:
2003-10-25 14:37:00 -05:00
Pedro Vicente Nunes
cf86beb983 [svn-r7717] Purpose:
new features of h5repack

Description:
added copy routine
added parsing of command line arguments



Platforms tested:
linux, solaris, IRIX

Misc. update:
2003-10-23 14:51:51 -05:00
Elena Pourmal
f2136f23ba [svn-r7714]
Purpose: Maintenance

Description: h5createU8 utility is an old h5import utility;
             removed

Solution:

Platforms tested: arabica

Misc. update:
2003-10-23 10:46:53 -05:00
Pedro Vicente Nunes
88319643e0 [svn-r7708] Purpose:
this file has a different h5diff output because of the new verbose option

Description:

Solution:

Platforms tested:

Misc. update:
2003-10-22 16:58:47 -05:00
Pedro Vicente Nunes
ac104ba0a7 [svn-r7706] Purpose:
h5diff now has a .h file. which I forgot to CVS add previously






Misc. update:
2003-10-22 16:56:21 -05:00
Pedro Vicente Nunes
9ad2479dd4 [svn-r7705] Purpose:
forgot to CVS add these new  .h files to the h5repack bunch






Misc. update:
2003-10-22 16:55:07 -05:00
Pedro Vicente Nunes
04d8607a9a [svn-r7704] Purpose:
continuation of commit message

Platforms tested:
linux
solaris
IRIX


Misc. update:
2003-10-22 16:45:59 -05:00
Pedro Vicente Nunes
d28bc61b33 [svn-r7703] Purpose:
h5repack new features

Description:
implemented some features of h5repack , mostly borrowed from hrepack
like
1) the parsing of options
2) building a list of options
3) printing formats

added a test program that generates files and calls h5diff to compare
the input and output files


Platforms tested:

Misc. update:
2003-10-22 16:43:34 -05:00
Pedro Vicente Nunes
ce5c245a95 [svn-r7702] Purpose:
h5diff maitainance


Description:
separated the h5diff source between several modules
there is a public module with a new function "h5diff" that can be called by an application
program (h5repack will use it )
added a new verbose option that can turn off all printf



Platforms tested:
linux
solaris
IRIX


Misc. update:
2003-10-22 16:30:19 -05:00
Quincey Koziol
e2518919c9 [svn-r7626] Purpose:
Update dependencies and tracing information

Platforms tested:
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-14 10:46:38 -05:00
Quincey Koziol
324cd9d1e2 [svn-r7616] Purpose:
Code cleanup

Description:
    Change field member count and indices for compound and enumerated types from
'int' to 'unsigned' to better reflect actual use.

    Cleaned up a few other minor compiler warnings, etc.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena)
    too minor to require h5committest
2003-10-13 14:31:33 -05:00
Bill Wendling
25fe6cbafa [svn-r7574] Purpose:
Code Improvement

Description:
    Changed from passing a structure into a function by value into
    passing it in by pointer. Noticed this while compiling with a highly
    optimizing compiler which took >30 minutes to analyze the program
    (granted, this is the compiler's fault, but in general, it's better
    to pass large structures in by pointer and not by value).

Platforms tested:
    Linux (specific to h5import, so only needed to test on one platform)

Misc. update:
2003-10-08 13:11:50 -05:00
Quincey Koziol
651bd4e252 [svn-r7542] Purpose:
Bug fixes and code cleanup

Description:
    Whitespace removal.

    Added testfiles for named datatypes in attributes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:23:57 -05:00
Quincey Koziol
f768247888 [svn-r7541] Purpose:
Bug fixes and code cleanup

Description:
    Corrected output of array separator when vlen separator was needed.
        datatypes.

    Parts of formatting cleanup to greatly reduce the amount of trailing
        whitespace emitted in output.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:20:33 -05:00
Quincey Koziol
71f0aeff2a [svn-r7540] Purpose:
Bug fixes and code cleanup

Description:
    Changes to h5dump code:
        - Dump shared datatypes for any class of datatype, not just compound
            datatypes.
        - Cleaned up formatting to greatly reduce the amount of trailing
            whitespace emitted in output.  Also removed some spurious blank
            lines from named datatype output.

    Added code to generate named datatype attribute test file.

    Added tests for dumping named datatypes in attributes for both DDL and
        XML output.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:19:38 -05:00
Quincey Koziol
c58d85f10e [svn-r7527] Purpose:
Code cleanup

Description:
    Clean up a few loose ends and warnings for the 1.6 compatibility changes
to the error API.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-09-30 11:20:46 -05:00
Raymond Lu
7e79a8d71e [svn-r7507] *** empty log message *** 2003-09-24 14:26:50 -05:00
Pedro Vicente Nunes
e61aa077c4 [svn-r7500]
Purpose:

added the Dependencies file to the folder

tested on IRIX     b

Description:

Solution:

platforms tested:

Misc. update:
2003-09-19 16:57:36 -05:00
Pedro Vicente Nunes
675dde0699 [svn-r7499] Purpose:
added h5repack to the list of tools to make check




Platforms tested:
linux (small change)

Misc. update:
2003-09-19 15:21:05 -05:00
Pedro Vicente Nunes
14b9ac8763 [svn-r7497] Purpose:
added  the new tool h5repack
right now it just contains source files with an empty main


Platforms tested:
linux (small change)

Misc. update:
2003-09-19 14:33:41 -05:00
Albert Cheng
6d647e5406 [svn-r7418] Purpose:
bug fix

Description:
h5diff would incur a segmentation fault in Alpha clusters when
the percentage option is used.  This was due to memory aliagment
issue when the options variable is declared as a local variable
in main().

Moved the declaration to a global declaration.

Platforms tested:
"h5committested"
And tested at cluster QT of SNL.

Misc. update:
2003-08-27 10:27:56 -05:00
Quincey Koziol
32220914a5 [svn-r7401] Purpose:
Code cleanup

Description:
    Remove various "fixtype" routines which duplicate (and actually pre-date)
    the functionality in H5Tget_native_type in favor of having the tools call
    H5Tget_native_type().  This provides the same functionality (actually better
    functionality, since the old "fixtype" routines didn't handle alignment of
    compound fields correctly) and reduces the amount of code to maintain.

    Add additional tests to dump out a "complex" compound datatype which
    exercises more code in the library for aligning compound fields correctly.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-25 15:00:56 -05:00
Quincey Koziol
500b5f904f [svn-r7389] Purpose:
Code cleanup

Description:
    Return -1 for failed group iteration instead of 1

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-22 08:45:40 -05:00
Albert Cheng
374ad0ef30 [svn-r7361] Description:
Updated the copyright notice--mostly by rearranging
some text to make them consistent.

Solution:

Platforms tested:
"h5committested"--sol is down, so, no SUn test.

Misc. update:
2003-08-13 23:58:29 -05:00
Quincey Koziol
7f119036d3 [svn-r7352] Purpose:
Updated dependencies

Platforms tested:
    h5committested
2003-08-12 20:50:11 -05:00
Quincey Koziol
ed92f54f9b [svn-r7334] Purpose:
Bug fix

Description:
    Object references were not getting written out correctly to the file, with
recent changes to their memory structure.

Solution:
    Convert the object references correctly.

Platforms tested:
    h5committested
2003-08-11 07:43:04 -05:00
Quincey Koziol
da29916b94 [svn-r7329] Purpose:
Refactored test output

Description:
    Chase new output format of 'objno' in DDL and XML schema output

Platforms tested:
    h5committested
2003-08-08 14:47:39 -05:00
Quincey Koziol
d309a7fa5d [svn-r7328] Purpose:
Code cleanup

Description:
    Remove recent changes which duplicated code from config/conclude.in, now
that the output of XML schema XID's is portable.

Platforms tested:
    h5committested
2003-08-08 14:41:58 -05:00
Quincey Koziol
637fe3d65b [svn-r7327] Purpose:
Refactored code

Description:
    Chase changes of 'objno' and 'fileno' fields in H5G_stat_t structure.

Platforms tested:
    h5committested
2003-08-08 14:39:10 -05:00
Quincey Koziol
4032cbf360 [svn-r7326] Purpose:
Refactored code

Description:
    Chased 'objno' and 'fileno' changes in H5G_stat_t structure, including
updating the addresses displayed.

Platforms tested:
    h5committested
2003-08-08 14:37:55 -05:00
Quincey Koziol
4de2ed16c0 [svn-r7325] Purpose:
Code cleanup

Description:
    Changed parameter from "<number>:<number>" form to "<number>"

Platforms tested:
    h5committested
2003-08-08 14:36:37 -05:00
Quincey Koziol
7e461bc202 [svn-r7324] Purpose:
Code cleanups & bug fixes

Description:
    Lots of changes to chase 'objno' and 'fileno' changes in H5G_stat_t struct,
including changing the output of object IDs from "<number>:<number>" to just
"<number>".

    Same change to XML schema XIDs from "xid_<number>-<number>" to just
"xid_<number>"

    Cleaned up a number of memory leaks

    Use the H5_PRINTF_HADDR_FMT macro for printing 'haddr_t's

Platforms tested:
    h5committested
2003-08-08 14:35:34 -05:00
Quincey Koziol
a91e5a22c4 [svn-r7323] Purpose:
Refactored code

Description:
    Added 'unsigned flags[2]' field and changed 'objno' field from 'unsigned
long[2]' to 'haddr_t' (to reflect changes in H5G_stat_t)

Platforms tested:
    h5committested
2003-08-08 14:31:37 -05:00
Quincey Koziol
64b045691c [svn-r7322] Purpose:
Refactored code

Description:
   Use H5E_BEGIN_TRY/H5E_END_TRY macros around blocks where errors shouldn't
be printed, instead of managing 'automatic error' information.

    Use new 'flags' field in table objects where appropriate

    Chase changes to 'fileno' and 'objno' fields of H5G_stat_t

Platforms tested:
    h5committested
2003-08-08 14:30:19 -05:00
Quincey Koziol
21c1f05808 [svn-r7321] Purpose:
Code cleanup & refactoring

Description:
    Use H5E_BEGIN_TRY/H5E_END_TRY macros around blocks where errors shouldn't
be printed, instead of managing 'automatic error' information.

    Changes to use new 'flags' fields in the table of objects, since the 'objno'
field can't be [ab]used any longer.

Platforms tested:
    h5committested
2003-08-08 14:27:54 -05:00
Quincey Koziol
8c77305a07 [svn-r7312] Purpose:
Code cleanup

Description:
    Use H5E_BEGIN_TRY/H5E_END_TRY macros around code which shouldn't display
the error stack on failure, instead of setting and resetting the automatic
error printing routines.

Platforms tested:
    h5committested
2003-08-08 14:08:54 -05:00
MuQun Yang
6d54973cbf [svn-r7286] Purpose:
bug fix

Description:
1. function rindex is not recognized by windows. Using strrchr instead.
Thereafer strings.h is not necessary.
2. Variable p_type is defined as "hid_t" type at one function; but it is never used.
At the end of that function, H5Tclose(p_type) is assigned. It may cause problems.
So erase two lines.


Solution:
See above

Platforms tested:
windows 2000, linux 2.4, sol 2.7, AIX 5.1.

Misc. update:
2003-08-08 10:19:55 -05:00
Bill Wendling
9266812411 [svn-r7278] Purpose:
Bug Fix

Description:
    pmake failed during make of h5dump because of some undefined
    variables.

Solution:
    Defined the variables.

Platforms tested:
    Modi4 (small change and only Irix specific)

Misc. update:
2003-07-30 15:07:26 -05:00
Robert E. McGrath
014ec80a8f [svn-r7276] Purpose:
This is an omibus update to the h5dump program.

  1. Fixes bug 888
  2. updates XML output to 1.6

Description:

Solution:

Platforms tested:

verbena, arabica, copper (64)

Misc. update:
MANIFEST updated
Need to do release notes.
2003-07-29 16:24:21 -05:00
Raymond Lu
0d22a663df [svn-r7265] *** empty log message *** 2003-07-25 21:55:47 -05:00
Pedro Vicente Nunes
77f6e46b81 [svn-r7257] Purpose:
bug fix

Description:
if the user incorrectly put the option -n20 (instead of -n 20) as the last argument
h5diff tried to parse the 20 as an extra argument, causing a failure

if ('-' !=argv[i+1][0] )


Solution:
add an extra test for the case that option is the last argument

if ( i<argc-1 && '-' !=argv[i+1][0] )


Platforms tested:
linux . this is too trivial for all platforms test




Misc. update:
2003-07-23 13:52:18 -05:00
Quincey Koziol
01e9075358 [svn-r7211] Purpose:
Code cleanup

Description:
    Various code cleanups suggested by lint tool

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-11 13:06:51 -05:00
Quincey Koziol
06f27f99b0 [svn-r7192] Purpose:
Code cleanup

Description:
    Clean up various minor warnings in the library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-07-09 14:16:17 -05:00
Quincey Koziol
221c1ef220 [svn-r7191] Purpose:
Code cleanup

Description:
    Track new "debug" modules for library.

Platforms tested:
    h5committested
2003-07-09 13:14:29 -05:00
Bill Wendling
3e297166b8 [svn-r7124]
Purpose:
	Bug Fix

Description:
	LIBTOOLS macro was being used but not defined.

Solution:
	Removed the LIBTOOLS macro as it wasn't necessary

Platforms tested:
	Modi4 (small fix)

Misc. update:
2003-06-30 11:59:27 -05:00
Bill Wendling
6c41212cc4 [svn-r7123] Purpose:
Bug Fix

Description:
    The SUBDIRS macro is now defined as "" in the config/commence.in
    file. We shouldn't have definitions of this macro before the
    inclusion of config/commence.in.

Solution:
    Placed all definitions of SUBDIRS after config/commence.in inclusion.

Platforms tested:
    Modi4 (Small fix yet again).

Misc. update:
2003-06-30 11:26:46 -05:00
Bill Wendling
007affb6df [svn-r7121]
Purpose:
	Bug Fix

Description:
	Changes needed to make "pmake" work on Modi4.

Solution:
	Needed to add some null macro defines in the commence.in files.
	Needed to remove a dependence on LIBH5TEST in the fortran make
	since LIBH5TEST isn't used in the fortran stuff.

Platforms tested:
	Modi4 (small change)

Misc. update:
2003-06-30 10:19:44 -05:00
Quincey Koziol
2629b6e4d3 [svn-r7109] Purpose:
Code cleanup

Description:
    Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-25 21:10:33 -05:00
Raymond Lu
67449f5c65 [svn-r7021] Purpose: bug fix
Description: H5Tget_native_type fails for multiple kinds of datatype on Cray; it fails
             fix-length string type, too.


Platforms tested: Cray, h5committest
2003-06-10 16:04:58 -05:00
Albert Cheng
265cb20baa [svn-r7010] Purpose:
Bug fix

Description:
h5cc was removed prematurely in "make clean".  Moved it to be
removed in "make distclean" only.

Solution:

Platforms tested:
COpper.

Misc. update:
2003-06-09 18:52:08 -05:00
Quincey Koziol
103f7b4c92 [svn-r7006] Purpose:
Bug fix/new feature

Description:
    Teach h5dump/h5ls to display variable-length datatypes correctly.

    Change "raw byte" output of array elements from "0xde8141b1a818" to
    "de:81:41:b1:a8:18" so that it's easier for users to read.


Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest

Misc. update:
    Patch provided by Robb Matzke (matzke@llnl.gov)
2003-06-09 14:29:28 -05:00
Quincey Koziol
19488a94fd [svn-r7005] Purpose:
Bug fix

Description:
    The output from the modification time is highly system dependent, so
    remove it from the h5ls output before comparing file with diff.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:25:32 -05:00
Quincey Koziol
4401a71f3a [svn-r7004] Purpose:
Bug fix

Description:
    The output from the modification time is highly system dependent, so
remove it from the h5ls output before comparing file with diff.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:24:37 -05:00
Quincey Koziol
212a9529b0 [svn-r7003] Purpose:
Code cleanup/new features.

Description:
    Clean up whitespace & formatting.

    Make the -S (simple) output display a dataset's modification time in UTC
        rather than local timezone.

    Display variable-length datatype information.

    Simplified & enhanced bitfield datatype information displayed.


Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:22:55 -05:00
Quincey Koziol
df5ca0fa1d [svn-r7002] Purpose:
Code cleanup

Description:
    Clean up warnings about unused stuff...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:18:47 -05:00
Albert Cheng
63844dd77a [svn-r6991] Purpose:
Cleanup

Description:
h5dumpgentest is already included in TEST_PROGS.  Removed its old
entry in PROGS.

Platforms tested:
Only in Copper since this is trivial.

Misc. update:
2003-06-08 08:20:28 -05:00
Bill Wendling
56218d7ea8 [svn-r6984] Purpose:
Update

Description:
    Added h5c++ script to h5redeploy

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

Misc. update:
2003-06-05 17:17:34 -05:00
Quincey Koziol
bdf3620e62 [svn-r6962] Purpose:
Code cleanup

Description:
    Update dependencies and tracing information

Platforms tested:
    h5committested
2003-06-04 15:25:43 -05:00
Pedro Vicente Nunes
e03437e4da [svn-r6960] Purpose:
added writing more attributes to one test file

Description:
added the writing of 3D attributes to one test file of h5ls

Solution:

Platforms tested:

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


Misc. update:
2003-06-04 12:37:36 -05:00
Bill Wendling
1e26a97d51 [svn-r6959]
Purpose:
	Bug Fix

Description:
	The flags for the linker on MacOS X were invalid.

Solution:
	If this is a darwin platform (MacOS X), then don't specify the
	runtime linker flags.

Platforms tested:
	MacOSX (since it only affects it...)

Misc. update:
2003-06-04 11:51:32 -05:00
Robert E. McGrath
112aff61ca [svn-r6949] Purpose:
Minor corrections to match the man pages. Code provided by Pankaj.

Description:
  * do not accept more than 30 file names
  * corrected error messages.

Solution:

Platforms tested:
Tested on verbena.
Already tested on several platforms before integration.

Misc. update:
2003-06-03 15:12:30 -05:00
Pedro Vicente Nunes
12b00a5dd4 [svn-r6947] Purpose:
added some comments

Description:

Solution:

Platforms tested:
linux

Misc. update:
2003-06-03 10:50:19 -05:00
Albert Cheng
94bf3a6d7b [svn-r6946] Purpose:
Bug fix

Description:
This would sometimes coredump in machines like PSC Alpha cluster
or linux icc if -g is not used.

Solution:
The real problem was because char string arrays were declared
without including space for the null terminator.  E.g.,
   char s[5][2]={ "s1", "s2", ...}
is not correct.  Increased the size and also need to change
the H5S... definitions too.

Platforms tested:
"h5committested"--the h5dumpgentest passed without problem though
it failed in Fortran but that is a current known problem.
Tested in verbena using icc and also in PSC's cluster.

Misc. update:
Can't find this error in the v1.5 know problem list.
2003-06-02 18:32:33 -05:00
Pedro Vicente Nunes
6273d8beee [svn-r6943] Purpose:
bug fix

Description:
unsigned integers were not printed out correctly

Solution:
added %u and %lu to the list of formats

Platforms tested:

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




Misc. update:
2003-06-02 11:30:40 -05:00
Pedro Vicente Nunes
614490a83a [svn-r6928] Purpose:
h5diff support for long_long

Description:
added h5diff support for long_long;

No automatic test was added because
it seems that the printf format of long_long is  slightly different in Linux and IRIX(modi4),
because the diff command complained about a difference in the 2 test files for long_long;
visually, it seems that in IRIX an extra space is added after the print (or maybe it is
just me that is seeing extra spaces :=)
this test is test 5.8,  commented in testh5diff.sh





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




Misc. update:
2003-05-30 17:38:46 -05:00
Bill Wendling
e7f66d3b4e [svn-r6926] Purpose:
Bug Fix

Description:
    The order the libraries are included in the compilation line is very
    important.

Solution:
    Need to specify the libraries in the order that they are given. If
    we're building the application staticly, then use the static HDF5
    library.

Platforms tested:
    Modi4
    Verbena
    Arabica

Misc. update:
2003-05-29 16:59:17 -05:00
Pedro Vicente Nunes
4eb8aa7d83 [svn-r6925] Purpose:
bug fix

Description:
the signed / unsigned comparison was not properly handled.
the fixtype function sets the sign for the memory type the same sign as found on disk
and the array_diff function only handled signed cases

Solution:
addded for each INTEGER size type an OR condition with the unsigned version
if the datatypes have different signs , comparison is NOT supported


Platforms tested:

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


Misc. update:
2003-05-29 16:53:46 -05:00
Albert Cheng
7f54723d99 [svn-r6922] Purpose:
bug fix
Description:
    Not all echo commands honors the '-n' option.  In those cases,
    the output look weired though recognizable.
Solution:
    Eliminated the use of -n option. A better fix would be having
    configure to set the proper use of the echo command.
Platforms tested:
    only on sasn100 (a sun frontend of Janus).
    No committest since this is just a simple shell script change.
2003-05-29 08:33:02 -05:00
Bill Wendling
464c3245b8 [svn-r6919] Purpose:
Bug Fix

Description:
    Two things:

        - static libraries may depend upon the HDF5 library. We should
          put them before the HDF5 library on the commandline instead of
          afterwards to avoid conflict.
        - the CFLAGS weren't being used during linking. This was causing
          problems on Arabica where the flags are important to
          distinguish between building a 32-bit and 64-bit application.

Solution:
    - Added logic so that it catches the static libraries and puts them
      before the hdf5 library on the command line. WARNING: This may not
      work in all situations...but it should be okay for the good
      majority.

    - added the CFLAGS macro to the commandline...

Platforms tested:
    LInux (Colonelk)
    Arabica
    Modi4 (Parallel)
    (Small changes so doesn't need full h5committesting...)

Misc. update:
2003-05-27 19:58:56 -05:00
Elena Pourmal
6790a626c8 [svn-r6915]
Purpose: bug fix for Tru64 and test of the latest szip library.

Description: h5diff uses basename function that also is defined
             in the system string.h file. That caused compilation to
             fail.

Solution:  renamed basename to h5diff_basename

Platforms tested: verbena, arabica, arabica-64,
                  and PSC Compaq machine.

Misc. update:
2003-05-22 17:41:27 -05:00
Pedro Vicente Nunes
e9e6cf0c2b [svn-r6913] Purpose:
bug fix and enhancement


Description:
combined the --simple option to the display of NATIVE datatypes
with the -S option , the print of the datatype will always display the full description
making it possible to do an automatic test for catching differences on output

made the case for printing the type of bitfield data, which was not handled

the new test generates a dataset with 10 attributes, each one a different datatype

Platforms tested:


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



Misc. update:
2003-05-22 17:31:07 -05:00
Pedro Vicente Nunes
73508e8d65 [svn-r6912] Purpose:
added a new test for h5ls

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-22 17:22:32 -05:00
Pedro Vicente Nunes
68caabdfd5 [svn-r6911] Purpose:
made the test file to compare be created if it does not exist

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-22 17:22:02 -05:00
Pedro Vicente Nunes
c26a0bc516 [svn-r6903] Purpose:
bug fix

Description:
when the list attribute function was called with values of type reference, the format string was not initialized
causing a segmentation fault on printf

Solution:
initialized the string  ( with obj no and file no turned on )

Platforms tested:

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



Misc. update:
2003-05-19 15:11:45 -05:00
Pedro Vicente Nunes
eaf0b25546 [svn-r6897] Purpose:
fixed a typo on the usage message, redone the test files that deal with with

Description:

Solution:

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




Misc. update:
2003-05-19 11:14:26 -05:00
Pedro Vicente Nunes
5a4c7681ed [svn-r6895] Purpose:
test files with new output format

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-19 00:12:26 -05:00
Pedro Vicente Nunes
17d0b72815 [svn-r6894] Purpose:
changes of input/ output  format

Description:
on web page /RFC/h5diff

Solution:

Platforms tested:

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


Misc. update:
2003-05-19 00:09:08 -05:00
Pedro Vicente Nunes
f16b33d3c2 [svn-r6893] Purpose:
removed test files before last output change

Description:

Solution:

Platforms tested:

Misc. update:
2003-05-18 23:28:44 -05:00
Bill Wendling
d792fc837d [svn-r6883] Purpose:
Bug Fix

Description:
    Lots of things. Mostly, multiple libraries declared on the command
    line bothered some compilers. Then the order of the libraries is
    important. Then if you are building static, you don't want an
    "-lhdf5" flag in your compile line.

Solution:
    Various hacks to remove redundant libraries from the compile line and
    to keep the order of them and to replace -lhdf5 with the .a file when
    building static.

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

Misc. update:
2003-05-15 18:29:51 -05:00
Bill Wendling
d94e2f4d8a [svn-r6871] Purpose:
Fix

Description:
    The way I was checking for -lfoo flags wasn't rigorous enough.

Solution:
    Use a "grep" instead of the "case" statement. Also check that the
    full "-lfoo" flag is matched instead of just part of it.

Platforms tested:
    Linux (small fix)

Misc. update:
2003-05-13 15:50:42 -05:00
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
Bill Wendling
81ab0b5efc [svn-r5645] Purpose:
Possible Bug Fix
Description:
    There seems to be a problem with the h5cc script picking up old
    header files. This may have something to do with the CPPFLAGS macro
    being set to some nefarious thing and the compiler looking in those
    directories for the header files instead of the one where HDF5 is
    actually installed.
Solution:
    Put the -I$includedir first.
Platforms tested:
    None...This is really triggered by the nightly tests. I'm kind of
    hoping that this will fix things...
2002-06-16 10:26:47 -05:00
Albert Cheng
9cee5851f3 [svn-r5627] Purpose:
Bug fix
Description:
    Old setup put $(srcdir)/h5redeploy in the install list but this
    same list is used for clean too, thus the file is removed from
    source.  That is bad.
Solution:
    Set it to use a cp to do it.  Need to change the source version
    name to something else because for one, it is confusing to use
    the same name. For another, if the build is done in place (i.e.,
    not using --srcdir), the source file is removed, again.
    So, renamed it with the .in suffix.  Who knows, it may take
    more processing than just cp when more features are added to it.
Platforms tested:
    Eirene
2002-06-13 08:53:55 -05:00
Albert Cheng
f0a98bd85b [svn-r5612] Added h5redeploy to the install list.
Tested on eirene.
2002-06-12 15:14:07 -05:00
Albert Cheng
665ea1c36f [svn-r5606] Purpose:
New tool
Description:
    This updates compiler tools (e.g., h5cc) with new directory where
    the HDF5 software has been installed.
Platforms tested:
    modi4.
2002-06-12 14:31:53 -05:00
Bill Wendling
5afb12313a [svn-r5581] Purpose:
Bug Fix
Description:
    On AIX machines, the number of script interpreters which ran the
    testh5dump.sh script would strip too many of the quotes away, causing
    problems if you're quoting something with a space in it.
Solution:
    Just got rid of the spaces and used ',' instead.
Platforms tested:
    AIX and Linux
2002-06-10 15:26:23 -05:00
Quincey Koziol
03ab48c9c3 [svn-r5444] Purpose:
Code cleanup

Description:
    Clean up warnings on IRIX64 6.5 (modi4)

Platforms tested:
    IRIX64 6.5 (modi4)
2002-05-20 13:43:31 -05:00
Pedro Vicente Nunes
49a7f1d032 [svn-r5305]
Purpose:
    user reported a bug on h5 to gif tool
Description:
    h5 to gif did not read an HDF5 image correctly
Solution:
    updated the program so that it reads the updated HDF5 image format to the latest specification
    the debug version of MSVC was giving a failure on the write of the GIF file,
    regarding the GIF file pointer
    this write error is eliminated declaring that pointer a global variable
    there is still an applicattion error on the exit of the program, only on the debug version of MSVC



Platforms tested:
    w2000
2002-05-01 09:37:14 -05:00
Albert Cheng
73683e4380 [svn-r5278] Purpose:
Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC
Description:
    configure generates many macros definitions on the fly and
    were stored in src/H5config.h which is included by H5public.h.
    But other software that uses hdf5 may also run their own configure.
    There can be a clash in macro name space.  We decided awhile ago
    to prepend all generated macros with "H5_" to avoid conflicts.
    The process has started and this commit completes it (at least attempt
    to).
Solution:
    Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to
    H5_SIZEOF_xxx and H5_HAVE_xxx).  Then H5private.h no longer includes
    H5config.h.  This cuts H5config.h away from HDF5 source code.
Pending issues:
    The module of fortran and pablo are to be resolved in a different
    commit.
Platforms tested:
    eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
2002-04-28 03:34:17 -05:00
Quincey Koziol
e5fc40662c [svn-r5219] Purpose:
Code cleanup

Description:
    Clean up warnings from gcc 3.1

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-22 12:48:24 -05:00
Quincey Koziol
ef9c40754b [svn-r5200] Purpose:
Code Cleanup

Description:
    Clean up compiler warnings from the last bunch of checkins

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 09:05:38 -05:00
Bill Wendling
ecb4296890 [svn-r5160] Purpose:
Regen
Description:
	Updated Dependencies file...
2002-04-10 10:43:37 -05:00
Robb Matzke
9606ebdfc7 [svn-r5143] ./hdf5-devel/tools/h5ls/h5ls.c
Minor h5ls bugfix for compound types with array members.
(Similar changes shortly for 1.4 branch).


2002-04-04 16:39:09 Robb Matzke  <matzke@arborea.spizella.com>
	* display_cmpd_type: Removed code to display array dimensions from display_cmpd_type()
	   since this was a holdover from the days when hdf5
	   didn't have an array datatype and was duplicated by
	   display_array_type().
2002-04-05 14:42:58 -05:00
Bill Wendling
65d52eaf8e [svn-r5120] Purpose:
HDF4 Removal
Description:
	There were some testfiles still left after we removed HDF4 from the
	HDF5 tree...
Platforms tested:
	Linux
2002-03-29 17:55:09 -05:00
Bill Wendling
0f7c2e3017 [svn-r5088] Purpose:
Code removal
Description:
	Removed the HDF4 source files from the HDF5 tree. The directories
	will remain. Use the "-P" option when doing a cvs checkout or update
	to "prune" the empty directories from your personal tree.
2002-03-27 11:11:41 -05:00
Bill Wendling
03463f4f94 [svn-r5074] Purpose:
Code Motion
Description:
	Removal of HDF4 from the configure/Makefiles. This is a precursor to
	the actual physical removal of the HDF4 tools from the HDF5 tree.
Platforms tested:
	Arabica, Dangermouse
2002-03-20 13:14:36 -05:00
Bill Wendling
fd5e3d23af [svn-r5042] Purpose:
Bug Fix
Description:
	Some -I paths weren't included in the h5cc script. That would cause
	the compiler to fail if it was trying to find gass header files or
	the like.
Solution:
	Added the CPPFLAGS macro to the h5cc.in file so that it'll be there
	when it's generated. This will also include some -D options which we
	compiled the library with, like the LFS flags on Linux.

	Also changed the configure* files so that it will "chmod" the created
	h5cc file to 755 (executable) since that wasn't happening all the
	time...
Platforms tested:
	Linux
2002-03-07 15:07:40 -05:00
Bill Wendling
78e3463dbb [svn-r5023] Purpose:
Bug Fix
Description:
	There was a problem with having a lot of groups nested together. We
	could only handle 1024 characters at most, but, in a parallel program
	especially, it could occur that there were lots and lots of groups
	and would be more than 1024.
Solution:
	I made the "objname" part of the obj_t structure a pointer instead of
	a fixed size. Added code to allocate/deallocate the memory we need
	for it. Had to fix how the "prefix" was being handled in the h5dump
	program. It was also set to only 1024 characters in length. I made it
	dynamic.

	Added a test case...Go me!
Platforms tested:
	Linux, Solaris
2002-02-27 16:52:19 -05:00
Bill Wendling
c78139de47 [svn-r5009] Purpose:
Oops
Description:
	I added files for testing the group comments dumping feature, but
	didn't actually add it to the testh5dump.sh script.
Solution:
	Added it.
Platforms tested:
	Linux
2002-02-25 18:12:17 -05:00
Bill Wendling
6a22514a56 [svn-r5008] Purpose:
Test Add
Description:
	Added a test for dumping files with the multi driver.
Platforms tested:
	Linux
2002-02-25 18:06:26 -05:00
Bill Wendling
4263340afa [svn-r5006] Purpose:
Test Addition
Description:
	Added tests to the h5dumper for split and family file drivers.
Platforms tested:
	Linux
2002-02-25 17:38:47 -05:00
Quincey Koziol
b8dbd390db [svn-r4978] Purpose:
Code cleanup
Description:
    Cleanup compiler warnings found by the SGI compiler and gcc 3.0
Platforms tested:
    FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
2002-02-16 21:51:21 -05:00
Bill Wendling
8c7a1c71b5 [svn-r4926] Purpose:
Bug Fix
Description:
	The library path was relying upon the "exec_prefix" variable.
	However, we weren't including that into the h5cc script.
Solution:
	Added it.
Platforms tested:
	Linux
2002-02-08 12:41:38 -05:00
Robb Matzke
84f632178c [svn-r4898] ./hdf5-devel/tools/h5ls/h5ls.c
Fixed copyright notice
2002-02-01 14:05:14 -05:00