Commit Graph

2310 Commits

Author SHA1 Message Date
Mohamad Chaarawi
90067b76ce [svn-r26304] bring 26303 from trunk:
remove files with .clog2 extension generated by MPE when doing make clean
2015-02-25 13:52:27 -05:00
Dana Robinson
0ecf471414 [svn-r26264] Merge of r26225 from trunk.
Removed a a work-around for a broken CodeWarrior open() call from
configure that causes a test in test/tfile.c to be skipped.

This change removes the H5_NO_SHARED_WRITING symbol.

Tested on: jam (no code changes w/ non-CodeWarrior compilers)
2015-02-21 08:52:48 -05:00
Mohamad Chaarawi
62ec301df9 [svn-r26224] merge 26180 from trunk:
configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch:

- Remove Infering parallel compilers (C and Fortran) from configure.ac
- Remove restriction to build shared with parallel
- Cleanup parallel sections in configure.ac
- remove large file support checks
- MPE fixes.
2015-02-18 17:01:17 -05:00
Allen Byrne
df7a817322 [svn-r26105] Disable flush1/flush2 test under debug VFD on Windows. 2015-02-02 11:58:00 -05:00
Allen Byrne
75da78bc75 [svn-r26048] HDFFV-8736: Patch H5PL.c and test for cygwin plugin support. Merged from trunk. 2015-01-27 11:01:48 -05:00
Allen Byrne
ba9a30fd8e [svn-r26035] Add big test back for cygwin 2015-01-26 12:15:30 -05:00
Allen Byrne
65bc4bb980 [svn-r25997] HDFFV-9060: merge test properties and VFD separation from trunk 2015-01-22 08:57:22 -05:00
Mohamad Chaarawi
4b9ee6b88b [svn-r25996] - merge changes from trunk to eliminate usage of IS_H5FD_MPI Macro.
- add 2 missing feature flags for VFDs: H5FD_FEAT_HAS_MPI & H5FD_FEAT_ALLOCATE_EARLY and use them as appropriate.

tested with h5commitest
2015-01-21 16:00:22 -05:00
Mohamad Chaarawi
e8e06cbca0 [svn-r25985] merge 25984 from trunk:
change the message flag H5O_MSG_FLAG_FAIL_IF_UNKNOWN to
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE. New changes for
backward compatibility with avoid_truncate feature in 1.10 will come
later to utilize the flag.

tested h5committest
2015-01-20 14:35:34 -05:00
Allen Byrne
7745151c3d [svn-r25959] Comment out printf statement as it caused system resource issues on Windows. Test now executes in 1/10 of time.
Tested: local linux and Windows
2015-01-06 09:54:03 -05:00
Allen Byrne
a1a1aba130 [svn-r25839] Remove hard coded urls.
Add WiX support.
Add file test depends.
2014-11-24 12:24:04 -05:00
Mohamad Chaarawi
0502eb185f [svn-r25796] merge 25750 from trunk.
use MPI_File_get_size() instead of stat when retrieving the file size for the MPIO driver.
2014-11-06 14:19:02 -05:00
Quincey Koziol
dbeb66767a [svn-r25699] Description:
Rejiggered the ID wrapping test to avoid allocating all the IDs at once
(at the expense of not being able to check for failure when all IDs are used
up), but still retaining checks for ID wrapping.  This was done to avoid
an large memory footprint for the test.

Tested on:
    Mac OSX/64 10.9.5 (amazon) w/serial & parallel
    (Too minor to require full h5committest)
2014-10-13 11:54:59 -05:00
Mohamad Chaarawi
5449df4880 [svn-r25682] bring 25651 and 25659 from trunk.
Fix for: HDFFV-8715
HDF5_PARAPREFIX is ignored in parallel dense attribute and performance tests.
2014-10-07 15:40:06 -05:00
Quincey Koziol
27a7a56496 [svn-r25681] Description:
Correct errors in ID wrapping code, add some small optimizations, and make
certain that all IDs of a given class can be used, especially when wrapping
around.  Also, enable ID reuse for error classes/values, property lists and
datatypes.  Includes regression testing for ID wrapping.
    Note that this change does not apply to the trunk, since that ID manager
code is using 64-bit IDs and doesn't worry about wrapping around.

Tested on:
    MacOSX/64 10.9.5 (amazon) w/debug, C++, FORTRAN & parallel
2014-10-07 15:31:39 -05:00
Albert Cheng
c8c53935a9 [svn-r25568] Removed the previous intentional failure.
Tested: ttsafe passed again.
2014-09-02 17:28:39 -05:00
Albert Cheng
2ef52022e0 [svn-r25539] Introduced an intentional failure in order to verify if cloud test machine and
in house machines will fail the same.

