Commit Graph

4247 Commits

Author SHA1 Message Date
Quincey Koziol
51073136ce [svn-r14109] Description:
Make certain to define the API function and typedef version macros
in all situations.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.10 (amazon)
2007-08-23 18:19:18 -05:00
Quincey Koziol
14ce8811f7 [svn-r14108] Description:
Make version macro for typedefs closer to version macro for API
functions.

Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Linux/64 2.6 (smirom)
        Solaris/32 5.10 (linew)
2007-08-23 17:40:22 -05:00
Quincey Koziol
63eb5b9ebb [svn-r14104] Description:
Pursue calls to H5Gcreate() relentlessly and ruthlessly exterminate
them, leaving only a few tame specimens in text files and comments.  ;-)

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-23 15:25:25 -05:00
Quincey Koziol
f7db09fb3d [svn-r14101] Description:
Change definition of H5E_walk1_t compatibility type to match the H5E_walk_t
type in the 1.6.x library.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Too minor to require commit test
2007-08-23 07:54:50 -05:00
Quincey Koziol
cdd4606430 [svn-r14097] Description:
First real use of API versioning code, H5E routines switched to use
new API versioning scheme.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-21 16:08:27 -05:00
Raymond Lu
6262a14f2e [svn-r14096] There're 3 changes in this checkin as below:
1. In H5Dwrite and H5Dread, let the data buffer point to a fake address if the application passes
     in an empty buffer.  This is mainly for MPIO programs that some processes may not have any 
     data to write or read but still participate the I/O.  This solution solves some MPI's problem
     like the ChaMPIon on tungsten which doesn't support empty buffer.
  2. The ChaMPIon on tungsten doesn't support complex derived MPI data type correctly and collective
     I/O when some processes don't have any data to write or read correctly.  Detect the compiler
     "cmpicc" in the system-specific config file and set the variables for these two cases to false.
     The PHDF5 library already has set up a way to switch collective chunked I/O to independent 
     under these two cases.
  3. A bug fix - During the work of the optimization for compound data I/O, the case for switching
     collective chunked I/O to independent I/O was leftout.  Fixed it by adding I/O caching to it in
     H5D_multi_chunk_collective_io in H5Dmpio.c.

Tested on tungsten, cobalt, and kagiso for parallel; on linew and smirom for serial.
2007-08-20 16:55:38 -05:00
Quincey Koziol
92bdaa7d0f [svn-r14086] Description:
Correct error in metadata cache entry logic for free space objects, where
a free space header could unpin its entry in the cache, even when the sections
for that free space manager were still in the cache and technically holding the
header pinned.  Fix problem by checking for the section info in the cache
before allowing the header to unpin its cache entry.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-08-14 13:41:40 -05:00
Quincey Koziol
665366d499 [svn-r14085] Description:
Refactor H5HF_size() size statistics code for fractal heap to conform to
how the rest of the fractal heap routines work.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
2007-08-14 11:04:42 -05:00
Quincey Koziol
7de10b4833 [svn-r14084] Description:
Change metadata cache protect access from "write" to "read" for the free
space header, which follows the same pattern as the fractal heap's use of
the metadata cache.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
2007-08-14 10:08:04 -05:00
Quincey Koziol
4dc989f282 [svn-r14083] Description:
Correct problem with fractal heap's free space size usage gathering
routine, which was "poisoning the cache" by loading an incorrectly initialized
piece of metadata from the file.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 6.2 (amazon)
2007-08-14 08:33:14 -05:00
Quincey Koziol
abd36a6f6e [svn-r14082] Description:
Fix bug with moving object header messages forward into null messages
of exactly the same size and located in an object header chunk with a gap.
(Exposed by netCDF-4 test)

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-13 23:56:54 -05:00
Quincey Koziol
42501313e3 [svn-r14073] Description:
Re-order several switch statements to match the ordinal numbering of
enumerated types.

Tested on:
	None - too simple to require
2007-08-10 15:50:46 -05:00
Scott Wegner
b91e17b6cf [svn-r14067] Purpose: Revise usage of H5_HAVE_SIGLONGJMP
Description:
The way I had integrated H5_HAVE_SIGLONGJMP previously, we conditionally removed far more functionality than we needed.  As a result, Windows type alignment was lost.  This commit localizes the ifdef so it only surrounds the actual call to siglongjmp.  This is equivalent to what we've done in the past-- simply comment out the line.

Tested:
VNET on WinXP
2007-08-10 14:07:06 -05:00
John Mainzer
c5cdb7d957 [svn-r14065] Second try at checking in the "cork the cache" modification.
First attempt contained slightly dated versions of the files
listed below.

