Commit Graph

1030 Commits

Author SHA1 Message Date
Allen Byrne
40c3252951 [svn-r22195] Add PASS_REGULAR_EXPRESSION property to fortran tests to verify 0 errors. Some platforms do not return proper value in CMake ADD_TEST and results in a false positive.
Tested: local linux
2012-03-29 16:32:59 -05:00
Dana Robinson
f1df456412 [svn-r22170] Removed extraneous svn executable properties from non-executable files. 2012-03-28 14:30:59 -05:00
Scot Breitenfeld
0ce5cbc925 [svn-r22163] Added tests for optional parameters in h5ocopy_f.
Cleaned up comments by removing "C" notation comments

Tested: jam (gnu, intel)
        koala (intel)
2012-03-28 00:43:22 -05:00
Scot Breitenfeld
a9e2b5463d [svn-r22154] Fixed comments for h5pcreate_f; added missing property classes.
Tested: N/A
2012-03-26 22:57:17 -05:00
Mike McGreevy
22a432b587 [svn-r22146] Purpose:
HDFFV-398: h5cc doesn't work with automake                                        
                                                                                      
Description:                                                                          
                                                                                      
    Fixed compiler wrapper scripts to correctly detect compilation when               
    -MT preprocessor flag is provided, fixing a bug in which its *.o                  
    argument was added to link_objs but not compile_args.                             
                                                                                      
    This previously broke usage of h5cc as the provided compiler in                   
    configure scripts (like with h5edit) as automake may supply the -MT               
    option to the compiler via the makefiles.                                         
                                                                                      
Tested:                                                                               
                                                                                      
    Tested using h5edit and h5committested.
2012-03-26 14:30:45 -05:00
Scot Breitenfeld
286c8ac306 [svn-r22144] Added DLL h5ocopy_f entry for windows. 2012-03-26 08:33:59 -05:00
Scot Breitenfeld
e002bb98e1 [svn-r22142] Description : New Fortran wrapper (h5ocopy_f) for the C API H5Ocopy
HDFFV-7965

Tested: jam (gnu), koala (gnu)
2012-03-25 23:12:59 -05:00
HDF Tester
cdc63fc21a [svn-r22140] Snapshot version 1.9 release 112 2012-03-25 09:30:39 -05:00
HDF Tester
2c428c1bd7 [svn-r22097] Snapshot version 1.9 release 111 2012-03-20 08:00:55 -05:00
HDF Tester
80b2b54f41 [svn-r22040] Snapshot version 1.9 release 110 2012-03-11 10:52:04 -05:00
HDF Tester
e7bbbd07df [svn-r22022] Snapshot version 1.9 release 109 2012-03-04 09:34:49 -05:00
HDF Tester
adb158fa78 [svn-r21910] Snapshot version 1.9 release 108 2012-02-05 09:51:01 -05:00
HDF Tester
b98ac90e8f [svn-r21898] Snapshot version 1.9 release 107 2012-01-29 09:51:06 -05:00
HDF Tester
0fd077c4c4 [svn-r21884] Snapshot version 1.9 release 106 2012-01-22 09:49:58 -05:00
HDF Tester
e0db7c8922 [svn-r21867] Snapshot version 1.9 release 105 2012-01-08 10:39:01 -05:00
HDF Tester
871e139ba8 [svn-r21857] Snapshot version 1.9 release 104 2012-01-01 09:46:54 -05:00
HDF Tester
c5140decc3 [svn-r21850] Snapshot version 1.9 release 103 2011-12-25 09:56:40 -05:00
HDF Tester
e24dc16d0b [svn-r21831] Snapshot version 1.9 release 102 2011-12-18 09:32:12 -05:00
HDF Tester
993c56b859 [svn-r21824] Snapshot version 1.9 release 101 2011-12-11 09:34:52 -05:00
Allen Byrne
cc3eb8da73 [svn-r21804] Update CMake Required version in all folders to match current standard 2.8.6 2011-12-05 11:19:09 -05:00
Scot Breitenfeld
d66172b99f [svn-r21778] Description:
Added test for h5dget_space_status_f.

Tested: jam (gnu, intel, pgi)
2011-11-28 23:21:56 -05:00
Scot Breitenfeld
f210c86df3 [svn-r21777] Description:
Changed, INTENT of flag to be OUT instead of IN for h5dget_space_status_f, the value gets changed so it should have intent(OUT), it
is correct in the documentation.

