Commit Graph

785 Commits

Author SHA1 Message Date
cvs2svn
cdcf0e1e12 [svn-r8248] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2004-03-10 18:00:36 -05:00
Quincey Koziol
b66a383c5e [svn-r8162] Purpose:
Bug fix

Description:
    Add ifdef around most of this file, to protect it from the Intel 7.1 C
compiler which seems to have bugs in its -MG flag for creating dependency
information.

Platforms tested:
    Linux IA64 (titan)
    too obscure to require testing on other platforms
2004-02-07 15:09:30 -05:00
Raymond Lu
ca6c8cbeae [svn-r8072] *** empty log message *** 2004-01-15 15:41:42 -05:00
Raymond Lu
c516bc9a85 [svn-r8071] Purpose: bug fix
Description: h5dump and h5ls cannot handle special characters when data
        is enum type.


Platforms tested: h5committest
2004-01-15 15:41:32 -05:00
Albert Cheng
45646fcb89 [svn-r8042] 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:07:23 -05:00
Albert Cheng
6a9d906c90 [svn-r8035] Purpose:
feature

Description:
Install the C and Fortran compiler commands as h5pcc and h5pfc if
parallel mode is used.

Platforms tested:
"h5committested"
2004-01-07 12:45:16 -05:00
cvs2svn
64e365a48f [svn-r8023] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2004-01-06 12:53:16 -05:00
Albert Cheng
38aa912af2 [svn-r7981] Regenrated Dependies files.
h5committested.
2003-12-25 22:02:36 -05:00
Quincey Koziol
898ba82d42 [svn-r7844] 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:20:23 -05:00
cvs2svn
dd241064c1 [svn-r7843] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2003-11-13 10:20:23 -05:00
Albert Cheng
d677301726 [svn-r7810] 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 verbena since it is trivial.
2003-11-03 10:31:36 -05:00
Robert E. McGrath
73afb8ce3e [svn-r7736] Purpose:
Fix bug.

Description:
Wrong parameter in subroutine call.

Note: this only affects '--xml', and only affects the value of
the fill value that is reported.

Solution:
put correct parameter in subroutine call

Platforms tested:
verbena

Misc. update:
2003-10-25 14:34:47 -05:00
Elena Pourmal
83f49851c1 [svn-r7712]
Purpose: Maintenance

Description: h5createU8 utility was the old h5import utiltity.
             It was supposed to be gone for 1.6.1 but I forgot to delete
             it before the release. I am doing it now.

Solution:

Platforms tested: arabica

Misc. update:
2003-10-23 08:02:08 -05:00
Quincey Koziol
cc3f8148ed [svn-r7624] Purpose:
Updated dependencies and tracing information

Platforms tested:
    Not necessary.
2003-10-14 09:32:55 -05:00
MuQun Yang
0ee744833e [svn-r7600] Purpose:
bug fix

Description:
On windows debug/debugdll; somehow: a crash happened by free() function
although that string is "allocated".
Make some efforts to fix without success.
Suspect a compiler bug.

Solution:
Use #ifdef WIN32 #endif comment out that free function for the time being.
Hopefully h5dump debug version is not used.

Platforms tested:
windows 2000, linux 2.4(no need for more platforms because of win-specified).

Misc. update:
2003-10-10 11:04:48 -05:00
Quincey Koziol
4739cc20ee [svn-r7548] 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:30:13 -05:00
cvs2svn
e1ba6c55de [svn-r7547] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'. 2003-10-05 16:30:13 -05:00
Quincey Koziol
b18839aebc [svn-r7546] 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:28:08 -05:00
Quincey Koziol
eb12b59f7c [svn-r7545] 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:27:47 -05:00
Albert Cheng
57e38d527c [svn-r7419] 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:29:55 -05:00
Quincey Koziol
3bec117108 [svn-r7399] 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 14:57:22 -05:00
Quincey Koziol
bbb546d4de [svn-r7390] 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:45 -05:00
MuQun Yang
c8a653e397 [svn-r7346] Purpose:
bug fix

Description:
On windows, rindex is not supported. strrchr is used instead.

Solution:

Platforms tested:
linux 2.4, windows 2000
(since the change is minimal and three other platforms have been used to
test for 1.7 branch, so no needs to test more).

Misc. update:
2003-08-11 18:03:28 -05:00
Robert E. McGrath
26db4f6e01 [svn-r7271] Purpose:
This is the expected result for the fix for bug 888.

It shold have been checked in yesterday.

Description:

Solution:

Platforms tested:

Misc. update:
2003-07-29 09:15:35 -05:00
Robert E. McGrath
610a44a636 [svn-r7267] Purpose:
1. Address Bug 888
2. Update h5dump xml to 1.6

Description:

This is an omnibus update to the h5dump tool.

1. Bug 888: Added '-A', suppress data in dataset, but give values of attr.

2. Many changes to update the XML output.  See:

   http://hdf.ncsa.uiuc.edu/RFC/XMLSchema/

3. The XML dumper tests have been split off.  The standard 'make check'
   no longer runs the XML tests.
   'make check-xml' runs the XML tests manually.  (Some tests
   may fail on some platforms, e.g., on 64bit.)
   'make check-all' runs regular and then xml tests.


Solution:

Platforms tested:
verbena, arabica, copper (64bit)

Misc. update:
MANIFEST updated.
2003-07-28 12:54:31 -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