Commit Graph

6587 Commits

Author SHA1 Message Date
Quincey Koziol
90d937946f [svn-r9611] Purpose:
Bug fix

Description:
    Correct typo in ia64 configure script.

    Update intel compiler detection to handle Itanium versions of compilers

Platforms tested:
    Teragrid machine (tg-login) w/icc 7.1 & 8.x
    Linux 2.4 (verbena) w/icc
2004-12-03 13:08:14 -05:00
Elena Pourmal
699588cf33 [svn-r9609] Purpose: Small bug fix
Description: Build failed in hl/test directory on OSF1 at PSC

Solution: It looks like that two extra blank lines after
          CPPGLAGS definition caused the syntax error
          I deleted the lines, and compilation went through

Platforms tested: lemiuex, heping

Misc. update:
2004-11-30 20:59:42 -05:00
Albert Cheng
d8f332bcb9 [svn-r9608] Purpose:
Added comment of the fix.

Platforms tested:
only tested in heping as it is only a comment added.
2004-11-30 20:13:29 -05:00
Pedro Vicente Nunes
a0ff168ad5 [svn-r9605] Purpose:
added a configure generated by autoconf 2.53

Description:

Solution:

Platforms tested:
linux (fuss)

Misc. update:
2004-11-30 18:46:30 -05:00
Quincey Koziol
17daa748fa [svn-r9603] Purpose:
Bug fix

Description:
    Correct integer overflow situation for computing the size of a dataset.

Solution:
    Rachet one of the dimensions down far enough that the total size of the
dataset's raw data doesn't overflow a 64-bit int.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    IRIX 6.? (tesla) w/-n32
    Too minor to require h5committest
2004-11-30 15:53:53 -05:00
Quincey Koziol
5d104d60c9 [svn-r9601] Purpose:
New feature

Description:
    Allow skip list keys to be strings (needed for property list support)

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-11-29 23:42:40 -05:00
Quincey Koziol
73df82dcdf [svn-r9598] Purpose:
New internal feature

Description:
    Add a "release" routine to the skip lists, which releases all the nodes
in the skip list, but keeps the skip list active.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-11-29 16:01:20 -05:00
Quincey Koziol
51ed85b277 [svn-r9596] Purpose:
Code optimization

Description:
    Retarget metadata cache code from using TBBT routines to using new skiplist
routines, for a reasonable speedup (when dealing with dirty metadata)

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7  (arabica)
    Too minor to require h5committest
2004-11-29 14:55:18 -05:00
Quincey Koziol
3e99d8411c [svn-r9592] Purpose:
Bug fix

Description:
    Re-work array of 'forward' pointers in a way that makes the PGI compiler
more happy.

Solution:
    Change from 'H5SL_node_t *forward[1]' to 'H5SL_node_t **forward' and
change how array of forward pointers is dealt with.

Platforms tested:
    Linux 2.4 (verbena) w/PGI
    FreeBSD 4.10 (sleipnir)
    Configuration not tested w/h5committest
2004-11-29 12:40:24 -05:00
Quincey Koziol
9f4d8be1d1 [svn-r9591] Purpose:
Bug fix

Description:
    Add dependency on the HDF5 library as well as the high-level library for
rebuilding tests.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-11-29 12:36:10 -05:00
Quincey Koziol
423f58cc38 [svn-r9587] Purpose:
Bug fix

Description:
    Correct off-by-on error which could cause invalid # of levels to be used
for a skip list node, in rare circumstances.

    Change from srandom()/random() to more portable srand()/rand() routines
for random # generation.

    Pre-compute the probability factor for computing the level of new nodes,
for a minor speedup.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    IRIX64 6.5 (modi4)
    Solaris 2.8 (sol)
    AIX 5.1(?) (copper)
2004-11-27 23:38:38 -05:00
Quincey Koziol
7209da2410 [svn-r9585] Purpose:
Code optimization

Description:
    Begin de-orbital burn of threaded, balanced binary tree code use by
switching file open object code over to using them.  Initial benchmarks show
that skip lists are 5-10x faster than our TBBT code...

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-27 13:16:59 -05:00
Quincey Koziol
1729192d9e [svn-r9584] Purpose:
Code optimization

Description:
    Revise mechanism for calling H5open/H5check to better avoid calling them