Tested: jam (gnu, intel, pgi)
2011-11-28 23:15:42 -05:00
HDF Tester
eada074cc8 [svn-r21775] Snapshot version 1.9 release 100 2011-11-27 09:32:15 -05:00
HDF Tester
cf472f86fc [svn-r21770] Snapshot version 1.9 release 99 2011-11-20 09:32:13 -05:00
Allen Byrne
d3225c4f39 [svn-r21764] HDFFV-7798: CMake on linux. Corrected path component in fortran/src and hl/fortran/src and the install command. 2011-11-15 12:54:18 -05:00
HDF Tester
642b828026 [svn-r21748] Snapshot version 1.9 release 98 2011-11-13 09:31:44 -05:00
HDF Tester
8c59983402 [svn-r21721] Snapshot version 1.9 release 97 2011-11-06 08:02:33 -05:00
Scot Breitenfeld
a5e80bd595 [svn-r21720] Description:
Renamed hdf file dsetf.h5 to dsetf_F03.h5 to avoid a possible conflict with the same file created in the fortranlib_test.f90 test.

Tested: jam (pgi)
2011-11-05 14:39:49 -05:00
Scot Breitenfeld
c66edadd64 [svn-r21719] Description:
Removed using INT() on an already INTEGER variable on the input argument to the verify routine, which was causing wrong verify results for the two integers on a Mac.

Tested: fred (gnu) in production mode.
2011-11-05 14:06:00 -05:00
Allen Byrne
4c5c484b99 [svn-r21715] Correct SET_TARGET_PROPERTIES commands 2011-11-04 12:31:32 -05:00
Allen Byrne
49fabfad86 [svn-r21710] CMake FindMPI module changed to look for fortran libs. Cmake files updated to link with fortran mpi libs.
Updated cacheinit.cmake to set num of procs to 3 for hdf testing.

Tested: local linux and on windows 7
2011-11-03 16:06:37 -05:00
HDF Tester
7d42dafd30 [svn-r21692] Snapshot version 1.9 release 96 2011-10-30 09:39:32 -05:00
Scot Breitenfeld
5b3fbdb542 [svn-r21691] Removed extra "file_close" test since it is already
in fortranlib_test.f90. I think it was causing the 
make check -j8 race condition failures in daily tests.

Tested jam (gfortran, intel)
2011-10-29 14:23:42 -05:00
Scot Breitenfeld
c65c53afcb [svn-r21690] Albert noted on AIX:
> make failed:
> "../../../hdf5/fortran/test/fortranlib_test_1_8.f90", line 642.15: 
> 1513-041 (S) Arguments of the wrong type were specified for the 
> INTRINSIC procedure "mod".

Fixed by defining both arguments in MOD as integer size_t

Tested: jam (gfortran, intel)
2011-10-29 14:16:20 -05:00
Scot Breitenfeld
3e8b387af2 [svn-r21689] Albert noted for *AIX 5.3:
*Hostname: nsipada0X:


"../../../hdf5/fortran/src/H5Ef.c", line 301.40: 1506-280 (E) 
Function argument
 assignment between types "int(*)(int,void*)" and "int(*)(int,struct 
 {...}*)" is
 not allowed.

Fixed by casting has H5E_auto2_t.

tested: jam (gfortran, intel)
2011-10-29 14:18:04 -05:00
Allen Byrne
c5e075851a [svn-r21667] Update FOLDER solution option for target properties. Added OPTION command for solution folder and no packaging.
Tested: local linux
2011-10-25 11:52:58 -05:00
Scot Breitenfeld
aa4fe8486f [svn-r21654] Description:
Fixed the GM offset returned in the derived type h5_info_t and use the functon HDgmtime instead of gmtime.

tested: jam( intel, gnu)
2011-10-23 16:54:47 -05:00
Scot Breitenfeld
cc6ce34d23 [svn-r21628] Description:
Removed line:

$(RM) $(DESTDIR)$(includedir)/H5f90i*.h

These *.h files are needed for HL_NPOESS and should not be removed when make clean is specified. 

