Commit Graph

2234 Commits

Author SHA1 Message Date
Mohamad Chaarawi
644b9071c0 [svn-r27112] merge 27111 from trunk:
move undef of __attribute__ back to private and remove its usage from public routines.
2015-05-26 09:35:09 -05:00
Allen Byrne
3a02345777 [svn-r27013] Merge h5ls external file format fix from trunk 2015-05-05 10:51:51 -05:00
Allen Byrne
28c0d72b7e [svn-r26954] Remove src temporary debug build props.
Move TOOLS option up before usage.
2015-04-28 16:32:34 -05:00
Albert Cheng
e7faa6e220 [svn-r26752] Merged r26750 and r26751 from trunk.
HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type.

Added the testing to h5repack where it belongs.
Undo the tests added to h5dump.

Tested: h5committested plus tested in jam by hand.
2015-04-07 13:30:41 -05:00
Larry Knox
083ef61b05 [svn-r26728] Merge trunk reviwions 26669 and 26670.
Removed from configure.ac VPATH section, LONE_COLON check and checks for redundant addition of /usr/include and /usr/lib to compile flags, with reconfigure.

Tested h5committest
2015-04-04 10:27:14 -05:00
Allen Byrne
5f68d05f9f [svn-r26722] Disable failing test 2015-04-03 13:57:35 -05:00
Mohamad Chaarawi
523a4f7658 [svn-r26717] Merge revisions 26387, 26649, 26650, 26678, and 26691 from trunk to squish warnings. 2015-04-03 12:40:11 -05:00
Albert Cheng
0f173c15bb [svn-r26706] Merge r26702 of trunk to v18 branch.
HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type.

Description:
The test added failed in some machines because the data file contains infinity values that different machines print them differently as "inf", "INF", "Inf", ...

Solution:
Added a "ignorecase" option to TOOLTEST() to do caseless matching between generated output vs expected output. This solved most machines problem for now.

Tested: h5committest, emu by hand for both development and production modes.
But cmake built h5dump failed to read the data file. Using the same source to build h5dump by autotools produced a h5dump that can read the test data file. Don't know why cmake could not produce a correct binary.
2015-04-02 11:13:28 -05:00
Allen Byrne
ad4154cdc8 [svn-r26700] Generators are only built static
Plugin test for disable state does not print error stack and does not print FAILED
2015-04-01 16:04:06 -05:00
Allen Byrne
025d90f573 [svn-r26697] HDFFV-9131: Remove obsolete/unneeded sections. 2015-04-01 15:27:26 -05:00
Allen Byrne
4f87ef5e0e [svn-r26696] Merge from trunk
Tested local linux cmake
2015-04-01 14:27:37 -05:00
Albert Cheng
ee7e18f310 [svn-r26688] HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type
Fixed and added user provided test file to verify the fix. (Test added to h5dump/testh5dump.sh.in).

Tested: h5committest
2015-03-31 19:39:21 -05:00
Allen Byrne
c923afdf50 [svn-r26654] Bring trunk CMake changes to branch.
Tested: local linux
2015-03-30 12:32:55 -05:00
Quincey Koziol
6a664ffa5a [svn-r26648] Description:
Bring r26635 from trunk to 1.8 branch:

    Bring r26651 from autotools_rework branch to trunk:

    Remove the VSNPRINTF_WORKS macro, it's working around bugs in old SGI
& HP compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on trunk for 2+ days)
2015-03-30 09:47:36 -05:00
Allen Byrne
7ebd4c8311 [svn-r26600] Fix CMake target calls to add new parameter 2015-03-26 08:51:01 -05:00
Jerome Soumagne
2bb934857b [svn-r26582] Merge r26509 from trunk
Run reconfigure after merges from autotools_rework branch
2015-03-25 13:07:02 -05:00
Jerome Soumagne
15efd662a3 [svn-r26578] Merge r26505 from trunk
Remove DEFAULT_LIBS from configure.ac and irix6.x config file which
was using it.

Remove references to IRIX/irix* platform.
2015-03-25 12:56:55 -05:00
Mohamad Chaarawi
ae82c43610 [svn-r26573] merge 24270 from trunk, introducing NORETURN.
tested with h5committest.
2015-03-25 09:40:34 -05:00
Scot Breitenfeld
878149c4a2 [svn-r26419] merged r26373 and r26380 from the trunk into the branch.
tested: h5committest
2015-03-10 17:03:53 -05:00
Dana Robinson
4a2a4bd95b [svn-r26413] Merge of r26276 from trunk.
Cleans up time functions in the autotools input files.

- Lumps all the time functionality together in configure.ac.
  This was previously more spread out due to Solaris issues
  with the ordering of certain checks.

- Removes processing that handles __tm_gmtoff members of struct
  tm. (libc-4)

- Removes BSDgettimeofday(). (IRIX 5.3)

- Removes timezone struct processing in gettimeofday(). (considered
  harmful)

Fixes: HDFFV-9083 and HDFFV-9085

