Commit Graph

11763 Commits

Author SHA1 Message Date
Quincey Koziol
f82774c0d5 [svn-r19092] Description:
Bring "shape same" changes from LBL branch to trunk.  These changes
allow shapes that are the same, but projected into dataspaces with different
ranks to be detected correctly, and also contains code to project a dataspace
into greater/lesser number of dimensions, so the I/O can proceed in a faster
way.

	These changes also contain several bug fixes and _lots_ of code
cleanups to the MPI datatype creation code.

	Many other misc. code cleanup are included as well...

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
        Mac OS X/32 10.6.3 (amazon) in debug mode
        Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-07-19 00:05:45 -05:00
HDF Tester
075f618e23 [svn-r19086] Snapshot version 1.9 release 74 2010-07-18 07:33:00 -05:00
Neil Fortner
9a8c8887ab [svn-r19083] Add gen_sizes_lheap to CMakeLists.txt.
Tested: none
2010-07-16 16:44:15 -05:00
Neil Fortner
c22b8a94f2 [svn-r19076] Purpose: Fix bug 1951
Description:
A bug introduced in 1.8.5 causes local heap data blocks to be mis-aligned when
sizeof_offsets + 2*sizeof_lengths is not a multiple of 8.  In this case, the
address of the data block as stored in the heap prefix is aligned but the actual
data block is not.  This causes files created with these sizes to be corrupted,
and prevents uncorrupted files with these sizes to be unreadable.  Modified
local heap code to account for alignment.

Tested: jam, amani, linew (h5committest)
2010-07-16 11:32:49 -05:00
Allen Byrne
0dce71a0a3 [svn-r19074] Added check for no encoding to determine result for test
Tested: Windows
2010-07-15 12:51:34 -05:00
Albert Cheng
2e929c51a5 [svn-r19072] Bug 1921: change to use mpiexec.
Changed the mpirun to mpiexec in the comment line.

Tested: jam (pp). No h5committest since this applied in parallel only.
2010-07-14 12:25:03 -05:00
Albert Cheng
aab23acc05 [svn-r19070] Document update: ID 1921 change mpirun to mpiexec
Changed the use of mpirun to mpiexec which is the MPI-2 official standard.
INSTALL_parallel:
Also bring in previous update of Red Storm support.
2010-07-14 12:07:50 -05:00
Albert Cheng
eea98ac8cb [svn-r19068] Bug fix: ID 1921 change mpirun to mpiexec
Removed the recognition of parallel compilers of LAM (hcc) and ChMPIon (cmpicc)
since we have no access to these two MPI implementations and decided not to
support them any more.

Test: Jam using parallel tests:
1. use CC=mpicc and confirmed it is recognized as a parallel compiler;
2. use CC=hcc and confirmed it is NOT recognized as a parallel compiler
any more.
2010-07-14 10:56:42 -05:00
HDF Tester
3d3d95db07 [svn-r19064] Snapshot version 1.9 release 73 2010-07-11 12:06:05 -05:00
Larry Knox
10a8b060ca [svn-r19059] Brought changes from hdf5_1_8 to add version information for fortran and c++ compilers in libhdf5.settings file and configure output (r18836), to install examples as part of make install (r18680), and to provide scripts to compile and run the examples after they are installed (r18817).
Tested with new/h5committest on amani, heiwa, and jam.
2010-07-08 21:52:14 -05:00
Jonathan Kim
5d5ffe2373 [svn-r19057] Purpose:
add reference file entries for the new test expected output files

Description:
    This is dependent to r19051.

Tested:
    Windows (cmake)
2010-07-08 11:37:40 -05:00
Allen Byrne
47834df86d [svn-r19056] Added code to retrieve version info from H5public.h; corrected a typo in a configure check and a macro 2010-07-08 08:50:49 -05:00
Jonathan Kim
b3162a67e0 [svn-r19052] Add thlink-1.ls entry back which was mistakenly removed from previous checkin. 2010-07-07 14:53:23 -05:00
Jonathan Kim
af749bafb7 [svn-r19051] Purpose:
Add --no-dangling-links option to h5ls. 

Description:
Related to "Bug 1830 - Following an dangling external link in h5ls should set non-zero return code."
If --no-dangling-links option is specified and any dangling link is found, return exit code 1 (error).

Tested:
 jam, amani and heiwa
2010-07-07 13:52:04 -05:00
HDF Tester
be5d631410 [svn-r19047] Snapshot version 1.9 release 72 2010-07-04 12:06:29 -05:00
Allen Byrne
2f13382883 [svn-r19037] Added executable Linker Flag for MSVC static builds: /NODEFAULTLIB:MSVCRT
Added VERSION vars for inclusion into auto snapshot version update script

Tested windows
2010-06-29 15:09:03 -05:00
Jonathan Kim
eb5eba9aee [svn-r19034] Purpose:
Change h5ls not to manipulate special characters in object name or attribute name for smart display.

