Commit Graph

892 Commits

Author SHA1 Message Date
Jonathan Kim
6d97ffcc6c [svn-r19407] Purpose:
Add --exclude-path option

Description:
 Merged from hdf5 trunk (r19406).
 Specified path to an object will be excluded from comparing the two files or two groups. If group is specified all the member objects will be excluded.
Related to "1890:  h5diff excluding object for file comparison via command line"

Tested:
 jam, amani
2010-09-16 16:57:27 -05:00
Quincey Koziol
6cb4260eff [svn-r19405] Description:
Bring r19402 from trunk to 1.8 branch:

	Correct Bz#1968 (Problem when opening new format file with
H5F_LIBVER_EARLIEST) by initializing symbol table leaf information in a
more universal way.  Also cleaned up other superblock initialization a
little bit while I'm here.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
       FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
       Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
               w/szip filter, w/threadsafe, in production mode
       Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
               in production mode
       Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
       Mac OS X/32 10.6.4 (amazon) in debug mode
       Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
               in production mode
       Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
2010-09-16 15:33:16 -05:00
Jonathan Kim
a9a3f22e78 [svn-r19401] Purpose:
Fix for Bug1975 h5diff - support recursive comparison on group when specified as an object

Description:
 Merged from hdf5 trunk (r19400).
 Compare member objects and groups recursively when two files or groups are specified to be compared. Support parallel diff and handling symbolic links accordingly.

Tested:
 jam, amani
2010-09-16 13:09:59 -05:00
Jonathan Kim
f4af852764 [svn-r19391] Purpose:
Fix for Bug1896 h5repack - changing layout to COMPACT does not work

Description:
Merged from hdf5 trunk (r19389)
Make h5repack be able to convert a layout to COMPACT for small size dataset as default.  Also add verifying layout changes in our test script.

Tested:
 jam, amani
2010-09-15 14:00:44 -05:00
Neil Fortner
bf8d33a34b [svn-r19387] Purpose: Fix assertion failure caused by fractal heap header file pointer
Description:
The fractal heap header structure keeps a pointer to the file associated with
it.  However, it is possible for that file pointer to be closed while the
header is still in cache (through the shared file pointer).  Previously, the
header's file pointer was not updated and subsequently pointed to an invalid
file structure.  Modified fractal heap code to update the file pointer every
time the header is accessed.

Tested: jam, linew, amani (h5committest)
2010-09-15 10:33:03 -05:00
Allen Byrne
2e7ab5f65f [svn-r19376] Added bug 1938 resolution 2010-09-13 10:52:22 -05:00
Mike McGreevy
2d9a70085c [svn-r19368] Purpose:
Add windows threads support to HDF5.

Description:

    Added calls to the windows threads library to the H5TS layer, and wrapped
    most calls to either pthreads or windows threads library with portable
    H5TS-style defines. Modified tests to use portable function definitions
    as well.

    This can be configured via CMake with the HDF5_ENABLE_THREADSAFE
    option, and should work on windows vista and later operating systems.

Tested:

    h5committest, plus threadsafe with pthreads on jam and amani,
    and tested on a Windows Vista VM with threadsafe using windows threads.
2010-09-10 11:15:57 -05:00
Raymond Lu
ec5f5c868f [svn-r19359] When mandatory filter failed to write data chunks, the dataset
couldn't close (bug 1260).  The fix releases all resources and closes
the dataset but returns a failure.

Tested with h5committest - jam, heiwa, amani.
2010-09-08 12:12:18 -05:00
Raymond Lu
ba35fd9890 [svn-r19355] Quincey and I made H5Eset_current_stack also close the stack to be set. This is to
avoid H5Eclose_stack clearing the default stack.  Please see bug 1799.

Tested on jam - simple change.

