Commit Graph
2855 Commits
Author SHA1 Message Date
Quincey Koziol 5a2c6b0ae1 [svn-r12221] Purpose:
"Hide" file format changes (for now)

Description:
    Add ifdef's (controlled by the --enable-group-revision configure flag)
to disable group revision changes to the file format, in order to allow alpha
release to go ahead without releasing an unsupported version into the wild.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 32-bit (heping)
    Linux 2.4 64-bit (mir)
    Solaris 2.9 (shanti)
2006-04-09 22:03:30 -05:00
Quincey Koziol 68ec8c72bc [svn-r12219] Purpose:
Code cleanup

Description:
    Don't include empty public header files.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 32-bit (heping)
    Linux 2.4 64-bit (mir)
    Solaris 2.9 (shanti)
2006-04-09 21:51:57 -05:00
Quincey Koziol aab7fd598f [svn-r12218] Purpose:
Code cleanup

Description:
    Remove remnents of references to unimplemented H5S_COMPLEX dataspace.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 32-bit (heping)
    Linux 2.4 64-bit (mir)
    Solaris 2.9 (shanti)
2006-04-09 21:51:05 -05:00
Quincey Koziol d165e1d8e7 [svn-r12191] Purpose:
Bug fix

Description:
    Correct the handling of the group creation property list when copying
objects with the "create intermediate groups" flag.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest (once I pay attention to the compiler
warnings... :-)
2006-04-02 10:29:35 -05:00
Quincey Koziol ea7a5346d7 [svn-r12190] Purpose:
Code checkpoint

Description:
    Update fractal heap code to allow skipping direct blocks (that are too
    small to hold object) when the root indirect block is created.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-04-01 16:09:48 -05:00
Quincey Koziol 4659f50b83 [svn-r12189] Purpose:
New/expanded features

Description:
    Check in Peter's changed for the object copy code:
        - Allow/fix copying datasets using named variable-length datatypes
        - Start adding framework for property list to control how object
            copying occurs.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-04-01 15:14:11 -05:00
Quincey Koziol 244fdb6d89 [svn-r12184] Purpose:
Code checkpoint

Description:
    Checkpoint recent additions to fractal heap code, which allow for better
support of objects that don't fit into current direct block, requiring
skipped direct blocks to be tracked in free section list.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago & heping)
    Linux 2.4 (mir) w/64-bit & FORTRAN & C++
    Mac OSX (amazon)
2006-03-31 10:43:14 -05:00
MuQun Yang cf67d9ff84 [svn-r12173] Purpose:
Adding parallel tests for optional collective chunk APIs

Description:
Three new APIs
"H5Pset_dxpl_mpio_chunk_opt_ratio
H5Pset_dxpl_mpio_chunk_opt_num
H5Pset_dxpl_mpio_chunk_opt"
for optional optimization choices from users
have been added to the libraries.

This check-in adds six tests to verify the funcationality and correctedness
of these APIs.
These tests need to be verified with 3 or more processors and with MPI-IO driver only.
Solution:
Using H5Pinsert, H5Pget, H5Pset to verify that the library indeed goes into the branch we hope for.
Using H5_HAVE_INSTRUMENT macro to isolate these changes so that it won't affect or be misused by the application.


Platforms tested:
h5committest(shanti still refused to be connected)
Parallel tests on heping somehow are skipped. Manually testing at heping. Have checked
1,2,3,4,5 processes.

Misc. update:
2006-03-29 09:33:39 -05:00
Quincey Koziol 935d75c50d [svn-r12162] Purpose:
Code checkpoint

Description:
    Check in fractal heap code to add basic support for skipping direct blocks
when an object is too large to fit in one.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
2006-03-28 09:03:46 -05:00
Quincey Koziol 87050be33e [svn-r12161] Purpose:
Code checkpoint

Description:
    Checkpoint fractal heap code at a stable point in development.  It appears
that adding objects to heaps and reading them back out is now working
properly (as long as there are no gaps in the heap and no standalone objects
are created).

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Linux 2.4 (mir) w/64-bit & FORTRAN & C++
    Solaris 9 (shanti) w/64-bit
2006-03-27 16:57:50 -05:00
Quincey Koziol 9f9f687dc4 [svn-r12155] Purpose:
Code optimization

Description:
    Tweak file free space allocation routines to optimize them a bit.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-25 20:38:30 -05:00
James Laird 93aa12407f [svn-r12149] Purpose:
Bug fix

