Commit Graph

10061 Commits

Author SHA1 Message Date
Vailin Choi
7ff9aa3538 [svn-r13979] 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:17:44 -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
Scott Wegner
31a2af29ca [svn-r13977] Purpose: Misc. Windows autotest code-cleanup
Description:
This cleans up a lot of different things we were doing in the Windows batch scripts.  For one, we now use "exit /b" to better emulate functions in batch scripts.  Also changed error-checking to look for negative return values as well.

This also adds initial support for Visual Studio 2005 command-line builds in hdf5build.BAT

Tested:
WinXP
2007-07-13 15:54:54 -05:00
Peter Cao
2b89d6d73c [svn-r13975] Add --latest, -compact=<size>, ... options to use the lastest file format.
Add test for the options to the daily test.
2007-07-13 13:18:48 -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
Albert Cheng
1e91849e85 [svn-r13964] Purpose:
Bug fix.

Description:
It used to clean out all *.h5 when done but this could cause a racing
condition error if parallel make (e.g., gmake -j ...) is used because
the "rm ... *.h5 ..." would remove *.h5 generaged and are still used
by other test programs (e.g. xx_write/xx_read).

Solution:
Removed "*.h5" from the cleanup list since the test program has already
taken care of removing temporary *.h5 generated.

Tested platform:
smirom.  Not triple platforms tested since this is just a simple shell
script change.
2007-07-11 16:01:34 -05:00
Albert Cheng
859da34e93 [svn-r13962] Purpose:
Bug fix.

Description:
It used to clean out all *.h5 when done but this could cause a racing
condition error if parallel make (e.g., gmake -j ...) is used because
the "rm ... *.h5 ..." would remove *.h5 generaged and are still used
by other test programs (e.g. h5_write/h5_read).

Solution:
Removed "*.h5" from the cleanup list since the test program has already
taken care of removing temporary *.h5 generated.

Tested platform:
Kagiso, both serial and parallel.  Not triple platforms tested since 
this is just a simple shell script change.
2007-07-10 15:26:42 -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
Scott Wegner
fe6c92ebd3 [svn-r13960] Purpose: Remove obsolete Windows files
Description:
Previously, there was a very intricate process for converting VS6 project files to VS.NET format for testing on the command-line.  Now that we maintain VS.NET project files, this system is no longer neccessary.  The same builds are now carried out in hdf5build.BAT, so the previous files are obsolete.

Removing them, and updating the MANIFEST

Tested:
WinXP
2007-07-10 13:32:20 -05:00
Scott Wegner
caa24a2a05 [svn-r13958] Purpose: Fix subtle bug in Windows test script
Description:
Our Windows test script was using "ERRORLEVEL" to check the diff output for our tooltests.  However, FC does not actually set ERRORLEVEL with valid input.  As a work around, we pipe the output into FIND, which sets the ERRORLEVEL if it doesn't find a valid string.  We probably never saw this bug before because h5dump sets the ERRORLEVEL.

Tested:
WinXP.
2007-07-09 14:27:03 -05:00
Scott Wegner
ec7cf4de81 [svn-r13957] Purpose: Windows autotest bugfix
Description:
In the new Windows autotests, hdf5build.BAT was resetting a variable used by hdf5bt.BAT.  Changed so hdf5build.BAT looks to see if hdf5bt.BAT is running before it removes this variable.

Tested:
WinXP
2007-07-09 13:09:28 -05:00
Scott Wegner
e3df1f4a57 [svn-r13956] Purpose: Fix typo
Description:
There was a typo in the new command-line build script that was making it fail early.  This should fix it.

Tested:
WinXP
2007-07-09 08:37:24 -05:00
Binh-Minh Ribler
f6ebd743d8 [svn-r13954] Purpose: Fix test
Description:
    Compilers don't destroy temporary objects at the same time, some do
    immediately after use, some delay until the end of the scope.  The
    delay makes it difficult to test the reference count functionality.

Solution:
    Enclosed the operations on objects and check reference count after
    getting out of the enclosed block.  This only works for the test!
    I'm assuming that checking reference count is just for the library
    to test that functionality; the user will not need to do that. :-/

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
2007-07-08 15:28:59 -05:00
Scott Wegner
9db2bf9835 [svn-r13952] Purpose: Update Windows build scripts
Description:
I'm in the process of re-writing the Windows build scripts for Visual Studio .NET (and eventually VS2005).  These will be used with an autotest script, which is in the works.