Tested on: h5committest
           OS X (quail)
           Solaris (emu)
2015-03-10 02:41:24 -05:00
Dana Robinson
6b1176f34e [svn-r26407] Missed an H5_HAVE_FILTER_SHUFFLE line.
Part of: HDFFV-9086

Tested on: jam (minor change)
2015-03-09 14:53:48 -05:00
Dana Robinson
ab19d0636a [svn-r26398] Merges r26333 from trunk
Eliminates gcc warnings due to -Wunsuffixed-float-constants.

- Adds 'F' suffixes for most float constants.

- A few constants MUST be of type double. These now receive the long
  double L suffix and are then cast to double. I do this via a new
  H5_DOUBLE() macro which was added to H5private.h.

- Additionally, some 1.8-specific float suffixes were added.

Fixes: HDFFV-9148

Tested on: h5committest
2015-03-09 06:27:46 -05:00
Dana Robinson
85beb272c5 [svn-r26395] Merges r26329 from trunk
Removed the configure option that allows selective disabling of individual
internal filters (fletcher32, shuffle, etc.).

This feature mucked up the code with a lot of #ifdefs, saved very little
space and was not scalable to a general scheme for library size reduction.
We've decided to remove the feature while we investigate a more general
scheme for decreasing the library size.

Fixes: HDFFV-9086

Tested on: h5committest
2015-03-08 23:24:02 -05:00
Allen Byrne
ece0ba0336 [svn-r26371] Update cmake mininum version
Update windows wix cpack process.
2015-03-05 11:48:32 -05:00
Scot Breitenfeld
add51325ef [svn-r26314] Brought autotools related changes from the trunk to the branch, r26188 r26280 2015-02-26 09:21:33 -05:00
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
Mohamad Chaarawi
864a9d5552 [svn-r26298] merge 26279 from trunk.
HDFFV-883: attach callback to terminate HDF5 library when MPI_COMM_SELF is destroyed on MPI_Finalize.

tested h5committest.
2015-02-25 09:12:05 -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
75085cc45e [svn-r26064] HDFFV-9018: Install PDB files to bin folder with dlls.
Tested: windows
2015-01-28 14:16:32 -05:00
Allen Byrne
1fd9429572 [svn-r25957] Added Perform and io_timer back into build.
Tested: local linux cmake
2015-01-05 17:10:09 -05:00
Albert Cheng
3305b13297 [svn-r25956] [Merge r25954 from trunk]
HDFFV-9046: reorganize hdf5/perform, step 2

Last changes had caused problems with Windows platform:
1. H5private.h in io_timer.h is not accessible in the distributed shared library of tools.
   Need to move it to io_timer.c.
2. debug_start_stop_time() would not be available outside of h5perf. Some favor of compiler
   does not like it.  Screened it out for now.
3. mere "extern" is not good enough for Windows shared library. Must mark them as DLL. Need to mark them as 
   "H5TOOLS_DLL".
4. STANDALONE mode is broken. Screened out the code for now.

Tested: h5committest.
2015-01-05 17:05:43 -05:00
Allen Byrne
3525935821 [svn-r25952] HDFFV-9054: disable io_timer in tools lib and perform sub-folder due to SHARED compile issues and other issues. 2015-01-05 11:22:02 -05:00
Albert Cheng
cac2c7324f [svn-r25948] [Merged r25946 from trunk]
Removed debug statments that use //.

Tested: env CFLAGS=-ansi buildhdf5 in jam and parallel platypus.
2015-01-04 00:33:26 -05:00
Albert Cheng
c57665bb4f [svn-r25947] [merged changes from trunk r25940]
HDFFV-9046: reorganize hdf5/perform, step 2
Move timing measurement routines used by h5perf and h5perf_serial to tools/lib
so that they can be used by other tools too.

tools/lib/io_timer.c
tools/lib/io_timer.h
tools/perform/io_timer.c
tools/perform/io_timer.h
    renamed perform/io_timer.[ch] to lib/io_timer.[ch]

tools/lib/Makefile.am
tools/lib/Makefile.in
tools/lib/CMakeLists.txt
tools/perform/Makefile.in
tools/perform/Makefile.am
tools/perform/CMakeLists.txt
MANIFEST
    updated due to the move.

Tested; h5committest and jam (serial)
2015-01-04 00:04:10 -05:00
Albert Cheng
24c5c0bf1b [svn-r25945] [merge changes r25932 and r25933 from Trunk]
HDFFV-8902: merge the source code of h5perf and h5perf_serial, stage 1.

tools/perform/sio_timer.h:
tools/perform/pio_timer.c:
tools/perform/io_timer.h:
tools/perform/io_timer.c:
    Renamed pio_timer.[ch] as io_timer.[ch];
    merged content of sio_timer.[ch] into io_timer.[ch] so that both h5perf and h5perf_serial
    call the combined io_timer.[ch].
    Moved the debug printing code segment in set_time() in [sp]io_timer.c to as debug_start_stop_time() in [sp]io_perf.c where it belongs.
    Screened out set_timer_type() and get_timer_type() which were not used by any code.