Description:
Previous checkin did a bad thing; 'make clean' failed in example directories.

Solution:
Fixed commence.am so that examples no longer break, and fixed a mistake
in conclude.am.

Platforms tested:
heping (minor makefile change)

Misc. update:
2006-03-23 16:26:17 -05:00
James Laird 524d25498f [svn-r12143] Purpose:
Bug fix

Description:
make check-clean didn't clean results of example tests

Solution:
Fixed Makefiles so that check-clean recurses into example directories.
Also a little Makefile cleanup.

Platforms tested:
mir, modi4, heping, copper
2006-03-23 09:22:34 -05:00
MuQun Yang 54f02fdaf2 [svn-r12139] Purpose:
portibility issue to windows
Description:
setvbuf on visual studio 2005 needs the size to be greater or equal to 2.
<description of setvbuf from msdn library>
Buffer size in bytes. Allowable range: 2 <= size <=
INT_MAX (2147483647). Internally, the value supplied
for size is rounded down to the nearest multiple of 2.

h5import used linebuffer option of setvbuf for stderr and stdout and the size is
0 by default. This causes core dump with visual 2005 on windows 64-bit.

Solution:
1. Use HDsetvbuf inside h5import.c,
2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around
   the core dump of h5import test. This is probably a bug inside visual studio 2005.

Platforms tested:
h5committest
windows 6.0 at XP
visual 2005 at XP-64bit

Misc. update:
2006-03-22 21:20:12 -05:00
Elena Pourmal 391e474379 [svn-r12138] Purpose: VMS port
Description: Unix remove function removes only the latest version of a file
             on VMS. Some of our tests create multiple versions of the testfiles
             and as a result, test programs may be confused, give false negative result,
             etc.

Solution: Created HDremove_all function for VMS that removes all versions of the files.
          HDremove on VMS is an alias to HDremove_all.

Platforms tested: VMS server and heping (to check that nothing is borken on UNIX side)

Misc. update:
2006-03-22 17:52:07 -05:00
Quincey Koziol 433fdf2bf8 [svn-r12133] Purpose:
Code cleanup

Description:
    Update a couple of files that bin/reconfigure rearranged for me... :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-22 14:15:53 -05:00
Quincey Koziol 5135181d31 [svn-r12132] Purpose:
Code cleanup

Description:
    Add H5E header to this header, to make certain that the errors in the
"inline" routines are handled correctly.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OSX (amazon)
2006-03-22 13:50:19 -05:00
Quincey Koziol 6c8a082596 [svn-r12131] Purpose:
Code update

Description:
    Add new minor error, for heap metadata operations.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OSX (amazon)
2006-03-22 13:46:08 -05:00
Quincey Koziol 3424f9f5d1 [svn-r12128] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings (esp. those flagged on Windows builds)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-22 13:11:24 -05:00
Quincey Koziol 2db47ff504 [svn-r12125] Purpose:
Code checkpoint

Description:
    Update fractal heap code to insert & read heaps up to 64MB in size
(with my current configuration paramaters) and add initial support for
iteratively walking down nested indirect blocks.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Solaris 9 (shanti)
    Linux 2.4 (mir) w/64-bit
2006-03-20 21:59:06 -05:00
MuQun Yang ebc9e3981b [svn-r12123] Purpose:
Add more comments

Description:
Add more comments to H5Dmpio.c, which describes a little bit more about collective IO management.

Solution:

Platforms tested:
Only test at heping since only comments were added.

Misc. update:
2006-03-20 12:13:36 -05:00
Quincey Koziol a53790e16a [svn-r12122] Purpose:
Code update

Description:
    Add basics of routine for reading information back out of a fractal heap.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-18 16:33:48 -05:00
Quincey Koziol 2315bc4dda [svn-r12118] Purpose:
Checkpoint code

Description:
    Rework code to support increasing size of root indirect block, in order
to add [at least] a second row of direct blocks.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Solaris 9 (shanti) w/64-bit
    Linux 2.4 (mir)
2006-03-17 22:16:40 -05:00
MuQun Yang 68385c1746 [svn-r12117] Purpose:
Enhancing the optimiziation of collective IO per chunk

Description:
When the user does one of the following two things:
1. to do collective IO per chunk without using our optimization code
2. or the user passes the percent of number of process per chunk to be 0 when choosing
   to do collective IO per chunk

It is not necessary that the library uses MPI-IO collective calls to do any optimization.
Solution:
Modify the code so that no MPI communication-involved analyses will be done for the above cases. Chunk addresses are obtained globally  and IO modes are assigned to collective always.



