12061 Commits

Author SHA1 Message Date
Allen Byrne
a22b5883b9 [svn-r19949] Correct CPack confusion with the same for two different functions (not case-sensitive) 2011-01-13 14:21:12 -05:00
Albert Cheng
5f6a465ae7 [svn-r19947] Bug fix: testph5.in failed to run the 't_shapesame -p' by claiming it could
not find t_shapesame in daily test.  Turned out the mpiexec launcher is
working like real shell and the daily test signon (hdftest) does not have
"." in its $PATH.  So, it could not automatically look for executables in
the current directory.

Solution:
Change the executable to an explicit ./t_shapesame. Now mpiexec can "find"
it.

Tested by hand in Amani.
2011-01-12 15:39:47 -05:00
Albert Cheng
2f54a4ba53 [svn-r19941] Purpose:
Moved the two shape same tests from testphdf5 to a separated executables,
named t_shapesame. The shape same tests runs too long for testphdf5.
In a separated executalbe, it will be easier to separate any errors in
testphdf5 sub-tests from the shape same tests.

t_shapesame.c:
   Contains the shape same tests (cloned from t_rank_projection.c) plus
   a duplicate of "testphdf5.c" for now. After verifying it is correct, more
   cleanup is needed.
testphdf5.c:
   Removed the two shape same tests (chsssdrpio & cbhsssdrpio).
Makefile.am:
Makefile.in:
   Added t_shapesame as a new test executable.
   Removed t_rank_projections.c from part of testphdf5.
testph5.sh.in:
   Temporary added the "t_shapesame -p" test for testing shape same tests
   with MPIO-Posix VFD.

Tested: h5committested, plus serial jam.
2011-01-11 23:38:59 -05:00
Larry Knox
38f18282ba [svn-r19938] Update config.sub to the latest available version (timestamp='2008-01-16', Rev. 1.361) from http://cvs.savannah.gnu.org/viewvc/config/config/.
Tested with h5committest on amani, heiwa, and jam and on linew.
2011-01-11 16:56:51 -05:00
Allen Byrne
0ffd938eae [svn-r19936] Add new signed/unsigned test to legacy test script 2011-01-10 08:52:38 -05:00
Allen Byrne
a8a20fe919 [svn-r19927] Remove pragma statement. 2011-01-07 13:43:35 -05:00
Allen Byrne
edc21ffa56 [svn-r19924] Windows VS10 complains about private STL members needing to be exported, because it is of type std::string this warning can be suppressed.
Tested: windows XP with VS10
2011-01-07 10:35:15 -05:00
Allen Byrne
f53f6dffa6 [svn-r19923] BZ 1165: Implemented declaration change;
A static std::basic_string constructed in the Exception class.
  This static isn't one that can be be destructed by H5Library::close(),
but rather gets cleaned up as part of the STL std::basic_string static
destructor when the HDF5 DLL is detached (WINDOWS).
  Looking at the rest of the Exception code, the
DEFAULT_MSG doesn't really need to be a std::basic_string. 
Remove the static constructor and no destructor required.

