Commit Graph

6838 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
b625ca2b74 [svn-r10014] Purpose:
new test

Description:
add a test for the get number of scales function

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-16 10:34:33 -05:00
James Laird
adf0f3e317 [svn-r10013] Purpose:
Bug fix

Description:
While commenting out some code in a Makefile.am, I missed two lines.

Solution:
Commented out those lines.

Platforms tested:
verbena, heping

Misc. update:
2005-02-15 17:49:27 -05:00
Pedro Vicente Nunes
ceb75f0efd [svn-r10012] Purpose:
new tests

Description:
added more tests to DS (check if parameters IDs are valid)

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-02-15 16:45:25 -05:00
Robert E. McGrath
cc20659e7f [svn-r10011] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-02-15 14:22:16 -05:00
Robert E. McGrath
266779b712 [svn-r10010] Purpose:
feature

Description:
nbit support in repack

Solution:

Platforms tested:

Misc. update:
2005-02-15 14:22:01 -05:00
Robert E. McGrath
824d0c2da0 [svn-r10009] Purpose:
feature

Description:
support for nbit compression in h5repack

Solution:

Platforms tested:
verbena,copper,shanti

Misc. update:
manifest
2005-02-15 14:21:39 -05:00
Raymond Lu
182c3fe08d [svn-r10008] Purpose: Bug fix
Description:  When hardware conversion between "long double" and integers was added to the
library, the "double" used in H5T_CONV_Fx and H5T_CONV_xF for alignment wasn't big enough for
"long double".  New macros H5T_CONV_Lx and H5T_CONV_xL were added to use "long double" for
alignment.  But later it's found out the new macros were not necessary.

Solution:  Took out the new macros H5T_CONV_Lx and H5T_CONV_xL; change the "double" to "long
double" for alignment in H5T_CONV_Fx and H5T_CONV_xF.

Platforms tested: h5committest
2005-02-15 13:39:30 -05:00
Albert Cheng
ee61bd3c0f [svn-r10007] Purpose:
Bug fix.

Description:
ph5diff is still being fixed.
Changed this to report all failures but will not flag them as
errors so that daily tests can continue.  Will be fixed soon.

Platforms tested:
Tested in sol (pp) where it has most failures.

Misc. update:
2005-02-15 13:03:04 -05:00
Pedro Vicente Nunes
9aed26ea4a [svn-r10006] Purpose:
new features

Description:
added a 1st batch of tests for error conditions

Solution:

Platforms tested:
linux
solaris


Misc. update:
2005-02-14 16:29:59 -05:00
James Laird
2870a5d07a [svn-r10005] Purpose:
Configure feature

Description:
Changed bin/reconfigure.sh script to use autotools in AFS.

Solution:
Previously, the only machine with the correct versions of autoconf and
automake was heping.  Now both tools are installed in AFS, so
in theory any hdf machine can be used to run the reconfigure script.

Platforms tested:
heping, eirene, verbena.
On sleipnir and arabica the autotools were unable to find a version
of m4 that was new enough for them.

Misc. update:
2005-02-14 16:13:12 -05:00
MuQun Yang
4ad6d6dbd1 [svn-r10004] Purpose:
Update compiler information supported by windows.

Description:

Solution:

Platforms tested:

Misc. update:
2005-02-14 15:54:18 -05:00
Raymond Lu
17f24c954c [svn-r10003] Purpose: Bug fix
Description:  At line 3564, the command H5T_bit_set(s, src.u.f.mpos, 1, FALSE)
has unclear intention to me.  Before I figure it out, move it to line 3590,
where I think it should be.  This did fix some data conversion.


Platforms tested:  fuss - already test it for v1.6.
2005-02-14 14:47:57 -05:00
Pedro Vicente Nunes
d308ee9e68 [svn-r10000] Purpose:
bug fix

Description:
in 1 case when there was not a requested layout, the original chunk  was not preserved

Solution:

Platforms tested:
linux (small change)

Misc. update:
2005-02-14 14:25:23 -05:00
Xiaowen Wu
2d48117817 [svn-r9999] Purpose:
Very slight modification.

Description:
Remove two redundant local macros.

Solution:

Platforms tested:
heping

Misc. update:
2005-02-14 13:15:35 -05:00
Leon Arber
e1ffee4e4e [svn-r9998]
Purpose:
Bug fix

Description:
Fixed the error on copper where output would match, except the worker tasks are forcefuly terminated at the end.

Solution:
If an exit code other than 0 was returned, the
parallel environment would assume that there
was an error and would terminate all other
tasks.  Because h5repack relies on the return
value of h5diff, it was necessary to return
values other than 0.  Fixed by having parallel
runs of h5diff always return 0, whereas the
return value of serial runs is unchanged.


Platforms tested:
copper

Misc. update:
2005-02-13 18:47:54 -05:00
Quincey Koziol
3eec63782b [svn-r9996] Purpose:
Update manifest with file that was accidentally removed.
2005-02-12 09:43:01 -05:00
Quincey Koziol
7316f0e7e7 [svn-r9995] Purpose:
New feature & bug fix

Description:
    Allow root node to split, forming a level 2 B-tree

    Fix error where wrong record was being copied up to parent node for a 2
node redistribution on the "right" side of the B-tree.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Solaris 2.9 (shanti)
2005-02-11 18:36:08 -05:00
Quincey Koziol
610bf8a815 [svn-r9994] Purpose:
Bug fix

Description:
    Unbreak build by adding definition for NBIT macro.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Solaris 2.9 (shanti)
2005-02-11 18:32:46 -05:00
James Laird
b96f342722 [svn-r9993] Purpose:
Bug fix

Description:
Arabica exhibited strange errors when linker found wrong versions of
header files.  This happened because include directories were
given to linker in the wrong order.

Solution:
Move include directories from AM_CFLAGS variable to INCLUDES
variable to put them before CPPFLAGS variable.  Trust me, it works.
This bug may also have contributed to strange errors on other platforms
(kelgia?).

Platforms tested:
copper, sleipnir, arabica.
	(h5dump broke while building on arabica, but this happened in
	a clean checkout, too).
2005-02-11 16:32:22 -05:00
Robert E. McGrath
791146f98a [svn-r9992] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-02-11 14:06:37 -05:00
Robert E. McGrath
caff5c341a [svn-r9991] Purpose:
Feature

Description:
dumper support for nbit

Solution:

Platforms tested:

Misc. update:
2005-02-11 14:04:22 -05:00
Robert E. McGrath
5bedb5edfe [svn-r9989] Purpose:
Feature

Description:
Adding support for NBIT compression to dumper

Solution:


Platforms tested:
arabica, verbena, copper64

Misc. update:
2005-02-11 14:03:41 -05:00
James Laird
3f0a35a4ea [svn-r9988] Purpose:
Bug fix

Description:
pmake (on modi4, for instance) complains about undefined variables
if it is run without the -V flag, which turns those errors to warnings.

Solution:
Added test to configure.in to see if $MAKE will allow Makefiles
with undefined variables.  If not, sets -V flag in AM_MAKEFLAGS.
Ensured that all custom make targets use AM_MAKEFLAGS.
Also defined all variables that caused errors in top-level Makefile.am.
This means that pmake can be used to build hdf5 *from the top level
only*.  To run make from a subdirectory, still need to use -V flag
(or use make or gmake).

Platforms tested:
modi4, heping, copper, sleipnir
2005-02-11 12:40:52 -05:00
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