The change should be reversed after the verification.
2014-08-19 16:49:41 -05:00
Mohamad Chaarawi
1b45e8a31a [svn-r25501] bring 25500 from trunk to fix HDFFV-8888 - H5Ldelete_by_idx fails on non-existent group name. 2014-07-31 14:33:18 -05:00
Quincey Koziol
e8c162613b [svn-r25497] Description:
Merge changes that correspond to the 64-bit ID changes (without the actual
switch to 64-bit IDs) to the 1.8 release branch.  (Plus a few minor cleanups
and alignments with the trunk that aren't on the branch)

Tested on:
    Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN
    (h5committested on branch already for a week)
2014-07-30 15:56:40 -05:00
Mohamad Chaarawi
22b4ee2d17 [svn-r25490] bring 25468 from trunk.
Aligning code with changes made in VOL branch. This will make porting
non VOL related changes from trunkto the 1.8 branch much easier.

tested h5commitest.
2014-07-29 13:56:43 -05:00
Albert Cheng
fe090c1a5c [svn-r25466] Bug fix: HDFFV-8881
testfrome.c has incorrectly exit code (using -1). Fixed by replacing them
with C defined EXIT_FAILURE. Verified by temporary decreaing MAXNUMTESTS
to introduce failure in testhdf to see the changed code did work.
Also replaced all other correctly coded exit codes with the C defined
EXIT_SUCCESS and EXIT_FAILURE. This would help portability for non-Unix
systems.

Tested: h5committest.
2014-07-22 14:40:41 -05:00
Quincey Koziol
65aed6681b [svn-r25454] Description:
Bring change from trunk to 1.8 branch:

r25450:
    Initial tweaks to align with VOL branch.

Tested on:
    Mac OSX/64 10.9.3 (amazon) w/gcc 4.9
    (h5committest not required, too small)
2014-07-21 12:50:47 -05:00
Mohamad Chaarawi
515aa0b930 [svn-r25404] add serial and parallel regression tests for zero dset read/write bug.
(merged from trunk)
2014-07-10 16:32:20 -05:00
Mohamad Chaarawi
2700d20859 [svn-r25402] Bring 25397/8 from trunk:
- remove configure checks for MPI_File_get_size and Big MPI_File_set_size as they are supported by MPIO implementations today.
- fix bug in t_mpi.c (HDFFV-8856)

tested with h5committest.
2014-07-10 09:36:34 -05:00
Allen Byrne
f578873b26 [svn-r25344] Add more vfd tests to smaller timeout limits 2014-06-23 16:57:29 -05:00
Allen Byrne
2925189046 [svn-r25311] Add max time for VFD objcopy test 2014-06-18 09:02:28 -05:00
Allen Byrne
ef36fba67b [svn-r25263] limit vfd flush1 test time 2014-06-11 14:44:52 -05:00
Allen Byrne
5278b9737d [svn-r25222] Merge cmake_ext_mod into 1.8 2014-05-27 12:46:30 -05:00
Albert Cheng
1852861737 [svn-r25140] Commit Joel's fix to this branch.
Bug Fix: HDFFV-8247

Description:
  Failure to write fill values to the user's buffer when reading unallocated
  chunks from datasets that have a fill value set to H5D_FILL_VALUE_DEFAULT.
  A consequence of this was the reporting of spurious data values in h5dump
  and h5diff output.

Solution:
  Added check for fill value of H5D_FILL_VALUE_DEFAULT whenever fill value 
  setting was checked to decide whether or not to fill. This effectively
  treats H5D_FILL_VALUE_DEFAULT the same as H5D_FILL_VALUE_USER rather than
  H5D_FILL_VALUE_UNDEFINED.

Tested:
   h5committest (platypus, ostrich, jam-pp, koala) ran successfully
   (fillval test was modified to reveal and check for this error)

H5Dchunk.c:
    fix in library code.

fillval.c:
Added test_partalloc to expose potential fill value issues.
2014-04-30 19:47:57 -05:00
Dana Robinson
c5815755cc [svn-r25111] Changed Subeversion EOL and executable properties. No code changes. 2014-04-25 15:58:01 -05:00
Quincey Koziol
4257a32de1 [svn-r25109] Description:
Bring r25084, 25088, 25092, 25097 from trunk to 1.8 branch:

r25084:
    Begin process of migrating from using property list IDs internally to the
library to using the internal generic property list data structure.

r25088:
    Introduce "file I/O info" struct, to hold file & dxpl pointers, and start
propagating up through library.

r25092:
    More migration to using H5F_io_info_t pointers and away from using
property list IDs internally.  Also, clean up some compiler warnings in the
cache code.

r25097:
    Make progress toward moving from DXPL IDs to property list structures
within the library.  Also move the signature location code from the H5F
package to the H5FD package, where it's a better fit.  Also, clean up some
more compiler warnings along the way.

Tested:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committested on trunk)
2014-04-25 14:54:57 -05:00
Larry Knox
b018ba48ce [svn-r25106] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll back fix for removing rpaths from lib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath configure option was invoked.
Added instead configure variable hardcode_into_lib=no.  This removes rpath from lib files on Linux and solaris machines.