The changes to configure.in, tools/lib, config, c++/test, Makefile.am, and fortran
are only property changes from the merge.
2010-09-07 11:24:33 -05:00
Quincey Koziol
ddfe8e8e43 [svn-r19345] Description:
Add note about bugfix that requires H5Pset_chunk for all chunked datasets
now.
2010-09-03 10:57:57 -05:00
Quincey Koziol
063ca4ad8a [svn-r19284] Description:
Add note about correcting valgrind issues.
2010-08-24 06:13:39 -05:00
Raymond Lu
9d68049cc6 [svn-r19279] Bug 1934 - I added support of all data types for H5Tget_order. I added a new byte order
H5T_ORDER_MIXED specifically for compound types and its derived types.  They report mixed 
orders if they have members of different orders.

Tested on heiwa, jam, and amani.
2010-08-23 16:37:10 -05:00
Raymond Lu
d221d97f99 [svn-r19250] New feature(bug #1934): I made H5Tset_order support all data types with some restictions:
1. For enum type, members shouldn't be defined yet.
        2. H5T_ORDER_NONE only works for reference and fixed-length
           string.
        3. For opaque type, the order will be ignored.
        4. For compound type, all restrictions above apply to the
           members.

I'll change H5Tget_order and do another commit.

Tested on jam, heiwa, and amani.
2010-08-18 14:32:26 -05:00
Raymond Lu
bb83e1ff9a [svn-r19172] Bug fix for #1239 - The filter's public function CAN_APPLY should return htri_t not
herr_t.  To minimize the change of the library's behavior, in the function 
H5Z_prelude_callback of H5Z.c, if the return value of can_apply is FALSE and
the filter is MANDATE, this function returns a FAILURE.  If the return value is FALSE 
but the filter is OPTIONAL, this function returns a SUCCEED.  During the IO, the filter 
will fail and return a size of zero.  But the pipeline will skip this filter. 

Tested on jam, linew, and amani.  Tested on jam with szip.
2010-08-05 10:53:16 -05:00
Neil Fortner
1e906a363b [svn-r19147] Purpose: Fix bug in direct IO driver
Description:

In certain circumstances, the direct I/O driver did not perform correctly when
data was unaligned.  The driver has been patched to fix this.  Also added some
potential performance improvements for the unaligned case, and strengthened the
test for whether the data needs to be aligned.

Tested: cobalt
2010-07-28 17:26:59 -05:00
Raymond Lu
489e95c9b9 [svn-r19143] Update for the bug fix of #1956. 2010-07-28 14:45:07 -05:00
Quincey Koziol
71ac1a7996 [svn-r19098] Description:
Add notes for recent performance improvements & bug fixes (r19092 &
r19097).
2010-07-19 11:35:54 -05:00
HDF Tester
cf6e2c99a4 [svn-r19091] Snapshot version 1.8 release 5 (snap4) 2010-07-18 23:56:15 -05:00
Larry Knox
dd5d27951f [svn-r19082] Made ';' after H5_PUSH_FUNC consistent throughout H5private.h to fix compile failure with Sun 5.10 C compiler.
Added Sun 5.10 compilers to RELEASE.txt.

Tested on linew.
Tested on amani, heiwa, and jam with h5committest.
2010-07-16 16:35:35 -05:00
Neil Fortner
c3340f256d [svn-r19077] Purpose: Fix bug 1951
Description:
A bug introduced in 1.8.5 causes local heap data blocks to be mis-aligned when
sizeof_offsets + 2*sizeof_lengths is not a multiple of 8.  In this case, the
address of the data block as stored in the heap prefix is aligned but the actual
data block is not.  This causes files created with these sizes to be corrupted,
and prevents uncorrupted files with these sizes to be unreadable.  Modified
local heap code to account for alignment.

Tested: jam, amani, linew (h5committest)
2010-07-16 11:41:22 -05:00
Albert Cheng
5330eb088b [svn-r19069] Document update: ID 1921 change mpirun to mpiexec
Changed the use of mpirun to mpiexec which is the MPI-2 official standard.
2010-07-14 12:06:44 -05:00
HDF Tester
d47b99c787 [svn-r19065] Snapshot version 1.8 release 5 (snap3) 2010-07-11 23:45:53 -05:00
Jonathan Kim
435f58c1b8 [svn-r19053] Purpose:
Add --no-dangling-links option to h5ls. 

Description:
Related to "Bug 1830 - Following an dangling external link in h5ls should set non-zero return code."
If --no-dangling-links option is specified and any dangling link is found, return exit code 1 (error).
Merged from hdf5 trunk r19051

Tested:
 jam, amani, heiwa
2010-07-07 15:06:20 -05:00
HDF Tester
68484a2099 [svn-r19048] Snapshot version 1.8 release 5 (snap2) 2010-07-04 23:38:15 -05:00
Jonathan Kim
5ed817f734 [svn-r19035] Purpose:
Change h5ls not to manipulate special characters in object name or attribute name for smart display.

Description:
Merged from hdf5 trunk r19034.
Related to "But1784 h5ls has input and output issues with links that have '\' characters in them."

Tested:
 jam, amani
2010-06-28 16:47:00 -05:00
HDF Tester
016560f364 [svn-r19033] Snapshot version 1.8 release 5 (snap1) 2010-06-28 07:57:51 -05:00
HDF Tester
fe35798c4e [svn-r19023] Snapshot version 1.8 release 5 (snap0) 2010-06-20 23:54:58 -05:00
Neil Fortner
8da26a5292 [svn-r19007] Purpose: Improve performance of the the chunk cache
Description:
Previously, the chunk cache would, when looking for a chunk, alwaylook for the
chunk in the b-tree before checking the cache.  Reworked the functions that
look up chunks to always check the cache first and avoid the b-tree lookup if
the chunk is in cache.

Tested: jam, linew, amani (h5committest)
2010-06-15 16:27:32 -05:00
Albert Cheng
cfcbb212c8 [svn-r18991] Bug Fix: (ID 1921)
PHDF5 changed to use "mpiexec", instead of mpirun, as the default MPI
applications startup command as defined in the MPI-2 definition, section
4.1.  Note that only mpich related (using mpicc command) definitions are
changed to mpiexec. Other favors like hcc, AIX, champion, are not changed
since I don't have a way to verify them yet.

Tested:
jam and amani, using both current and new mpich.
Did not h5committested since this affects PHDF5 configure only.
2010-06-11 16:26:55 -05:00
Albert Cheng
d10df9b8ae [svn-r18971] Updated with SNL Glory information.
Removed the retired thunderbird and NCSA Teragrid.
2010-06-03 19:31:04 -05:00
Albert Cheng
04592188fb [svn-r18969] Updated with Red Storm information. 2010-06-03 19:20:30 -05:00
Albert Cheng
88a247d82a [svn-r18967] updated with AIX support information. 2010-06-03 18:47:50 -05:00
Albert Cheng
9386bcdd3a [svn-r18951] Recorded the change of configure default setting to --disable-production. 2010-06-02 17:43:04 -05:00
Jonathan Kim
3aa2b25b99 [svn-r18946] Purpose:
Support follow symbolic links.

Description:
    Merged from hdf5 trunk r18943.
    Add '--follow-symlinks' option to follow symbolic links (soft and external).
    Update help page according to RM.
    Remove some warning messages from compiler.

Tested:
    jam
2010-06-02 14:53:59 -05:00
Allen Byrne
b9e2bd7f54 [svn-r18945] Added gcc version to cygwin line 2010-06-02 14:31:49 -05:00
Allen Byrne
8e4c61184a [svn-r18939] Removed support for MinGW. 2010-06-01 15:27:23 -05:00
Allen Byrne
3282774883 [svn-r18937] Update Cygwin and Windows references 2010-06-01 14:32:49 -05:00
Mike McGreevy
6083c0888f [svn-r18936] Purpose:
Update RELEASE.txt with compiler information and known
    issues for NCSA Cobalt.
2010-06-01 14:30:19 -05:00
Mike McGreevy
973c61fd42 [svn-r18841] Changed version number to 1.8.4-snap0
Updated RELEASE.txt file accordingly.
2010-05-18 10:26:01 -05:00
HDF Tester
d146500357 [svn-r18825] Snapshot version 1.8 release 4 (snap22) 2010-05-16 20:52:48 -05:00
Elena Pourmal
b8f131dc78 [svn-r18820] Bug fix:
Fixed a bug (1822) in the H5DSdetach_scale function when 0 bytes
    were allocated after the last reference to a dim. scale
    was removed from the list of references in a VL element of the
    DIMENSION_LIST attribute; modified the function to comply
    with the Spec: DIMENSION_LIST attribute is deleted now when no
    dimension scales left attached.

Platforms tested: jam with electric fence, amani amd linew
2010-05-14 23:28:50 -05:00
Jonathan Kim
fdd92eb3b8 [svn-r18814] Purpose:
Add bug fixes for Tools.

Description:
    Added list from bugzilla:
    1726 - NPOESS: h5repack loses attributes for datasets of type H5T_REFERENCE
    1814 - NPOESS: h5repack doesn't handle references to the groups as an 
                   element of a dataset
    1817 - h5copy fail to copy dangling link by specifying link path directly
    1793 - h5ls on a non-existent file gives 0 return code

Tested:
    not need, just text update.
2010-05-14 16:52:14 -05:00
Mike McGreevy
9635cdc24f [svn-r18807] Purpose:
RELEASE.txt update

Description:

    Reorganize RELEASE.txt

Tested:

    None needed.
2010-05-14 13:55:34 -05:00
Mike McGreevy
912e7b99ee [svn-r18806] Purpose:
Update RELEASE.txt

Description:

    Remove outdated known issue (should have been removed 
    from 1.8.4, whoops) from RELEASE.txt

Tested:

    doc only, none needed.
2010-05-14 13:47:21 -05:00
Mike McGreevy
453a3910ab [svn-r18805] Purpose:
Fix memory leaks

Description

    Added a routine to free memory which addresses a memory leak
    when variable length strings are used as fill values.

    Also added some minor tweaks to the H5I 'save ID structures' mechanic.

Tested:

    h5committest and valgrind (on jam/amani) to confirm freed memory.
2010-05-14 13:45:07 -05:00
Binh-Minh Ribler
fbb8709e40 [svn-r18802] Description:
Added notes about
	+ CommonFG::getObjnameByIdx char* for name
        + CommonFG::getObjTypeByIdx char* for type
	+ PropList::PropList(id) pclass id/plist id
2010-05-14 10:09:58 -05:00
Quincey Koziol
9c1fa1d37c [svn-r18800] Description:
Added note about use of volatile for variables.

    Added blurb to release notes about fixing strict-aliasing problems.

Tested on:
    None - trivial change to comment.
2010-05-13 18:06:45 -05:00
HDF Tester
4bebb65cc9 [svn-r18748] Snapshot version 1.8 release 4 (snap21) 2010-05-09 20:02:02 -05:00
Mike McGreevy
e984ec4948 [svn-r18710] Purpose:
Improve configure's large-file support control.

Description:

    Modified configure to now attempt to add defines necessary for
    supporting largefiles on all systems, instead of solely on linux. This 
    is in response to user requests to enable largefile support on Solaris 
    by default, as well as to give extra control on AIX (instead of just 
    jamming the necessary flag into the config files).

    The old --enable-linux-lfs flag is being deprecated in favor of the
    --enable-largefile flag (enabled by default), which can be used on all
    platforms. --disable-linux-lfs can still be used to disable largefile
    support (on linux) when the --enable-largefile flag is not specified.

    On systems where large files cannot be supported in this manner,
    configure will report as such.

Tested:

    h5committest
    AIX (NCSA's blue_print machine)
    duty, liberty, and linew.
2010-05-05 12:35:04 -05:00
Raymond Lu
c8ec7a14bc [svn-r18707] I added an item in the Known Problems for the compiler's rounding problem on Cygwin running on
Windows XP.  It happens in dt_arith.c when converting from unsigned long long to long double (see
bug #1813).
2010-05-05 11:26:17 -05:00