Commit Graph

760 Commits

Author SHA1 Message Date
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