Must also note that the mods were tested with h5committest,
and two other linux builds.
2007-08-10 04:50:48 -05:00
John Mainzer
b742150e4c [svn-r14064] Implemented function allowing the user to cork the metadata cache.
Also implemented associated test code.
2007-08-09 23:19:43 -05:00
Scott Wegner
88c194fd78 [svn-r14056] Purpose: Take advantage of new H5_HAVE_SIGLONGJMP flag in H5detect.c
Description:
Visual Studio does not have the function siglongjmp.  Therefore, we have created a new configure flag H5_HAVE_SIGLONGJMP that tests for this.  We use this within H5detect.c.

Tested:
VS.NET
h5committest
2007-08-08 17:51:43 -05:00
Mike McGreevy
753a60f184 [svn-r14047] Purpose: Adding H5_HAVE_SIGLONGJMP macro to configure.
Description: Configure will now detect the presence of the 'siglongjmp' function. If present,
             the macro H5_HAVE_SIGLONGJMP will be defined in src/H5pubconf.h.

Tested: kagiso, smirom, linew
2007-08-07 16:01:15 -05:00
Raymond Lu
32180b2b70 [svn-r14031] Bug fix. Chunk address wasn't passed into some I/O functions in H5D_chunk_read and H5D_chunk_write. Tested only on liberty because it's a simple change. 2007-07-31 11:53:33 -05:00
Elena Pourmal
565e1904fb [svn-r14027] Maintenance: changed version number to 1.8.0-beta3post1 using bin/h5vers script 2007-07-30 14:59:05 -05:00
Elena Pourmal
2a4c252386 [svn-r14025] Maintenance: Changed version number to 1.8.0-beta3, put warning into INSTALL file for the 1.8.0-beta* releases
Tested: Release tar ball is available on the frp server, It was tested on kagiso with the PGI compilers.
2007-07-30 14:55:28 -05:00
Quincey Koziol
4a5b97b930 [svn-r14022] Description:
Remove stray reference to "group revision" configure flag

    Remove Windows-specific EOL characters from src/H5FDwindows.c

    Add some missing types to bin/trace

    Re-run bin/reconfigure script to regenerate information after changes above.

Tested on:
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (linux)
    Solaris/32 2.10 (linew)
2007-07-26 16:33:10 -05:00
Quincey Koziol
d97bf49baf [svn-r14021] Description:
Re-ran bin/reconfigure

Tested on:
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (kagiso)
    Solaris/32 2.10 (linew)
2007-07-26 15:38:17 -05:00
Quincey Koziol
6f3fe31a4c [svn-r14020] Description:
Correct error in size of v2 B-tree metadata prefix, which could cause too
many entries to get inserted into a node, eventually causing either a file
corruption bug (if debugging asserts were off) or a core dump on the assertion
which checked this.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-26 14:12:22 -05:00
Quincey Koziol
bf842f1d52 [svn-r14017] Description:
Fix problem with fill value messages where the version of the format
for a fill value message could depend on the "use the latest format" flag from
the file after it was initially created.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
2007-07-26 08:56:09 -05:00
Raymond Lu
c45322f6d0 [svn-r14015] Refactoring part of the code. Tested only on liberty because
the change is simple.
2007-07-25 15:24:14 -05:00
Quincey Koziol
9a520f67b2 [svn-r14012] Description:
Fix problem with I/O pipeline messages where the version of the format
for a I/O pipeline message could depend on the "use the latest format" flag from
the file after it was initially created.

Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Mac OS X/32 10.4.10 (amazon)
        Solaris/32 2.10 (linew)
2007-07-24 18:13:29 -05:00
Raymond Lu
e143242ce1 [svn-r14011] Refactored part of the code in H5T_conv_struct_opt. Tested only
on smirom because it's a simple change.
2007-07-24 16:52:51 -05:00
Quincey Koziol
712c226038 [svn-r14010] Description:
Fix problem with dataspace messages where the version of the format
for a dataspace message could depend on the "use the latest format" flag from
the file after it was initially created.

	Also, move debuging routine into separate file.
	
Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Mac OS X/32 10.4.10 (amazon)
        Solaris/32 2.10 (linew)
2007-07-24 16:43:59 -05:00
Quincey Koziol
decf1830ef [svn-r14009] Description:
Drop use of "use the latest format" flag when encoding SOHM-stored
shared messages and just change the version based solely on the type of
shared message.

Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Mac OS X/32 10.4.10 (amazon)
        Solaris/32 2.10 (linew)
2007-07-24 16:33:09 -05:00
Quincey Koziol
c5b28bc035 [svn-r14008] Description:
Minor comment & testing cleanups

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
	Solaris/32 2.10 (linew)