The Daily Test installs the file using the deploy script, but then
runs make clean which removes the file, so the files are not there when we try to compile HL_NPOESS
causing an error.
2011-10-20 15:38:21 -05:00
Scot Breitenfeld
eefa5cf26f [svn-r21619] Description:
Changed the API to pass type(h5o_info_t) instead of a C pointer to the derived type.

Tested:

jam (gfortran and pgi)
2011-10-20 13:11:40 -05:00
Scot Breitenfeld
7968c50607 [svn-r21615] Robodoc comment changes. 2011-10-19 22:02:52 -05:00
HDF Tester
62aa159e09 [svn-r21587] Snapshot version 1.9 release 95 2011-10-16 09:00:02 -05:00
Scot Breitenfeld
3be11d46c5 [svn-r21584] Removed H5L_info_t definition from test source, it's defined in the hdf5 library.
tested: jam (intel)
2011-10-14 16:13:57 -05:00
Scot Breitenfeld
a757ea73f5 [svn-r21583] Fixed robodoc headers in comments. 2011-10-14 16:05:39 -05:00
Scot Breitenfeld
3a4d03625f [svn-r21570] Description: Cleaned up comments and variable names to match RM, no source changes. 2011-10-14 14:21:51 -05:00
Elena Pourmal
711f8f7934 [svn-r21552] Maintenance: Addressed HDFFV-915 - investigate if H5open and H5close are needed in the corresponding
Fortran wrappers.

Solutions:   The calls were not needed and were removed from the C stubs h5open_c and h5close_c for the correspnding
             Fortran subroutines h5open_f and h5close_f.

Platforms tested: jam with gcc and gfortran, PGI and Intel
                  koala with PGI and Intel
                  linew with the standard Sun compilers
2011-10-13 15:25:32 -05:00
Scot Breitenfeld
6b4e6d992d [svn-r21537] Description:
Modified h5oget_info_by_name_f to return a derive type h5o_info_t

Tested: jam( gfortran, pgi, intel)
2011-10-13 00:18:19 -05:00
Scot Breitenfeld
0e0fa10599 [svn-r21536] Desciption: Removed H5Eget_auto_f from source, moved to F2003_new branch for
further testing.

Tested: jam (gnu)
2011-10-12 23:49:36 -05:00
Scot Breitenfeld
c09f1dbc24 [svn-r21535] Description:
Updated to the robodoc headers comments, cleaned up the spacing of the 
source code which is included in the documenaton.

Tested: jam (intel)
2011-10-12 23:10:34 -05:00
HDF Tester
892d491c35 [svn-r21499] Snapshot version 1.9 release 94 2011-10-09 09:02:51 -05:00
Scot Breitenfeld
817bfb6499 [svn-r21475] Description: fixed C_LOC(X) non-standard argument X for multi-dimensional arrays detected using xlf compiler.
Tested: jam  (intel, gnu, pgi) F2003 compilers.
2011-10-04 23:51:08 -05:00
HDF Tester
9d793e7e5e [svn-r21443] Snapshot version 1.9 release 93 2011-10-02 09:35:04 -05:00
Allen Byrne
bae6ab5219 [svn-r21435] Add F2003 IF-ENDIF protection blocks around _F03 file processing 2011-09-30 09:01:49 -05:00
Scot Breitenfeld
1883ba281d [svn-r21434] Description: Removed 12 byte real tests and definition from fortran types, it was not used in the main fortran src.
Tested: jam (gnu, g95, intel)
2011-09-29 23:47:53 -05:00
Allen Byrne
d4509ea9ed [svn-r21422] Add 2003 examples to cmake build 2011-09-27 09:17:27 -05:00
HDF Tester
c27e3c313e [svn-r21415] Snapshot version 1.9 release 92 2011-09-25 09:27:41 -05:00
Scot Breitenfeld
0c7dc67ea1 [svn-r21406] Updated Makefile.in after updating from trunk. 2011-09-21 12:19:59 -05:00
Scot Breitenfeld
414c1654b3 [svn-r21405] Added dependencies, for HDF5.lo and HDF5mpio.lo, H5_ff_F90/F03.lo and H5_ff.lo
to resolve failures when building HDF5.lo and HDF5mpio.lo.

