5991 Commits

Author SHA1 Message Date
Quincey Koziol
51455f4282 [svn-r8464] Purpose:
Code optimization

Description:
    Eliminate redundant B-tree lookups for chunk information.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-05-01 23:26:10 -05:00
Quincey Koziol
b0a3d7c970 [svn-r8462] Purpose:
Code optimization

Description:
    Reduce the number of times the number of elements in a selection is
computed.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-05-01 14:19:52 -05:00
Quincey Koziol
4b0ff36410 [svn-r8460] Purpose:
Code optimization

Description:
    Move the element size for the selection into the selection iterator instead
    of always passing it as a parameter.

    Also, eleminate another 64-bit multiply for "all" selections.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-05-01 13:16:54 -05:00
Quincey Koziol
ecea60e95c [svn-r8457] Purpose:
Code optimization

Description:
    Stop straddling the line and always use elements instead of bytes to
determine how how I/O to perform on a selection.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-05-01 11:10:17 -05:00
Quincey Koziol
4f0b880861 [svn-r8456] Purpose:
Code optimization

Description:
    Eliminate more 64-bit multiplies by remebering the size of contiguous
datasets as well as chunked datasets.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 22:29:00 -05:00
Quincey Koziol
a4281bd2f2 [svn-r8454] Purpose:
Code optimization

Description:
    Eliminate more redundant 64-bit multiplies

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 22:02:52 -05:00
Quincey Koziol
1bc43aeb51 [svn-r8452] Purpose:
Code optimization

Description:
    Eliminate frivolous 64-bit multiply.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 21:23:13 -05:00
Quincey Koziol
a13d291aff [svn-r8450] Purpose:
Code optimization

Description:
    Remove extraneous memcpy()

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 20:09:36 -05:00
Quincey Koziol
b9cf2953a3 [svn-r8448] Purpose:
Code optimization

Description:
    Remove redundant error checking.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:50:24 -05:00
Quincey Koziol
4ec99fe2b4 [svn-r8446] Purpose:
Code optimization

Description:
    Avoid dividing the chunk coordinates at the top levels of the chunk I/O
routines, only to multiply them at the bottom of the routines.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:13:07 -05:00
Quincey Koziol
f88a6f8e52 [svn-r8444] Purpose:
Code cleanup

Description:
    Remove bogus "#undef NDEBUG" at top of file, which was blocking compiler
flags from setting NDEBUG properly.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:11:16 -05:00
Quincey Koziol
5cd5b713b3 [svn-r8441] Purpose:
Code cleanup/optimization

Description:
    Don't clear the error stack when calling H5open(), it's unnecessary.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 19:10:06 -05:00
MuQun Yang
1b17aac26e [svn-r8440] Purpose:
New feature

Description:
Previously we have two windows .zip files for hdf5. One for c/c++ and
one for fortran. That added double maintenance work and also bug-driven.


Solution:
Use one merged all.zip.
By default, only C library will be tested.
Users can check fortran and c++ project files for fortran tests.
Detailed project list to be checked will be provided in windows doc.

Platforms tested:
windows xp 6.0 VS C++, Dec Fortran
windows 2000 6.0 VS C++, Dec Fortran, Intel C++

Misc. update:
2004-04-30 17:33:03 -05:00
Quincey Koziol
9713919eb7 [svn-r8439] Purpose:
Code cleanup

Description:
    Refactor code to eliminate duplication of setup & calls to H5B_find to
locate information about a chunk on disk.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 10:40:16 -05:00
Quincey Koziol
243e20669c [svn-r8437] Purpose:
Code optimization

Description:
    Hoist some if statements out of a loop in vector comparision routines that
are called very frequently by chunking code.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-30 09:13:05 -05:00
Quincey Koziol
e1016ffdd0 [svn-r8435] Purpose:
Temporarily disable float/double->unsigned long long conversion while I
work on fix.

Platforms tested:
    Linux 2.4 (verbena)
    too minor to require h5committest
2004-04-29 15:33:43 -05:00
Quincey Koziol
15af61fcc7 [svn-r8434] Purpose:
Code optimization.

Description:
    Use free-list pool of blocks for allocating chunk buffers, when there are
no filters in the pipeline.  The avoids calling malloc/free so much.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-29 09:44:00 -05:00
Quincey Koziol
2da3744374 [svn-r8432] Purpose:
Bug fix

Description:
    Change C++ methods to match C prototypes for datatype overflow callback
routines.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/C++
    too minor to require h5committest
2004-04-29 09:16:45 -05:00
Albert Cheng
b64b643c54 [svn-r8430] Purpose:
Slight improvement.

Description:
Show directory name at the beginning and ending of running
make check in a directory.  Together with the time stamp,
it will be easier to see how much time it takes to run all
the tests in one directory.

Platforms tested:
Eirene only.

Misc. update:
2004-04-28 16:54:41 -05:00
Albert Cheng
c66d2cb606 [svn-r8428] Purpose:
Updated for newly added function.

Platforms tested:
Tested in Copper with MPE option.