Description:
Related to "But1784 h5ls has input and output issues with links that have '\' characters in them."

Tested:
 jam, amani and linew
2010-06-28 15:34:32 -05:00
Allen Byrne
f421ba6111 [svn-r19032] Correct use of variable in windows dll builds by changing qualifier from extern to H5_DLLVAR.
Turned off default packed bits setting as feature is not available for trunk
2010-06-28 07:52:16 -05:00
HDF Tester
732eaaf99b [svn-r19031] Snapshot version 1.9 release 71 2010-06-28 07:24:51 -05:00
Allen Byrne
fba893e4cb [svn-r19028] added new cmake files for testing 2010-06-22 14:09:07 -05:00
Allen Byrne
f747973a51 [svn-r19027] Add testing files to cmake resources.
Added code coverage option to cmake.

Tested: local linux
2010-06-22 14:04:20 -05:00
Allen Byrne
bbba3fbf7b [svn-r19025] Correct defines for zlib and szip 2010-06-21 10:58:18 -05:00
HDF Tester
cb72139f74 [svn-r19022] Snapshot version 1.9 release 70 2010-06-20 12:05:42 -05:00
Albert Cheng
e6d56939f3 [svn-r19019] Enhancements:
Cleaned up the code a bit by:
1. It used to that -xxx options must be at the beginning such that
   "buildhdf5 --disable-shared -config" was an error. Now -xxx options
   can appear anywhere in the command options.
2. Eliminate the need of variables $CONFIG_CXX, $CONFIG_FORTRAN,
   $CONFIG_PARALLEL by appending their values to $CONFIG_OP directly.
3. Also append $WITH_SZLIB to $CONFIG_OP when it is defined, not later.
4. Call CONFIG directly instead of setting up $CONFIGURE.
5. Removed the last TIMESTAMP since "trap 0" will call QUIT which calls
   TIMESTAMP already. This eliminated the extra timestamp when it finishes
   normal.

tested:
Tested by hand since h5committest does not really test this command.
2010-06-18 17:47:22 -05:00
Mike McGreevy
9f208ec4e2 [svn-r19017] Purpose:
Minor code cleanup

Description:

    Add missing declaration of H5AC_ignore_tags() 
    to H5ACprivate.h

    Clean up some warnings in cache_tagging.c 
    test file

Tested:

    jam, gandalf
2010-06-17 12:27:41 -05:00
Quincey Koziol
8efa8ead45 [svn-r19015] Description:
Remove unused 'ATYPE' parameter from H5T_CONV() macro

    Remove unused 'result' variable from H5AC_set()

Tested on:
    Mac OS X/32 10.6.4 (amazon) w/debug & production
    (too minor to require h5committest)
2010-06-17 12:17:00 -05:00
Mike McGreevy
a0e6e24ff5 [svn-r19010] Purpose:
Clean up code.

Description:

    Reorganize to remove mixed declarations and
    code (which should satisfy windows compile).

Tested:

    jam, blue print, gandalf
    Windows 7 w/ VS Express 2008 (on VMware)
2010-06-16 14:26:17 -05:00
Mike McGreevy
1c8ec63a3d [svn-r19008] Purpose:
Fix some tagging issues.

Description:

    - changed H5Gcreate to H5Gcreate2 in the cache_tagging.c
      test file to work properly with 1.6 API default
      mapping turned on.

    - Added FUNC_ENTER/LEAVE_*TAG macros to the 
      H5G_stab_valid function.

Tested:

    gandalf, jam, amani (w/ production mode, 1.6 API mapping)
2010-06-16 10:17:39 -05:00
Neil Fortner
686d856802 [svn-r19006] Purpose: Improve performance of the the chunk cache
Description:
Previously, the chunk cache would, when looking for a chunk, alwaylook for the
chunk in the b-tree before checking the cache.  Reworked the functions that
look up chunks to always check the cache first and avoid the b-tree lookup if
the chunk is in cache.

Tested: jam, linew, amani (h5committest)
2010-06-15 16:21:03 -05:00
Mike McGreevy
60ecd356b2 [svn-r19005] Purpose:
Commit metadata tagging framework.

Description:

    This check-in contains a new framework whose goal is to apply
    a tag value to each new entry in the metadata cache as it is created. 
    This tag value is such that it relates each piece of metadata to the 
    HDF5 object that it belongs to (dataset, group, et cetera).

    This changeset includes the framework that applies the tags as 
    well as a suite of tests to verify correct tag application, though does
    not yet make use of the tag values to flush/evict individual objects.

    Please refer to the "flush/evict individual objects" RFC for further
    discussion of these changes.

Tested:

    jam, amani, linew (h5committest)
    liberty, abe, blue print
