Commit Graph

12394 Commits

Author SHA1 Message Date
Peter Cao
877b7aed1b [svn-r21105] Fixed two bugs:
- h5repack: h5repack failed to copy dataset if the layout is changed from chunked with
            unlimited dims to contiguous. (PC -- 2011/07/15)
     - h5diff: "--delta" option considers two NaN of the same type are different, which is wrong
            based on http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Diff. (PC -- 2011/07/15)
2011-07-15 18:02:50 -05:00
Mike McGreevy
dc9288a447 [svn-r21101] HDFFV-7639
Purpose:

    Remove H5_MPI_SPECIAL_COLLECTIVE_IO_WORKS and
    H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS #defines from source.

Description:

    Two advanced parallel functionalities, special collective IO and
    complex derived datatypes, are not supported by older
    implementations of mpi, and thus our code limits the use of these
    features with #ifdefs and has checks in configure to set them (or
    not). Unfortunately, configure can't actually run a parallel check
    to see if these features are working (nor not) so it resorts to
    looking in the config files where they are explicity enabled or
    disabled based on versions of mpi, sytems being built on, or for
    no documented reason at all (i.e. just set to on or off as some
    'default'). Overriding these settings is easy if need be, provided
    it is known that it needs to be done to get improved performance,
    and oftentimes it is not.

    Most new MPI implementations successfully handle the functionality
    requested when these #defines are set, and many of the "turn these
    features off" cases in the config files are for old (> 5 years)
    versions of MPI and retired systems (such as NCSA's tungsten).

    Therefore, the decision has been made to remove the support for
    these old versions of MPI and systems that cannot handle these
    behaviors. The #ifdefs and supporting setup in the config/ files
    and configure script has been removed, and the code executed when
    these options were not set removed from the source.

    In passing, this commit also cleans up some whitespace issues in
    both t_mpi.c and H5Dmpio.c. Furthermore, in t_mpi.c, the special
    collective IO test was not getting regularly run due to it being
    written to work only with four processes (we regularly test with
    six, previously with three), and thus it failed when actually run
    due to an out of bounds data buffer assignment. It has been
    modified to run at any number of processes greater than four, and
    the memory problem has been fixed so the test passes.

Tested:

    jam, h5committest, ember
2011-07-14 15:33:21 -05:00
Allen Byrne
3397a114ce [svn-r21091] Replace #ifdef WIN32 around 64 bit integers with H5_SIZEOF_LONG_LONG. This is set if 64-bit integers are supported.
Tested: local linux
2011-07-11 10:39:02 -05:00
Allen Byrne
eddfc8bbc3 [svn-r21088] Add dependicies for tests to address issues when run in parallel 2011-07-11 10:17:25 -05:00
Allen Byrne
b3342de47a [svn-r21086] Add new clear-objects tests to valgrind ignore list 2011-07-11 09:00:30 -05:00
Allen Byrne
d5d41984f8 [svn-r21080] Remove redundant EXPORTS symbol since CMake automatically creates it. 2011-07-08 14:29:01 -05:00
Allen Byrne
ecaf2df9e4 [svn-r21078] Update test script to remove generated test files per test rather then in one group. Discovered from public 1.8 CDash reports. 2011-07-08 11:45:07 -05:00
Allen Byrne
7b6b9cb513 [svn-r21074] Remove incorrect -p option from test macro. Discovered from public 1.8 CDash reports 2011-07-08 09:36:22 -05:00
Jonathan Kim
5e69ec06ff [svn-r21072] Purpose:
Work for HDFFV-7600 - GMQS: h5diff - argument options -d, -p and --use-system-epsilon should be mutually exclusive.

Description:
    Fixed h5diff to display instructive error message and exit with 1
    when mutually exclusive options (-d, -p and --use-system-epsilon)
    are used together.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-07-07 18:12:51 -05:00
Mike McGreevy
77108909d0 [svn-r21066] Purpose:
Fix HDFFV-7522
"--enable-production=xxx will produce incorrect configure summary"

Description:
Fixed a typo in configure.in that resulted in "-enableval" being
displayed by the configure summary (and set in the CONFIG_MODE
makefile variable) if the production mode was set to anything other
than yes, no, or profile. The summary and CONFIG_MODE variable will
now be set to the value specified by the user.

Tested:
jam, h5committest
2011-07-05 11:23:10 -05:00
Quincey Koziol
06880aeb4d [svn-r21063] Description:
Tweak make_vers script so that it indents preprocessor commands inside
#ifdefs, is more forgiving and informative about the input file's prefix, and
is better parameterized with the global variables at the beginning of the
script.  When major versions are branched from the trunk, the $max_idx value
should be the only value that needs to be changed in the version of the script
on the trunk.

    Changes to H5version.h file are just indention.

Tested on:
    Mac OS X/32 10.6.8 (amazon)
    (too minor to require h5committest)
2011-07-01 15:09:44 -05:00
Jonathan Kim
11349c2361 [svn-r21057] [hdf5 Trunk ] TODO
Purpose:
    Work for HDFFV-7602 - HDF5 command tools: Provide framework for reusable 
    test files among tools
Description:
    Provide framework to share test files among tools for tools test.

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE)
2011-06-30 16:36:34 -05:00
Allen Byrne
9b1c14d127 [svn-r21055] Correct proj file tag mismatch 2011-06-30 11:00:45 -05:00
Allen Byrne
c970133c1b [svn-r21047] Correct *-config.cmake files to set {pkg}_LIBRARIES variable.
Tested: windows
2011-06-29 13:41:46 -05:00
Allen Byrne
fe9ba82949 [svn-r21037] Assign cmake config files to an install group 2011-06-27 16:23:16 -05:00
HDF Tester
4d805e42c4 [svn-r21033] Snapshot version 1.9 release 84 2011-06-26 10:54:32 -05:00
Raymond Lu
5da53a0b3a [svn-r21031] This is a follow-up checkin for r21015 (bug fix for Issue 2594). According to Quincey's suggestion, I moved the EOAs for individual files from H5FD_multi_fapl_t to H5FD_multi_t struct. It's a more proper place.
Tested on jam, koala, and heiwa.
2011-06-24 11:50:54 -05:00
Scot Breitenfeld
d6ee2feb44 [svn-r21028] Description:
Changed the length of the fortran string passed to HD5packFstring in the function nh5pget_external_c. The 3rd
argument should be the fortran length of the string, not the C length of the string (which includes the null).

