Commit Graph

13084 Commits

Author SHA1 Message Date
Quincey Koziol
14e7962b30 [svn-r22932] Description:
Update FreeBSD info.
2012-10-19 14:57:04 -05:00
Quincey Koziol
e9519f5e6a [svn-r22921] Description:
Review Coverity changes and bring them back to trunk. (QK & JK)

r20402:
Added #includes for h5tools.y or h5tools_utils.h as required to remedy implicit
function declarations which caused compiler warnings and coverity issues 703-4
and 708-11.

r20414:
This is related to the previous checkin r20399.  There were incorrect updates
which caused incorrect behavior when no file was given. Also possible segfault
when handling hyperslab options. Simplify the code changes.

r20449:
Description: Modified H5E_walk2_cb to check return value of H5I_object_verify.

r20450:
fixed coverity 813


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, debug & threadsafe
    (too minor to require h5committest)
2012-10-18 14:47:39 -05:00
Quincey Koziol
0324f05566 [svn-r22915] Description:
Bring Coverity changes back to trunk:


r20399:
Change parse_command_line to free hand structure on error and only "leave()" at end of main.

r20400:
Purpose: Fix coverity issue 592

Description: Added void cast to call to H5F_sfile_assert_num() in
H5F_term)interface().  There is no need to check the return value of this
function in general, and there would be nothing to do even if it did fail.

r20401:
Added free(src_sizes) and free(src_offset). --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, threadsafe
    (too minor for h5committest)
2012-10-17 13:41:42 -05:00
Raymond Lu
1c45b31cc6 [svn-r22914] I checked in the conversion function H5T__conv_enum_numeric (numeric type means integer or floating number) and the C test for it. This is the work for Chicago.
Tested on jam, koala, and ostrich.
2012-10-17 13:38:38 -05:00
Larry Knox
33504deb83 [svn-r22908] Reverted changes in revision 22819
Tested with h5committest on jam, koala and ostrich.
2012-10-16 16:38:58 -05:00
Allen Byrne
6e6ba4f064 [svn-r22904] Fixed typo in name of cmake config file. Needed for installing multiple versions on windows. 2012-10-16 12:44:14 -05:00
Scot Breitenfeld
2f798dc842 [svn-r22897] Cleaned up the comments, formatted for automatic documentation. 2012-10-12 22:23:47 -05:00
Scot Breitenfeld
777884558a [svn-r22896] Updated the robodoc resource file with new keywords and new options
for generating the documentation.
2012-10-12 22:22:38 -05:00
Allen Byrne
348e91e02f [svn-r22881] Correct datatype of scalar array of doubles
Tested: local linux
2012-10-10 16:08:44 -05:00
Albert Cheng
10ab09069d [svn-r22879] Bug Fix: HDFFV 8017
dt_arith would fail in Lion and Mountain Lion system when GCC version 4.2.1
is used with --enable-production. Somehow the -O optimization will fail some of
the hard conversion code.

Solution:
This is just a temporary patch by detecting if this is a Lion or Mountain Lion
system using GCC 4.2.1, then just remove the any -O option from the PROD_CFLAGS.
A better fix should be deviced later.

Tested: Duck(lion) and Owl (mountain lion) tested with --enable-production.
Also tested in Fred and Tejeda, both Snow Leopard systems to verify there is
no undesired side effect.
2012-10-10 00:03:36 -05:00
Scot Breitenfeld
990fdaed07 [svn-r22878] Added bug fixes and enhancements since the last release. 2012-10-09 23:21:59 -05:00
Binh-Minh Ribler
f7e1da0cfb [svn-r22877] Description:
Changed uint to unsigned so that no hdf5-specific header file is needed.
Platform tested:
    Linux/32 2.6 (jam) - very minor
2012-10-09 22:32:21 -05:00
Scot Breitenfeld
ac472bb111 [svn-r22876] Fixed exporting subroutines that will not be compiled if --enable-fortran2003
was not used.
2012-10-09 18:59:33 -05:00
Quincey Koziol
cda42fdc77 [svn-r22866] Description:
Correct use of 'uint8_t' parameter type in public header file (which was
causing Windows builds to fail).

Tested on:
    Mac OSX/64 10.7.5 (amazon) w/debug
    (too minor to require h5committest)
