Commit Graph

13146 Commits

Author SHA1 Message Date
Allen Byrne
a46cd31c83 [svn-r22166] Reduce warnings from unneeded windows incude file.
Reviewed HDF5-68

Tested: windows
2012-03-28 11:13:11 -05:00
Vailin Choi
b643da672a [svn-r22164] Fixed a bug in H5Ocopy(): When copying an opened object, call the object's
flush class action to ensure that cached data is flushed so that H5Ocopy will get
the correct data.  (HDFFV-7853)
2012-03-28 01:21:14 -05:00
Scot Breitenfeld
0ce5cbc925 [svn-r22163] Added tests for optional parameters in h5ocopy_f.
Cleaned up comments by removing "C" notation comments

Tested: jam (gnu, intel)
        koala (intel)
2012-03-28 00:43:22 -05:00
Dana Robinson
e4291accaa [svn-r22161] Added a message when the time-consuming test is skipped due to a lack of sparse file support.
Minor change: tested on 64-bit Windows 7
2012-03-27 16:49:08 -05:00
Scot Breitenfeld
a9e2b5463d [svn-r22154] Fixed comments for h5pcreate_f; added missing property classes.
Tested: N/A
2012-03-26 22:57:17 -05:00
Dana Robinson
2b3a190501 [svn-r22152] Added a "skipped" message to the istore sparse test function.
Minor change: tested on jam (test not skipped) and Mac OS-X Lion (test skipped
due to HFS not supporting sparse files).
2012-03-26 16:11:50 -05:00
Mike McGreevy
086035bede [svn-r22149] Purpose:
HDFFV-944: Fortran test problem with HDF5 182, intel 11.0, open-mpi-1.2.8

Description:

    Moved libtool post-processing 'ed' snippet that replaces wl=""
    with wl="-Wl," when intel compilers are used to the end of the
    configure script, after libtool is actually generated. (I imagine
    that at some point in time during a libtool version upgrade the
    libtool script ceased being generated immediately after the libtool
    initialization macro and is generated at the end of configure with
    all other files).

    Additionally, added a leading 'g' to the replacement invocation to
    change all instances of wl="" to wl="-Wl," instead of just the
    first that it comes across. (There's a separate one for each
    compiler used (C, Fortran, C++)).

Tested:

    Reproduced the reported make failure and tested resolution on
    NCSA's Forge with OpenMPI built with Intel 12.0.4.
    Also, h5committested.
2012-03-26 15:26:06 -05:00
Mike McGreevy
4d7d1ab871 [svn-r22147] Purpose:
Update RELEASE.txt for HDFFV-398
Tested:
    None needed, doc only.
2012-03-26 14:34:42 -05:00
Mike McGreevy
22a432b587 [svn-r22146] Purpose:
HDFFV-398: h5cc doesn't work with automake                                        
                                                                                      
Description:                                                                          
                                                                                      
    Fixed compiler wrapper scripts to correctly detect compilation when               
    -MT preprocessor flag is provided, fixing a bug in which its *.o                  
    argument was added to link_objs but not compile_args.                             
                                                                                      
    This previously broke usage of h5cc as the provided compiler in                   
    configure scripts (like with h5edit) as automake may supply the -MT               
    option to the compiler via the makefiles.                                         
                                                                                      
Tested:                                                                               
                                                                                      
    Tested using h5edit and h5committested.
2012-03-26 14:30:45 -05:00
Scot Breitenfeld
286c8ac306 [svn-r22144] Added DLL h5ocopy_f entry for windows. 2012-03-26 08:33:59 -05:00
Scot Breitenfeld
14d6c0ee9a [svn-r22143] Description: added info about h5ocopy_f and h5ltget_attribute_string_f 2012-03-25 23:30:48 -05:00
Scot Breitenfeld
e002bb98e1 [svn-r22142] Description : New Fortran wrapper (h5ocopy_f) for the C API H5Ocopy
HDFFV-7965

Tested: jam (gnu), koala (gnu)
2012-03-25 23:12:59 -05:00
HDF Tester
cdc63fc21a [svn-r22140] Snapshot version 1.9 release 112 2012-03-25 09:30:39 -05:00
Neil Fortner
1e0306a7c9 [svn-r22138] Add check for valid number of children in H5B_decode(). See HDFFV-5897.
Tested: jam, durandal (too minor for full h5committest)
2012-03-24 22:18:31 -05:00
Jonathan Kim
ec04239a6f [svn-r22136] Purpose:
update for HDFFV-7837 - h5diff: incorrect behavior with exclude-path option when unique object exist only in one file