from internal libray code.

    Only copy a datatype's group entry information if it has some.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-27 12:54:04 -05:00
Quincey Koziol
b52107a42a [svn-r9580] Purpose:
Add new internal data structure

Description:
    Add an implementation of skip lists to the library (see comment in
src/H5SL.c for references to the papers describing them) as a potential
replacement for our current threaded, balanced binary tree container.
Skip lists are much simpler to implement and should be faster to use.

    Also, added new error codes to release branch, so bump the minor version
number to indicate that the library is no longer perfectly compatible with
the 1.6.3 release.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require further testing (the skip lists aren't actually
    used by any library code yet)
2004-11-27 11:07:11 -05:00
Pedro Vicente Nunes
a27b3f81f0 [svn-r9579] Purpose:
bug fix

Description:
one header file that was removed from the repo was not removed from the makefile.in,
causing make install to fail

Solution:
removed the file from the public header file list to be installed

Platforms tested:
linux

Misc. update:
2004-11-26 11:41:58 -05:00
Albert Cheng
003ffe2424 [svn-r9576] Purpose:
Added an explanation of ASCII printing for h5dump.
2004-11-24 22:17:57 -05:00
MuQun Yang
c20de8aed4 [svn-r9575] Purpose:
Adding testing code for collective IO implementation

Description:
Won't affect testing HDF5 library.
Not tested yet, only check in for debugging purpose.

Solution:

Platforms tested:
Linux 2.4 + mpich 1.2.6
Aix 5.1 + mpcc_r

Misc. update:
2004-11-24 16:13:26 -05:00
MuQun Yang
cb58a0d8c6 [svn-r9574] Purpose:
Adding code for using MPI derived datatype to handle collective IO

Description:
No testing yet, won't affect the library.

Solution:

Platforms tested:
linux 2.4 + mpich 1.2.6
Aix 5.1 + mpcc_r

Misc. update:
2004-11-24 16:11:36 -05:00
Pedro Vicente Nunes
f206b7cec1 [svn-r9572] Purpose:
bug fix

Description:
the routine for applying the layout for the new file of h5repack was not
handling the logic correctly in cases where an input layout was not set

Solution:
changed the logic so that the original layout is preserved
(this bug was introduced in the last change, October 19 04)

Platforms tested:
linux (small change)

Misc. update:
2004-11-24 14:48:31 -05:00
Pedro Vicente Nunes
2c940aa917 [svn-r9571] Purpose:
bug fix

Description:
the string build of some test files using "srcdir" was not done properly

Solution:

Platforms tested:
linux

Misc. update:
2004-11-24 10:44:27 -05:00
Quincey Koziol
c731eb9d37 [svn-r9569] Purpose:
Update flags

Description:
    Update gcc compiler flags to support the early gcc 4.0 snapshots available
on sleipnir

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/gcc 4.0 snapshot
    Too minor to require h5committest
2004-11-23 22:25:19 -05:00
Quincey Koziol
ac4e04fbc2 [svn-r9567] Purpose:
Cleanup & add test

Description:
    Clean up test makefile a bit and add metadata cache test to 1.6 branch.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-11-23 22:15:27 -05:00
Albert Cheng
f470d44017 [svn-r9565] Purpose:
Improvement.

Description:
Change the default CC, F9X and CXX compilers from ecc/efc/ecc
to icc/ifort/icc because Intel keeps changing their compiler
names.  This eliminated the warning messages that a wrong
compiler name is used.

Platforms tested:
Tested in Tg-login NCSA only since that is the only
IA64 platform on site.
2004-11-23 15:48:06 -05:00
Quincey Koziol
0535c9b048 [svn-r9563] Purpose:
Code optimization

Description:
    Change how default allocation time is handled internally to the library,
to avoid some performance issues with property lists.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-23 14:48:10 -05:00
Pedro Vicente Nunes
56951d947c [svn-r9562] Purpose:
bug fix

Description:
the Makefile.in of the hl tests was not including a "srcdir"  include path
the test table .c file was missing also the srcdir path


Solution:
add it

Platforms tested:

Misc. update:
2004-11-23 10:50:53 -05:00
Pedro Vicente Nunes
dee149bfc4 [svn-r9561] Purpose:
bug fix

Description:
the Makefile.in had an instruction on the make install part that was not suposed to be there

Solution:
removed it

Platforms tested:
linux
aix