Tested with h5committest on jam, koala, ostrich and platypus (cmake), and on emu and kite.
2014-04-25 14:34:54 -05:00
Quincey Koziol
66fb0ea64e [svn-r25050] Description:
Bring r24995 and r24998 from the trunk to the 1.8 branch:

r24995:
Improve checks for NULL buffer from user during H5Dread/H5Dwrite calls.

r24998:
Check in Neil's changes for correctly handling case where library is
reinitialized through a deprecated routine.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/serial & paralle
    (change has baked on trunk for >7 days)
2014-04-16 10:33:08 -05:00
Dana Robinson
785da34bce [svn-r25033] Purpose:
Merged r24993 from the trunk.
    Adds core VFD write tracking functionality. When enabled, the core VFD
    will track dirty regions of the file and only write out the changed
    regions. The new H5Pget/set_core_write_tracking() API call controls this
    feature. A new "core_paged" VFD target was added to the check-vfd target
    in test/Makefile.am that runs all tests with the new write tracking
    functionality.

Tested on:
    32-bit LE linux (jam)
    64-bit LE linux (koala)
    64-bit BE linux (ostrich)

    Each platform was tested with HDF5_DRIVER set to "core" and "core_paged".
    Jam was also tested with the standard sec2 driver.
2014-04-12 05:30:16 -05:00
Dana Robinson
8a52475245 [svn-r25014] Purpose:
Merge of r24937 from the trunk
    Adds H5free_memory to the API. This function should be used to free
    memory allocated by the library (e.g., returned values from
    H5Tget_tag, H5Pget_class_name, etc.).

    This is mainly to help Windows applications deal with multiple CRT 
    instances, but can also be helpful when a debug memory manager is
    being used or when the HDF5 API is being wrapped for managed languages
    like Python and Java.

Tested on:
    32-bit LE linux (jam) with fortran and C++
    64-bit BE linux (ostrich)
    64-bit LE linux (koala)
2014-04-11 09:48:31 -05:00
Dana Robinson
6240fb24e6 [svn-r25013] Purpose:
Merge of r24416 from the trunk
    Fixes a number of compiler warnings in the dsets test.

Tested on:
    32-bit LE linux (jam) - very minor changes, mostly casts
2014-04-11 08:50:26 -05:00
Allen Byrne
ab2d9f1e9c [svn-r24980] HDFFV-8290: Merge automake 1.14.1 changes from trunk
Tested: h5committest
2014-04-07 12:26:44 -05:00
Allen Byrne
d9020f2e35 [svn-r24906] Merge latest CMake changes from trunk.
Tested: local linux
2014-03-26 10:00:35 -05:00
Quincey Koziol
a7d3f5b5b1 [svn-r24894] Description:
Bring r24869 & r24875 from trunk to 1.8 branch:

    Clean up more compiler warnings, plus merge a few Coverity bug fixes from
the hdf5_1_8_coverity branch back to the trunk:

r20877:
Purpose: Fix coverity issue 1723

Description:
Modified test_generate in hl/test_image to close file "f" before exit, even if
an error occurs.

r20879:
Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go
futher if call fails as well as empty.

r20881:
Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether
FLAG_PRINTED is TRUE.  But it had just been set to FALSE.  I took out the
condition check in the print statement.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel
    (daily tested on trunk)
