Commit Graph

6815 Commits

Author SHA1 Message Date
Raymond Lu
54f376edbb [svn-r9987] Purpose: bug fix
Description:  For hardware conversion from integers to "long double" on AMD machine, the test
failed because the size of "long double"(can be 16 bytes) is bigger than the precision(80 bits).
There can be some garbage in the unused bytes in "long double".  That caused failure during
byte comparison.

Solution:  Clean these unused bytes before comparison.

Platforms tested:  mir and fuss; simple change
2005-02-11 11:59:50 -05:00
Quincey Koziol
9bda1fcfd8 [svn-r9986] Purpose:
New feature & code cleanup

Description:
    Change some references from 'keys' to 'records', which is more correct for
this implementation.

    Added feature to allow preemptive 3 node record redistributions (for leaves
only currently)

    Added feature to perform preemptive 3->4 node splits (for leaves only
currently)

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Solaris 2.9 (shanti) w/purify
    Too minor to require h5committest
2005-02-11 01:50:20 -05:00
Quincey Koziol
ebfc303556 [svn-r9985] Purpose:
New feature & bug fixes

Description:
    Checkpoint v2 B-tree code after getting preemptive 2->3 node splitting
working (for leaf nodes only at the moment, however).

    Also, correct a problem with redistributing records that was probably
causing the failures on mir in yesterday's daily tests.

    Ran code through purify on shanti and cleared up some warnings.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Solaris 2.9 (shanti) w/purify
2005-02-10 21:40:16 -05:00
Raymond Lu
479bdb0bbd [svn-r9984] Purpose: New feature and test
Description:  Added support of hardware conversion between "long double" and integers(mainly
in H5Tconv.c) and some test cases(mainly in test/dtypes.c).


Platforms tested:  h5committest and fuss.

Misc. update:  RELEASE.txt
2005-02-10 17:19:39 -05:00
Raymond Lu
39e11427c5 [svn-r9983] Purpose: New Feature
Description:  Support of hardware conversion between "long double" and integers(mainly in
H5Tconv.c) and test cases for it(mainly in dtypes.c)


Platforms tested:  h5committest and fuss

Misc. update: RELEASE.txt
2005-02-10 17:16:14 -05:00
Xiaowen Wu
33d0a6838d [svn-r9982] Purpose:
bug fix plus minor modifications
Description:
The nbit filter makes a wrong assumption that function H5Z_set_local_nbit
and H5Z_filter_nbit will be called together. It uses 2 local variables
outside these functions to pass information from H5Z_set_local_nbit to
H5Z_filter_nbit.

Solution:
Store the two variables in cd_values[], which can be retrieved when
H5Z_filter_nbit is called independently.
Platforms tested:
heping, copper
Misc. update:
2005-02-10 16:50:37 -05:00
Quincey Koziol
a6ceeb8055 [svn-r9981] Purpose:
Code cleanup

Description:
    Clean up some test files.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/FORTRAN
    Too minor to require h5committest
2005-02-10 16:24:22 -05:00
Albert Cheng
9825b4b57b [svn-r9980] Purpose:
bug fix.

Description:
Need eval before the RUNCMD command because some machines like
AIX, has RUNPARALLEL in the style as
   MP_PROCS=3 MP_TASKS_PER_NODE=3 poe ./a.out
that throws the shell script off.

Platforms tested:
Tested in copper (pp) where it failed before.
Tested in heping pp too.

Misc. update:
2005-02-10 15:31:18 -05:00
Albert Cheng
2065c392ab [svn-r9979] Purpose:
Bug fixed.

Description:
Heping used to have a network limit that if too many rsh connections
occurred in a second, it stopped accepting connections for 30 seconds.
That caused testph5diff to fail when too many mpi jobs are executed
repidly.  A sleep 2 was in to go around this problem.  Heping's limit
has been raised, thus no more need for this hack.  Sleep 2 is removed.

Platforms tested:
Tested in heping (pp).

Misc. update:
2005-02-10 13:55:47 -05:00
Xuan Bai
5bf4aaff68 [svn-r9978] Purpose:
Bug fix.

Description:
Quincey changed "entern H5_DLL" to "H5_DLLVAR" in hdf5/src/H5FLprivate.h which caused some symbols can not be exported correctly by HDF5 DLL.