Tested: jam (gcc, mpi) using both: make  HDF5.lo and make HDF5mpio.lo
2011-09-21 12:15:06 -05:00
HDF Tester
645fae330d [svn-r21374] Snapshot version 1.9 release 91 2011-09-11 09:27:36 -05:00
Scot Breitenfeld
b87ae2b785 [svn-r21373] Description: Changed the robodoc keywords in the comments
to the RM documentation's standards.
2011-09-10 15:58:32 -05:00
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
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
HDF Tester
4f3950a882 [svn-r21329] Snapshot version 1.9 release 89 2011-08-28 09:29:14 -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
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
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
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
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
Allen Byrne
13426d47fe [svn-r21263] Add F2003 support to CMake builds 2011-08-19 10:11:10 -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
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
HDF Tester
144ed6d49b [svn-r21225] Snapshot version 1.9 release 88 2011-08-14 11:50:04 -05:00
Allen Byrne
13beaa1a6f [svn-r21194] Add parallel version of windows def file for fortran exports 2011-08-08 16:57:49 -05:00
Allen Byrne
09ecf212c6 [svn-r21193] Correct mis-spelled functions 2011-08-08 16:56:42 -05:00
HDF Tester
1144d0521d [svn-r21185] Snapshot version 1.9 release 87 2011-08-07 09:17:33 -05:00
Allen Byrne
5f232b2c91 [svn-r21171] Commit HDFFV-5929 winthreads define fix
Change reference of generated executables in src and fortran/src to use $<TARGETFILE:xxx> format.

Tested: local linux
2011-08-04 10:21:15 -05:00
HDF Tester
be78781ac6 [svn-r21158] Snapshot version 1.9 release 86 2011-07-31 09:01:13 -05:00
HDF Tester
b230a5e448 [svn-r21149] Snapshot version 1.9 release 85 2011-07-24 09:40:12 -05:00
Quincey Koziol
a777619a6b [svn-r21121] Description:
Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to
H5Rdereference2().

Tested on:
    Mac OS X/32 10.6.8 (amazon) w/debug
    (too minor to require h5committest)
2011-07-18 18:12:28 -05:00
Raymond Lu
304f19d730 [svn-r21117] Issue 2763 - I added a new parameter of object access property list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c.
Tested on jam, heiwa, and koala.
2011-07-18 16:23:02 -05:00
HDF Tester
4d805e42c4 [svn-r21033] Snapshot version 1.9 release 84 2011-06-26 10:54:32 -05:00
Scot Breitenfeld
d6ee2feb44 [svn-r21028] Description:
Changed the length of the fortran string passed to HD5packFstring in the function nh5pget_external_c. The 3rd
argument should be the fortran length of the string, not the C length of the string (which includes the null).

Tested: jam (intel and gnu), also checked the example h5ex_d_extern.f90 which detected the problem on Amazon c2
machine (reported by Larry).
2011-06-23 19:59:07 -05:00
HDF Tester
43fc4e4f7f [svn-r21000] Snapshot version 1.9 release 83 2011-06-19 11:13:58 -05:00
HDF Tester
f4ddc227c2 [svn-r20922] Snapshot version 1.9 release 82 2011-05-29 10:53:27 -05:00
HDF Tester
0db46e50d2 [svn-r20890] Snapshot version 1.9 release 82 2011-05-23 09:19:26 -05:00
Larry Knox
a2f52de36d [svn-r20720] Merge changes to scripts to run installed examples from hdf5 1.8.7 r 20718. The
default prefix in the scripts will use the compile scripts in the installed bin
 directory.
2011-05-04 11:43:16 -05:00
Mike McGreevy
98362b664c [svn-r20504] Purpose:
General shared library improvements for CYGWIN / AIX

Description:

    Shared libraries are disabled on both CYGWIN and AIX due
    to inability to build them correctly. Part of the problem
    in both of these situations is the lack of the libtool
    flag -no-undefined, which tells libtool that all needed
    symbols are defined at link time (a requirement on these
    systems) and that it's okay to build shared libraries.

    Another problem are lack of dependencies between wrapper
    libraries and core C HDF5 library.

    This patch addresses both of these by fixing configure to
    add in -no-undefined flag for libtool during linking and
    adds automake dependencies in the Makefile.am files.

    After testing, both CYGWIN and AIX now generate shared
    libraries, but there are still some test failures in each.
    (cache_api, dt_arith, and testerror.sh on CYGWIN, and
    fortran tests on AIX).

    Even though the shared libraries are not quite perfect,
    this is a general improvement to what we had before, so
    I'm applying the patch anyways. Note that default behavior
    of shared libraries on these systems being disabled has
    NOT been changed and requires the use of the
    --enable-unsupported to attempt to build them.

    We will need to address the test failures in each
    architecture prior to formally supporting shared
    libraries on each.