Misc. update:
2004-04-28 16:48:29 -05:00
Quincey Koziol
d992a4a387 [svn-r8427] Purpose:
Bug fix (sorta)

Description:
    Add hack to allow the MS Visual Studio 6 compiler to build the library.
It cannot cast unsigned long long values to float or double values.  So, add
another configuration macro to disable this conversion in the library.  Just
the "hardware" conversion is disabled, so the library will still correctly
convert unsigned long long to float and double values, it will just happen
more slowly with the "software" conversion routine.

Platforms tested:
    FreeBSD 4.9 (sleipnir) with "Windows" setting faked
    inappropriate for h5committest
2004-04-28 13:42:25 -05:00
Raymond Lu
480e8d4c9c [svn-r8426] Purpose: Bug fix
Description:  H5Pset_type_conv_cb and H5Pget_type_conv_cb weren't put into
H5MPprivate.h.  Another thing is the func type doesn't match the func field
in the struct in these functions.


Platforms tested: RH 8(fuss) and sleipnir
2004-04-28 12:40:45 -05:00
Quincey Koziol
12ba2eed6a [svn-r8425] Purpose:
Bug fix (sorta)

Description:
    The SGI machines have problems accurately (and consistently) converting
unsigned long values to float and double values, so put in a bit of a hack in
the datatype conversion test code to allow them to get "close enough".  This
hack is enabled at configure time by a flag which should only be set on machines
with this problem.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-28 12:02:12 -05:00
Raymond Lu
b3d2f04490 [svn-r8424] *** empty log message *** 2004-04-27 14:16:54 -05:00
Raymond Lu
85b599e933 [svn-r8423] Purpose: New feature
Description:  A new exception handler for datatype conversion(set through
H5Pset_type_conv_cb) to replace the old overflow callback function(set
through H5Tset_overflow).  This new handler can deal with overflow, precision
loss and fraction truncate during datatype conversion.


Platforms tested: h5committest

Misc. update:  release_docs
2004-04-27 14:16:35 -05:00
Albert Cheng
4fa0c3f5bc [svn-r8422] Purpose:
Undo the mysterous changes.

Description:
Somehow something changed this file during snapshot release.
Undo the change.

Platforms tested:
No test since it is a simple editing.

Misc. update:
2004-04-26 08:54:16 -05:00
Quincey Koziol
aa38a1386e [svn-r8420] Purpose:
Correct typo in H5Pcreate() information
2004-04-26 06:48:37 -05:00
HDF Admin
9af04cd41d [svn-r8418] Snapshot version 1.7 release 23 2004-04-25 04:10:35 -05:00
Quincey Koziol
77706cc276 [svn-r8416] Purpose:
Code cleanup

Description:
    Reduce warnings w/PC-Lint in various ways

Platforms tested:
    PC-Lint
    too minor to require h5committest

Misc. update:
2004-04-23 22:47:06 -05:00
Quincey Koziol
b57f3b955f [svn-r8415] Purpose:
Code cleanup

Description:
    Reduce # of warnings with PC-Lint

Platforms tested:
    PC-LINT
    Too minor to require h5committest
2004-04-23 22:24:54 -05:00
MuQun Yang
33a8fa2a1e [svn-r8413] Purpose:
bug fix

Description:
szip dll path was wrong at debug version
Since h5dump --xml thlink.h5 and h5dump --xml tmany.h5 failed for debugging due to
string allocation violation in h5dump.c; we turned off these two tests
for debug testing.

Solution:
Add a temporary batch file called dumptstdebug.bat for the time being.

Platforms tested:
windows 2000 VS 6.0.

Misc. update:
2004-04-23 12:24:17 -05:00
Quincey Koziol
fad6801569 [svn-r8412] Purpose:
Code cleanup

Description:
    Run lint on module

Platforms tested:
    PC-Lint
    Too minor to require h5committest
2004-04-23 00:06:20 -05:00
Xuan Bai
562cdc22ff [svn-r8411] Purpose:
bug fix
Description:
h5repack and h5repacktst are not included in all dependencies.
unresolved externals in h5repack and h5repacktst.
Solution:
Added all dependencies on h5repack and h5repacktst.
Added h5repack and h5repacktst dependencies on toolslib.
h5repack and h5repacktst settings/Link/Object/library modules: added zlib.lib szib.lib.
Platforms tested:
Windows XP MS VS 6.0
Misc. update:
2004-04-22 15:34:35 -05:00
Quincey Koziol
d9ccc0e0f5 [svn-r8408] Purpose:
Code optimization

Description:
    Instead of dynamicly allocating various arrays for various pieces of
information about a selection or selection iterator, just use fixed size
array of size H5S_MAX_RANK (as the rest of the library does).

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-22 15:21:44 -05:00
Quincey Koziol
e8e696542f [svn-r8406] Purpose:
Code optimization

Description:
    Make calculation of "all" selection sequence length information more
efficient.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    h5comittest
2004-04-22 15:18:49 -05:00
Elena Pourmal
664fc34c33 [svn-r8404]
Purpose: Maintenance