2014-03-25 10:58:48 -05:00
Quincey Koziol
25147d5567 [svn-r24878] Description:
Bring r24864 from trunk to 1.8 branch:

    Remove all traces of MPI-POSIX VFD and GPFS detection/code.

    Remove remaining traces of stream VFD.

    Remove testpar/t_posix_compliant test (it's not actually verifying anything).

    Clean up H5D__mpio_opt_possible() further.

    Moved environment variable that disables MPI collective operations into
    MPI-IO VFD (instead of it being in src/H5S.c).

    A few other small code cleanups.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel & serial
    (daily tested on trunk)
2014-03-24 12:41:18 -05:00
Quincey Koziol
f2aa62ec76 [svn-r24810] Description:
Bring r24803 & r24804 from trunk to 1.8 branch:

r24804:
   Brought changes from Coverity branch back to trunk, and cleaned up misc.
   other warnings & formatting issues:

   r20833:
   Fixed Coverity 667 and 668 with real integer overflow tests this time.

   r20834:
   Use HDstrncpy and HDstrncat. --gh 

   r20835:
   Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159

   r20836:
   Fixed coverity 585 by casting output of fgetc() to a char.

   r20837:
   Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967.

r24803:
  Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from
  src/H5private.h to src/H5public.h.  Wrap typedef of hsize_t and hssize_t
  in DIAG_OFF(long-long) macros.

  Clean up a bunch of "macro '-' is unused" warnings.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-03-17 09:28:40 -05:00
Larry Knox
f4781c29da [svn-r24732] Fix for reconfigure, which fails because LT_ADD_LIBHDF5_DEPENDENCY is used in Makefiles but the declaration in configure.ac is missing.
Copied declaration from trunk.  Tested with h5committest on jam ostrich koala and platypus(cmake).
2014-02-22 13:22:26 -05:00
Quincey Koziol
86d6651b44 [svn-r24728] Description:
Bring r24726 & r24727 from trunk to 1.8 branch:

Description:
   Revert some earlier usage of strncpy, which was incorrect.

   Bring Coverity changes from branch back to trunk:

r20821:
   Use HDstrncpy. --gh
   (Fixed already, with strdup)

r20822:
   (Not merged, incorrect use of HDstrncpy())

r20823:
   (Not merged, incorrect use of HDstrncpy())

r20824:
   Maintenance: Bug fix: addressed CID 666.
   Value stored at *expression_len should be used in the call to
       HD5packFstring to avoid overflow (and unnecessary arithmetic
       calculation and casting) 

r20825:
   Issue 642: Added check for error and handler with print to stderr and exit.

r20826:
   Undo revision 20818, as that issue has already been fixed in the 1.8 branch
       and trunk (but not coverity branch)

r20827:
   (Not merged, incorrect use of HDstrncpy())

r20828:
   Use HDstrncpy. --gh
   (Corrected use of strncpy())

r20829:
   Check return of H5Lget_val(print_udata->fid, path, targbuf,
       linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0.
       Check if  H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL,
       &filename, &objname) was successful and allow print. Otherwise filename
       and objname are not created. (init those to NULL)

r20830:
   resolved coverity issues 939, 940, 941, 944, and 947.

   all were complaints about use of sprintf, and in all cases, the
   buffers used were large enough for all eventualities.

   Resolved issue by replacing calls to sprintf with calls
   to snprintf.

r20831:
   Maintenance: Addressed CID 852
   Replaced sprintf with snprintf

r20832:
   Purpose: Fix valgrind issues with hl/examples/ex_image2

   Description:
   Modified hl/examples/ex_image2 to free global "gbuf" before exit.

Tested on:
   Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety
   (too minor to require h5committest)
2014-02-21 11:59:33 -05:00
Mohamad Chaarawi
32baeca60f [svn-r24720] bring r24709 from trunk:
rename H5V to H5VM since H5V is needed in the fastforward project for
view objects.  The addition of view objects in the fastforward project
is expected to be brough into the trunk sometimes in the future, which
is why we need to make this change.
2014-02-17 19:19:34 -05:00
Allen Byrne
d7e8a93078 [svn-r24654] HDFFV-8640: Remove XLATE_UTILITY
Update tools testfiles
2014-01-28 11:11:22 -05:00
Albert Cheng
554d0eaccd [svn-r24653] HDFFV-8572: test/testhdf5.c main() should not return number of errors
Solution: testhdf5 now exits EXIT_SUCCESS(0) if no errors, else 
EXIT_FAILURE(1).

Tested: Jam only since it is a trivial fix.
2014-01-27 17:34:17 -05:00
Dana Robinson
090bae7ded [svn-r24506] Merge of r24358 from trunk. Makes the big test aware of the HDF5_DRIVER
environment variable.  Fixes HDFFV-8554.

Tested on:
    32-bit LE linux (jam)
    64-bit LE linux (koala)
    64-bit BE linux (ostrich)
    64-bit Windows 7 with VS 2010 

    On all platforms, the big test was run with the environment
    variable set to all supported VFDs.
2013-12-06 14:05:40 -05:00
Quincey Koziol
92d40e82f1 [svn-r24477] Description:
Bring r24476 from trunk to 1.8 branch:

    Remove duplicate "intent" flags from top & shared file structures, leaving
    them only in the shared file structure.

Tested on:
    Mac OSX/64 10.9.0 (amazon) w/gcc 4.8, both parallel & serial
    (too minor to require h5committest)
2013-11-30 01:37:44 -05:00
Raymond Lu
23fb9b7233 [svn-r24402] Issue 8528 - H5F_get_objects overfilled the list for object IDs. I fixed a typo. It caused the PGI compiler on jam to fail tfile.c test.
Tested with h5committest.
2013-11-04 11:29:32 -05:00
Allen Byrne
08901f283e [svn-r24393] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autotools
2013-11-01 16:26:11 -05:00