Description:
  Add the new test output list to test shell script.
  This is based on the previous commit r22114.

Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE)
2012-03-23 16:05:22 -05:00
Raymond Lu
1116fc1e5e [svn-r22135] I added an item for Issue 7785. No test is needed. 2012-03-23 11:09:08 -05:00
Raymond Lu
97483389cb [svn-r22134] Issue 7785 - follow-up checkin. I forgot to initialize a structure in H5D_read as I did in H5D_write.
Tested on jam - simple change.
2012-03-23 10:45:39 -05:00
Scot Breitenfeld
3682dd9ae0 [svn-r22133] Description: fixed problem with closing a non-existing file id.
Tested: koala (gnu 4.1)
2012-03-23 09:25:05 -05:00
Scot Breitenfeld
38a1ea7b99 [svn-r22130] Test for HDFFV-7777 h5ltget_attribure_string_f added
Added check that HLDS fortran function do remove NULL character.
2012-03-22 23:20:51 -05:00
Scot Breitenfeld
213ab6eb36 [svn-r22129] HDFFV-7777: Fix for removing NULL character from fortran string in h5lt_get_attribute_string_f
Fixed size +1 error in HD5f2cstring
2012-03-22 23:18:59 -05:00
Binh-Minh Ribler
19a6303205 [svn-r22128] Purpose: Fixed bug 4279
Description:
    Closed various HDF5 objects in DataSet::getInMemDataSize and
    Attribute::getInMemDataSize to remove some memory leaks.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (amani)
    SunOS 5.10 (linew)
2012-03-22 19:50:36 -05:00
Allen Byrne
c9f0f2ec22 [svn-r22126] Fixes for Component installation 2012-03-22 17:21:37 -05:00
Raymond Lu
daef205d04 [svn-r22122] Issue 7785 - Writing or reading many small chunks ran out of memory and caused seg fault. I added checks in two places to make sure the library returns error stack
when it fails to allocate memory.  I didn't add any test to the test suite since there is no good way to test it.  But I tested and verified the error stack by hand.

Tested on jam, koala, ostrich.
2012-03-22 14:31:01 -05:00
Dana Robinson
0d2f2074cb [svn-r22117] Fix for HDFFV-7916 (Windows/POSIX correctness issues in the core VFD) and HDFFV-7603 (core VFD has trouble with 2GB+ files on Windows).
Propagates the SEC2 driver fixes from HDF5 1.8.8 to the core VFD (mainly concerning the backing store).  These fixes also conveniently fixed 7603 as well.

Tested on:

64-bit Windows 7
jam
koala
ostrich
2012-03-21 17:11:05 -05:00
Raymond Lu
0d118ea88a [svn-r22116] #Issue 7922 - follow-up checkin. I changed the order of two private functions and a macro according to Quincey's suggestion.
Tested on jam - simple change.
2012-03-21 16:08:52 -05:00
Mohamad Chaarawi
dd1b2c3208 [svn-r22115] Add 2 new API routines to set/unset file atomicity for files opened with the MPI-IO VFD
Add test cases for these two routines
Jira issue HDFFV-7961
2012-03-21 16:00:48 -05:00
Jonathan Kim
d476ce138b [svn-r22114] Purpose:
Fix for HDFFV-7837 - h5diff: incorrect behavior with exclude-path option when unique object exist only in one file

Description:
  If unique objects exists only in one file and try to exclude
  the unique objects with --exclude-path option, h5diff missed 
  excluding some objects. 
  Fixed to exclude objects correctly in such case.
  Test cases were added and tagged with jira#.


Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-03-21 16:00:15 -05:00
Quincey Koziol
b7d9ed39c2 [svn-r22112] Description:
Minor code safety issue in test/fheap.c and whitespace in other files.

Tested on:
	Mac OSX/64 10.7.3 (amazon) w/debug
	(Too minor to require h5committest)
2012-03-21 15:25:52 -05:00
Dana Robinson
ada561507a [svn-r22111] Removed incorrect 'executable' svn properties. 2012-03-21 15:01:10 -05:00
Dana Robinson
48688a2dbc [svn-r22110] Removed incorrect 'executable' svn properties. 2012-03-21 14:50:28 -05:00
Dana Robinson
8de7487ffd [svn-r22109] Removed the executable flag from the COPYING file. 2012-03-21 14:40:02 -05:00
Jonathan Kim
26cab92853 [svn-r22108] Purpose:
HDFFV-7523 JPSS: h5dump fails to open an attribute when using the -a option to specify an attribute with a slash in the name

Description:
  Update command line help page and test generating file. 
  Previous commits: r22052, r22063

Tested:
  jam (linux32-LE), koala (linux64-LE), cmake (jam)
2012-03-21 13:56:36 -05:00
Dana Robinson
9f18db936f [svn-r22103] Fix for HDFFV-7769 (HDF5 tests time out on Windows when core VFD is set).
This occurs due to the istore test creating very large files on systems which
do not have POSIX-like sparse file semantics.  The large amount of I/O causes
the test to run for a very long period of time.