Tested: jam (intel and gnu), also checked the example h5ex_d_extern.f90 which detected the problem on Amazon c2
machine (reported by Larry).
2011-06-23 19:59:07 -05:00
Allen Byrne
0e907c2d10 [svn-r21026] Add configure check for endianess and adjust test depending on status of check
Tested: heiwa
2011-06-23 15:56:24 -05:00
Raymond Lu
4df63636e3 [svn-r21017] This is a follow-up checkin for r21015 (bug fix for Issue 2598). I added two minor changes: 1. put the output file for
vfd.c test in the list for cleanup in Makefile.am; 2. put the data file in the list in CMakeLists.txt.

Tested on jam - simple change.
2011-06-22 15:05:17 -05:00
Scot Breitenfeld
396a022ec0 [svn-r21016] Description: Added Fortran DS example to CMakeList.txt 2011-06-22 12:03:37 -05:00
Raymond Lu
f8f8bed0c2 [svn-r21015] Bug fix for Issue 2598 - In v1.6 library, there was EOA for the whole MULTI file saved in the
super block.  We took it out in v1.8 library because it's meaningless 
            for the MULTI file.  v1.8 library saves the EOA for the metadata file, 
            instead. But this caused some backward compatibility problem.
            v1.8 library couldn't open the file created with v1.6 library.  I 
            fixed the problem by checking the EOA value to detect the file
            created with v1.6 library. 

Tested on jam, koala, and heiwa.
2011-06-22 10:47:57 -05:00
Jonathan Kim
83b77cb4eb [svn-r21014] Purpose:
HDFFV-5878 - GMQS: h5dump - incorrect output format for array type with multiple elements in an index

Description:
    Fixed h5dump to display the first line of each element into correct 
    position for multiple dimention array type.
    Before this fix, the first line of each element in array were displayed 
    after the last line of previous element without moving to the next 
    line (+indentation)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE)
2011-06-21 13:24:35 -05:00
Allen Byrne
82a2e4ebca [svn-r21011] Change how test created files are cleared by clearing the files inside the test macro. Allows individual tests to be independently executed.
Tested: local linux
2011-06-21 12:43:16 -05:00
Scot Breitenfeld
d23c582bf6 [svn-r21006] Description:
Added Fortran example for HL DS APIs.

Tested: jam (intel)
2011-06-21 10:18:25 -05:00
HDF Tester
43fc4e4f7f [svn-r21000] Snapshot version 1.9 release 83 2011-06-19 11:13:58 -05:00
Allen Byrne
94cf6a19ca [svn-r20996] Add lite2 dependency on lite1 example 2011-06-19 09:42:51 -05:00
Allen Byrne
1056623523 [svn-r20995] Get comment section did not add null terminator.
Tested: Debug windows
2011-06-19 09:38:52 -05:00
Raymond Lu
d25ff865ee [svn-r20991] I skipped the efc.c test for now because it opens the same file many times. VMS can't handle it. We need a solution in
the future.  Please see Issue 7620 in Jira about it.

Not tested yet.
2011-06-17 10:08:56 -05:00
Albert Cheng
d6bf9ca5c3 [svn-r20986] Changed the release date format to yyyy-mm-dd from the previous date form.
Tested: Jam by running bin/release and eyeballed the new date format.
2011-06-15 17:58:13 -05:00
Raymond Lu
944382796a [svn-r20984] I modified the pathname to [-.test] to be more accurate. The old one [...] had problem.
Tested 1.8 on VMS.
2011-06-15 14:49:37 -05:00
Raymond Lu
c74ab6e385 [svn-r20971] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. The previous way to construct the name of the existent data file wasn't very safe. It could be cleaned up if any user builds the library in the source directory.
Tested on jam - simple change.
2011-06-13 16:28:49 -05:00
Allen Byrne
a2f0603135 [svn-r20960] Added new source files.
Added new test and test files to test section