Platforms tested:
h5committest

Misc. update:
2006-03-17 21:59:32 -05:00
Raymond Lu b6e8651a3a [svn-r12115] Purpose: Change codes in a more appropriate way.
Description:  Yesterday, H5E_NONE_MAJOR and H5E_NONE_MINOR were added to error
API by hand.

Solution: Today, correct the change by hand with the tool hdf5/bin/make_err.
The change by hand is only in src/H5err.txt.

Platforms tested: fuss - simple change.

Misc. update:
2006-03-17 15:14:14 -05:00
Quincey Koziol 3597bbd700 [svn-r12114] Purpose:
Code cleanup

Description:
    Re-alphabetize the POSIX routines (again).  Also, add proper prototype
to HDrand() definition.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-17 14:54:40 -05:00
Leon Arber 11a590c02b [svn-r12113] Purpose:
Bug fix

Description:
There was a duplicate definition for HDsrandom and HDsrand left over in H5private.h

Solution:
Removed the two duplicate definitions.

Platforms tested:
heping (minor change)

Misc. update:
2006-03-17 12:24:35 -05:00
MuQun Yang a0653c727f [svn-r12111] Purpose:
minor change for collective code

Description:

Solution:

Platforms tested:
mir

Misc. update:
2006-03-17 09:12:17 -05:00
Leon Arber bac394c495 [svn-r12110] Purpose:
Optimization

Description:
Get rid of unnecessary function call for systems that don't have rand_r.

Solution:
If rand_r isn't present on a system, then macros can be used to simply call
the underlying random function instead of calling the HDrand/HDsrand functions
that keep track of the random seed within the library.


Platforms tested:
heping (minor change)

Misc. update:
2006-03-16 16:35:32 -05:00
Raymond Lu 6e8ba9561d [svn-r12109] Purpose: Backward compatibility support
Description: Added H5E_NONE_MAJOR and H5E_NONE_MINOR as a major and minor
error message.  Their messages are "no error", but because the old library
had them, they're added in for backward compatibility.


Platforms tested: fuss - simple change.
2006-03-16 16:29:23 -05:00
Quincey Koziol 2d6bcc3212 [svn-r12108] Purpose:
Code cleanup

Description:
    Move VAX floating-point definitions down by the other machine specific ones.

    Re-work the version handling for VAX byte ordered floating-point numbers.
Version numbers ought to be strictly increasing, not a bit-field.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
2006-03-16 16:14:14 -05:00
Raymond Lu 4e6b22e04d [svn-r12107] Purpose: Minor change
Description: Changed macro from VMS to H5_VMS.


Platforms tested: no test needed.
2006-03-16 15:27:27 -05:00
Quincey Koziol 58db790d25 [svn-r12104] Purpose:
Code cleanup

Description:
    Re-alphabetize POSIX macros.

Platforms tested:
    None, just eyeballed, too minor.
2006-03-16 13:49:29 -05:00
Quincey Koziol 357dc7ee99 [svn-r12102] Purpose:
Code cleanup

Description:
    Clean up formatting & comments, etc.

Platforms tested:
    None, very minor
2006-03-16 13:43:26 -05:00
Quincey Koziol 49ab3665aa [svn-r12093] Purpose:
Code checkpoint

Description:
    Checkpoint fractal heap changes - mostly internal changes to better
handle more direct blocks from root indirect block.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OS X (amazon)
2006-03-15 15:16:04 -05:00
Raymond Lu a2a98a8135 [svn-r12091] Purpose: Support for VAX floating-point types.
Solution: Support VAX float and double types with new byte order. There're some
details not yet included,
1. the alignment detection for VAX order in H5detect.c.
2. support for special values in library conversion functions.
3. the infinity for VAX in H5T_init_inf.
4. support for VAX types in printing hexadecimal format.


Platforms tested: h5committest and fuss.
2006-03-14 17:11:21 -05:00
MuQun Yang a4c816eb75 [svn-r12090] Purpose:
New APIs to add for collective chunk IO

Description:
Three new APIs
H5Pset_dxpl_mpio_chunk_opt_ratio
H5Pset_dxpl_mpio_chunk_opt_num
H5Pset_dxpl_mpio_chunk_opt

