Commit Graph

13474 Commits

Author SHA1 Message Date
Dana Robinson
47a25f0d0c [svn-r23509] Duplicated Bin-Minh's changes in the 1.8 branch (r23503) that
delete the removed multi dxpl function names from the class.

Tested on: jam w/ fortran & C++

I did not test on other platforms (h5committest) since there is nothing
even remotely platform-specific here.
2013-04-01 14:05:15 -05:00
Dana Robinson
581f5fc68d [svn-r23508] Removed some dead code that belonged to the multi dxpl functions that
were removed in HDF5 1.8.11.

Tested on: jam w/ fortran & C++, tested with check-vfd

I did not test on other platforms (h5committest) since there is nothing
even remotely platform-specific here.
2013-04-01 13:54:18 -05:00
Scot Breitenfeld
cc3fdd8ba4 [svn-r23505] reverted FFLAGS bug fix.
Tested: jam (intel)
2013-03-31 21:03:05 -05:00
Albert Cheng
913b88d15b [svn-r23497] Bug fix: HDFFV-8358
Change h5redeploy to change all 4 lines, prefix=..., exec_prefix=...,
libdir=..., and includedir=...  This way, it reset all 4 lines. Should work
for both version of h5cc created by configure or by rpm.

Tested: hand tested in jam.
2013-03-30 00:55:15 -05:00
Raymond Lu
b6e0e867d0 [svn-r23496] synced DESY branch with the trunk (tested with h5committest) 2013-03-29 18:58:07 -05:00
Raymond Lu
6c974c824d [svn-r23495] ported revisions 23433:23494 from the trunk 2013-03-29 18:13:05 -05:00
Raymond Lu
ed621aae38 [svn-r23494] I added another filter library dynlib2.c for plugin.c test. The test script moves the libdynlib2.so to /tmp then runs
plugin.c.

Tested on jam and koala.
2013-03-29 15:59:15 -05:00
Allen Byrne
5e5e9e3987 [svn-r23493] Correct improper addition 2013-03-29 15:46:48 -05:00
Albert Cheng
59bb6d185e [svn-r23492] Bug fix:
Test was not checking error result. It basically return succeess to make check
all the time.

Fixed it so that it does check the return code of the test (plugin) and set
nerror accordingly.  It then exit 1 if there is any error detected.

Test: use the desy committest to pass on jam, koala, ostrich, duck and emu.
Also hand test by "rm test/.lib/libdynlib1* to verify the test script can
indeed response to errors properly.
2013-03-29 15:22:40 -05:00
Allen Byrne
c1c11c021b [svn-r23491] Add test_plugin.sh to list of cleanup files 2013-03-29 14:51:49 -05:00
Raymond Lu
3374ffecf8 [svn-r23482] I changed the plugin library to be built as shared library only when configure enables shared. libtool will install the shared plugin library. I put a remove command in test/Makefile.am to delete the unnecessary plugin library.
Tested on jam, koala, and emu.
2013-03-28 15:14:11 -05:00
Allen Byrne
9138b343aa [svn-r23480] Reposition conditional and libtool commands. 2013-03-28 12:17:19 -05:00
Allen Byrne
02b1c11ecd [svn-r23476] HDFFV-8359: correct script function calls.
Tested: local linux
2013-03-28 11:38:12 -05:00
Scot Breitenfeld
d7724485b0 [svn-r23475] added dll for verify_Fortran_INTEGER_4 2013-03-28 11:11:34 -05:00
Raymond Lu
c76847d107 [svn-r23472] I updated the default search path for plugin module to be /usr/local/hdf5/lib/plugin for Unix and
"%ALLUSERSPROFILE%/hdf5/lib/plugin" for Windows.

Tested with Albert's committest on 6 systesm.
2013-03-27 17:30:21 -05:00
Mohamad Chaarawi
be4198eb41 [svn-r23470] update INSTALL_parallel with build instructions for Hopper. 2013-03-27 17:06:16 -05:00
Quincey Koziol
86f1fce5f7 [svn-r23469] Description:
Change h5diff_exit() routine to always return a zero exit code when running
in parallel, since returning a non-zero exit code can cause MPI implementations
to print output and that can throw off our "expected output" comparisons.

    Note that this change only changes the exit code for situations where an
incorrect command-line parameter was given - ph5diff was already returning a
zero exit code for all "normal" executions, including those where a serial
h5diff would return a non-zero exit code.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/parallel
    (Too minor to require h5committest)
