Commit Graph

12218 Commits

Author SHA1 Message Date
Raymond Lu
1b6c627c30 [svn-r19972] I added a test case for dataset with scale-offset filter into cross_read.c and updated the data files from BE, LE, and VMS.
Tested on jam and linew.
2011-01-21 14:04:14 -05:00
Jonathan Kim
64651d6954 [svn-r19971] Purpose:
h5dump: add dangling external link test case as part of Chicago project.

Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-01-21 13:29:56 -05:00
Neil Fortner
c5988b31d3 [svn-r19967] Add note on parallel failures to RELEASE.txt 2011-01-19 10:51:20 -05:00
Albert Cheng
442d3b4cb2 [svn-r19965] Purpose:
This continues the previous work and this one breaks the
checker_board_hyperslab_dr_pio_test() into 4 smaller
sub-tests.

Tested: h5committest plus jam serial.
2011-01-17 19:44:29 -05:00
Albert Cheng
4e7aa2650a [svn-r19961] Purpose:
The shape same tests ran too long. Break them into smaller subtests
so that they can finish sub-test in a shorter time. Easier to tell
which one sub-test is taking too much time and/or errors occur in
one fo the sub-tests.

This one breaks the contig_hyperslab_dr_pio_test() into 4 smaller
sub-tests.

Tested: h5committest
2011-01-16 05:12:42 -05:00
Albert Cheng
e6622c86a8 [svn-r19959] Bug: the VRFY macro, for some reason, called MPI_Finalize() when it encountered
error and wanted to exit the test program. This was not good since if only a
subset of processes called MPI_Finalize(), the other processes will likely
hang.  That happened in AIX that it would waited till the alarm signal to kill
the processes. Definitely a waste of time.
Solution: Changed it to call MPI_Abort.

That showed another problem. HDF5 has setup atexit post-process to try to close
unclose objects, release resources, etc.  But if the MPI processes have
encountered an error and has been aborted, it is not likely any more MPI calls
can function properly. E.g., it would attempt to free some communicators in
the HDF5 MPIO file handle. It would again hang.
Solution: need to call H5dont_atexit() to disable any atexit post-processing.
This must be done early, like before calling H5open. This is added to each
parallel test main program.

testphdf5.h:
    Changed macros VRFY and MESG. Added comments too.

testphdf5.c:
t_mpi.c:
t_cache.c:
t_shapesame.c:
    Added H5dont_atexit.

Tested: h5committest.
2011-01-16 04:44:22 -05:00
Albert Cheng
1ed956f2cb [svn-r19956] Removed since its code has been copied to t_shapesame.c. 2011-01-14 11:30:31 -05:00
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