2010-06-15 15:00:22 -05:00
Allen Byrne
84f6de6f28 [svn-r19001] Corrected large file option 2010-06-14 15:31:12 -05:00
Allen Byrne
7d5d8a45be [svn-r18999] Removed and added files in CMake Resources folder 2010-06-14 14:20:52 -05:00
Allen Byrne
15193c18b4 [svn-r18996] Updated config files and install commands per external developers recommendations.
Tested: local linux
2010-06-14 14:08:23 -05:00
Albert Cheng
4e4c5d3e0f [svn-r18992] Bug Fix: (ID 1921)
PHDF5 changed to use "mpiexec", instead of mpirun, as the default MPI
applications startup command as defined in the MPI-2 definition, section
4.1.  Note that only mpich related (using mpicc command) definitions are
changed to mpiexec. Other favors like hcc, AIX, champion, are not changed
since I don't have a way to verify them yet.

Tested:
jam and amani, using both current and new mpich.
Did not h5committested since this affects PHDF5 configure only.
2010-06-11 18:37:33 -05:00
Frank Baker
935bf228d3 [svn-r18987] Description:
Add acknowledgment of LBNL contractual support.
2010-06-08 13:50:39 -05:00
Albert Cheng
ed9a9f8c50 [svn-r18985] Test feature: (bugs 1919)
Problem: some launching command like yod (and sometimes mpirun), do not pass
back the exit code of the executables back to the shell. It always returns 0
if it can launch the executable. This cause tests that expect non-zero exit
code to fail incorrectly.

Short term Solution:
Added the feature that if $RUNSERIAL_NOEXITCODE is defined, do not
test conditions that rely on non-zero exit code.

Tests:
dove-linux using RUNSERIAL=thgyod to see the failures and using
$RUNSERIAL_NOEXITCODE=yes to bypass the errors.
Also h5committested.
2010-06-08 13:22:11 -05:00
Albert Cheng
21d186a8e7 [svn-r18984] Description:
Fixed exit code (sometimes return code in Main) to follow the HDF5 standards.

Tested:
Tested in Dove-linux only since change is trivial and has passed in v1.8.
2010-06-07 18:44:27 -05:00
Larry Knox
7d1adc1f35 [svn-r18976] Added comments regarding the -D_POSIX_SOURCE flag including a reference to a discussion of the _POSIX_SOURCE, BSD_SOURCE, and _POSIX_C_SOURCE Macros and their intersaction at http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html.
Comment text only - not tested.
2010-06-04 11:01:39 -05:00
Allen Byrne
c09abb3250 [svn-r18965] Windows use of VC_EXTRALEAN no longer did anything. It has been replaced by WIN32_LEAN_AND_MEAN macro. This was the cause of a define conflict causing the use of grp1 and grp2 to be replaced with constants in the h5dumpgentest.c file.
This also affected the use of the #include <winsock.h> needed by gethostname. The new include: winsock2.h has been added to h5private.h and either removed or updated in the other files.

Tested:  Windows
2010-06-03 17:22:34 -05:00
Mike McGreevy
9a82383b35 [svn-r18963] Purpose:
Add acknowledgments file to top level of hdf5 trunk distribution.
2010-06-03 17:12:31 -05:00
Jonathan Kim
6447935a19 [svn-r18958] Purpose:
Fixed Windows compile error. Renamed to use 'gid1' and 'gid2' instead of 'grp1' and 'grp2'. 
Description:
There is variable name confliction with 'grp1' ~ 'grp9' in Windows system. It occurs if H5private.h is included in the code.
2010-06-03 14:34:20 -05:00
Allen Byrne
7d3d21b831 [svn-r18956] Corrected name of external libraries 2010-06-03 13:51:04 -05:00
Allen Byrne
753f328de1 [svn-r18950] Correct version numbers for trunk 2010-06-02 16:10:41 -05:00
Allen Byrne
9dffc23b89 [svn-r18949] Corrected where the static *.mod files are installed to 2010-06-02 16:00:24 -05:00
Jonathan Kim
4c6738388e [svn-r18947] Purpose:
Update Windows testing for h5ls according to the updates for 
    Support follow symbolic links.

Description:
    Sync with hdf5 trunk SVN r18943
2010-06-02 15:17:47 -05:00
Jonathan Kim
1a02e37f16 [svn-r18943] Purpose:
Support follow symbolic links.

Description:
    Add '--follow-symlinks' option to follow symbolic links (soft and external).
    Update help page according to RM.
    Remove some warning messages from compiler.

Tested:
    jam, amani and linew
2010-06-02 10:13:13 -05:00
Allen Byrne
1f14f80226 [svn-r18942] 2010-06-01 17:18:20 -05:00
Allen Byrne
16bb687b00 [svn-r18940] Update Cygwin and Windows references
Removed support for MinGW
2010-06-01 15:34:26 -05:00
Allen Byrne
ffdb1186cc [svn-r18933] Update Cygwin install instructions 2010-06-01 14:22:18 -05:00
Allen Byrne
16e2d97f1c [svn-r18930] Enabled mf test since it is fixed.
Tested: windows
2010-06-01 13:11:47 -05:00