Commit Graph

12985 Commits

Author SHA1 Message Date
Jonathan Kim
231fc4d781 [svn-r22684] Purpose:
Address HDFFV-7942 - h5diff: incorrect result for comparing attribute data with different type size in same class

Description:
   When comparing attribute data values with same type class but different size, the result was incorrect.  It was due to the size difference and got truncated. 
   Fixed to match up the smaller type size to big type size like what dataset does.

  
Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
2012-08-15 11:04:26 -05:00
Quincey Koziol
d27ec1d3bd [svn-r22681] Description:
Clean up file driver property handling, along with some misc. warnings.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.1, C++, FORTRAN & threadsafe
    (h5committest upcoming)
2012-08-15 09:14:13 -05:00
Vailin Choi
8b72343753 [svn-r22679] Changed H5O_copy_search_comm_dt_check() to use H5O_obj_class() to get object type instead of H5O_get_info(...TRUE...) saving time in traversing metadata.
(This is part of the checkin to 1.8 branch #22677)
2012-08-14 11:56:06 -05:00
Vailin Choi
a9602d1b34 [svn-r22676] Changes needed to make the default free-list mapping from H5FD_FLMAP_SINGLE to H5FD_FLMAP_DICHOTOMY. 2012-08-13 15:04:20 -05:00
Allen Byrne
eb4fd07b5a [svn-r22674] Remove checks for filters are available because the h5dump tests never used the filters in the tests. "-H" option excludes data.
HDFFV-8125
2012-08-13 10:34:22 -05:00
Allen Byrne
4f4db8799c [svn-r22673] Add "_" to list of version separators 2012-08-13 08:39:17 -05:00
HDF Tester
2eb782130a [svn-r22670] Snapshot version 1.9 release 125 2012-08-12 15:28:06 -05:00
Quincey Koziol
d20da589dd [svn-r22668] Description:
Have free space manager use temporary address space for storing the
section info, until the file is flushed or closed.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.x, C++, FORTRAN & threadsafe
    (h5committest forthcoming)
2012-08-11 16:27:58 -05:00
Quincey Koziol
3552beb08b [svn-r22666] Description:
Merge "flush me last" & "flush me collectively" feature from the
avoid_truncate branch back to the trunk.  (To help enable allowing the
free space section info to reside in temporary address space)

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.x, C++, FORTRAN & threadsafe
    (h5committest forthcoming)
2012-08-10 21:26:34 -05:00
Albert Cheng
60c9d88951 [svn-r22657] Bug fix: previous commit has a mistake--it used the wrong type of return
value of FAIL. The function type is a pointer. Fixed it by changing it to NULL.

Tested: In remote machine ADA (aix).
2012-08-09 18:57:57 -05:00
Mohamad Chaarawi
c3247876b1 [svn-r22651] fix a bug that would skip or include the parallel atomicity test with cmd arguments -o or -x 2012-08-09 13:09:56 -05:00
Allen Byrne
fcdc7614d7 [svn-r22650] Allow second find_package call for legacy libraries (not cmake-configured) 2012-08-09 09:46:15 -05:00
Quincey Koziol
88a94bbe7f [svn-r22646] Description:
Changes resulting from Klocwork static analysis tool, from Mark Miller
@ LLNL (miller86@llnl.gov).

Tested on:
    Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x
    (too minor to require h5committest)
2012-08-08 18:01:20 -05:00
Allen Byrne
79b2eb993e [svn-r22642] Correct check for filters in tools test 2012-08-08 12:03:44 -05:00
Allen Byrne
9c547117ec [svn-r22637] Remove legacy command to kill MPI processes on obj to obj testing.
Tested: Windows, jam, koala
2012-08-06 15:08:12 -05:00
Allen Byrne
e7896ce1ce [svn-r22633] Correct packaing info 2012-08-06 11:39:13 -05:00
Allen Byrne
db5a8eaa54 [svn-r22631] Move executable statement to after declarations 2012-08-05 21:48:11 -05:00
Larry Knox
456b97b9fa [svn-r22629] Snapshot version 1.9 release 124 2012-08-05 13:42:13 -05:00
Quincey Koziol
f2bc1b43de [svn-r22627] Description:
Merge some of the changes on the plist_encode_decode branch back to the
trunk.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5committest)
2012-08-03 18:44:17 -05:00
Allen Byrne
28943c415b [svn-r22625] HDFFV-8111: h5diff compare file to itself - removed path shortcut 2012-08-03 15:11:36 -05:00
Allen Byrne
c9cd62c1b5 [svn-r22624] The cmake folder needed a local variable to not include a "." as one of the path components on windows. 2012-08-03 12:46:47 -05:00
Allen Byrne
cc7ae0a7fe [svn-r22622] Windows config is up one level 2012-08-02 15:31:43 -05:00
Allen Byrne
49a11118ee [svn-r22620] Add ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} to default include_dirs
Correct cmake packaging names
2012-08-02 12:57:54 -05:00
Jonathan Kim
99ef5765f5 [svn-r22618]
Purpose:
  HDFFV-8003 - ph5diff (parallel h5diff): daily test failure on ember intermittently during non comparable test file comparison
  HDFFV-7755 - parallel h5diff : hanging on koala intermittently during non comparable test file comparison

