Commit Graph

3340 Commits

Author SHA1 Message Date
HDF Admin
e7bfa8ebf7 [svn-r8498] Snapshot version 1.7 release 25 2004-05-09 04:12:21 -05:00
Quincey Koziol
0f805b3aa5 [svn-r8496] Purpose:
Code optimization

Description:
    Further reduce the number of copies we make of a hyperslab selection for
chunked I/O, especially when we are only going to throw the old selection away
for a new one.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
2004-05-08 14:09:50 -05:00
Quincey Koziol
583bdf994c [svn-r8495] Purpose:
Bug fixes

Description:
    Updated dependencies

    Fixed error with C++ compiler builds of main library

    Added H5Pset_data_transform to MPE info

Platforms tested:
    FreeBSD 4.9 (sleipnir)
2004-05-08 09:48:42 -05:00
Raymond Lu
e6fcf3db0f [svn-r8492] *** empty log message *** 2004-05-07 16:59:24 -05:00
Quincey Koziol
e88f391fe1 [svn-r8490] Purpose:
Code cleanup

Description:
    Reset pointers to heap info and actual heap after we have unlocked them,
to avoid accidentally referencing them after that point.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-05-07 15:41:31 -05:00
Leon Arber
6c01245357 [svn-r8489] Purpose:
Bug fix.

Description:
Fixed token_type enum struct in H5Ztrans.c to compile under windows.

Solution:
Prefixed all values in the struct with H5Z_XFORM_ to prevent name collisions
with pre-defined values.

Platforms tested:
h5committest'ed, but on arabica + no sol.
2004-05-07 12:17:50 -05:00
Leon Arber
1867c05efb [svn-r8488] Purpose:
Bug fix.

Description:
Fixed handling of trivial data transform expressions (like 5/3 + 3) and some
data coversion fixes.  Also added more tests to dtransform.c

Solution:
Added some more checks in the H5Z_xform_reduce_tree function to see if perhaps
the transform expression is complicated and is a non-trivial reduction.
Added tests for data conversion to dtransform as well as tests for a trivial
data transform expression.

Platforms tested:
h5committest'ed, except used arabica instead of sol and didn't do on copper
b/c no logon there. Problem noted with mtime test...doesn't appear to be
related to anything having to do with data transforms.
2004-05-06 17:44:38 -05:00
Raymond Lu
28eb73c972 [svn-r8487] Purpose: Internal function change
Description:  H5T_reverse_order was declared as private function.

Solution:  Change it to static local function in H5Tconv.c since it's not
used by any function in other file.

Platforms tested: RH 8(fuss)
2004-05-06 14:34:03 -05:00
HDF Admin
2c16f0510b [svn-r8486] Purpose:
Reset release number back to 1.7.x by removing the fphdf5-alpha1 sub-
release string.
2004-05-06 09:39:23 -05:00
HDF Admin
5be0fa4ef3 [svn-r8485] Snapshot version 1.7 release 24 (fph5_alpha1) 2004-05-06 09:32:52 -05:00
Quincey Koziol
4996258268 [svn-r8483] Purpose:
Bug fix

Description:
    Fix problems compiling with g++.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/CC=g++
2004-05-05 15:25:26 -05:00
Quincey Koziol
7f99a80b0a [svn-r8482] Purpose:
Code cleanup

Description:
    Refactored data transform code to reduce amount of symbols in the global
scope and also cleaned up & simplified the code a bit.

Platforms tested:
    h5committest (minus copper, plus serial modi4)
    FreeBSD 4.9 (sleipnir) w & w/o parallel
2004-05-05 14:29:09 -05:00
Albert Cheng
0c6229a68d [svn-r8479] Purpose:
New Feature

Description:
Add the data transform function, H5Pset_transform().

Platforms tested:
"h5committested".
Copper was down.  Ran parallel tests in sol instead.

Misc. update:
2004-05-03 18:34:42 -05:00
Albert Cheng
ecd3870fa2 [svn-r8477] Purpose:
Cleanup source.

Description:
H5DZtrans.c is renamed as H5Ztrans.c.
H5DZ.c is not used any more.

Platforms tested:
No need since removing files only.

Misc. update:
2004-05-03 16:47:22 -05:00
Quincey Koziol
5f736b4bed [svn-r8476] Purpose:
Code optimization

Description:
    Improved LRU algorithm for locating blocks of the correct size in the
block free-list

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor for h5committest
2004-05-03 15:42:35 -05:00
Quincey Koziol
8aef71afb7 [svn-r8474] Purpose:
Code optimization

Description:
    Reduce amount of information allocated/freed for chunk cache.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/paralell)
    too minor to require h5committest
2004-05-03 14:53:13 -05:00
Quincey Koziol
08b5597205 [svn-r8472] Purpose:
Code optimization

Description:
    Eliminate the B-tree "split_ratios" as a parameter and pull it from the
DXPL instead.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-05-03 13:53:50 -05:00
MuQun Yang
2a1e065579 [svn-r8467] Purpose:
Fixing building Fortran DLL on windows
Description:
Fortran DLL needs to separate C stub DLL from Fortran DLL.
So we need to use another keyword H5_FCDLL to replace the old H5_DLL for
C stub library.

Solution:
 Add another section at H5api_adpt.h to define a macro block for Fortran
C stub library.

Platforms tested:
Manual tests.
Copper is not accessible. Only test on arabica and eirene with fortran enabled.

Misc. update:
2004-05-03 10:30:10 -05:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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