for optional optimization choices from users.
Solution:
Haven't added tests yet, won't affect other parts of the library.
Will add tests after urgent investigations of memory leaking problems from NASA Aura team.
Platforms tested:
heping: both parallel and sequential
shanti
Misc. update:
2006-03-14 13:29:35 -05:00
Quincey Koziol 5c6ea93f2f [svn-r12085] Purpose:
Bug fix

Description:
    Correct function name in FUNC_ENTER macro.

Platforms tested:
    None, just eyeballed, too minor to require more.
2006-03-14 08:23:10 -05:00
Quincey Koziol ee3fdc2dbc [svn-r12084] Purpose:
Code checkpoint

Description:
    The fractal heap code is reasonably stable and is passing all its
current tests, so checkpoint everything with CVS.

    Also, add "statistics" module for v2 B-trees code, which is only a
stub right now.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX (amazon)
    Linux 2.4 (chicago)
2006-03-13 14:47:16 -05:00
HDF Admin c619cf0f51 [svn-r12083] Snapshot version 1.7 release 58 2006-03-13 13:38:16 -05:00
Quincey Koziol 81e95888f1 [svn-r12082] Purpose:
Bug fix

Description:
    Clean up a few code mis-matches that crept in during the last checkin.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5commitest
2006-03-11 21:02:50 -05:00
Quincey Koziol 2501750f5e [svn-r12081] Purpose:
New feature

Description:
    Update "power of two" macro and add "general" log2() routine.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-11 17:04:30 -05:00
Quincey Koziol 6af9839f16 [svn-r12080] Purpose:
New feature

Description:
    Add "variable-length" 32-bit encode/decode macros, matching the other
64-bit ones, for later use in the fractal heap code.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor for full h5committest
2006-03-11 17:03:27 -05:00
Quincey Koziol 810cda019d [svn-r12079] Purpose:
Update code

Description:
    Add a new error value, for later use.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor for full committest
2006-03-11 17:01:42 -05:00
Quincey Koziol 1f41dfca05 [svn-r12078] Purpose:
New features

Description:
    Add "find node greater than or equal to key" and "remove first" operations
to skip lists.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-11 16:59:01 -05:00
Quincey Koziol e054e736aa [svn-r12077] Purpose:
Code cleanup

Description:
    Fix/update formatting, clean up typos, etc.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-11 16:57:18 -05:00
Elena Pourmal 3f791d1b06 [svn-r12054] Purpose: VMS port
Description: Made small changes to sec2 driver to reflect that VMS systems ino_t is 1dim array
             of size 3; all changes are marked with H5_VMS variable.
             Defined HDremove macro for VMS to remove multiple versions of the files.

Solution:

Platforms tested: heping, VMS server

Misc. update:
2006-03-09 16:30:19 -05:00
Fang Guo de56ebab0e [svn-r12035] Purpose:
Description:
Two functions (HDsrand and HDrand) are not declared. They caused
compiling errors on Windows.  Declare these two functions:
 H5_DLL int HDrand();
 H5_DLL void HDsrand(unsigned int seed);

Solution:

Platforms tested:
Windows XP and heping
Misc. update:
2006-03-07 15:40:47 -05:00
Leon Arber 9fc71ccba4 [svn-r12021] Purpose:
Bug fix.

Description:
Fix typo.  srand/srandom don't return anything, so don't attempt to return
their value.

Solution:

Platforms tested:
heping

Misc. update:
2006-03-07 01:13:23 -05:00
Leon Arber 840bcbe9ef [svn-r12019] Purpose:
Bug fix/Feature

Description:
Modify the library to use rand_r, when available, instead of srand.  If
rand_r is not available, it will try to use srandom/random, and then finally
fall back to srand/rand.

Solution:
A couple places in the library use the srand() function to seed the random
number generator.  This can cause problems on certain platforms and could theoretically
cause problems for users who expect a certain sequence of random numbers following their
own call to srand().

Most platforms have an implementation of rand_r, which is identical to rand, except that
it allows for explicit storage of the seed value.  The configure script will now check
for the existence of rand_r to facilitate its use in the library.

Two new functions are added, to replace the macros HDsrand/HDrand.  These functions are HDrand and
HDsrand.  HDrand will call rand_r, if available, or random(), if available, and fall back to rand() if neither
of those is available.  HDsrand will store the seed value locally, if rand_r is available.  Otherwise, it will call
srandom if available, and fall back to srand otherwise.


Platforms tested:
heping, mir.  Really need to test on Red Storm, since that platform motivated this fix, but the machine
is currently not available.

Misc. update:
2006-03-06 23:23:24 -05:00