Commit Graph

12185 Commits

Author SHA1 Message Date
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
Allen Byrne
30be8ee01c [svn-r19806] Corrected REGEX of warning exception 2010-11-17 12:00:00 -05:00
Mike McGreevy
f8b0d69460 [svn-r19803] Description:
Update ACKNOWLEDGMENTS file

Tested:

    none. documentation update only.
2010-11-17 11:42:57 -05:00
Allen Byrne
f7f402d993 [svn-r19799] Update valgrind ignore tests. 2010-11-17 10:08:36 -05:00
Mike McGreevy
39e3974628 [svn-r19798] Purpose:
Add additional error checking to catch erroneous user input.

Description:

    Attempting to retrieve a links's name by index in the case
    where the link is external and the file that the object is
    located in doesn't exist was causing a segmentation fault
    (in production) and an assertion failure (in debug).

    The segfault wasn't occuring until the metadata accumulator
    attempted a write, so I've added error checking higher in
    the pipeline in H5O_protect (where there was previously just
    an assert) to catch this. I've also added additional asserts
    in the H5F layer where there were none.

    Additionally, I added another case to the links.c test to
    test that this fails gracefully instead of segfaulting or 
    asserting out.

Tested:

    h5committest and gandalf (mac os x)
2010-11-17 10:08:33 -05:00
Albert Cheng
c249ccfd15 [svn-r19796] Bug 2091: remove all Metraowerks compiler code bracheted by __MWERKS__.
Metraowerks compiler is no more. Make the code cleaner.

Tested: H5committest plus jam serial.
2010-11-16 16:40:04 -05:00
Albert Cheng
69a5317860 [svn-r19795] Cleaned up some part of the code. It now works on all Unix and Windows 7
platforms.
2010-11-16 14:17:04 -05:00
Allen Byrne
7349aa2b68 [svn-r19792] Revised the valgrind ignore list, added simple execute command tests for when doing a valgrind test of tools that only use a cmake script for testing. 2010-11-16 13:22:36 -05:00
Allen Byrne
186d01285a [svn-r19790] CMake: Correct Error tests. Add Deprecated Symbols option.
Tested: local linux
2010-11-16 11:38:40 -05:00
Allen Byrne
7fd26f00b7 [svn-r19787] Check for CMAKE_BUILD_TYPE set if not WIN32 in library prefix naming. Unset needs prefix to be lib. 2010-11-16 10:26:41 -05:00
Albert Cheng
d9adf2d78d [svn-r19785] Bug 1917: Disabled an incorrect condition that whether STDIO VFD supports
larger than 32bits I/O depends on the support of fseeko.  Windows does not
use that. Instead, it uses _fseeki64 to support larger than 32bits I/O.

Tested: jam (linus) and  bangan (windows)
2010-11-15 16:44:33 -05:00
Vailin Choi
901b01601a [svn-r19783] Fix to the checkin for bug #1930. 2010-11-15 14:24:46 -05:00
Allen Byrne
cd7057b21c [svn-r19782] Fix CMake testing for links_env test which requires an environment variable at test run-time. Modified runTest.cmake file to allow optional ENV_VAR and ENV_VALUE to be passed. runTest.cmake requires a reference file, added links_env.out to testfiles folder.
Also updated root CMakeLists.txt to output a message when unsopported options are configured with the PARALLEL option. CMake will still generate files.

Tested: windows and local linux
2010-11-15 11:35:29 -05:00
Vailin Choi
0c589bf7b5 [svn-r19781] Fix for bug #1930:
1) Move the test for H5D_EXT_PREFIX in links.c to a separate file: links_env.c
2) links_env.c will be used by testlinks_env.sh to test for the environmental
   variable H5D_EXT_PREFIX in searching for the external linked file.
2010-11-14 23:04:28 -05:00
Allen Byrne
7c2fbcb03e [svn-r19779] Comment out H5_SIZEOF_PTRDIFF_T define to fix Windows errors. 2010-11-13 17:14:18 -05:00
Allen Byrne
e99c8dd6bc [svn-r19776] Corrected handling of largefile and linux_lfs handling.
Synched cmake version of H5pubconf.h.in
Added another variation of H5detect warning to ignore list.
2010-11-12 16:18:27 -05:00
Allen Byrne
e9670c0382 [svn-r19769] Correct comment about VS defines and next release 2010-11-12 09:27:12 -05:00
Albert Cheng
bfe11bf839 [svn-r19767] Problem:
The parallel test ran out of memory because 32bit binary default to use
less memory.  Changed RUNPARALLEL to use larger memory (LDR_CNTRL=MAXDATA=0x2000
0000@DSA).

Tested: BP parallel.
2010-11-11 17:50:01 -05:00
Albert Cheng
2013dace18 [svn-r19764] Updated NPROCS default value from 3 to 6. 2010-11-11 13:17:02 -05:00
Jonathan Kim
ed45b7472e [svn-r19759] Purpose:
Fix compile error for Windows from previous checkin r19757.

Description:
    Previous log:
    Improve h5diff performance.
    The following changes for improving h5diff performance:
    1) use HDmemcmp() before comparing each elements 
       (memcmp() is very fast at both linew and jam)
    2) replace the expensive H5Tequals() calls
    3) retrieve datatype information at dataset level not each element level 
       for compound datasets


Tested:
 jam (linux32-LE), Windows
2010-11-11 11:51:59 -05:00
Jonathan Kim
40d56dd20c [svn-r19757] Purpose:
Improve h5diff performance.

Description:
    The following changes for improving h5diff performance:
    1) use HDmemcmp() before comparing each elements 
       (memcmp() is very fast at both linew and jam)
    2) replace the expensive H5Tequals() calls
    3) retrieve datatype information at dataset level not each element level 
       for compound datasets


Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2010-11-11 10:23:44 -05:00
Allen Byrne
5d2eb89837 [svn-r19753] Added flush2 to list of memcheck ignore - flush2 needs flush1 to generate files 2010-11-10 12:28:19 -05:00
Jonathan Kim
40b3a8dee9 [svn-r19751] Purpose:
Fixed Bug# 1979 Output from h5ls -rdlS on nested compound datatypes is 
    difficult to parse.

Description:
    Update to add curly brackets for the nested compound members, when
    S (--simple) option is used with -l (--label), so user can tell 
    which members blong to which compound type.


Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32)
2010-11-09 16:13:53 -05:00
Quincey Koziol
f9d2419501 [svn-r19744] Description:
Clean up compiler warnings and neaten up code a bit.

Tested on:
	Linxu/64 2.6.32 (ember) w/parallel
2010-11-08 16:10:23 -05:00
Quincey Koziol
e9c0d94501 [svn-r19743] Description:
Correct tests to use native datatypes consistently, and also to use
"normal" methods for performing collective I/O.  Also, minor cleanups for
zeroing out buffers, etc.

Tested on:
	AIX/64 6.? (bp) w/parallel
2010-11-08 16:03:19 -05:00
HDF Tester
97a3d197e1 [svn-r19740] Snapshot version 1.9 release 79 2010-11-07 08:31:35 -05:00
Allen Byrne
3841249157 [svn-r19737] Added another version of H5detect warning to ignore list
Added H5convert warning to ignore list

Added flush1 to list of memcheck ignore - design precludes valgrind correctness
2010-11-05 16:28:29 -05:00