Commit Graph

12439 Commits

Author SHA1 Message Date
Jonathan Kim
7a6f281a8b [svn-r21237] Description:
Add test cases for HDFFV-7656 - "--delta=something" considers two NaN of the same type are different.
  The fix was added (r21105) before but test cases were incorrectly added and missing for cmake script.

Tested:
  jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
2011-08-16 17:40:36 -05:00
Jonathan Kim
e703a6a2a4 [svn-r21236] Purpose:
Work for:
   HDFFV-7515 - GMQS: h5unjam - incorrect help page and should display when 
   no file is given.
   and
   HDFFV-5941 - h5jam: specifying a user block file with a proper HDF5 magic
   number will result in a corrupted HDF5 file.


Description:
   - Revised command help pages of h5jam and h5unjam. The descriptions
     were not up to date and some were missing. (HDFFV-7515)
   - Fixed h5jam not to allow specifying an HDF5 formatted file as input 
     file for -u (user block file) option, because the original HDF5 file 
     will not be accessible if allows. (HDFFV-5941)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Wondows)
2011-08-16 15:41:47 -05:00
Allen Byrne
8d80bf4a93 [svn-r21228] Added #ifdefs around #include unistd.h and created windows getlogin() function for building HDF5 parallel on windows.
Reviewed and tested locally and tested by user.
2011-08-15 09:06:53 -05:00
Allen Byrne
03a4dd9fc3 [svn-r21227] Correct location of xml schema files. JIRA HDFFV-7688 2011-08-15 08:30:30 -05:00
HDF Tester
144ed6d49b [svn-r21225] Snapshot version 1.9 release 88 2011-08-14 11:50:04 -05:00
Raymond Lu
f32d49916d [svn-r21220] The original code
i_mask = ~((unsigned)~0 << (precision[0] + offset[0])) & ((unsigned)~0 << offset[0]);
in line 3680 left shifted a 32-bit integer for 32-bit.  The result is undefined by C language.  A user
discovered it using clang compiler with -fcatch-undefined-behavior option (see Issue 7674
in Jira).  So I changed it in a funny way to avoid it.

Tested on jam, koala, and heiwa.
2011-08-12 09:38:30 -05:00
Allen Byrne
14f8f4d437 [svn-r21210] Correct location of xml schema files. JIRA HDFFV-7688
Tested: local linux
2011-08-10 15:48:05 -05:00
Dana Robinson
fb3d6c22d0 [svn-r21209] Added descriptive comment to H5G_stab_valid comment block. Tested locally just to ensure no errors were introduced. 2011-08-10 15:46:35 -05:00
Allen Byrne
4d83d62eb3 [svn-r21208] Add fortran COMPILE_FLAGS
remove benchpar and mpi-perf tests
add new prunTest.cmake that will be modified for parallel tests
2011-08-10 14:49:00 -05:00
Raymond Lu
db9b025d85 [svn-r21205] Issue 2763 - adding OAPL_ID as a new parameter to H5Rdereference. I added a check of OAPL_ID against -1 because CMAKE
on 64-bit Windows slipped through the function call in the trefer.c test.  

Tested on jam and CMAKE on 64-bit Windows.
2011-08-10 11:14:05 -05:00
Allen Byrne
fe3dbaa0e6 [svn-r21202] Prepend test folder name to perform and testpar cmake tests 2011-08-09 14:14:36 -05:00
Allen Byrne
5173111832 [svn-r21201] Prepend test folder name to perform and testpar cmake tests
Replace runTest command param spaces with ;
Change CTEST_NAME to HDF5 - the project name

Tested: local linux, windows
2011-08-09 14:13:26 -05:00
Allen Byrne
6209f43296 [svn-r21198] Change default fortran compiler to gfortran
Tested: cygwin
2011-08-09 13:55:31 -05:00
Allen Byrne
dd7693bde0 [svn-r21195] Correct windows exports for h5diff. 2011-08-08 16:59:09 -05:00
Allen Byrne
13beaa1a6f [svn-r21194] Add parallel version of windows def file for fortran exports 2011-08-08 16:57:49 -05:00
Allen Byrne
09ecf212c6 [svn-r21193] Correct mis-spelled functions 2011-08-08 16:56:42 -05:00
Allen Byrne
c5a7f65679 [svn-r21192] Correct Windows Fortran static builds. 2011-08-08 16:55:56 -05:00
HDF Tester
1144d0521d [svn-r21185] Snapshot version 1.9 release 87 2011-08-07 09:17:33 -05:00
Allen Byrne
97569890f8 [svn-r21175] Release datatypes created locally 2011-08-05 14:43:34 -05:00
Allen Byrne
5f232b2c91 [svn-r21171] Commit HDFFV-5929 winthreads define fix
Change reference of generated executables in src and fortran/src to use $<TARGETFILE:xxx> format.

