Commit Graph

12405 Commits

Author SHA1 Message Date
Quincey Koziol
27775305d6 [svn-r21125] Description:
Correct char arrays that were too small for strings defined.  Also, change
cleanup to work correctly.

Tested on:
    Mac OS X/32 10.6.8 (amazon) w/debug
    FreeBSD/32 8.2 (loyalty) w/debug
    FreeBSD/64 8.2 (freedom) w/debug
    Linux/64 2.6 (heiwa) w/debug
    Linux/64 2.6 (ember) w/parallel
2011-07-19 17:45:55 -05:00
Raymond Lu
338fdac20d [svn-r21124] Issue 2763 - adding OAPL_ID as a new parameter to H5Rdereference. A followup commit for r21117. I made 2 changes:
1. Quincey changed H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for the tests that call H5Rdereference.  Inside H5R_dereference, I assigned H5P_DATASET_ACCESS_DEFAULT to OAPL_ID if it is H5P_DEFAULT.
  2. I added the test for invalid OAPL_ID in trefer.c.

Tested on jam, koala, heiwa.
2011-07-19 15:20:01 -05:00
Quincey Koziol
a777619a6b [svn-r21121] Description:
Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to
H5Rdereference2().

Tested on:
    Mac OS X/32 10.6.8 (amazon) w/debug
    (too minor to require h5committest)
2011-07-18 18:12:28 -05:00
Quincey Koziol
de10631577 [svn-r21120] Description:
Check in ugly version of fix for Jira #7638.  I'm going to leave the issue
open in Jira and when the library has been refactored to use shared file
pointers (instead of top file pointers) for file operations, I'll uncomment
the check in src/H5Oshared.c

Tested on:
    Mac OS X/32 10.6.8 (amazon) w/debug
    (too small for h5committest)
2011-07-18 17:43:30 -05:00
Quincey Koziol
69d7f7312a [svn-r21119] Description:
Simplify use of property lists to H5Rdereference, and switch to use
H5Rdereference2.

Tested on:
    Mac OS X/32 10.6.8 (amazon)
    (too small to require h5committest)
2011-07-18 17:33:18 -05:00
Raymond Lu
4401ddb8c0 [svn-r21118] Issue 2763 - followup commit for r21117 of H5Rdereference. I forgot to update the C examples.
Tested on jam - simple change.
2011-07-18 17:26:21 -05:00
Raymond Lu
304f19d730 [svn-r21117] Issue 2763 - I added a new parameter of object access property list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c.
Tested on jam, heiwa, and koala.
2011-07-18 16:23:02 -05:00
Jonathan Kim
cc0486926f [svn-r21113] Description:
Revert the previous makefile change as release snapshot test failed with
    MANIFEST check. Don't clean 'testfiles' dir via 'make distclean' for 
    the case of build&test in source dir. 
    In regular daily testings, we build&test in seperate dir from source dir, 
    so no issues occurred. 
    However for the release snapshot test, it seems that we build&test in 
    source dir.
    The previous change can remove testfiles in source dir if build&test is 
    done in source dir becasue currently the dir name 'testfiles' is same in
    source dir and test dir. 
    Other task (7602) may change to use different name for the test directory,
    so 'make distclean' can do its job without interrupting MANIFEST.
2011-07-18 11:13:34 -05:00
Allen Byrne
b76b1e060a [svn-r21110] Renamed test file to more descriptive name 2011-07-18 10:02:29 -05:00
Allen Byrne
46049ef382 [svn-r21109] Renamed test files to more descriptive name
Tested: local linux (after clearing old testfiles)
2011-07-18 09:28:11 -05:00
Allen Byrne
05d13386f2 [svn-r21108] Renamed test files to more descriptive name
Tested: local linux
2011-07-18 09:25:42 -05:00
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