Tested:
VS.NET on WinXP, although probably still needs some work.
2007-07-06 17:09:33 -05:00
Scott Wegner
625e2f5047 [svn-r13951] Purpose: Update Windows documentation
Description:
Explain why Fortran isn't supported on MinGW and give users an "unsupported" alternative.  Also re-worked the main documentation to clarify using the HDF5 DLL libraries.

Tested:
None needed.
2007-07-06 09:12:35 -05:00
Quincey Koziol
e3966680ef [svn-r13948] Description:
Make h5dump more gracious and informative about objects it doesn't
understand.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    No need for h5committest - very minor
2007-07-05 16:33:26 -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
Quincey Koziol
18d75c9985 [svn-r13942] Description:
Minor code & comment cleanups

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-05 10:43:22 -05:00
Albert Cheng
4040ae4232 [svn-r13941] Added feature to test the latest format by adding "latest" as the
HDF5_DRIVER value to activate the use of latest_format for file access
property list.

Platform tested: h5committested.
2007-07-05 02:38:38 -05:00
Elena Pourmal
7bce23170f [svn-r13939] Problem: High level of optimazation causes test failures when library is built
with Intel 10.0 compiler. 
Solution: Use -O1 optimization flag with Intel 10.0

Platforms tested: abe and kagiso with Intel 10.0 and Intel 9.1 compilers; no committest
                  is needed since this is a compiler specific change.
2007-07-04 21:46:31 -05:00
Quincey Koziol
dbe1a47e93 [svn-r13938] Description:
"Genericize" the datatypes for fill value testing when extending a dataset.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-03 15:20:34 -05:00
Quincey Koziol
2bc42b17fb [svn-r13937] Description:
A few more cleanups for testing [atomic] fill values and extending datasets

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-03 14:20:02 -05:00
Quincey Koziol
4af566ef23 [svn-r13936] Description:
Extract main test for extending a dataset into separate routine, to
facilitate testing different parameters.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-03 13:50:24 -05:00
Quincey Koziol
1aecbad47f [svn-r13935] Description:
Another minor code cleanup to chunked storage "init by extent" routine.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-03 12:48:26 -05:00
Quincey Koziol
2dfde3e4fc [svn-r13934] Description:
Rename Mac OS X compiler configuration file to more generic name, which
should allow Intel Macs to configure better.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-07-03 12:20:44 -05:00
Quincey Koziol
5164007d6d [svn-r13933] Description:
Finish cleaning up "initialize by extent" routine (used when shrinking a
dataset's dimensions) before addressing VL-datatype fill value bug.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-03 12:16:32 -05:00
Quincey Koziol
d7a3b8efcb [svn-r13932] Description:
Move H5Dextend() to the deprecated routine list.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-03 08:59:09 -05:00
Scott Wegner
db3943af6a [svn-r13931] Purpose: Update Windows documentation
Description:
This makes major updates to the Windows installation documentation, to account for the switch from VS6 to .NET.  Installation instructions for 6.0 can also be found in INSTALL_Windows_Short_MSVS6.0.TXT, although it's noted that we are phasing out our VS6 support.

Also added install instrctions for MinGW, to reflect our initial support.  Updated MANIFEST for new file checkin. 

Tested:
Instructions for each configuration have been tested.
2007-07-02 09:33:47 -05:00
Albert Cheng
a19e108db8 [svn-r13930] purpose:
Update information. Removed support for BG/L (ubgl), SGI tesla.
Updated for SNL platforms too.

Tested:
Just eyeballed since this is just a text file.
2007-07-02 06:09:45 -05:00
Scott Wegner
0b0c229df9 [svn-r13929] Purpose: Add source to Windows projects
Description:
Added new H5WB.c and H5WBprivate.h files to our Windows .NET / 6.0 project files.

Tested:
VS.NET on WinXP
2007-06-29 17:31:17 -05:00
Mike McGreevy
1d7e8f9dee [svn-r13928] Purpose: 1) Moving H5_CXX_HAVE_OFFSETOF macro to src/H5pubconf.h file.
2) Removing configuration of c++/src/H5cxx_pubconf.h file.

Reasoning: the additional pubconf file caused compilation complications, this is cleaner.

Tested:  kagiso, smirom
2007-06-29 15:52:56 -05:00
Quincey Koziol
1091bb7029 [svn-r13927] Description:
Clean up the chunked storage "initialize by extent" routine, in preparation
for fixing another VL-datatype fill value bug.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-06-28 22:14:30 -05:00
Quincey Koziol
cad9846d77 [svn-r13926] Description:
Add small interface to "wrap" a static buffer (usually on the stack), but
still allow for buffers larger than the static buffer to be allocated.  This
can eliminate _many_ short-lived buffer allocations in situations where the
buffer is a predictable size (or at least a "very likely" size).

    Also, some minor code cleanups, particularly in the SOHM caching code.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-06-28 22:12:45 -05:00