Tested: local linux
2011-08-04 10:21:15 -05:00
Allen Byrne
4eb2b76737 [svn-r21166] Remove subfolder in library install
Tested: local linux
2011-08-01 14:37:34 -05:00
Allen Byrne
a38f1a2075 [svn-r21163] Remove test library from export list
Tested: local linux
2011-08-01 14:25:35 -05:00
HDF Tester
be78781ac6 [svn-r21158] Snapshot version 1.9 release 86 2011-07-31 09:01:13 -05:00
Scot Breitenfeld
3dc16eb5bd [svn-r21157] Description: JIRA HDFFV-7673: fixed segfault when retrieving the length of a
a dimension scale that does not exist. Implemented a test for the situation
and added an if condition depending on if the label name exists.

Tested: jam (gnu and intel)
2011-07-30 19:46:37 -05:00
Quincey Koziol
74cf7b79a5 [svn-r21152] Description:
Further patches for Jira 7638, to ensure that H5D/Aget_type will
be attached to the correct top file.  (This change to the library should
reverted when Jira 7638 is finally finished)

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
        Mac OS X/32 10.6.8 (amazon) in debug mode
        Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2011-07-28 16:22:44 -05:00
HDF Tester
b230a5e448 [svn-r21149] Snapshot version 1.9 release 85 2011-07-24 09:40:12 -05:00
Larry Knox
28e75b6470 [svn-r21146] Updated RELEASE.txt
Replaced several old Linux platforms no longer in use with the current Linux test machine information.

No test - doc file only.
M    release_docs/RELEASE.txt
2011-07-23 17:15:13 -05:00
Albert Cheng
3ec4857286 [svn-r21143] No access to any AIX system any more.
Removed entries of AIX as tested platform.
2011-07-23 10:56:39 -05:00
Quincey Koziol
73cb1cc917 [svn-r21137] Description:
Tiny change to reduce code coupling w/H5F package.

Tested on:
	FreeBSD/64 8.2 (freedom) w/debug
	(too minor to require h5committest)
2011-07-21 09:58:47 -05:00
Quincey Koziol
9d7db15020 [svn-r21135] Description:
More code cleanups to reduce coupling with the H5F package.

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
        Mac OS X/32 10.6.8 (amazon) in debug mode
2011-07-21 09:50:59 -05:00
Quincey Koziol
08bb610547 [svn-r21133] Description:
More code cleanups to reduce coupling between packages that use the H5F
internal routines, but really aren't part of the H5F "package".

Tested on:
    FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
    FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
    Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
        w/C++ & FORTRAN, w/threadsafe, in debug mode
    Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
        w/C++ & FORTRAN, in production mode
    Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
        w/szip filter, w/threadsafe, in production mode
    Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
    Mac OS X/32 10.6.8 (amazon) in debug mode
2011-07-20 16:47:15 -05:00
Quincey Koziol
0a5bcc1df0 [svn-r21131] Description:
Disable some test code that isn't going to work correctly again until
we've completely resolved Jira issue #7638.

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
        Mac OS X/32 10.6.8 (amazon) in debug mode
2011-07-20 14:09:08 -05:00
Quincey Koziol
f136245a4f [svn-r21127] Description:
Correct to use correct FAPL, to fix error when running 'make check-vfd' 

Tested on:
	Linux/64 2.6 (koala) w/make check-vfd
2011-07-19 20:34:55 -05:00
Quincey Koziol
d7e8828f70 [svn-r21126] Description:
Clean up some compiler warnings, but mainly an interim checkin on the
path of reducing code coupling in the library by removing most of the places
which were accessing H5F package definitions.

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:47:59 -05:00
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