2013-03-27 13:11:55 -05:00
Allen Byrne
5f8f3dcb79 [svn-r23467] Remove subdirectory.
Tested: local linux
2013-03-27 11:11:21 -05:00
Mohamad Chaarawi
5a14bf5fac [svn-r23466] more missed static declarations
tested on Jam, to minor for committest
2013-03-27 10:51:15 -05:00
Raymond Lu
5b12b8e122 [svn-r23465] I moved dynlib1.c to test/ directory and revised the Makefile.am in test/. I added the condition to skip
plugin.c test when the library is built for static.

Tested on jam, koala, and emu.
2013-03-27 10:39:16 -05:00
Scot Breitenfeld
881cdef5f8 [svn-r23463] Added dllexport for verify_real_kind_7 2013-03-27 10:04:33 -05:00
Scot Breitenfeld
a1db18bc05 [svn-r23462] Added definition for h5kind_to_type 2013-03-27 09:58:41 -05:00
Mohamad Chaarawi
d55bfb91a2 [svn-r23461] add missing static declarations of rotuines.
tested on Jam - too minor for committest
2013-03-27 08:41:44 -05:00
Allen Byrne
cb8e3dee9f [svn-r23460] Add missing infile assignment and error counts 2013-03-26 14:26:10 -05:00
Binh-Minh Ribler
782591cf13 [svn-r23456] Description:
A "return" was missing from a non-void function.  Fixed.
Platforms Tested:
    Linux/32 2.6 (jam)
    Linux/ppc64 (ostrich)
    Asked Allen check Windows.
2013-03-26 02:20:11 -05:00
Allen Byrne
bda2e5da5a [svn-r23454] Update script for reporting errors from configure, build, test.
Tested: jam
2013-03-25 16:38:42 -05:00
Allen Byrne
cfbbd94627 [svn-r23453] FIX plugin DLL decoration 2013-03-25 16:37:09 -05:00
Raymond Lu
b1c594d52d [svn-r23451] I took out RTLD_LAZY for dlopen.
Tested on koala.
2013-03-25 15:34:05 -05:00
Allen Byrne
52d1190883 [svn-r23449] Update script for reporting errors from configure, build, test.
Tested: jam
2013-03-25 14:22:10 -05:00
Allen Byrne
dabebe412f [svn-r23447] Add new env var to prevent filter plugin loading
Tested: jam
2013-03-25 12:39:14 -05:00
Allen Byrne
4ae0c873e0 [svn-r23446] HDFFV-8344, HDFFV-8346: merge from 1.8 branch 2013-03-25 12:35:39 -05:00
Albert Cheng
6e1122dda4 [svn-r23441] HDFFV-8245: bug fix. Snow Leopard (darwin 10.X) does not have clang++.
Reversed it to use gcc/g++ as the default C and CXX compilers for Darwin 10.X
systems.

Tested: duck (darwin 11), wren (darwin 12) and fred (darwin 10).
2013-03-25 00:28:47 -05:00
Binh-Minh Ribler
1f6cd26a93 [svn-r23438] Purpose: Fix bug HDFFV-7520
Description:
    Added wrappers for H5Aexists.
Platforms Tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    Linux/ppc64 (ostrich)
2013-03-23 12:37:49 -05:00
Elena Pourmal
01765e3079 [svn-r23437] Removed duplicated line in the MANIFEST file (exposed by the daily tests) 2013-03-23 10:40:50 -05:00
Raymond Lu
865bf6bcb2 [svn-r23435] ported revisions 23346:23432 from the trunk 2013-03-22 17:29:55 -05:00
Albert Cheng
5c45961845 [svn-r23434] Improvement: DFFV-8245
Use Clang as the compiler for the Mac platform.

Changed all Mac to use clang/clang++ as the default C and CXX compilers if
not provided by the user. Still use gfortran as the default fortran
compiler since Apple does not provide any fortran compiler.

Tested: passed all three macs OS, snow leapord (fred), lion (duck) and
mountain lion (wren). Also passed test using Apple gcc, Gnu gcc, Intel
as the C compilers and all corresponding CXX compilers fits in.
Did not run h5committest or other non-mac platform since this change
affect Apple platforms only.
2013-03-22 17:05:57 -05:00
Larry Knox
f593b6e712 [svn-r23433] Fix for HDFFV-7996.
Compile scripts will add paths for external libraries linked to executable files that they create.
Eliminates need for LD_LIBRARY_PATH for szip in locations not known to ld.

