Commit Graph

12685 Commits

Author SHA1 Message Date
Scot Breitenfeld
85726e28fc [svn-r21362] Change the integer type for filno in in H5O_info_t derived type to c_long to match the unsigned long, via standard:
F2003, Note 15.9

  "The C international standard specifies that the representations for
   nonnegative signed integers ar ethe same as the corresponding
   values for signed integers. Because Fortran does not provide direct
   support for unsigned kinds of integers, the ISO_C_BINDING module
   does not make accessible named constants for their kind type
   parameter values. Instead, a user can use the signed kinds of
   integers to interoperate with the unsigned types and all their
   qualified versions as well...." 

Tested: (jam, intel)
2011-09-05 15:06:15 -05:00
HDF Tester
188c31b1d9 [svn-r21360] Snapshot version 1.9 release 90 2011-09-04 09:32:12 -05:00
Jonathan Kim
cf81925931 [svn-r21358] Purpose:
HDFFV-7712 - h5diff: segfault over combinations of complex container types (compound, array, vlen)


Description:
    - Fixed segfault over dataset with container types (array,lven) with multiple nested compound types. (ex: compound->array->compound, compound->vlen->compound)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam)
2011-09-02 11:29:45 -05:00
Raymond Lu
cf0db8df74 [svn-r21357] I updated the information about the fixes for Issue 7674 - CLANG compiler's complaints. 2011-09-02 10:54:06 -05:00
Raymond Lu
d08f89f07d [svn-r21354] Issue 7674 - CLANG compiler complained about the line (about 800):
tempint = (tempint >> packed_data_offset) & packed_data_mask;
The right shift may cause undefined behavior if PACKED_DATA_OFFSET is 
32-bit or more. For every kind of native integers, I changed the code 
to make it zero if PACKED_DATA_OFFSET is greater than or equal to the
size of integer.

Tested on Mac OS Lion with CLANG compiler and jam, koala, and linew.
2011-09-01 15:51:43 -05:00
Allen Byrne
ab299db44b [svn-r21353] HDFFV-4018: static function for windows and pthreads 2011-09-01 12:27:27 -05:00
Allen Byrne
f589bb679f [svn-r21352] Missed stat structure change to use h5_stat_t. Should have been part of HDFFV-7687 review and commit. File already used HD prefix on stat function. 2011-09-01 12:23:34 -05:00
Allen Byrne
3dd57adfc3 [svn-r21348] Need PATH active by default during install for daily binary testing needs 2011-09-01 09:58:06 -05:00
Allen Byrne
6afaf941bf [svn-r21347] Need PATH active by default during install for daily binary testing needs 2011-09-01 09:56:12 -05:00
Raymond Lu
dbda7f4921 [svn-r21342] Issue 7674 - clang compiler with -fcatch-undefined-behavior -ftrapv discovered several problems in the test suite. One of
them is in the INIT_INTEGER macro definition in dt_arith.c.  It complained about line 150 where it tried to subtract 1 from
the negative minimal value of "int", causing it to overflow (or underflow).  So I revised the code to avoid it.

Tested on jam, koala, linew, and Mac OS Lion with CLANG compiler.
2011-08-31 15:00:49 -05:00
Allen Byrne
4cae0acb17 [svn-r21340] Add check for target already exists 2011-08-31 11:04:32 -05:00
Scot Breitenfeld
2f282ffa9d [svn-r21339] Description: Added test for reading and writing vl strings in fortran (using F2003), for both 1D and 2D array of vl strings.
Tested: jam (pgi, gfortran 4.5, ifort)
        linew (12.3 beta)
2011-08-30 22:02:41 -05:00
Scot Breitenfeld
857bb0f9e2 [svn-r21338] Description: Added a check: if --enable-fortran2003 was specified and a compiler is not on an approved list of compilers that support f2003, then configure will now return an error and stop.
Tested: jam
2011-08-30 21:48:19 -05:00
Allen Byrne
cfc3760808 [svn-r21334] HDFFV-7687: add HD macro prefrix to functions and use h5_stat_t where necessary
reviewed
2011-08-30 10:35:30 -05:00
HDF Tester
4f3950a882 [svn-r21329] Snapshot version 1.9 release 89 2011-08-28 09:29:14 -05:00
Allen Byrne
35b226aadf [svn-r21317] Correct zlib references, zlib svn no longer has src folder 2011-08-26 10:38:35 -05:00
Allen Byrne
c358e55cd7 [svn-r21316] add testlibinfo to ignore list for memcheck 2011-08-26 08:39:43 -05:00
Dana Robinson
a69cfa6bf2 [svn-r21315] Fix for fortran 2003-related bin/reconfigure warnings (with proper quoting this time). Tested on jam (w/ gfortran 4.5.3 for fortran 2003), talwit and linew. 2011-08-25 17:02:21 -05:00
Scot Breitenfeld
fd71d209df [svn-r21312] Description: fixed un-initialized errors for strings and changed the INTEGER type getting passed the verify* programs in the test programs. Fixes problems with Sun compilers 12.3 beta with the -m64 flag.
Tested: linew( 12.3 beta)
2011-08-25 12:04:56 -05:00
Allen Byrne
fcbb4fbd9d [svn-r21308] Add NSIS silent install option 2011-08-25 10:08:29 -05:00
Scot Breitenfeld
49d739e9a5 [svn-r21306] Description:
Changed the minimum required version for the pgi compiler to be 11.7, 11.3 version fails in tH5P_F03.f90 when the option -fast is used (i.e. production mode)

  f_ptr = C_LOC(rd_c)
  CALL H5Pget_fill_value_f(dcpl, comp_type_id, f_ptr, error)