Description:
  non-comparable test intermittently hung on koala and ember, but not on jam. it didn't occur until -np reaches 4 or bigger. it occurred once out of many repeated attempts of the same test.
  There was a incorrectly (mistakenly?) duplicated code in MPI section which caused such hang in a certain condition. The test used more processes than other tests, which increased chance to trigger more undone processes, and such process could enter the incorrect code section and wait for wrong pair of send. it explains why it occurred intermittently according to machine condition and using a certain feature. 
  Removed incorrect code which blocked correct code.
  
Tested: some manually repeated test performed
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE)
2012-08-01 12:07:46 -05:00
Jonathan Kim
840ad09105 [svn-r22617] Purpose:
Fix for HDFFV-8107 testh5diff will fail if build/test in HDF5 source tree

Description:
  This is sub-task for "HDFFV-8105 testh5diff.sh uses the wrong operator (-a) in an if statement."
  From the HDFFV-8105's update, h5diff test failed if build&test is performed in HDF5 source tree because 'cp' try to copy test files to self dir. 
  It's addressed by skipping if cp's src dir and dest dir is same.
  Also this applied for all other tools under src/tools dir.
  No change to the CMakeLists.txt files because CMake cautions/demands that in-source builds be avoided.

  
Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), some manual tests as well
2012-08-01 10:37:40 -05:00
Allen Byrne
d4d9cbd52d [svn-r22614] Revert heading of summary. 2012-07-30 14:15:31 -05:00
Scot Breitenfeld
65100aa371 [svn-r22611] Fixed: HDFFV-8013 H5LTget_attribute_string appears to not close an object identifier
Tested: gnu and intel (jam)
2012-07-26 22:18:03 -05:00
Scot Breitenfeld
f385b0d537 [svn-r22610] HDFFV-8055 H5TBdelete_record destroys data after the deleted row
Added fix and test case.

Tested: gnu and intel (jam)
2012-07-26 21:51:04 -05:00
Quincey Koziol
7143164de9 [svn-r22608] Description:
Switch propert list/class iteration from internal to external form of
iteration, cleaning up and simplifying the code a bit.

    Bring other general improvements from plist_encode_decode branch back to
trunk.

    Clean up many warnings.


Tested on:
    Mac OSX/64 10.7.4 (amazon) w/gcc 4.7, debug and C++ & FORTRAN
    (too minor to require h5committest)
2012-07-26 14:33:59 -05:00
Allen Byrne
74e0060526 [svn-r22606] Correct typo from cut/paste 2012-07-26 09:21:15 -05:00
Allen Byrne
aeaab5204b [svn-r22605] Skip test that require h5diff to compress when the DEFALTE filter is unavailable 2012-07-26 08:54:06 -05:00
Allen Byrne
389e928176 [svn-r22604] cast void* to char* for calculation
Issue on windows
2012-07-26 08:32:12 -05:00
Allen Byrne
dd27fe612c [svn-r22602] 2012-07-25 17:17:48 -05:00
Neil Fortner
c04144fb39 [svn-r22601] Purpose: Fix HDFFV-5853
Description:
When jumping out from between H5_BEGIN_TAG and H5_END_TAG macros using
HGOTO_ERROR or HGOTO_DONE, the previous metadata tag is not reset on the dxpl.
This could cause problems when, for example, calling H5Ocopy within an
H5Literate callback.