2007-07-24 16:30:34 -05:00
Quincey Koziol
98d698cd26 [svn-r14005] Description:
Rename H5Titerate.c source file to H5Tvisit.c, which is more
descriptive of routine(s) in file.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:14:11 -05:00
Quincey Koziol
492e5ca2b4 [svn-r14004] Description:
Fix problem with datatype messages where the version of the format
for a datatype message could depend on the "use the latest format" flag from
the file after it was initially created.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:10:00 -05:00
Quincey Koziol
05973a4e86 [svn-r14003] Description:
Code cleanup & whitespace fixups

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:07:43 -05:00
Quincey Koziol
b8ef032be6 [svn-r14002] Description:
Fix bug where pointer to variable was used instead of variable itself.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:05:01 -05:00
Raymond Lu
7f2a3a97c3 [svn-r13997] Moved H5D_istore_lock and H5D_istore_unlock from H5D_istore_writevv and H5D_istore_readvv to
H5D_chunk_write and H5D_chunk_read to avoid frequent lock and unlock and to improve some
performance.

Tested with h5committest on THG machines.
2007-07-21 14:50:43 -05:00
Quincey Koziol
d9cbd866d9 [svn-r13993] Description:
Correct error for checking whether an object in a file can be
extended when there are no free lists maintained by the VFD.

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-21 00:59:03 -05:00
Quincey Koziol
8aa6ca14bb [svn-r13992] Description:
Add some extra logging information to read & write reports.

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-21 00:57:49 -05:00
Quincey Koziol
63f00c5686 [svn-r13991] Description:
Correct error in H5Gcreate() where using a non-zero local heap size
hint would overwrite the default group creation property list with the non-zero
size hint given, affecting all future groups created.

Tested on:
	FreeBSD/32 6.2 (duty) w/check-vfd
2007-07-20 17:24:13 -05:00
Quincey Koziol
0bbdb70ed7 [svn-r13989] Description:
Rename H5A_get_version() to H5A_set_version() and actually set the
attributes version in the routine.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-07-19 09:47:13 -05:00
Quincey Koziol
c55d0f4e1e [svn-r13988] Description:
Fix bug where the version of an attribute would change after it was
created, causing the amount of space used to encode it to change.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
2007-07-17 21:08:37 -05:00
Quincey Koziol
814ad1cb42 [svn-r13986] Description:
Add flag to bypass (expensive) B-tree & heap size retrieval for
internal calls to H5O_get_info().

Teted on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
2007-07-17 16:04:44 -05:00
Quincey Koziol
4be636f4f0 [svn-r13984] Description:
Various code cleanups and refactor recent changes for h5stat to fit
into the existing library data structures better.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-07-17 14:35:09 -05:00
Vailin Choi
d44b27ddcc [svn-r13978] purpose:
New feature.

Description:
Added routines to report on the amount of storage for:
1) 1.6 btree and heap storage info for groups
2) 1.8 btree, fractal heap storage info for groups, attributes and SOHM table
3) btree storage for chunked datasets
4) 1.8 superblock extension size.

Platform tested:
h5committested.
2007-07-13 16:12:25 -05:00
Quincey Koziol
b566d21649 [svn-r13972] Description:
Add --with-default-api-version configure flag.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 21:42:17 -05:00
Quincey Koziol
b4e029c70b [svn-r13971] Description:
Add --enable-deprecated-symbols configure option, to allow users to
remove deprecated public API symbols at configure time.

	Add bin/make_vers script to bin/reconfigure actions.

	Run bin/reconfigure to regenerate autotool components.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 17:01:35 -05:00
Quincey Koziol
a73ea1b4f0 [svn-r13969] Description:
Initial checkin of API version macro generation script (bin/make_vers),
along with configuration file (src/H5vers.txt) and generated header
(src/H5version.h).  Right now, no version macros are defined, since the main
source code and tests need to be adjusted to pay attention to the macros
defined.

    Also, fixed makefile for generating error header files when used with
GNU make.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-12 15:21:57 -05:00
Quincey Koziol
6d2a144852 [svn-r13961] Description:
Remove some unnecessary code that checks for fill value buffer being
NULL.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-07-10 15:07:58 -05:00
Quincey Koziol
6930f2e32d [svn-r13945] Description:
Modify semantics for constant messages slightly, to allow them to be
deleted, but not modified.  This works around the issue where "old" style
groups are being created with the symbol table message marked constant in
the 1.6 (and prior) branch, but the 1.8 branch needs to remove the symbol table
message when the group has been changed to the "new" style (upon insertion
of a link that the "old" style can't handle).

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 15:01:42 -05:00
Quincey Koziol
b37dc18282 [svn-r13944] Description:
Fix problem with VL-datatype fill values when shrinking dataset's dimensions

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 10:45:45 -05:00
Quincey Koziol
5c420a9180 [svn-r13943] Description:
Allow H5Dset_extent() to reduce the size of dimensions that aren't unlimited

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 10:44:30 -05:00