tools/perform/Makefile.am:
tools/perform/Makefile.in:
tools/perform/CMakeLists.txt
    Adjusted to use io_timer.c for both h5perf and h5perf_serial.

tools/perform/pio_perf.c:
tools/perform/sio_perf.c:
tools/perform/pio_perf.h:
tools/perform/sio_perf.h:
    Renamed [sp]io_time_destory() to same io_time_destroy();
    Moved the debug printing code segment in set_time() in [sp]io_timer.c to as debug_start_stop_time() in [sp]io_perf.c where it belongs.

tools/perform/pio_engine.c:
tools/perform/sio_engine.c:
    Removed #include io_timer.h since it was already #include by [sp]io_perf.h.

MANIFEST:
    Updated the merge of [sp]io_timer.[ch] into io_timer.[ch].

Tested: h5committest and jam in extra.
2015-01-03 12:01:03 -05:00
Allen Byrne
95b2650d86 [svn-r25937] Remove build and test commands for deleted benchpar.c 2014-12-31 13:04:48 -05:00
Allen Byrne
df01ec0273 [svn-r25919] If not testing skip building test only programs. 2014-12-22 09:46:42 -05:00
Albert Cheng
1fe32500dd [svn-r25910] HDFFV-8156: perform/benchpar failed to run
Benchpar.c is retired/deleted. If it is ever needed, it can be retrieved from the SVN repository
or even previous version of HDF5 source code.

Tested: jam parallel make passed.
2014-12-19 12:02:45 -05:00
Allen Byrne
59ad4f6d00 [svn-r25907] Fix CMP0054 warning 2014-12-19 11:00:50 -05:00
Albert Cheng
d6b44d14dc [svn-r25901] HDFFV-9046: reorganize hdf5/perform/ directory
Moved perform/ to tools/perform. Updated all the configure related files for the new location.

Tested: h5committested plus tested in jam and kite.
2014-12-18 19:52:34 -05:00
Albert Cheng
ef23d83129 [svn-r25772] Bug fix: HDFFV-8954
Previously, ph5diff may hang in a test in Linux 32 platform(HDFFV-587).
No solution was available and a patch to bypass the test is implemented.

Since the company is changing domain name soon, the patch would not be valid any more.
Tests were done (repeat 100 mpiexec -np 6 ./ph5diff -v h5diff_hyper1.h5 h5diff_hyper2.h5)
and the previous hanging problem did not occur. It is likely the newer versions of
mpich no longer have this problem.  Therefore, it is decide to remove this patch
to make the test script cleaner, if nothing else. 

Tested: ran build and test in Jam (linux 32) and the repeat 100 command mentioned above.
All passed.
2014-11-03 19:38:24 -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
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
19800d2497 [svn-r25251] change test to ignore h5diff warnings (endianess issue) 2014-06-10 11:39:00 -05:00
Quincey Koziol
b0fe30721b [svn-r25225] Description:
Bring r25215 from trunk to 1.8 branch:

    Bring changes from Coverity branch back to trunk:

    r20914:
        Use HDstrncpy and HDstrncat! --gh

    r20915:
        Use HDstrncpy and HDstrncat! --gh

Tested on:
    MacOSX/64 10.9.3 (amazon) w/gcc 4.9, FORTRAN, C++, multi-threads & parallel
    (h5committested on the trunk)
2014-05-29 16:26:28 -05:00
Allen Byrne
5278b9737d [svn-r25222] Merge cmake_ext_mod into 1.8 2014-05-27 12:46:30 -05:00
Quincey Koziol
a9d99b0539 [svn-r25198] Description:
Bring r25197 from trunk to 1.8 branch:

    Bring changes from hdf5_1_8_coverity branch back to trunk:

r20878:
    Issue 76: Check if H5Tget_nmembers(type) fails and simply return(FALSE). Also move printf to after check.

r20880:
    Issue 192: Create ret_val var set to -1. Add out label for failures to jump to, return ret_val at bottom.

r20882:
    Fixes for coverity:
    1) bug #1679: remove dead code in test/mf.c
    2) bug #1680: remove dead code in tools/lib/h5diff_dset.c

r20883:
    Fix coverity issue 585

    Description:
    Changed variable "c" in processStrData in h5import.c to an int, to match fgetc
    return value, and removed call to feof, instead checking if c == EOF.

Tested on:
    MacOSX/64 10.9.3 (amazon) w/C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-05-17 22:29:30 -05:00
Quincey Koziol
7a66843810 [svn-r25119] Description:
Make the exit status from ph5diff always be 0, as it is on the trunk.  Also
a few coding standard cleanups to the test generation code.

Tested on:
    MacOSX/64 10.9.2 (amazon) w/FORTRAN & parallel
    (h5committest not necessary)
2014-04-25 18:16:15 -05:00
Dana Robinson
c5815755cc [svn-r25111] Changed Subeversion EOL and executable properties. No code changes. 2014-04-25 15:58:01 -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