Added new HGOTO_ERROR_TAG and HGOTO_DONE_TAG macros which must be used in place
of the above between H5_BEGIN_TAG and H5_END_TAG.

Tested:
jam, koala, ostrich (h5committest), durandal
2012-07-25 16:50:22 -05:00
Allen Byrne
b5ef63b550 [svn-r22599] FinHDF5 should be generated during build. 2012-07-24 09:10:05 -05:00
Allen Byrne
ab072288ad [svn-r22598] BE machines have a different offset in STORAGE_LAYOUT then the LE machines.
Use h5diff with -r to not report warnings.

Tested: local with CMake and ostrich with shell script
2012-07-23 10:58:30 -05:00
Albert Cheng
9e08a0d8c5 [svn-r22594] Bug fix: HDFFV-8105
Description:
The test command in COPY_TESTFILES_TO_TESTDIR used the wrong operator -a which
means and. It is not sufficient to test mere existence as $tstfile could have
been a directory or other non-file things.  If the file is not readable, the
$CP command would fail but its return code was not checked.

Solution:
Get rid of the test command and go ahead to $CP it and then check its returned
code and report errors if detected.

Tested; committested. (note that ostrick still failed on errors committed by
other staff).
2012-07-22 01:42:30 -05:00
Allen Byrne
23d32fec25 [svn-r22590] correct reference file location in runTest command 2012-07-20 11:55:37 -05:00
Allen Byrne
3a1c4de359 [svn-r22589] Change strto functions to the HD prefix versions.
Tested: local
2012-07-20 11:41:11 -05:00
Allen Byrne
4a6f93f895 [svn-r22588] HDFFV-721: h5dump supplies input for h5import
Tested: local linux with cmake
        jam with configure
2012-07-19 14:53:17 -05:00
Quincey Koziol
75f4e51a1a [svn-r22582] Description:
Refactor ID class registration to be more like how other "class"s in the
library are registered, and clean up compiler warnings.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5comittest)
2012-07-16 14:54:26 -05:00
Allen Byrne
2e3ab09a52 [svn-r22581] HDFFV-588: hdump restrictions on filename for split files. Added text and example to usage.
Tested: local linux
2012-07-16 13:21:05 -05:00
Allen Byrne
d06dd11291 [svn-r22577] Windows compilers require declarations at top of routine. 2012-07-16 10:08:03 -05:00
Raymond Lu
feb79ce8ea [svn-r22575] Issue 8068 - A user reported some random data in the padding of fill value. The problem happened in H5P_get_fill_value. I believe it's because the background buffer wasn't big enough. So I corrected it in this checkin.
Tested on jam and koala - simple change.
2012-07-13 17:10:57 -05:00
Allen Byrne
c7513e1776 [svn-r22570] Correct name of error reference file 2012-07-13 09:12:17 -05:00
Allen Byrne
f48ae2195a [svn-r22569] On windows read/write error reference file just like reference file before comparision. This will set the line endings. 2012-07-13 08:58:18 -05:00
Allen Byrne
a947f3b755 [svn-r22568] fix another typo - due to wrong edit state! 2012-07-12 16:50:26 -05:00
Allen Byrne
210d04b05f [svn-r22567] HDFFV-7784: add attributes to the list of file contents option for h5dump. This is accomplished by adding an optional value to the option (-n)
Created test and reference files.

Tested: local linux with cmake
2012-07-12 15:30:30 -05:00
Allen Byrne
1942f47bcf [svn-r22566] correct typo of new files names 2012-07-12 11:51:30 -05:00
Allen Byrne
6e0eb24b7b [svn-r22564] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. 
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.

Tested: local linux with cmake
2012-07-12 10:40:15 -05:00