Misc. update:
2004-11-22 16:47:21 -05:00
Quincey Koziol
1cee912aaa [svn-r9559] Purpose:
Code optimization

Description:
    Switch a few more malloc/free pairs over to using internal free list code,
to avoid abusing system memory allocator as badly.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-22 14:53:17 -05:00
Pedro Vicente Nunes
293fe87eee [svn-r9558] Purpose:
insert high level library into main library


Description:
configure.in has a new entry (--enable-hl, disable-hl) it is on by default
the configure message prints info regarding if hl is enabled or not

the tree is
/hl
/hl/src
/hl/test



Solution:

Platforms tested:
linux
solaris
AIX


Misc. update:
2004-11-22 14:17:36 -05:00
Quincey Koziol
35ffb5bd13 [svn-r9556] Purpose:
Code cleanup & optimization

Description:
    Improve ADF/CGNS benchmark by reducing the number of internal attribute
copies made during creations, opens and writes.

    Added new H5O_iterate() routine for iterating through messages of a certain
type in the object header (attributes are the only message currently that can
have multiple instances in the object header).

    Cross-pollinated various minor code cleanups to reduce diffs between
branches.


Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-22 12:14:11 -05:00
Binh-Minh Ribler
d58b9bf5b2 [svn-r9555] Purpose: Fixing minor bug
Description:
    Xuan reported that "uint" used in this example caused error when
    built with MS Visual Studio compiler.

Solution:
    Changed to "int."

Platforms tested:
    Very minor, so I only tested on eirene.  I'll let Xuan know
    to check on Windows.

Misc. update:
2004-11-21 14:24:08 -05:00
Quincey Koziol
afebb37a42 [svn-r9552] Purpose:
Code optimization

Description:
    Avoid making as many copies of attribute information.

    Also, be smarter about which properties we've seen before when copying
and closing property lists.

    Fix memory leak of attribute data structures.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-19 09:57:25 -05:00
Quincey Koziol
6ec311b1d3 [svn-r9550] Purpose:
Code optimization

Description:
    Rework & move around some of the macros for querying balanced properties