Teted on platypus and emu (64bit) in addition to h5committest.
2013-03-22 16:56:15 -05:00
Raymond Lu
8ffd55478e [svn-r23432] I added a new macro HDF5_PLUGIN_PRELOAD to skip plugin loading during data reading.
Tested on koala and jam.
2013-03-22 16:39:53 -05:00
Larry Knox
99b1524474 [svn-r23431] Fix for HDFFV-8141.
Changes default value for USE_SHARED_LIB in compile scripts to yes when static is disabled.
Comments in scripts about the order of flag variables containing library paths was also corrected.

Tested with h5committest on duck, jam, koala, and ostrich in addition to specific testing for the 
compile script change.
2013-03-22 16:02:07 -05:00
Binh-Minh Ribler
3f1c23b315 [svn-r23428] Description:
Fixed bug HDFFV-4272.  Just typos in documentation.
Platform tested:
    Jam
2013-03-22 14:16:38 -05:00
Binh-Minh Ribler
c8018386da [svn-r23427] Purpose: Fix bug HDFFV-8067
Description:
  + The C++ test failed with the new PGI compilers versions 12.4 and 12.5
  + An exception thrown by an internal function, which was called by
    a constructor, was not propagating to the test program during the stack
    unwinding, so it couldn't be caught by the test and the program terminated.
  + Various trials and errors indicated that the problem is where an STD string
    converted to a char* being passed to the internal function, but confirmation
    has not been found yet.  It could be a compiler bug.
Solution:
  + Added a try/catch in the constructor around the internal function and
    re-throw the exception when it is caught.  This is a workaround.
  + Unrelated minor fixes: removed unused variables and MESSAGE's; commented
    out tvlstr.cpp/test_read_vl_string_attribute because it may be redundant,
    and commented out H5Tpkg.h inclusion because TEST_ALIGNMENT is not added
    yet and probably not necessary in the C++ API.
Platforms tested:
    Linux/32 2.6 (jam) with PGI compilers
    Linux/32 2.6 (jam) with GNU compilers
    Linux/64 2.6 (koala)
2013-03-22 12:56:05 -05:00
Dana Robinson
030a17ca60 [svn-r23417] Fixes an issue (HDFFV-8159) where uninitialized memory was being read
during variable-length type conversion.  All variable-length type conversion
buffers are now initialized to contain 0s on allocation.

Tested on: jam(w/ fortran, C++, parallel, parallel fortran)
           ostrich

This is a very small change (basially changing malloc to calloc) and
is unlikely to cause issues on other platforms.
2013-03-21 14:22:19 -05:00
Quincey Koziol
535456397c [svn-r23415] Description:
Avoid using fpclassify() for detecting zero/non-zero values.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/debug
2013-03-21 13:19:53 -05:00
Allen Byrne
0596de6267 [svn-r23412] Add test depends on clear test. Occasional failures. 2013-03-21 09:19:09 -05:00
Allen Byrne
e7ced517bc [svn-r23411] HDDFV-8322: Free allocations in command line parsing.
Tested: local linux
2013-03-21 09:04:50 -05:00
Scot Breitenfeld
a0ec9c282b [svn-r23410] HDFFV-8264: Using F2003, build fails on Fedora with undefined reference to __h5r_MOD_h5rget_region_region_f
This turned out being an issue with configure. The reporter submitted a patch which fixed the fact that we should not be 
setting AM_FCFLAGS (an automake variable) with FFLAGS (a user variable). 

I removed this, and we now only set FFLAGS if the environment variable is set, otherwise we don't.

Tested: jam (gnu)
2013-03-20 23:04:19 -05:00
Jonathan Kim
e8955b876c [svn-r23407] Purpose:
HDFFV-8214 - h5repack failed converting small chunked dataset (size < 1K) to contiguous layout.

Description:
  h5repack failed converting small chunked dataset (size < 1K) to contiguous layout.
  The first case was when chunk dim is bigger than the dataset dim (at leat one), h5repack failed with displaying error stacks.
  The other case is when chunk dim is smaller than the dataset dim, h5repack failed to change layout.

    
Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), emu (solaris-BE),fred (mac64-LE), Windows (32-LE cmake), cmake (jam)
2013-03-20 15:33:33 -05:00
Allen Byrne
f0e328cc04 [svn-r23406] Correct typo 2013-03-20 15:24:55 -05:00
Allen Byrne
fb169f7aa9 [svn-r23405] Correct typo 2013-03-20 13:37:35 -05:00
Allen Byrne
59a9d9a0c6 [svn-r23403] Refactor windows code:
windows uses ';' as path separator
windows default path is different
windows find files needs '*.*'
2013-03-20 13:21:28 -05:00