Tested: local linux
2011-06-10 09:52:54 -05:00
Scot Breitenfeld
864a502671 [svn-r20959] Description: Added fortran wrappers and test for the HL DS API. 2011-06-09 22:43:15 -05:00
Scot Breitenfeld
7c040a1efb [svn-r20958] Description: Added fortran wrappers and test for the HL DS API.
Tested: jam (intel, gnu, pgi)
2011-06-09 22:42:34 -05:00
Raymond Lu
5479ee3b0c [svn-r20946] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. In my first checkin, I took out the line "H5Z_SZIP->encoder_present = SZ_encoder_enabled()" by
mistake.  It caused SZIP test to fail.  I'm puting it back now.

Tested on jam - simple change.
2011-06-07 14:17:11 -05:00
Raymond Lu
fc3a269042 [svn-r20944] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. In my previous commit, I changed HDsnprintf to snprintf, which caused trouble for Windows because the name is _snprintf instead. So I changed it back to HDsnprintf for properly defined macro. I also changed all fprintf to HDprintf to be consistent.
Tested on jam - simple change.
2011-06-07 10:58:21 -05:00
Allen Byrne
40d8ea446b [svn-r20942] Add filter_error.h5 test file to list - used by error_test test. 2011-06-07 10:34:21 -05:00
Scot Breitenfeld
76b375f82b [svn-r20937] Description:
Added additional attaching and detaching permutation.

Tested:
jam (intel, gnu)
2011-06-06 23:19:06 -05:00
Raymond Lu
aabfb1d756 [svn-r20934] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit (20929 and 20930). The check-vfd in Makefile has trouble with the file name. Because the test file
is pre-generated, I use the default FAPL to create the full file name to avoid some driver test.  

Tested on jam - simple change.
2011-06-06 12:05:37 -05:00
Raymond Lu
5fe34ffd25 [svn-r20930] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. This is the follow-up commit. When I checked in the fix and test (revision 20929), I forgot to add the data file test/filter_error.h5.
I've tested it in my previous checkin.
2011-06-03 14:59:34 -05:00
Raymond Lu
4bffd76b3c [svn-r20929] Issue 4278 - When reading data fails, the error message should say which filter isn't registered. The fix is simple. Most of the effort is on the test. The file with filter enabled is created in gen_filter.c. The verification of the error message is in test_error.c. The output is compared against the standard output.
Tested on jam, koala, and heiwa.
2011-06-03 10:58:49 -05:00
Jonathan Kim
b71a597e86 [svn-r20927] Purpose:
HDFFV-7607: h5ls - improve efficiency of test scripts - removing top 3 extra lines from expected output files 

Description:
    This is a subtask from 'HDFFV-7514 - gmqs: h5dump - improve effectiveness of testing scripts for handling expected output files'.
    This is prerequisite for 'HDFFV-7602 tools - upgrade tools' test scripts to share test files among tools, providing framework for test file re-usability.'

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE), Cmake (jam)
2011-06-02 16:35:03 -05:00
Scot Breitenfeld
bf9a02aab0 [svn-r20923] Description: Added test for permutations of attaching and detaching DS, see bug HDFFV-7605.
Tested: Jam (intel and gnu)
2011-05-29 16:43:41 -05:00
HDF Tester
f4ddc227c2 [svn-r20922] Snapshot version 1.9 release 82 2011-05-29 10:53:27 -05:00
Raymond Lu
ca53d64e46 [svn-r20921] Issue 7579 - The overflowing ENUM values are inconsistent. I took out the error report for 2 H5Tclose calls in H5T_conv_enum because they would clear the error stack.
Tested on jam - simple change.
2011-05-27 16:32:39 -05:00
Raymond Lu
157623de6a [svn-r20913] Issue 7579 - The overflowing ENUM values are inconsistent. When no conversion is involved in reading or writing the
data, overflowing values are retained.  When conversion happens, the values become -1. The conversion function puts -1
when overflow happens.  I added two new dataset transfer property to control whether to fill 0xff in the destination 
data or convert to the destination data when overflow happens.  The two new functions are H5Pset(get)_enum_conv_overflow.  I also added test cases in enum.c and dtypes.c.

Tested on jam, koala, and heiwa.
2011-05-27 12:30:24 -05:00
Allen Byrne
de14c332f9 [svn-r20903] Removed PACKED_BITS check to match removal of option in code 2011-05-25 10:17:53 -05:00
Allen Byrne
843879de95 [svn-r20902] Re-ordered routines to match order of 1.8 for easier comparision of code changes 2011-05-25 10:16:01 -05:00
Allen Byrne
1fd585a5a0 [svn-r20901] Remove if() that avoided a copy of the last element to itself. This was to solve an issue of a difference between 1.8 and trunk. 1.8 used the wrong variable in the if() and upon reflection the if() was determined to be unnecessary and complicated the logic. 1.8 tests would have treated the if() as always true with the result being the same as though the if() was absent.
This change reflects that equivalance and will avoid a potential problem in 1.8.

Tested: local linux, reviewed by two developers
2011-05-25 10:14:06 -05:00