Tested:

    h5committested & CYGWIN tested (on bangan)
    (AIX tested by Albert on bp-login2)
2011-04-14 16:21:59 -05:00
Mike McGreevy
a45c7424b2 [svn-r20502] Purpose:
Add "silent make" mode configure option.

Description:

    Automake 1.11 has a new option available that allows for a
    silent make mode. This functionality needs to be explicitly
    enabled in configure.in via the use of the automake macro
    AM_SILENT_RULES, which is what this commit is adding.

    This introduces a new configure option: 

        --{en|dis}able-silent-rules

    This option is on by default, and simplies compile and link
    line outputs when building the library. Disabling this option
    will print full "verbose" output (i.e., full compile and
    linking lines for each target).

Tested:

    This was tested on jam & h5committested
2011-04-14 14:45:57 -05:00
Raymond Lu
6fc1d05359 [svn-r20487] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. This is a follow-up checkin for
r20440 and r20469:
  1. The dataspace code has another bug - when the maximal dimension isn't passed in for H5Sset_extent_simple, it
     is supposed to be same as the dimension.  The current library sets NULL to it.  I corrected it and added a
     test case to it.
  2. I corrected the tests of Fortran and C++ for this problem.

Tested on heiwa, jam, and amani.
2011-04-12 15:25:27 -05:00
Larry Knox
60abcfd2e8 [svn-r20482]
Fixed issue HDFFV-5866 (BZ 2156).  Changed scripts to run examples to use specific names for compiled executable files instead of a.out, which did not work on Cywin as it produces a.exe by default.  Removed issue from known problems section of RELEASE.txt.

Tested with Cygwin 1.7.8 on Windows 7.

This line, and those below, will be ignored--

M    release_docs/RELEASE.txt
M    hl/c++/examples/run-hlc++-ex.sh.in
M    hl/fortran/examples/run-hlfortran-ex.sh.in
M    hl/examples/run-hlc-ex.sh.in
M    c++/examples/run-c++-ex.sh.in
M    fortran/examples/run-fortran-ex.sh.in
M    examples/run-c-ex.sh.in
2011-04-12 12:58:57 -05:00
Mike McGreevy
e006157deb [svn-r20475] Purpose:
- Revise shared Fortran library disabling scenarios in configure
    - Improve configure output summary

Description:

    Shared Fortran libraries are not supported on Mac, but were being
    disabled by configure in a way that also forced the C libraries
    to be static-only. This has been fixed, so now only shared Fortran
    is disabled while shared C can remain.

    This prompted two additional changes:

        1. While working on the check that addresses whether or not
           shared Fortran libraries are allowed, removed old and no
           longer needed check(s) that disable shared Fortran
           libraries with HP, Intel 8, PGI, and Absoft compilers.
           (Essentially, Mac is the only situation in which Fortran
           shared are disabled by configure.)

        2. Having two different states of libraries (i.e. shared C
           library with static-only Fortran library) was not apparent
           in the configure summary, which labeled all libraries as
           either shared and/or static. I've added lines to both the
           C++ and Fortran output sections to list shared/static-ness
           of these libraries specifically.

    Additionally, I've made sure that the new --enable-unsupported
    configure option correctly overrides configure if it tries to
    disable a shared library.

Tested:

    jam, fred, & h5committest
2011-04-11 16:00:38 -05:00
Quincey Koziol
e9e713869c [svn-r20405] Description:
Bump patch release number, after giving out private snapshots.
2011-04-03 21:28:07 -05:00
Raymond Lu
3e8dc8cccc [svn-r20315] brought revisions 19868:20300 from the 1.8.6_vms branch to the trunk for VMS work 2011-03-24 13:33:45 -05:00
Allen Byrne
1a12719753 [svn-r20201] Order fflush tests - fflush2 DEPENDS on fflush1 2011-03-08 14:50:51 -05:00
Allen Byrne
05dfc85de8 [svn-r20153] Move ext lib handling for ext project building to a common macro. Update HDF5 project to use HDFMacros.cmake file. Add test properties for test ordering.
Tested: local linux, windows
2011-02-24 14:43:07 -05:00
Allen Byrne
5d320f5c89 [svn-r20141] Bring 1.8 r20139 cmake and windows changes to trunk 2011-02-22 09:55:04 -05:00
Quincey Koziol
a6d5fa2c7d [svn-r20061] Description:
Bring changes from Coverity branch to trunk:

r19930:
Fix memory leaks involving VL attributes in h5repack and h5diff.  The buffers in
copy_attr and diff_attr were not checked for the presence of a vlen before being
freed, and vlen storage was never reclaimed.  Added checks and calls to
H5D_vlen_reclaim().

r19933:
Purpose: Fix memory leak in H5L_move_cb()

Description: H5L_move_cb copied the source link using H5O_msg_copy() but freed
it manually using H5MM_xfree().  Since H5O_link_copy allocates the link using
H5FL_MALLOC, this causes the link to be allocated from the free list but is
never put back on the free list when it is freed.  This prevents the link free
list from shutting down properly.  Modified H5L_move_cb() and H5L_move_dest_cb()
to free the link properly using H5O_msg_free().

r19973:
Fix resource leaks by freeing string created by HD5f2string

r19974:
Issue #345: Inialize buf variable to null

Tested on:
    Mac OS X/32 10.6.6 (amazon) w/debug & production
    (h5committested on Coverity branch)
2011-02-07 19:53:45 -05:00
Elena Pourmal
ba13827093 [svn-r20033] Porblem: A typo caused compilation failures with gfortran 4.6 on fred.
Fixed.

Platforms tested: fred and jam (minor change)
2011-02-02 20:24:52 -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
449373deb3 [svn-r19870] Add tests for examples.
Tested: local linux
2010-12-03 17:26:37 -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
HDF Tester
97a3d197e1 [svn-r19740] Snapshot version 1.9 release 79 2010-11-07 08:31:35 -05:00
HDF Tester
398aaea3e6 [svn-r19701] Snapshot version 1.9 release 78 2010-10-31 09:11:50 -05:00
HDF Tester
2efc06789a [svn-r19666] Snapshot version 1.9 release 77 2010-10-24 09:12:06 -05:00
Quincey Koziol
ba66540462 [svn-r19654] Description:
Bring Coverity revisions from branch back to trunk, and clean up some other
misc. compiler warnings also.

r19500:
Fix coverity items 1446 and 1447.  Moved up calls to memset in test_cont in
ohdr.c so the test never tries to close uninitialized locations.

r19501:
Fix coverity items 1398-1445.  Various uninitialized variable errors in fheap.c.

r19502:
Fixed coverity issue 579 and some additional warnings in the file as well.

r19503:
Bug fix: This fix addressed the "RESOURCE_LEAK" problems #789 and 790, run 26

r19504:
minor mods to try to keep coverity from flagging false positives.

r19505:
Fixed coverity issues 566 - 571.  Declared variables that are passed to functions that use them as arrays to be arrays of size 1.


Tested on:
    Mac OS X/32 10.6.4 (amazon) w/debug, production & parallel
    (h5committested on trunk)
2010-10-21 08:08:44 -05:00
HDF Tester
ef168eb0d8 [svn-r19569] Snapshot version 1.9 release 76 2010-10-10 08:50:39 -05:00
Larry Knox
d1a1a1ff17 [svn-r19532] Added line to config/examples.am to remove execute permission from example source files tha
t are installed in .../share/hdf5_examples/.  This will address bugzilla #2025.

Tested with h5committest on amani, heiwa, and jam.
2010-10-07 09:42:52 -05:00
HDF Tester
e1cd1485b8 [svn-r19512] Snapshot version 1.9 release 75 2010-10-05 08:37:04 -05:00
Allen Byrne
342ce6b589 [svn-r19509] Improve CMake support for CYGWIN.
Correct script comment in testh5diff.sh