2012-10-04 21:25:37 -05:00
Scot Breitenfeld
223bdd1173 [svn-r22859] Fixed new functions that are used in the _F03 files, updated to reflect the correct
module they are in.
2012-10-03 15:05:25 -05:00
Allen Byrne
9603f61cda [svn-r22857] Change def list of RGET_REGION to match other types declarations 2012-10-03 13:55:57 -05:00
Scot Breitenfeld
3e59374ccd [svn-r22854] Fixed issues with default 8-byte real and default 8-byte integers and the new H5O routines.
Tested: jam (gcc,intel)
2012-10-02 19:53:21 -05:00
Allen Byrne
7648354b80 [svn-r22853] Change def list of RGET_REGION to match other types declarations 2012-10-02 12:53:03 -05:00
Allen Byrne
0f76f393ed [svn-r22852] Add new files to library file lists
Tested: local linux
2012-10-02 12:38:24 -05:00
Albert Cheng
41c8a10740 [svn-r22849] Updated with changes. 2012-10-01 18:52:56 -05:00
Albert Cheng
fa935398b3 [svn-r22848] Bug fix: HDFFV-8156
benchpar.c is compiled when configure --enable-build-all --enable-paralllel.
But it failed to compile.  It is decided to retire or move it to example.
I removed it from the PARA_BUILD_ALL list so that --enable-build-all will
not fail.  The program file still need to be moved.

Tested: Koala using --enable-build-all --enable-parallel.
--in parallel mode.This line, and those below, will be ignored--

M    perform/Makefile.in
M    perform/Makefile.am
2012-10-01 18:41:55 -05:00
HDF Tester
d4657ce265 [svn-r22846] Snapshot version 1.9 release 131 2012-09-30 09:46:20 -05:00
Binh-Minh Ribler
9c3f82fbd7 [svn-r22845] Purpose: Misc fixes
Description:
    Fixed miscellaneous inconsistencies and typos, which also took
    care of the failure in Packet Table test on daily test today.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    Mac Lion (duck)
2012-09-28 17:18:33 -05:00
Scot Breitenfeld
51bb0fe2d2 [svn-r22843] Renamed variable to match C.
Tested: jam (gnu, mpich)
2012-09-28 15:42:33 -05:00
Scot Breitenfeld
cc2669fedf [svn-r22842] Fixed typo in variable.
Tested: jam (gnu,mpich)
2012-09-28 15:29:38 -05:00
Scot Breitenfeld
08a5424f60 [svn-r22839] removed unused variable.
tested: jam (pgi compiler)
2012-09-28 09:48:12 -05:00
Scot Breitenfeld
5fba5c2e3a [svn-r22838] Fixed typo in variable name.
Tested: jam (pgi compiler)
2012-09-28 08:36:39 -05:00
Binh-Minh Ribler
5aed216f47 [svn-r22837] Description:
Added
	c++/src/H5Location.h
	c++/src/H5Location.cpp
2012-09-27 18:33:03 -05:00
Binh-Minh Ribler
5fcec401bd [svn-r22836] Purpose: Fix bug HDFFV-533 and add other missing functions
Description:
    In this bug, H5File doesn't have the ability to create attribute.  The
    following changes will provide that functionality and several others that
    were also missing:
    - Added an abstract class H5Location in between IdComponent and H5Object.
    - New class structure of IdComponent, H5Location, H5Object, H5File
                                IdComponent
                                     |
                                H5Location
                                /        \
                        H5Object        H5File
    - Wrappers in H5Object were moved to H5Location because the related C
      functions take either file, group, dataset, or named datatype ID.
    - Added wrapper for H5Rget_obj_type2
    - Added tests for file attributes and H5Rget_obj_type2 wrapper
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    SunOS 5.10 (linew)
2012-09-27 18:26:16 -05:00
Albert Cheng
e488529430 [svn-r22834] Documented HDFFV-8069 fix. 2012-09-27 17:22:10 -05:00
Jonathan Kim
2752394064 [svn-r22832] Update the CMake reference files list correctly for newly added encoded property list files. 2012-09-27 16:31:33 -05:00
Albert Cheng
e554086467 [svn-r22830] Bug fix: HDFFV-8069 AIX config file Fortran flags need fix
Description: The Fortran compiler flags were all set to "-O". They should be
different setting for different situations. E.g, "-g" for debug and
"-pg" for profile, etc.

Fix: set them to appropriate different values.

Tested: in Remote ADA AIX machines using 3 different settings:
    configure --enable-fortran --enable-cxx     # default to --disable-production
    configure --enable-fortran --enable-cxx --enable-production
    configure --enable-fortran --enable-cxx --disable-production
2012-09-27 16:07:43 -05:00
Scot Breitenfeld
485b5dea69 [svn-r22829] Fixed merge mistake, merge removed part of the subroutine.
tested: jam (intel)
2012-09-27 15:24:03 -05:00
Scot Breitenfeld
7b9929e309 [svn-r22828]
HDFFV-8007:Add missing H5O Fortran functions 