Tested: local linux - will wait for Nightly Dailies before bringing to 1.8
2011-01-06 16:34:16 -05:00
Allen Byrne
8eb9d884e3 [svn-r19921] Update files for CPack use. 2011-01-06 14:28:19 -05:00
Allen Byrne
f3c2eb9acf [svn-r19918] Add hh modifier to signed char printf format string. Added h5dump test to verify that signed/unsigned datasets print correctly.
Bring solution from 1.8 packed bits fix which solved problem on heiwa with Signed char of 8 bits
Tested: local linux
2011-01-05 15:18:16 -05:00
Allen Byrne
5f00939eb9 [svn-r19917] Remove warning about H5_BUILT_AS_STATIC_LIB 2011-01-05 14:31:57 -05:00
Allen Byrne
451d98b6ac [svn-r19914] Correct format of empty parameter
bring r19913 from 1.8
2011-01-05 13:29:22 -05:00
Allen Byrne
96b2abb9bd [svn-r19910] Change how LINK_FLAGS for fortran are appended on Windows - correct for just shared libs 2011-01-05 10:03:50 -05:00
Allen Byrne
02888be7f2 [svn-r19909] Change how LINK_FLAGS for fortran are appended on Windows
bring r19908 from 1.8 branch
2011-01-05 09:46:08 -05:00
Allen Byrne
9449cfa361 [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct macro use for checking libtype.
bring r19906 from 1.8 branch
2011-01-04 13:40:26 -05:00
Allen Byrne
1c7688c77a [svn-r19896] remove orphaned endif() 2010-12-30 07:32:07 -05:00
Allen Byrne
86313eb281 [svn-r19895] Remove use of /MT compile flag for building static libs and programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries. 2010-12-29 13:52:34 -05:00
Jonathan Kim
562ba69f35 [svn-r19892] Purpose:
Bug 2089 - GMQS: h5diff segfault on a compound dataset with fixed length + 
    vlen string type order

Description:
    This is fix for the segfault when h5diff compares a compound dataset with 
    combination of fixed length string types and vlen string types in certain 
    orders. Optimized vlariable length string handling codes. The fix is 
    referred from h5dump handling vlen strings. 
    For testing, several compound datasets were added with various combinations.
    Previous failed cases:
     - Vlen string, Fixed length string, Vlen string, Fixed length string
     - Fixed length string, Fixed length string, Vlen string, Vlen string
     - Fixed length string, Vlen string, Fixed length string, Vlen string
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2010-12-28 13:08:40 -05:00
Allen Byrne
60b5523f8d [svn-r19886] Correct name of file document for Cpack install. 2010-12-13 10:33:18 -05:00
Allen Byrne
614cd7c0b1 [svn-r19884] Corrected time_of_day define configuration, found during parallel CMake build.
Tested: local linux
2010-12-13 08:31:44 -05:00
Allen Byrne
c86e9a48e4 [svn-r19880] Add new file. 2010-12-08 17:02:34 -05:00
Allen Byrne
624ab27d38 [svn-r19878] Correct HDF5 configuration variables for CPack/Install.
Bring r19875 from 1.8 branch
2010-12-08 15:55:25 -05:00
Allen Byrne
42c56b9449 [svn-r19876] Add new file. 2010-12-08 15:53:18 -05:00
Allen Byrne
449373deb3 [svn-r19870] Add tests for examples.
Tested: local linux
2010-12-03 17:26:37 -05:00
Allen Byrne
109294e6e2 [svn-r19865] Correct INSTALL_PREFIX handling 2010-12-02 09:31:40 -05:00
Raymond Lu
58ec33ebba [svn-r19860] I added accum.c, filter_fail.c, links_env.c, space_overflow.c, testmeta.c to the test list.
Not tested yet.
2010-11-29 16:56:42 -05:00
Raymond Lu
fbf5803758 [svn-r19857] I added H5Ochunk.c and the command to compile H5make_libsettings.c
Not tested yet.
2010-11-29 12:32:52 -05:00
Allen Byrne
f8b3d669da [svn-r19854] Correct external library generated headers packing for install/cpack when not using svn builds 2010-11-27 13:38:51 -05:00
Allen Byrne
51fd60955b [svn-r19852] Add back dropped during edit - create directory - for external projects in cpack. 2010-11-26 12:27:53 -05:00
Albert Cheng
5263086fe1 [svn-r19850] Problem: AIX prints some error messages when MPI_Abort is called. That caused
the output matching some problems.

Solution: Add stderr filtering for AIX ERROR: messages.

Tested: NCSA BP.
2010-11-26 10:59:53 -05:00
Albert Cheng
0e77cc6fa0 [svn-r19847] Bug 1917: Big test failure
Removed all the unused code bracketed by #ifdef FSEEKO incorrectly.

Tested: h5committest.
2010-11-25 15:59:36 -05:00
Allen Byrne
8c1b4bc3c7 [svn-r19845] Correct external library generated headers packing for install/cpack 2010-11-25 11:51:40 -05:00
Allen Byrne
f18d822ca5 [svn-r19843] Remove quotes from BLDTYPE parameter in building external projects from svn
Tested: Windows
2010-11-25 10:33:31 -05:00
Allen Byrne
0918e92000 [svn-r19841] Correct external library packing for install/cpack. On windows using shared libs, dlls still needed to be put in the runtime folder for tests. 2010-11-24 11:29:50 -05:00
Larry Knox
72634b34e4 [svn-r19839] Updated to libtool v 2.4, autoconf 2.68 and m4-1.4.15.
Tested with h5committest on amani, heiwa, and jam.
2010-11-23 17:56:59 -05:00
Allen Byrne
5ab92a43a3 [svn-r19837] Correct external library packing for install/cpack
Tested: Windows
2010-11-23 16:05:39 -05:00
Raymond Lu
27fdd5c09c [svn-r19833] Bug fix - In the code of N-bit filter, one line (the last line of H5Znbit.c in H5Z_nbit_compress -
"*buffer_size = j + 1;" was mistakenly taken out by someone.  It is necessary to update the new size.  I
put it back and made 2 test cases for integer and float to verify the correct dataset size.

I'm bringing the fix from 1.8 branch.  The changes to configure.in, tools/misc, config, Makefile.am are only property changes.  

Tested on jam.  But I tested 1.8 on jam, heiwa, and amani.
2010-11-19 15:34:29 -05:00
Allen Byrne
2f883f0881 [svn-r19830] Fixed the name of the windows linkage define in the header. This corrects the
inconsistent dll linkage warning when used with CMake. Changed hdf5_f90Ctest_EXPORTS to hdf5_test_f90ctub_EXPORTS. 

Tested: windows
2010-11-19 12:58:19 -05:00
Allen Byrne
218eecfb34 [svn-r19829] Fixed the name of the windows linkage define in the test header. This corrects the
inconsistent dll linkage warning and matches the other linkage defines. Changed H5_DLLVAR to H5TEST_DLLVAR. 

Tested: windows
2010-11-19 12:45:55 -05:00
Allen Byrne
ced5ad60cd [svn-r19828] Fixed the name of the windows linkage define in the hl/fortran cstub library header. This corrects the
inconsistent dll linkage warning on every function. Changed H5_DLL to HDF5_HL_F90CSTUBDLL. 

Tested: windows
2010-11-19 12:21:10 -05:00
Allen Byrne
a490e0ccab [svn-r19827] Correct SZIP 'warning ignore' regex 2010-11-19 09:56:47 -05:00
John Mainzer
8ed20b39d6 [svn-r19825]
Checked in fix for failure in shape same tests that appeared after
Quincy's recent massage of the test code.  The problem was a race
condition created when Quincey re-worked the code selecting either
collective or independant I/O.

Previously, when independant I/O was selected in the test, I had
used H5Pset_dxpl_mpio() and H5Pset_dxpl_mpio_collective_opt() to
select collective semantics with independant I/O going on under
the hood.  Quincey modified this to call H5Pset_dxpl_mpio() when
collective I/O was selected, and do nothing in the independant I/O
case.  As a result, processes were able to race ahead and
modify the initial values of the data set before some processes
had verified that the initialization was correct.

Solved the problem by adding barriers, and making all barriers
dependant on independant I/O being selected.

Tested parallel on amani and phoenix.  h5committested.

Note that parallel on amani and h5committest on heiwa failed
several times before I got a clean pass without code changes.

The failures on amani seemed to be time outs caused by contention
for the machine -- worryingly, they occurred in the shape same 
tests.  However, given subsequent passes and passes on jam and 
phoenix, I am going ahead with the commit.

The failure on heiwa was in the fheap test.  I don't see how
this can be related to changes in testpar, and in any case, it
went away on the second try.
2010-11-18 15:56:25 -05:00
Allen Byrne
0bb0aa86e7 [svn-r19823] BZ2013: Remove use of WIN32 defines. These two files were dependent on the winsock2.h header so changed WIN32 to H5_HAVE_WINSOCK_H.
Tested: windows
2010-11-18 12:37:57 -05:00
Allen Byrne
6dff34aab1 [svn-r19820] Update cacheinit.cmake with current HDF options. 2010-11-18 11:10:56 -05:00
Jonathan Kim
5f1db21f84 [svn-r19818] Purpose:
Change to skip copying when a dataset is not allocated.

Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE)
2010-11-18 09:35:57 -05:00
Albert Cheng
76c354a610 [svn-r19817] Bug 1917: Big.c test.
Changed the test to run Huge Dataset (tens of GB), Xtra large dataset(4GB big),
Large dataset (2GB big), or merely 1GB big, depending on if the file system
supports sparse file or if it supports larger than 32bigs I/O.

Tested: h5committest, jam (serial), Windows (Bangan which is Windows 7, 32bits).
2010-11-17 18:30:49 -05:00
Albert Cheng
192339db91 [svn-r19816] Bug 2091: updated with the removal of Metraowerks compiler code. 2010-11-17 18:25:56 -05:00
Vailin Choi
4810a3d319 [svn-r19813] 1. Correct mistake for previous checkin rev #19781:
file name listed for DISTCLEANFILES should be testlinks_env.sh
2. Add comments to test_4() in test/external.c about the link name "/ link".
3. Fix memory leak as reported by valgrind in src/H5Lexternal.c: 
   free memory pointed to by tmp_env_prefix for HDF5_EXT_PREFIX case.
2010-11-17 17:11:02 -05:00
Allen Byrne
d54a8334e1 [svn-r19811] Correct define typo 2010-11-17 13:21:58 -05:00
Mike McGreevy
8897a3dcbd [svn-r19808] Purpose:
Add "--enable-unsupported" configure flag.

Description

    The "--enable-unsupported" configure flag allows a user to
    prevent configure from failing due to the use of incompatible
    options, such as c++ with parallel.

    Specifying --enable-unsupported will bypass all of configure's
    checks for incompatible and unsupported combinations of flags. 
    There are no guarantees that the library will be configured
    in any sort of working condition, but that's the risk of
    using the --enable-unsupported flag.

    I've changed all default error messages related to unsupported
    option combinations to indicate that using --enable-unsupported
    will allow configure to complete without error.

Tested:

    by hand on jam, tested all unsupported configure option 
    combinations with and without the new flag, making sure
    the flag allows configure to finish without error. 
    (h5committest wouldn't do any good here; it won't test
    the new option, and since we're enabling unsupported
    combinations, failures are likely to occur in build or
    tests with --enable-unsupported turned on anyways. 
    That's why they're unsupported!)
2010-11-17 13:07:51 -05:00