Solution:
Change "H5_DLLVAR" back to "extern H5_DLL".

Platforms tested:
Visual C++ 6.0 on Windows XP.
.NET 2003 on Windows XP.
Heping (Linux 2.4).

(Note: I talked with Elena and Quincey about this failure.  Quincey asked me to check in this fix.)

Misc. update:
2005-02-10 13:27:11 -05:00
Quincey Koziol
674752ab7d [svn-r9977] Purpose:
Update port

Description:
    Allow FreeBSD builds to use Intel C & F90 compilers (C++ is not working
yet on FreeBSD, so that'll come along later)

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/Intel C & F90 compilers
    Does not affect other platforms...

Misc. update:
2005-02-10 08:30:36 -05:00
Xuan Bai
f6b810b93d [svn-r9976] Purpose:
New feature and update.

Description:
1. New feature: link HDF5 with Zlib 1.2.2 and Szip 2.0 DLL libraries.
2. Update: catch up HDF5 update during past weeks.

Solution:
1. New feature:

   As now HDF5 only links with Zlib and Szip DLL libraries, only 2 environment variables are needed:
                               Environment Variables for HDF5 on Windows
                               Previously                            Now
   HDF5_EXT_ZLIB           zlib.lib                               zdll.lib
   HDF5_EXT_SZIP           szlib.lib                              szlibdll.lib
   HDF5_EXT_ZLIB_DLL       c:\zlib114\dll\zlib.lib                    N/A
   HDF5_EXT_SZIP_DLL       szlibdll.lib                               N/A

   Due to the above change, the following changes are made:
   a. hdf_dll and dsets_dll were linked with HDF5_EXT_ZLIB_DLL and HDF5_EXT_SZIP_DLL
      before this update.  Now they are linked with  HDF5_EXT_ZLIB and HDF5_EXT_SZIP.

   b. In hdf5/tools/dumptest.bat and repacktest.bat, HDF5_EXT_ZLIB was compared with zlib.lib
      and HDF5_EXT_SZIP was compared with szlib.lib to find out whether ZLIB or SZIP libraries
      were presented.  Now HDF5_EXT_ZLIB is compared with zdll.lib and HDF5_EXT_SZIP
      with szlibdll.lib.

2. Update (due to change in source codes)

   a. Add hdf5/src/H5B2.c, H5B2cache.c, H5B2dbg.c, H5B2test.c, H5b2pkg.h, H5B2private.h, and H5B2public.h
      to projects hdf5 and hdf5dll.

   b. Replace H5TA.c and H5TA.h with H5TB.c and H5TB.h in hdf5_hl project.

Platforms tested:
Visual C++ 6.0/DEC Fortran 6.6c on Windows XP.
.NET on Windows XP.

Misc. update:
installation file was updated also.
2005-02-09 19:32:35 -05:00
Xuan Bai
8f487df795 [svn-r9974] Purpose:
Update.

Description:
Update installation file on how to link HDF5 with Zlib 1.2.2 and Szip 2.0 DLL libraries.

Solution:

Platforms tested:

Misc. update:
2005-02-09 18:33:38 -05:00
Quincey Koziol
9f76f83f48 [svn-r9971] Purpose:
New feature

Description:
    Checkpoint v2 B-tree code after getting 2 leaf record redistribution
working and tested.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-02-09 16:32:07 -05:00
Quincey Koziol
f3d0c37f91 [svn-r9970] Purpose:
Bug fix

Description:
    Correct formatting error which would run some macros together if the
length of the error got too large.

Solution:
    Throw in some extra whitespace

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-02-09 16:30:06 -05:00
Leon Arber
c7f2d5c41e [svn-r9969] Purpose:
Correction to previous print_manager_output bugfix

Description:
Although the previous bugfix did fix all the errors, it was not the correct way
to fix the problem.  Since the manager will only buffer output when run in
parallel mode, in serial mode this function should not even be called.

Solution:
Wrapped print_manager_output in #define's to prevent it from being included in
serial builds.


Platforms tested:
heping (serial + parallel)

Misc. update:
2005-02-09 13:19:54 -05:00
Pedro Vicente Nunes
81cfafde89 [svn-r9968]
Purpose:
bug fix

Description:
a string with 2 characters was declared as having size 2. changed to size 3 (+ null character)
this was causing compiler warnings with g++

Solution:

Platforms tested:
linux
free bsd (g++)






Misc. update:
2005-02-09 11:01:53 -05:00
Raymond Lu
86c18b7e4f [svn-r9966] Purpose: Bug fix
Description: H5Tget_member_value didn't return correct value if called after
H5Tenum_valueof.  It's because there's a sorting on the members of enum type in
H5Tenum_valueof which changed the order of members.

Solution:  Made a copy of original type and do sorting on it to protect the
original order.

Platforms tested:  fuss; tested v1.6 with h5committest

Misc. update:  RELEASE.txt
2005-02-09 10:54:44 -05:00
Albert Cheng
e1ef99ed1d [svn-r9964] Purpose:
bug fix

Description:
g++ was not happy with missing protocols of external functions.
Added print_manager_output(void) and phdiff_dismiss_workers(void)
to the public declarations.

Platforms tested:
Tested in sleipnir (g++) and heping (serial, pp)

Misc. update:
2005-02-09 06:36:17 -05:00
Quincey Koziol
71434c4d03 [svn-r9962] Purpose:
Bug fix & code update

Description:
    Fix error in new free-list factory routines that was causing errors on
tungsten, et al.

    Also, checkpoint v2 B-tree code.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Linux 2.4 (tungsten)
    Otherwise too minor to require h5committest
2005-02-08 16:48:14 -05:00
Pedro Vicente Nunes
983e9a9e26 [svn-r9961]
Purpose:
bug fix, new test file

Description:
h5dump was not properly displaying array indices > 3D

Solution:
added the same algorythm and data structure that h5diff uses to calculate the array index
from a element number position

Platforms tested:
linux
solaris






Misc. update:
2005-02-08 15:55:17 -05:00
Raymond Lu
70c0ba03ce [svn-r9959] Purpose: Bug fix
Description: For variable-length string, H5Tget_class returned H5T_STRING as
its class.  But H5Tdetect_class and H5Tget_member_class considered it as
H5T_VLEN.  This is fixed to let all these 3 functions treat it as H5T_STRING.
Some test cases have been added to dtypes.c


Platforms tested:  heping - already tested for v1.6 with h5committest

Misc. update:  RELEASE.txt
2005-02-08 13:30:29 -05:00
Albert Cheng
e31f8dfdc8 [svn-r9957] Purpose:
Bug fix.

Description:
print_manager_output was missing because it was compiled in
only parallel mode.

Solution:
Made it available all the times.

Platforms tested:
h5committested.  (testph5diff.sh failed in copper but that
is a different error.)
Also tested in heping, serial and pp.

Misc. update:
2005-02-08 08:42:46 -05:00
Leon Arber
2183c5971a [svn-r9956] Purpose:
Fixed numerous ph5diff bugs.

Description:
Fixed manager output printing
Fixed out of order output printing
Fixed test script execution problem
Temporary fix for large amounts of output overflowing buffer.

Solution:
The manager task buffers its output.  However, since the manager task
never gets a print token, this output was lost.  Solution: new function called
print_manager_output that prints buffered output is called in places where the
manager buffers its output.

printf was apparently buffering output.  This means that a task would sometimes
print even after it had given up its print token.  Added fflush() call after
printf() calls, which seems to have fixed the problem.

calling rsh multiple times in succession seems to overwhelm something in Linux,
as it begins to refuse new connections until the old ones reset.  Since each
call to mpirun in the test script starts up 4 rsh sessions, the test script
eventually is unable to run any further tests.  Solution: Added a short delay in the
testscript between successive calls to mpirun to allow old connections to reset.

The 10k output buffer was of insufficient size to hold the large amounts of
output generated by some of the tests.  Since code to buffer to a file has not
been implemented yet, a temporary fix was to increase the size of the output
buffer to 50k.

Platforms tested:
heping

Misc. update:
2005-02-08 00:42:49 -05:00
Quincey Koziol
b4153b4f5e [svn-r9955] Purpose:
New feature & bug fix

Description:
    Allow h5debug tool to dump "test" v2 B-trees correctly.

    Also, fix incorrect parameter passing that was causing failures on
various platforms.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    AIX 5.2 (copper)
2005-02-07 20:03:48 -05:00
James Laird
093515817b [svn-r9952] Purpose:
Bug fix

Description:
Typo in /hl/fortran/src Makefile.am caused obtuse compiler complaints from
some compilers (but not others).
Errors were of the form:
gcc: cannot specify -o with -c or -S and multiple compilations

Solution:
In AM_CLFAGS, missed -I before ../../hl/src.  This made gcc think that we
also wanted to compile /hl/src directory.  Fixed error by adding -I.

Platforms tested:
verbena, eirene.
2005-02-07 12:59:42 -05:00
Raymond Lu
3ca585e46c [svn-r9951] Purpose: Minor bug fix.
Description:  The byte order for all 1-byte integer types was fixed as little-endian
even on a big-endian machine.  This's corrected in h5detect.c.  When types are only
1 byte long, a native int is used substitute the type to detect byte order.   Some tools
like h5dump and h5repack are also corrected in this case.


Platforms tested:  fuss, copper, sol.(There're some failures from the recent configure
change).

Misc. update:  Information in the RELEASE.txt.
2005-02-07 12:56:20 -05:00
James Laird
b9d5eb1543 [svn-r9950]
Purpose:
Bug fix

Description:
Make uninstall in /fortran/testpar was trying to remove install/bin directory.

Solution:
Remove the extra line that was copy-pasted into Makefile.am by mistake.  Oops.

Platforms tested:
Copper.
2005-02-07 11:41:28 -05:00
Albert Cheng
6a7a80135d [svn-r9949] Purpose:
Bug fix

Description:
h5diff sometimes will 'exit(status)' but if it is in parallel mode,
it needs to close up the workers and the MPI environment before exit(..).

Solution:
Created h5diff_exit() that will just exit in serial mode but does all
the shutdown properly if in parallel mode.

Platforms tested:
tested in heping, serial and parallel.

Misc. update:
2005-02-06 21:11:31 -05:00
Albert Cheng
8d817baf4b [svn-r9947] Purpose:
Feature

Description:
Added a new function, phdiff_dismiss_workers, which tells the phdiff
worker processes to end.

Platforms tested:
Tested in heping, serial and parallel.

Misc. update:
2005-02-06 18:45:15 -05:00
James Laird
8fb8a22bfd [svn-r9946] Purpose:
Bug fix

Description:
Parallel make was having trouble in fortran/testpar directory
on sol.

Solution:
Added a dependency to ensure that things are built in the correct order.

Platforms tested:
sol
2005-02-06 11:30:11 -05:00
Albert Cheng
70f7afdb36 [svn-r9945] Purpose:
Bug fix

Description:
h5diff_main.c contained some debug printf statment that produced
unexpected output. Commented them out.

testh5diff.sh: implemented code to test ph5diff tests but
ph5diff has some errors that generated unexpected output.
Temporary hacked to skip tests if run by daily test account.

Platforms tested:
Tested in heping, serial and parallel.
2005-02-05 23:16:08 -05:00
Quincey Koziol
a0c833a287 [svn-r9944] Purpose:
Bug fix (sorta)

Description:
    Disable btree2 testing until Monday, when I can look into the failures
without a toddler on my lap. :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
2005-02-05 15:43:22 -05:00
James Laird
24f7d99d91 [svn-r9943] Purpose:
Bug fix

Description:
/fortran/testpar build breaks when making in parallel

Solution:
Massage depdendencies slightly to ensure that object files are
built after module file.
Also made sure that module file gets cleaned properly.

Platforms tested:
eirene
2005-02-05 13:32:00 -05:00
Quincey Koziol
da42955371 [svn-r9941] Purpose:
Code cleanup

Description:
    Clean up some testfiles that were left behind...

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-02-04 22:04:43 -05:00
Quincey Koziol
1c3c5b18ba [svn-r9940] Purpose:
Bug fix

Description:
    Correct the record count for the newly split root node

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-02-04 16:33:42 -05:00
Quincey Koziol
24770bf218 [svn-r9939] Purpose:
New feature

Description:
    Expand v2 B-tree code to support splitting the root node when enough
records are inserted and move metadata cache callbacks into their own source
file.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor for h5committest
2005-02-04 16:14:42 -05:00
Quincey Koziol
8ffba3474e [svn-r9938] Purpose:
Bug fix

Description:
    Correct path to 'sh' and set executable, so this script can be run
directly from the command line.

Platforms tested:
    Linux 2.4 (heping)
    Too minor to require h5committest
2005-02-04 16:11:33 -05:00
Robert E. McGrath
5592642133 [svn-r9937] Purpose:
Bug

Description:
Assertion failure

Solution:
don't call decrement when the object doesn't exist.

Platforms tested:
shanti,verbena

Misc. update:
2005-02-04 12:22:29 -05:00
Robert E. McGrath
c4bf7bf62a [svn-r9934] Purpose:
Bug

Description:
Refinement to bug fix #282

Solution:
Altered argument handling to do a better default.

Platforms tested:
verbena, shanti

Misc. update:
2005-02-04 08:46:54 -05:00
Quincey Koziol
c3f7be36ce [svn-r9933] Purpose:
Bug fix

Description:
    Add names for new B-tree objects to metadata cache code.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor for h5committest
2005-02-04 08:15:47 -05:00
Albert Cheng
02a7d6f138 [svn-r9932] Updated with the newly added testph5diff.sh file. 2005-02-03 23:16:56 -05:00
Albert Cheng
d9c9a573fb [svn-r9931] Purpose:
new features

Description:
Added a parallel option to testh5diff.sh to do parallel h5diff tests.
Added testph5diff.sh to invoke testh5diff.sh with parallel mode.

Platforms tested:
Tested in heping (serial and pp).
2005-02-03 23:13:37 -05:00
James Laird
db2575baa9 [svn-r9930]
Purpose:
Bug fix

Description:
Parallel builds were breaking in tools/lib

Solution:
talign didn't realize it depended on libh5tools.la because its
dependencies listed the full path (../../tools/lib/libh5tools.la).
Changed this, and made similar changes in a couple of other
directories.
This checkin should also add the --foreign flag to every Makefile.in

Platforms tested:
sleipnir (minor change)
2005-02-03 16:59:40 -05:00
Albert Cheng
5186398930 [svn-r9929] Purpose:
Features

Description:
Added the option to build ph5diff and run testphdf5.sh when
parallel mode is enabled.

Platforms tested:
tested in heping, both serial and parallel.

Misc. update:
2005-02-03 16:03:24 -05:00
Quincey Koziol
0b332ace5e [svn-r9928] Purpose:
New feature

Description:
    Add basic code for new B-tree implementation.  They don't do much yet,
aren't hooked up to anything yet and the format may change, but I'd like to
start getting them into the daily tests.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-02-03 14:59:05 -05:00
Robert E. McGrath
3bf1bfa4ec [svn-r9927] Purpose:
Bug fix #282

Description:
Problem with byte order

Solution:
Do it right.  See 1.6 checkin

Platforms tested:
verbena, shanti

Misc. update:
2005-02-03 11:46:15 -05:00
Leon Arber
8af1385939 [svn-r9925] Purpose:
Bug Fix

Description:
Permanent fix for the incompatibilities between h5diff and h5repack.

Solution:
h5diff now contains the code to run both parallel and serial diffs.
Depending on how the binary is called, it will run either the serial or
the parallel versions respectively.


Platforms tested:
heping(serial + parallel), copper.


Misc. update:
2005-02-02 18:01:42 -05:00
Robert E. McGrath
d0ced67f52 [svn-r9924] Purpose:
Bug fix (#56)

Description:
h52gif creash for data > 1 byt

Solution:
check datatype and return with error message if not 1 byte int

Platforms tested:
shanti,verbena

Misc. update:
2005-02-02 16:43:15 -05:00
Pedro Vicente Nunes
c9c1277401 [svn-r9921] Purpose:
bug fix

Description:
the test fail condtion of a close function was set to if H5Dclose  < 1

Solution:
set to < 0

Platforms tested:
linux

Misc. update:
2005-02-02 16:28:52 -05:00