Commit Graph

9892 Commits

Author SHA1 Message Date
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
Elena Pourmal
3854a37d83 [svn-r13909] Mainetnance before createing beta2 tar ball
Changed version number to 1.8.0-beta2
2007-06-25 17:11:24 -05:00
Raymond Lu
69fa076b7e [svn-r13908] Update support information of abe. 2007-06-25 15:27:11 -05:00
Elena Pourmal
bece90f828 [svn-r13907] Maintenance: added more information about tested platforms for 1.8.0 beta 2 release 2007-06-25 09:20:45 -05:00
Scott Wegner
a6ea9adc92 [svn-r13906] Purpose: Update supported platforms
Description:
Updated RELEASE.txt to reflect support for 64-bit Windows.  Also updated the testing table, and removed some old Windows-related issues that are no longer present.

No testing needed.
2007-06-25 08:53:05 -05:00
Albert Cheng
77c9ba9ee1 [svn-r13905] Purpose:
Bug fix.

Description:
The "h5dump -o ..." test generates temporay files in the testfiles of the
source code and later on remove them.  This could cuase a racing condition
if more than one --srcdir build is using the same copy of the source code.
Since they use the same file name in the testfiles, they may conflict with
each other.

Solution:
Changed to generate the temporary files in the build-dir's own testfiles
directory.  Since the build-dir can have different names, the CMP of expected
output now skip the first three lines which are label lines that contains
the location of the temporary.

Also removed the CREATE code since actual files created now cannot be
blindly copied to the expect files.  Also, expected files should be
create by explicit action and careful inspection of files generated.

Tested platform:
Done in kagiso, both by --src-dir and in-place build.
2007-06-24 21:17:09 -05:00
Albert Cheng
47ab8fa29d [svn-r13902] Purpose:
Simple code improvement to have more unified code.

Tested:
in kagiso only since it is a simple script change.
2007-06-24 19:15:56 -05:00
Elena Pourmal
1da2333b4d [svn-r13901] Maintenance: forgot to remove old HP configuration files from MANIFEST; fixed; checked
with bin/chkmanifest
2007-06-24 10:19:56 -05:00
Elena Pourmal
955df25850 [svn-r13900] Updated information about HPUX 11.23; removed some old platforms 2007-06-23 19:02:27 -05:00
Elena Pourmal
28c785c64c [svn-r13899] Maintenance: Deleted configuration files for unsupported HP platforms.
No testing is needed.
2007-06-23 18:44:40 -05:00
Scott Wegner
4965da5a72 [svn-r13894] Description:
On Windows, Mingw interprets all parameters starting with '/' as paths, and replaces the '/' with its home directory, "C:\Windows\msys\".  This was a problem in h5diff tests such as:
        h5diff h5diff_101.txt $FILE1 $FILE1 /g1/d1  g1/d2  -v

I've removed the leading '/', as h5diff will interpret it the same either way.

Tested:
kagiso, linew, and smirom, via h5committest
mingw on Windows XP
2007-06-20 13:34:11 -05:00
Elena Pourmal
2bdd81b3a2 [svn-r13893] Maintenance: Bump up version to beta2pre2 after creating a tar ball for remote testing 2007-06-20 11:58:55 -05:00
Elena Pourmal
08ce1e920d [svn-r13892] Maintenance: Changed library version to beta2pre1 in preparation for remote testing
for the HDF5 1.8.0-beta2 release
Platforms tested: kagiso (small change done by bin/h5vers script)
2007-06-20 11:07:48 -05:00
Quincey Koziol
a289dcc5e8 [svn-r13888] Description:
Added note about VL-datatype fill value bugs fixed.
2007-06-19 16:19:07 -05:00
Quincey Koziol
dfbc98e349 [svn-r13887] Description:
Add some additional tests for reading non-contiguous selections from
datasets which haven't had any data written to them (both non-VL and VL
datatype fill values covered)

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-06-19 15:38:49 -05:00
Raymond Lu
6e0eea31fe [svn-r13885] Modify the comment from the checkin last round.
No test is needed.
2007-06-19 15:18:05 -05:00
Raymond Lu
6017d0c70f [svn-r13884] The second step of optimization for compound data for the Chicago
company.  The I/O is optimized when the source and destination 
members are a subset of each other one way or another, and
the order is the same, and no conversion is needed.  For example:
    struct source {            struct destination {
        TYPE1 A;      -->          TYPE1 A;
        TYPE2 B;      -->          TYPE2 B;
        TYPE3 C;      -->          TYPE3 C;
    };                             TYPE4 D;
                                   TYPE5 E;
                               };
    or
    struct destination {       struct source {
        TYPE1 A;      -->          TYPE1 A;
        TYPE2 B;      -->          TYPE2 B;
        TYPE3 C;      -->          TYPE3 C;
    };                             TYPE4 D;
                                   TYPE5 E;
                                };
The optimization is simply moving data from the source to the 
appropriate places in the buffer and bypass the reading of 
the background data and data conversion.

Tested on smirom, liberty, sol, and copper.
2007-06-19 15:05:24 -05:00
Quincey Koziol
32d09759bd [svn-r13883] Description:
Fixed bugs w/VL-datatype fill values for chunked dataset storage.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-19 12:35:24 -05:00
Scott Wegner
b2318f778a [svn-r13881] Purpose: Updated C++ examples expected output
Description:
Bring the expected output for the C++ examples up-to-date.  This file is used in the Windows test script.  It is also used by ./c++/examples/testexamples.sh, although this script is never run by hand. 'make check' runs the script generated by testh5c++.sh.in, which doesn't use expected.out.

Tested:
VS6 on WinXP
kagiso
2007-06-19 12:12:01 -05:00
HDF Tester
8eb2e41a43 [svn-r13879] Purpose:
Bug fix.

Description:
Test test_misc25b() open an existing test data file with RDWR unnecessarily.
(This was discovered during read-only test.)
Changed file open mode to RDONLY.

Tested platform:
Kagiso (readonly) only since it is a trivial change.
2007-06-19 10:22:05 -05:00