Tested: Windows Cygwin
2010-10-04 16:36:27 -05:00
Larry Knox
155b00d8ff [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs.
Tested on amani, heiwa and jam by h5committest and with CYGWIN.
2010-10-04 12:15:30 -05:00
Allen Byrne
b4be8ae3d5 [svn-r19434] Correct use of lib, include, bin in INSTALL commands to use proper variables.
Tested: local linux
2010-09-20 15:38:35 -05:00
Larry Knox
47c792faa0 [svn-r19366] Updated autoconf to version 2.6.7, libtool to version 2.2.10, and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion.
Tested with h5committest on amani, jam, and heiwa, and on linew.
2010-09-10 10:45:07 -05:00
Allen Byrne
bed1276413 [svn-r19361] Move Windows specific compile and link flags to macros 2010-09-09 11:30:23 -05:00
Allen Byrne
e65aa8c365 [svn-r19325] Added parallel build commands.
Corrected use/name of source folder aliases.
Duplicated FindMPI.cmake so that non-c++ compiler is found first (recommemded commands did not work).

Tested: local linux with mpich
2010-08-31 15:15:13 -05:00
HDF Tester
075f618e23 [svn-r19086] Snapshot version 1.9 release 74 2010-07-18 07:33:00 -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
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
HDF Tester
732eaaf99b [svn-r19031] Snapshot version 1.9 release 71 2010-06-28 07:24:51 -05:00
HDF Tester
cb72139f74 [svn-r19022] Snapshot version 1.9 release 70 2010-06-20 12:05:42 -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
Allen Byrne
9fc29cdd1c [svn-r18925] Updated install of fortran mod files
Tested: local linux
2010-05-28 16:29:01 -05:00
Quincey Koziol
2f5164b104 [svn-r18915] Description:
Clean up a couple of compiler warnings (in Windows).

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor to require h5committest)
2010-05-27 14:20:58 -05:00
Allen Byrne
60790e6092 [svn-r18898] Added fortran /dbglibs option to fortran compile flags for windows intel fortran case.
Duplicated windows intel fortran flag block for hl/fortran
2010-05-25 16:20:23 -05:00
Allen Byrne
ef292895e9 [svn-r18890] Update CMake fortran configure/build with changes from community.
- Add an install rule to copy compiled fortran module files
- Only build the xlatefile utility if testing and tools are enabled
- Don't do MPI HAVE_XXX checks until MPI_FOUND is true
- Install needs H5version.h & H5overflow.h to be copied
- Add debug information flags to debug compile and link lines for win32 Intel compiler
2010-05-25 11:00:56 -05:00
Allen Byrne
80e6dfe3ba [svn-r18856] Added CPack commands for installtion program
Tested: local linux and Windows
2010-05-19 15:11:00 -05:00
HDF Tester
49a6f7174d [svn-r18823] Snapshot version 1.9 release 69 2010-05-16 09:55:25 -05:00
Allen Byrne
ae06433ab0 [svn-r18793] Add files to support building library with CMake
Tested: Local linux
2010-05-13 11:01:50 -05:00
Mike McGreevy
f0ecd71307 [svn-r18709] Purpose:
Improve configure's large-file support control.

Description:

    Modified configure to now attempt to add defines necessary for
    supporting largefiles on all systems, instead of solely on linux. This 
    is in response to user requests to enable largefile support on Solaris 
    by default, as well as to give extra control on AIX (instead of just 
    jamming the necessary flag into the config files).

    The old --enable-linux-lfs flag has been removed in favor of the 
    --enable-largefile flag (enabled by default), which can be used on all
    platforms.

    On systems where large files cannot be supported in this manner,
    configure will report as such.