Description: h5dwrite/read_f and h5awrite_read_f functions were overloaded
             with dims argument being of type INTEGER and INTEGER(HSIZE_T).
             We promised to remove overloading in 1.4 release. It was
             removed from documentation but not from the source code.

Solution: Finish code cleanup.

Platforms tested: Solaris 2.7 32 and 64 bit, and copper with --enable-
                  parallel. Windows are broken, so Kent and Xuan
                  will test it with their changes later.

Misc. update:
2004-04-22 12:18:46 -05:00
MuQun Yang
01d12a0e02 [svn-r8395] Purpose:
Windows update including project update, H5Tinit.c update.

Description:
H5detect.c has been changed in UNIX, H5Tinit.c needs to be updated.
Several test files have been re-arranged.



Solution:
Fix them

Platforms tested:
windows xp

Misc. update:
2004-04-19 16:31:11 -05:00
Quincey Koziol
92413789bf [svn-r8393] Purpose:
Code optimization

Description:
    Avoid clearing the error stack unless necessary.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-19 15:23:04 -05:00
John Mainzer
60206e959e [svn-r8392] Purpose:
Bug fix.

Description:
The data verification code didn't work.  Also numerous minor bugs.

Solution:
Re-wrote data write and verification code.  In particular, I
modified the verification code so it actually verifies data.

In the future, this test should be modified so it exercises
object deletes and chunk I/O.

Platforms tested:
h5committested
2004-04-19 12:54:07 -05:00
John Mainzer
4a85877fdc [svn-r8391] Purpose:
Checkpoint checkin of FP bug fixes.  FP is still quite
buggy, but I must go deal with other matters.


Description:

Fixed two major bugs:

1) H5FPserver.c was clobbering meta data in its care.

2) H5FPserver.c was allocating the same space multiple
   times, causing both data and meta data corruption.

Also made minor fixes, added debugging code, and familiarized
myself with the FP code.

All development work with FP enabled was done on Eirene.
On this platform, FP now passes its test reliably with
up to 9 processes.  At 10 processes it seg faults every
time.  I haven't looked into this issue.

There are also several known locking bugs which have to
be fixed.  However, they are of sufficiently low probability
that I didn't bother with them on this pass.

FP has not been tested with deletions -- this should be
done.

Also, need to test FP chunked I/O.


Solution:

1) Modified cache in H5FPserver.c to merge changes correctly.
   Found and fixed a bug in H5TB.c in passing.

2) Multiple space allocation was caused by a race condition
   with set eoa requests.

   Most of these eoa requests appeared to be superfluous, so
   I deleted them.

   Those issued during the superblock read seemed necessary,
   so I inserted a barrier at the end of the superblock read,
   to prevent races with allocations.

Platforms tested:
h5committested
2004-04-19 12:42:34 -05:00
Pedro Vicente Nunes
55a64a7359 [svn-r8390] Purpose:
bug fix

Description:
the "all" project did not include h5repack

Solution:

Platforms tested:

Misc. update:
2004-04-19 12:30:41 -05:00
John Mainzer
9937495a33 [svn-r8389] Purpose: Bug fix and warning
Description:
Fixed bug in H5TB_less().  It was returning the next largest node,
instead of the next smallest as advertised.

Added comments warning that H5TB_rem()s will occasionally delete a
node other than the one provided in its argument list.

Solution:
It was sufficient t invert two comparisons in H5TB_less().

Platforms tested:
h5committested
2004-04-19 11:24:48 -05:00
Albert Cheng
d8a499cd87 [svn-r8386] Purpose:
Bug fix.

Description:
LOGFILE was showing both hostname and srcdirname when srcdirname is used.
Fixed it.

Platforms tested:
Tested in LANL QSC.
2004-04-18 23:04:16 -05:00
HDF Admin
4e65894845 [svn-r8385] Snapshot version 1.7 release 22 2004-04-18 04:10:08 -05:00
Quincey Koziol
0a29514b9d [svn-r8383] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:09 -05:00
Quincey Koziol
432f394cbb [svn-r8378] Purpose:
Code cleanup

Description:
    Regenerated with older version of dataspace information, since these files
don't contain null dataspaces.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:32:30 -05:00
Quincey Koziol
76d71de747 [svn-r8377] Purpose:
Code cleanup

Description:
    Added more tests

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:32:01 -05:00
Quincey Koziol
880d8357bf [svn-r8376] Purpose:
Code cleanup

Description:
    Update null dataspace changes to try to write older version of dataspace
information whenever possible.

    Refactor common code to only one location.

    Allow I/O operations to succeed on null dataspaces.


Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:31:50 -05:00
Quincey Koziol
7456a9293d [svn-r8375] Purpose:
Bug fix.

Description:
    Allow the recent changes to support correct srcdir operation to also work
when building in place.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest

Misc. update:
2004-04-17 15:29:01 -05:00
Quincey Koziol
d08090ff29 [svn-r8374] Purpose:
Code optimization

Description:
    Instead of re-initializing the default stride & block arrays to have values
of '1' in each position each time we perform a hyperslab selection, create
static constant arrays with '1's in them.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 14:22:15 -05:00