it returns all zeros, version 11.7 does not have this problem.

tested: jam koala (pgi, 11.3 and 11.7)
2011-08-24 10:17:49 -05:00
Larry Knox
5aa22d04da [svn-r21305] Back out change in configure to match Dana's configure.in change that he backed out. This matches the previous version which passed the last passing hourly test. 2011-08-23 17:36:09 -05:00
Dana Robinson
dfd8d5c9fe [svn-r21304] Backed out bad Fortran test. 2011-08-23 16:37:00 -05:00
Dana Robinson
be904e0eae [svn-r21303] Removed duplicated INSTALL_SCRIPT_FILES macro from fortran/examples and fixed an autotools warning from the Fortran 2003 configure.in changes. Tested on jam (minor changes). 2011-08-23 16:18:19 -05:00
Dana Robinson
dc09f2117c [svn-r21302] Fixed the bin/trace Perl script so that it ignores a final ... parameter, which it can't process. This allows the correct H5TRACE8 trace function to be added to H5Epush2. Tested on jam (simple change). 2011-08-23 14:17:35 -05:00
Allen Byrne
d731512875 [svn-r21298] Add fortran library depends to test fortran library build
Tested: local linux
2011-08-23 09:26:03 -05:00
Allen Byrne
57fbbeb2b9 [svn-r21297] Move all tests into DEPENDS structure so that clear-all-objects is first.
Also preface all tests with H5REPACK.
2011-08-23 08:50:31 -05:00
Scot Breitenfeld
33de371d0f [svn-r21295] Description:
Removed duplicate h5p, h5a, and h5d, double precision functions in _F90 and _F03 files
that are already defined in H5_DBLE_InterfaceInclude

Tested: jam (gcc 4.5, intel 12.0)
2011-08-22 23:48:54 -05:00
Scot Breitenfeld
ec7ca9abf0 [svn-r21294] Desciption:
Added to the *.def the module's appended name "provisional" for those functions 
that were split between the _F90 and _F03 files.

Windows
2011-08-22 23:43:29 -05:00
Jonathan Kim
e3400c321f [svn-r21292] Moved Tools recent fixes (HDFFV-7649 and HDFFV-7659) descriptions to correct section. 2011-08-22 17:32:14 -05:00
Raymond Lu
18cb2e9017 [svn-r21288] I added a new file H5HGquery.c.
Not tested yet.
2011-08-22 16:24:49 -05:00
Raymond Lu
a7724aa7b1 [svn-r21285] I added a new file H5Fcwfs.c.
Not tested yet.
2011-08-22 15:48:43 -05:00
Peter Cao
80a409e14d [svn-r21283] H5Eget_major() is depreciated. use the H5Eget_msg() instead. 2011-08-22 11:05:42 -05:00
Allen Byrne
39a79934ca [svn-r21280] Correct IF/ENDIF arguments 2011-08-22 10:41:29 -05:00
Scot Breitenfeld
8137c9fda7 [svn-r21275] Description: Changed the --enable-fortran2003 behavior to:
1) --enable-fortran2003 will enable only F2003 features. It is not a replacement for --enable-fortran. If compiler is not F2003 compliant configure should fail.
2) if --enable-fortran2003 is specified with out --enable-fortran configure fails

3) Configure help indicates that --enable-fortran2003 is in addition to --enable-fortran

Updated the version checks of different compilers.