of nodes to speed up tree balancing code.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-18 15:11:50 -05:00
Albert Cheng
8c97a51f70 [svn-r9549] updated with new file entry. 2004-11-18 14:56:26 -05:00
Albert Cheng
e66d28ceb9 [svn-r9547] Updated. 2004-11-18 14:55:10 -05:00
Albert Cheng
9070897283 [svn-r9543] Purpose:
Bug fix (#264)

Description:
h5dump did not print attribute data in ASCII format when
-r is used.

Solution:
Added the ability to print in ASCII for Attributes Data also.
Added a test for printing Attributes with -r option.
tall-2B.ddl is the standard output for printing attributes with -r option.

Platforms tested:
H5committested.
Also in heping.

Misc. update:
Update MANIFEST.
2004-11-18 14:41:59 -05:00
Albert Cheng
e52f682ced [svn-r9542] Purpose:
Bug fix (#264)

Description:
h5dump did not print attribute data in ASCII format when
-r is used.

Solution:
Added the ability to print in ASCII for Attributes Data also.
Added a test for printing Attributes with -r option.

Platforms tested:
H5committested.
Also in heping.

Misc. update:
Update MANIFEST.
2004-11-18 14:41:25 -05:00
Quincey Koziol
49db749a01 [svn-r9540] Purpose:
Code optimization

Description:
    Change threaded, balanced binary tree insertion routine to use more
efficient "fast" search routine when trees with "fast compare" routines have
objects inserted into them.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-18 13:53:35 -05:00
Raymond Lu
7016b6e5ed [svn-r9539]
Purpose:  Correction to previous bug fix.  This checkin is mainly to let user
test his program.

Description:   For family driver bug(#213), the previous fix was imperfect.  The problem
was when user create family file, the member size information wasn't saved in file.  When
the file was re-opened, the library simply use the size of 1st member file as member size.

Solution:
              When file is re-opened, member size passed in from access property
              is checked to see if it's reasonable.  If there is only 1 member
              file, member size can't be smaller than current member size.
              If there are at least 2 member files, member size can only be equal
              to the 1st member size.

Platforms tested:  h5committest and fuss
2004-11-18 11:52:12 -05:00
Quincey Koziol
1878ad9c2c [svn-r9537] Purpose:
Code cleanup & optimizations

Description:
    Clean up some of the code in attributes to avoid allocating memory and
performing type conversions when the conversion is a noop.

    Avoid memory allocations of attribute data structures by switching to use
library's free list memory allocator routines.

    Avoid memory allocations of object header continuation data structures by
switching to use library's free list memory allocator routines.

    Rearrange threaded, balanced binary tree macros slightly to avoid some
overhead.


Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-17 11:53:38 -05:00
Quincey Koziol
94b852d15a [svn-r9535] Purpose:
Correct typo in comment.

Platforms tested:
    Not tested - too minor
2004-11-17 10:22:51 -05:00
Quincey Koziol
5c47b07a75 [svn-r9534] Purpose:
Update some missing dates for prior work.
2004-11-17 09:15:12 -05:00
Pedro Vicente Nunes
edbd77302f [svn-r9533] Purpose:
enhanced performance for h5diff

Description:
the comparison cycle for the 2 buffers read from file was using a compare function
where the type must be checked for each datum (e.g due to recursive calls in compound types)

for atomic types this checking can be avoided


Solution:

introduced cycles for each one of the atomic integer and float class types

Platforms tested:
linux
aix
solaris


Misc. update:
2004-11-16 14:51:39 -05:00
Raymond Lu
22a72b911e [svn-r9531] Purpose: Bug fix(#213)
Description:  H5Pset_fapl_family sets family member size only for creating
new file.  The file doesn't keep this size information.  When the file is
re-opened, the size of first member file is used as the member size.

Solution:  Assume user knows the original member size and sets it through
H5Pset_fapl_family.  That will be the member size.  User can pass in value 0
as member size if he doesn't know the original member size.  Library will
choose the size of current first member size as the member file size.

Platforms tested: h5committest and fuss.
2004-11-16 11:38:28 -05:00
MuQun Yang
b950cebd9e [svn-r9530] Purpose:
Modifying testing code for derived datatype.
However, this test won't be run in the HDF5 parallel test.
The code is checked in only for debugging purpose.

Description:

Solution:

Platforms tested:
Linux 2.4(mpich 1.2.6)

Misc. update:
2004-11-15 15:49:49 -05:00
MuQun Yang
539080945c [svn-r9529] Purpose:
Check in some new fixes for MPI derived datatype routines

Description:
MPI derived datatype algorithm seems working for a simple case;
however, there are still other problems need to be solved. So the
code cannot be used for the time being. Check-in only for debugging.
It won't affect other part of the library.
Solution:

Platforms tested:
Linux 2.4 (heping, serial and parallel)
(Since no new tests were added and changes are mostly restricted to
one fuction, no need to test three platforms).


Misc. update:
2004-11-15 15:46:59 -05:00
HDF Admin
0eb15cd68f [svn-r9527] Snapshot version 1.7 release 42 2004-11-14 05:18:42 -05:00
Quincey Koziol
8d422da811 [svn-r9526] Purpose:
Bug fix, sorta.

Description:
    Revert change to H5Pget_data_transform() which changed len of buffer
returned to be inconsistent with H5Iget_name(), etc.  We should discuss this
change and apply it to all the similar functions if we decide to change the
return value.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-11-12 09:16:58 -05:00
Albert Cheng
9b09201ce1 [svn-r9525] Purpose:
updated for added dtransform example.

Platforms tested:
bin/chkmanifest.
2004-11-12 07:28:03 -05:00
Leon Arber
5d7425c686 [svn-r9524] Purpose:
Bug Fix

Description:
Fixed off by one error in H5Pget_data_transform

Solution:
H5Pget_data_transform, when queried for the size of the property, should
return strlen() + 1 so that the user can allocate memory for the terminating
\0 in the string.

Also fixed a typo in a comment in H5Ztrans.c

Platforms tested:
eirene, too minor to require further testing.

Misc. update:
2004-11-11 21:40:14 -05:00
Leon Arber
73a495e7ac [svn-r9523] Purpose:
Added data transform example

Description:
Added example code for the data dtransform

Solution:
This code both illustrates how data transform works and shows how to use it.
Examples of data transform on read, write, and both at the same time.
Also shows usage of H5Pget_data_transform

Platforms tested:
eirene + copper

Misc. update:
2004-11-11 21:37:53 -05:00