Tested:

    h5committest
    AIX (NCSA's blue_print machine)
    duty, liberty, and linew.
2010-05-05 12:34:26 -05:00
HDF Tester
54cd6ecec9 [svn-r18684] Snapshot version 1.9 release 68 2010-05-02 10:21:31 -05:00
HDF Tester
987bc92a01 [svn-r18589] Snapshot version 1.9 release 67 2010-04-18 08:59:45 -05:00
Mike McGreevy
0cf2a97cfb [svn-r18579] Purpose:
Autotool Upgrade / Libtool Bug Fix

Description:

    Updated autotools referenced in bin/reconfigure as follows:

    Autoconf 2.64 --> Autoconf 2.65
    Automake 1.11 --> Automake 1.11.1
    Libtool 2.2.6a --> Libtool 2.2.6b-mcg

    The referenced libtool version is a custom version of 2.2.6b. It 
    has been tweaked to fix a bug in libtool that occurs
    when using PGI 10.0 compilers. A check incorrectly categorizes
    the C++ compiler as version 1.0 instead of 10.0, and the link
    line is subsequently set up incorrectly and fails to compile.

    A patch has been made available and will be included in the next
    release of libtool, but in the meantime I've applied the patch to a custom
    installation as indicated above. This bin/reconfigure now references
    the custom installation, and the resulting configure script will correctly
    categorize the PGI 10.0 C++ compiler.

    Ran bin/reconfigure to regenerate configure and makefiles.

Tested:

    jam and amani with PGI 10.0 compilers.
    h5committest
2010-04-15 16:17:22 -05:00
Scot Breitenfeld
c068fe26da [svn-r18551] Description:
In order to compile stand-alone Fortran wrappers the following files need to be installed via make install:

(1) From the source: trunk/fortran/src/H5f90i.h
          - defines the character type and includes the file H5f90i_gen.h

(2) From the compiled source: trunk/fortran/src/H5f90i_gen.h
          - a generated file at hdf5 compile time relating the C types to the Fortran types for interoperability.

Since these C/Fortran types need to match those used in generating h5cc and h5fc commands we include the files H5f90i_gen.h and H5f90i.h in the hdf5/include install directory when Fortran is enabled.

the files are installed with the other fortran files in include and also removed when the installation is cleaned.

Test: jam
2010-04-13 14:12:54 -05:00
HDF Tester
3a0f7b3bba [svn-r18545] Snapshot version 1.9 release 66 2010-04-11 12:03:28 -05:00
HDF Tester
6ea7793875 [svn-r18508] Snapshot version 1.9 release 65 2010-04-04 08:43:55 -05:00
HDF Tester
c49b97ff38 [svn-r18465] Snapshot version 1.9 release 64 2010-03-28 08:41:02 -05:00
HDF Tester
689868202c [svn-r18432] Snapshot version 1.9 release 63 2010-03-21 08:42:10 -05:00
HDF Tester
0a4eadc0b9 [svn-r18406] Snapshot version 1.9 release 62 2010-03-14 10:04:16 -05:00
HDF Tester
ed2e263b3f [svn-r18350] Snapshot version 1.9 release 61 2010-02-28 08:37:04 -05:00
Scot Breitenfeld
5adc0f3807 [svn-r18226] Description:
Added H5T_CSET_UTF8_F to the list of possible values for cset in the description of h5tset_cset_f and h5tget_cset_f.

Tested: N/A, edited comments only.
2010-02-10 11:21:53 -05:00
HDF Tester
9daa1a55cd [svn-r18217] Snapshot version 1.9 release 60 2010-02-07 07:35:22 -05:00
Quincey Koziol
c462a2ec1f [svn-r18212] Description:
Bring revisions from Coverity fixing branch to trunk:

r18184:
Fixed Coverity issue 373.  Allocated memory freed in line 762 in case of error.

r18185:
Fixed Coverity issues 357 & 358.  Added check for NULL pointer before use.

r18186:
Fix coverity item 65.   Added code to h5unjam to correctly handle failures in
read() and write, and also to correctly handle writes that write less than
requested.

r18187:
Fix coverity items 115 and 116.   Added code to H5Tenum.c to correctly close
opened datatypes in case of failure.

r18188:
Fixed Coverity issue 46.  Check that dataset->shared is not null when freeing
memory after error.

r18190:
Fix coverity item 95.   Added code to H5T_create_vlen to correctly close
allocated datatype in case of failure.

r18191:
Fixed Coverity error 59.  Checked sfirst for -1 value before use in line 10533.

r18192:
Fix Coverity items 121 and 28

Added Asserts:
121: assert that all dimensions of count have values greater than zero.
28: assert curr_span pointer is not null before dereference.

Note: still need too add checks in hyperslab APIs that fail
     when count values are zero, and appropriate tests.

r18194:
Fixed Coverity issues 61 & 62. Checked variable snpoints for value < 0 in line
218.

Tested on:
    Mac OS X/32 10.6.2 (amazon) w/debug & production
    (already daily tested on coverity branch)
2010-02-04 21:56:25 -05:00
HDF Tester
1c05d48b93 [svn-r18199] Snapshot version 1.9 release 59 2010-01-31 07:29:07 -05:00