Added new F03 test file for new H5O functions.
2012-09-27 14:48:54 -05:00
Scot Breitenfeld
0878e52087 [svn-r22827] HDFFV-8007: Add missing H5O Fortran functions.
Tested: jam(gnu,intel)
2012-09-27 14:43:48 -05:00
Scot Breitenfeld
393852a414 [svn-r22826] Fix for: HDFFV-7903 Fortran problem writing control character to a dataset
reconfigured
2012-09-27 14:21:45 -05:00
Scot Breitenfeld
32a131ea70 [svn-r22825] Fix for: HDFFV-7903 Fortran problem writing control character to a dataset
Tested: (jam, gfortran)
2012-09-27 14:20:09 -05:00
Scot Breitenfeld
a81cc2ac7e [svn-r22824] FIX: HDFFV-8118: Support Fortran compiler flags that change the default size of integer and real
Tested: jam(gnu,intel), machine with gcc 4.7 and C long double = 16 bytes.
2012-09-27 14:13:13 -05:00
Scot Breitenfeld
0710ab3955 [svn-r22823] Fix for HDFFV-7658: Add FORTRAN interface for H5Pget_mpio_actual_io_mode API routine
Test: jam (gnu)
2012-09-27 10:59:40 -05:00
Scot Breitenfeld
dbf542c008 [svn-r22822] Fix for HDFFV-7658: Add FORTRAN interface for H5Pget_mpio_actual_io_mode API routine
Test: jam (gnu)
2012-09-27 10:58:54 -05:00
Quincey Koziol
0ae06ebea6 [svn-r22820] Description:
Update the CMake reference files list for newly added encoded property list
files.
2012-09-27 06:34:40 -05:00
Larry Knox
c5371d7618 [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries.
Tested on jam,koala,ostrich(h5committest) and other THG machines.
2012-09-26 23:49:19 -05:00
Quincey Koziol
7702c7f760 [svn-r22817] Description:
Update CMake files for new encode/decode property list files.
2012-09-26 15:53:18 -05:00
Jonathan Kim
563990e64e [svn-r22816] Failed on Mac for testing tscalarintsize and tscalarattrintsize from daily test.
Larry mentioned that intel compiler was used on Mac for testing.
Allen requested comment it out.
"It is not scheduled for 1.8, I created the file for Java testing. Actually I 
have to create windows versions because of the use of floating point." - Allen
2012-09-26 15:21:36 -05:00
Raymond Lu
4f9adf902b [svn-r22815] Issue 8164 - test_image.c printed an extra "FAILED" after it succeeded. A test function doesn't return 0 after it succeeds.
It goes down to the error handling branch and prints "FAILED".  The fix is adding "return 0;" in the end of the function.  

Tested on jam - simple change.
2012-09-26 15:06:08 -05:00
Quincey Koziol
392b7d3249 [svn-r22808] Description:
Correct location of property list files.
2012-09-25 14:05:49 -05:00
Quincey Koziol
6a89177036 [svn-r22807] Description:
Add encode/decode API routines for property lists: H5Pencode/H5Pdecode.

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) 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, w/threadsafe, in production mode
        Linux/PPC 2.6 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-ia64 2.6 (ember) w/Intel compilers, w/parallel, C++ & FORTRAN,
                in production mode
        Mac OS X/32 10.7.3 (amazon) in debug mode
        Mac OS X/32 10.7.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
        Mac OS X/32 10.7.3 (amazon) w/parallel, in debug mode
2012-09-25 10:47:25 -05:00
Jonathan Kim
50e3990f2a [svn-r22805] Purpose:
HDFFV-8012 - h5repack changes max dims and cause failure if only "-f none" is used without changing layout for chunked dataset when a chunk dim is bigger than a dataset dim

Description:
    "h5repack -f <obj>:NONE <file.h5> out.h5" command failed if source file contains chunked dataset and a chunk dim is bigger than a dataset dim. 
    Another issue is that the command changed max dims if chunk dim is smaller than the dataset dim. 
    These issue occurred when dataset size is smaller than 64k (compact size limit)
    Fixed them.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2012-09-24 18:13:57 -05:00
HDF Tester
528bd520b8 [svn-r22802] Snapshot version 1.9 release 130 2012-09-23 09:32:56 -05:00
Albert Cheng
443d342905 [svn-r22799] Documented the retiremen of mpi-perf. 2012-09-22 14:44:14 -05:00