Mike McGreevy
58467956ba [svn-r13925] Purpose: intermediate checkin for offsetof fix for PGI compiler.
Description: added new configuration to generate a pubconf file
             in the c++/src directory, H5cxx_pubconf.h. When C++
             compiler recognizes 'offsetof', the macro 
             H5_CXX_HAVE_OFFSETOF is defined in the new
             pubconf file.

tested: kagiso, smirom
2007-06-28 15:36:08 -05:00
Scott Wegner
10f04e6519 [svn-r13924] Purpose: Cleanup
Description:
Clean up the MANIFEST a little bit.  Also removed some batch files and empty folders that were added mistakenly in the last check-in.

Tested:
Too minor.
2007-06-27 16:00:47 -05:00
Scott Wegner
c63a400f7a [svn-r13923] Purpose: Update MANIFEST
Description:
Many files added removed in last check-in.  I still need to clean up a little bit, but I just wanted to get this in before the Daily Tests start.

Tested:
chkmanifest on kagiso
2007-06-27 15:25:29 -05:00
Scott Wegner
6f175a8ff2 [svn-r13922] Purpose: First step in VS6 Depreciation
Desciption:
This is the first major check-in in the process of depreciating Visual Studio 6.0.  We create a new directory, windows_vs6, which now holds all of our previous VS6 project files.  We expect to maintain this directory for only a short time (perhaps one release), so users have time to make the change.

The ./windows directory now contains project files for Visual Studio .Net, as well as existing source and test scripts.  This will allow us to greatly simplify the build process for the majority of our users.

We have created a new solution (.Net equivolent of workspace) that houses the Fortran project files.  This allowed us to remove these files from the main solution, as well as streamline the conversion in the Fortran solution.  It is also much easier now to convert to Visual Studio 2005 files.

Notes:
I didn't update the MANIFEST with this check-in, I will make those changes shortly.  
Also, I haven't yet updated the documentation to reflect this check-in.  That is going to require more work.
We will be giving a seminar in the coming weeks about .Net and how to migrate over.

Tested:
VS6/VNET/VS2005 on WinXP 32/64-bit
2007-06-27 14:13:45 -05:00
Scott Wegner
9f6c4bece5 [svn-r13921] Purpose: Add new file to Windows projects
Description:
Added new H5Dfill.c source file which was added in revision 13918.
2007-06-26 15:04:35 -05:00
Quincey Koziol
8e9f2af175 [svn-r13920] Description:
Uncomment some additional tests, which are [now?] working.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 14:19:57 -05:00
Quincey Koziol
cc6c41f0f0 [svn-r13919] Description:
Clean up more redundant code for reading SOHM messages.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 13:42:28 -05:00
Quincey Koziol
1d7d79bbb7 [svn-r13918] Description:
Refactor fill value buffer code into one location, for better long-term
maintenance.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 12:46:35 -05:00
Quincey Koziol
4a9a1c90f3 [svn-r13917] Description:
Code & warning cleanups

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 12:44:39 -05:00
Scott Wegner
21134e48e1 [svn-r13916] Purpose: Fix MinGW inconsistency
Description:
Windows does not accept the buffer size parameter of setvbuf to be less than 2.  Previously, we had our fix split between two files, H5private.h and the Windows H5pubconf.h.  This was a problem for MinGW, because it generates its own H5private.h.  This moves the fix out of H5pubconf.h and into H5private.h.

This shouldn't affect other platforms.

Tested:
MinGW on WinXP
2007-06-26 11:23:59 -05:00
Quincey Koziol
0490b17800 [svn-r13915] Description:
Clean up SOHM code, to copy message in H5HF_op call instead of separate
calls to H5HF_get_obj_len() and H5HF_read().

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
2007-06-26 11:10:29 -05:00
Quincey Koziol
d114cda9a0 [svn-r13914] Description:
Clean up files generated during testing.

Tested on:
    Linux/32 2.6 (chicago)
2007-06-26 11:08:38 -05:00
Elena Pourmal
fc42567dbe [svn-r13913] Maintenance after beta2 release: used bin/h5vers script to change version number to 1.8.0-beta2poat1 2007-06-25 17:42:04 -05:00