The fix was to copy the "big" test's sparse file check and only run the
largest sparse file test when POSIX-like sparse file semantics are found.

Tested on:

jam (nfs)
ostrich (nfs)
loyalty (ufs)
64-bit linux VM (ext4)
64-bit OS-X Lion (hfs, detected as not POSIX sparse)
64-bit Windows 7 (NTFS, detected as not POSIX sparse)

The OS-X failure to pass the sparse check is likely an error and will be
entered as a new bug.
2012-03-20 16:42:38 -05:00
Allen Byrne
be410798d0 [svn-r22098] Add reference file extensions in new tests.
Remove "STAR" test as some platforms vary in interpretation.
2012-03-20 08:50:03 -05:00
HDF Tester
2c428c1bd7 [svn-r22097] Snapshot version 1.9 release 111 2012-03-20 08:00:55 -05:00
Scot Breitenfeld
5e202882c9 [svn-r22096] Desciption: Added cyclic path test for H5LTpath_valid.
Tested: jam (gnu and intel)
2012-03-19 23:23:10 -05:00
Raymond Lu
16591dbcc5 [svn-r22094] Issue 7922 - follow-up checkin. Daily test reported that PGCC (11.8-0) on jam and koala has trouble with the command "*p++ = *p OP tree_val" in the macro definition of H5Z_XFORM_DO_OP1 of H5Ztrans.c. It increments P first before doing the operation. So I break down the command into two lines: "*p = *p OP tree_val; p++;" I also reported the problem to PGI.
Tested on jam, koala, and ostrich.
2012-03-19 16:10:40 -05:00
Allen Byrne
14bc79b1b8 [svn-r22090] Reorder tools/h5jam/testfiles ordering 2012-03-19 10:05:19 -05:00
Allen Byrne
a51eaab41a [svn-r22087] Minor formatting changes to sync with 1.8 2012-03-19 09:03:12 -05:00
Raymond Lu
c8ad738d4e [svn-r22084] I updated the item for Issue 7756.
No test is needed.
2012-03-16 11:12:20 -05:00
Scot Breitenfeld
18a18f7f10 [svn-r22082] Description: replaced strncopy with passing path name directly. 2012-03-16 10:13:46 -05:00
Scot Breitenfeld
e37a9c67d8 [svn-r22081] Description:
Changed H5G*() to H5G*2() APIs for compatability.

Tested: (jam intel, --with-default-api-version=v16)
2012-03-16 09:54:18 -05:00
Scot Breitenfeld
e4c1c566d4 [svn-r22080] Description: aligned H5_FC_FUNC with the H5_FC_FUNC in the line above
tested: none
2012-03-15 23:27:47 -05:00
Scot Breitenfeld
c9ebe22dd0 [svn-r22079] Added H5LTpath_valid(_f) description. 2012-03-15 23:24:55 -05:00
Scot Breitenfeld
29e7e2890b [svn-r22078] New API: H5ltpath_valid
REF: HDFFV-1233

A high-level "H5LTpath_valid" routine for checking if a path is correct
Both Fortran and C version.

Tested: jam (gnu and intel)
2012-03-15 19:53:56 -05:00
Allen Byrne
f261344af9 [svn-r22077] Add example of multiple files for h5dump help text.
Tested: local linux
2012-03-15 16:21:46 -05:00
Raymond Lu
b337ae979d [svn-r22076] #Issue 7922 - H5Pset_data_transform had seg fault with some operations like x*-100.
The parser mistaked "-" as substraction.  I fixed it and also fixed another problem
with some special cases like 100-x and 2/x.

Tested on jam, koala, and ostrich.
2012-03-15 15:53:14 -05:00
Allen Byrne
207c05e2e9 [svn-r22075] Add test for multiple files with h5ls and h5dump.
Tested: local linux
2012-03-15 15:44:51 -05:00
Allen Byrne
956fde680a [svn-r22074] Remove , from list of file char substitutions. 2012-03-15 14:50:36 -05:00
Neil Fortner
3ee8b91dee [svn-r22072] Purpose: Fix rare corruption bug (HDFFV-7879)
Description:
When using the new object header format, it was possible for corruption to occur
if the first object header chunk changed size such that the lenght of the "chunk
0 size" field changed.  This only occurred if there were messages that had not
been decoded.  The original algorithm that changed the object header chunk size
marked all messages as dirty, causing those that had not been decoded to have
both the raw and native form invalidated.  Changed the algorithm to avoid
marking messages dirty and added assertions to catch the case where messages
are dirtied without being decoded (or recently created) first.

Tested: jam, koala, ostrich (h5committest), durandal
2012-03-15 14:16:24 -05:00