Tested: jam (gcc 4.1 4.6, intel 10.1 11.1 12.0, pgi)
2011-08-20 22:17:37 -05:00
Scot Breitenfeld
de16094185 [svn-r21272] Added entry for H5Oclose_f in phdf5_fortrandll.def 2011-08-19 14:12:10 -05:00
Scot Breitenfeld
84afb3d069 [svn-r21271] Fixed Windows $DEC! declaration for H5close_f, added missing entry in hdf5_fortrandll.dif 2011-08-19 14:08:17 -05:00
Peter Cao
23c7adeca8 [svn-r21265] h5repack: added macro to handle failure in H5Dread/write when memory allocation failed inside the library 2011-08-19 12:00:14 -05:00
Allen Byrne
13426d47fe [svn-r21263] Add F2003 support to CMake builds 2011-08-19 10:11:10 -05:00
John Mainzer
5213c69fd5 [svn-r21260] Refactored shape same tests heavily, and added code to skip a configurable
fraction of the subtests depending on the current express test level.  Also
added code to display fraction of subtests skipped.

The current tables controlling the fraction of tests skipped as a function 
of express test level is a guess at what will be needed.  It will be necessary
to tune this table against the express test targets and our worst case system.


Initially commit tested on Jam, Koala, and Heiwa, but ran into an unrelated
failure on Heiwa (bug reported).  Replaced Heiws with Linew and got a clean
h5commit test.

Also tested parallel on Koala.  Initially got very bad results (test timed out
roughly 1/3 to 1/2 the way through).  Discussed matters with Matthew, and moved
the build to the solid state drive on Koala.  This dealt with the performance
issues completely.
2011-08-18 16:48:25 -05:00
Elena Pourmal
90b220cbd0 [svn-r21259] Bug fix: Compilation failed for these two examples due to the wrong type of constant.
Changed constant 0 to 0_size_t to use the correct type in the h5tinsert_f subroutine.

Platfomr tested: Elena's mac air with gfortran 4.6
2011-08-18 16:39:51 -05:00
Raymond Lu
a5522454a5 [svn-r21258] Issue 7674 - clang compiler reported an error with line 334:
temp_point->l = (unsigned long long)((i * 100 + j * 1000) * n);
The value can overflow the signed int before being converted to unsigned long long.  So I changed it to 
   temp_point->l = (unsigned long long)((i * 40 + j * 400) * n);
to keep it under the maximal value.

Tested on jam.  Simple change.
2011-08-18 16:11:14 -05:00
Allen Byrne
215c872226 [svn-r21256] Add libinfo and test to cmake - JIRA 1243
Tested: local linux
2011-08-18 15:59:00 -05:00
Scot Breitenfeld
9eb1d607d8 [svn-r21249] Description: Part II of F2003 branch merge into the trunk.
Ran bin/reconfigure to update the Makefile.in in directories not part of the fortran directory check=in. Updates Makefile.in due to changes made in configure.in for the Fortran 2003 additions.

Tested on all platforms run under daily tests.
2011-08-18 09:38:53 -05:00
Scot Breitenfeld
a9c065c5ce [svn-r21248] Mereged the F2003 branch into the trunk.
Items merged: fortran directory, 
              src/libhdf5.settings.in 
              configure.in configure 
              MANIFEST

Tested: (all platforms used by daily tests, both with --enable-fortran and --enable-fortran2003)
2011-08-18 09:32:47 -05:00
Allen Byrne
a968e2d409 [svn-r21243] Add resultcode check to MemTest test sections 2011-08-17 13:42:22 -05:00
Jonathan Kim
7a6f281a8b [svn-r21237] Description:
Add test cases for HDFFV-7656 - "--delta=something" considers two NaN of the same type are different.
  The fix was added (r21105) before but test cases were incorrectly added and missing for cmake script.

Tested:
  jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), cmake
2011-08-16 17:40:36 -05:00
Jonathan Kim
e703a6a2a4 [svn-r21236] Purpose:
Work for:
   HDFFV-7515 - GMQS: h5unjam - incorrect help page and should display when 
   no file is given.
   and
   HDFFV-5941 - h5jam: specifying a user block file with a proper HDF5 magic
   number will result in a corrupted HDF5 file.


Description:
   - Revised command help pages of h5jam and h5unjam. The descriptions
     were not up to date and some were missing. (HDFFV-7515)
   - Fixed h5jam not to allow specifying an HDF5 formatted file as input 
     file for -u (user block file) option, because the original HDF5 file 
     will not be accessible if allows. (HDFFV-5941)

Tested:
    jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Cmake (jam, Wondows)
2011-08-16 15:41:47 -05:00
Allen Byrne
8d80bf4a93 [svn-r21228] Added #ifdefs around #include unistd.h and created windows getlogin() function for building HDF5 parallel on windows.
Reviewed and tested locally and tested by user.
2011-08-15 09:06:53 -05:00
Allen Byrne
03a4dd9fc3 [svn-r21227] Correct location of xml schema files. JIRA HDFFV-7688 2011-08-15 08:30:30 -05:00