Commit Graph

999 Commits

Author SHA1 Message Date
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
Quincey Koziol
fd70b2afa8 [svn-r18197] Description:
Trim trailing whitespace from source code files with this command:

find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//'

Tested on:
    None - eyeballed only
2010-01-29 23:29:13 -05:00
Quincey Koziol
fcc03a356b [svn-r18157] Description:
Bring back changes from Coverity session on 1/15/10:

r18111:
Fix Coverity issue #130: make certain that the cache gets freed on error.

r18112:
Fix Coverity issue #43 by making cache testing calls protected by 'pass'
variable.

r18113:
Fix Coverity issue #129 by releasing the cache on error.

r18115:
Coverity #45 fix: patched an error check in H5Screate_simple to prevent future dereferencing of a NULL point.
Added a verification in test/th5s.c.

r18116:
Fix Coverity issue #43 by releasing cache on error.

r18117:
Coverity #362,363 by adding HGOTO_DONE, freeing allocations and associated changes. REsolving coverity results #364-368, 369, 370-372, 377, 379, and 380.

r18118:
Fix Coverity issue #42: assert that cache & test specification pointer are
valid.

r18122:
Coverity #362,363 by adding HGOTO_DONE and freeing allocations. This also takes care of #357,358.

r18123:
Coverity #359-361, 373-376: Added HGOTO_DONE(FAIL) statement after checking allocation for NULL. Verified allocation is freed in done block.

r18128:
Fixed coverity issue #10 -- removed dead code.

Tested on:
    Mac OS X/32 10.6.2 (amazon)
2010-01-22 23:39:40 -05:00
HDF Tester
1e25bc217f [svn-r18120] Snapshot version 1.9 release 58 2010-01-17 07:25:27 -05:00
Albert Cheng
22da4232a4 [svn-r18107] bug 1673:
The mixed use of RUNTEST (original) and RUNTESTS (new) caused
confusion. E.g., the timings in test/ was still using the old
$RUNTEST.  It made more sense to use $RUNTEST which is used
by the dejagnu feature of automake.  So, I changed all
$RUNTEST or $RUNTESTS to $RUNEXEC.

config/commence.am & config/conclude.am are the two files
that got changes. Also fixed an error in test/Makefile.am.
The rest are changed by bin/reconfigure.

Tested: h5committested.
2010-01-12 18:58:30 -05:00
HDF Tester
a65b70ccc7 [svn-r18100] Snapshot 2010-01-10 07:33:23 -05:00
Scot Breitenfeld
e166bc571d [svn-r18098] Description:
Changed the link type definitions to match the changes made in the source. 
-                                     !  H5L_LINK_SOFT_F      - Soft link
-                                     !  H5L_LINK_EXTERNAL_F  - External link
-                                     !  H5L_LINK_ERROR _F    - Error
+                                     !  H5L_TYPE_HARD_F      - Hard link
+                                     !  H5L_TYPE_SOFT_F      - Soft link
+                                     !  H5L_TYPE_EXTERNAL_F  - External link
+                                     !  H5L_TYPE_ERROR _F    - Error

Tested: jam (intel)
2010-01-08 16:25:29 -05:00
Scot Breitenfeld
d7f7da1630 [svn-r18097] Desciption:
Changed comments to reflect changes made to the link_type names to match those in C (bug 1720) from,
   H5L_LINK_HARD_F, H5L_LINK_SOFT_F,H5L_LINK_EXTERNAL_F,H5L_LINK_ERROR_F 
   to
   H5L_TYPE_HARD_F, H5L_TYPE_SOFT_F,H5L_TYPE_EXTERNAL_F,H5L_TYPE_ERROR_F
   MSB January 8, 2010.

Tested: No source changed.
2010-01-08 15:55:11 -05:00
Scot Breitenfeld
3d585fe0fe [svn-r18074] Description:
renamed the fortran constants H5L_LINK_*_F to H5L_TYPE_*_F to be consistent with C as noted in bug 1720
2010-01-08 10:05:07 -05:00
HDF Tester
a65f27f30f [svn-r18059] Snapshot 2010-01-03 07:39:26 -05:00
Albert Cheng
ac5945b412 [svn-r18057] Bug fix: 1192
Description:
Fixed exit code (sometimes return code in Main) to follow the HDF5 standards.

Tested:
Jam, both serial and parallel.
2009-12-26 05:12:49 -05:00
HDF Tester
06ce6af638 [svn-r18047] Snapshot 2009-12-20 07:32:29 -05:00
HDF Tester
dc974e3de2 [svn-r18012] Snapshot 2009-12-13 07:35:57 -05:00
HDF Tester
94a00c768c [svn-r17973] Snapshot 2009-12-07 09:18:34 -05:00
Scot Breitenfeld
96f8c1a6a8 [svn-r17949] Description:
Added comments to subroutine arguments.

Tested: jam
2009-12-02 15:45:54 -05:00
HDF Tester
5a821b959b [svn-r17902] Snapshot 2009-11-17 09:27:25 -05:00
Mike McGreevy
f736e4ca18 [svn-r17775] Purpose:
h5cc link-line reordering

Description:

    Re-ordered flags in h5cc such that LDFLAGS appears after hdf5 library 
    include path. This is to ensure third party library locations don't 
    interfere with locating the correct version of hdf5 library.

Tested:

    passed daily tests in 1.8 branch (as verified by Larry just now).
2009-10-28 15:35:13 -05:00
HDF Tester
4af649f03d [svn-r17742] Snapshot version 1.9 release 50 2009-10-25 01:45:59 -05:00
Larry Knox
27a68642f1 [svn-r17670] Snapshot version 1.9 release 49 2009-10-18 11:40:34 -05:00
Larry Knox
64ffab6881 [svn-r17628] Snapshot version 1.9 release 48 2009-10-11 07:49:32 -05:00
Mike McGreevy
7ec079a515 [svn-r17616] Purpose:
CFLAGS overhaul

Description:

    Modified the way configure handles CFLAGS.

    (note: all changes also apply to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS).

    1. The configure process will now always preserve a user's CFLAGS
    environment variable setup. Any additional flags necessary for compilation
    added at configure time will be passed into the Makefiles as AM_CFLAGS,
    which is an automake construct to be used in addition to CFLAGS.

    This will allow a user to have the final say, as CFLAGS will always appear
    later in the compile line than AM_CFLAGS. Additionally, setting CFLAGS
    during make will no longer completely erase all flags set by configure,
    since they're maintained in AM_CFLAGS.

    2. Additionally, where possible, flags previously being assigned directly
    into CFLAGS (and thus propagating into h5cc) have now been redirected into
    H5_CFLAGS, so they're used ONLY for compiling hdf5, and not embedded into
    the h5cc wrapper script as well.

    *Note that H5_CFLAGS ultimately is assigned into AM_CFLAGS for use in the
    Makefiles. Complete description of changes and build process will be
    included in a Configure Document that Elena and I are working on.

    3. Removed unsupported config files. This includes:

       config/dec-osf*
       config/hpux11.00
       config/irix5.x
       config/powerpc-ibm-aix4.x
       config/rs6000-ibm-aix5.x
       config/unicos*

     4. Modified configure summary to display additional values. Specifically,
     appropriate AM_* variables are being shown, as well as H5_FCFLAGS and
     H5_CXXFLAGS, which were for some reason not already present.

Tested:

    - H5committest
    - Tested on all THG / NCSA machines, using several combinations of the more
      prominent configure options (c++, fortran, szip, threadsafe, parallel,
      et cetera). (Thanks to Quincey for rysnc testing setup!)
    - With regards to new automated testing, anything *necessary* for
      compilation will be caught by the daily tests as it stands now. (i.e.,
      if LDFLAGS is not properly set when szip is used, linking will fail).
      Additionally, with regards to which flags get into h5cc, if any
      *necessary* flags have been improperly removed, then daily tests should
      fail during make installcheck. Additional machine-specific desired
      behaviors and/or checks may have to be set up separately within the
      daily tests, so this is something to work on.
2009-10-08 10:17:30 -05:00
Larry Knox
be2d2abf86 [svn-r17589] Snapshot version 1.9 release 47 2009-10-04 07:56:18 -05:00
Quincey Koziol
37ec6dc75e [svn-r17582] Description:
Bring changes from file free space branch back to the trunk.  *yay!*

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 (smirom) 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-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.5.8 (amazon) in debug mode
        Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-10-01 21:08:59 -05:00
Larry Knox
96318e678f [svn-r17538] Snapshot version 1.9 release 46 2009-09-27 07:42:31 -05:00
Scot Breitenfeld
22d4097ff7 [svn-r17498] Bug 1471 - H5Tset_order_f missing constant option H5T_ORDER_NONE
- Fixed, added H5T_ORDER_NONE_F

Tested: smirom (g95, gfortran, ifort, pgf90)
        linew
2009-09-18 09:49:10 -05:00
Scot Breitenfeld
b7b9099627 [svn-r17487] Cleaned-up comments in h5lget_info_by_idx 2009-09-17 12:20:51 -05:00
Scot Breitenfeld
84527bc7ac [svn-r17482]
Bug 1652 -  h5lget_info_by_idx_f missing/broken functionalit
  * added returned val_sel, link_type and address that were missing

In the process, fixed the integer type in H5lget_info_f for address and val_sel

  * wrote test for val_sel, address, and link_type returned values

  * to check address values added h5Oopen_by_addr_f function and test program.

Tested: smirom (pgf90/pgcc, ifort/icc)
        linew
        jam (gcc/g95)
2009-09-15 15:19:02 -05:00
Scot Breitenfeld
fa3eab20dd [svn-r17473] Description:
Declared the variable H5L_LINK_EXTERNAL_F need for failing with the portland compiler.

Tested: jam (pgif90, pgcc)
2009-09-14 11:09:21 -05:00
Scot Breitenfeld
dd68ba15ea [svn-r17470] Bug fix:
Bug 1653 -  H5_LINK_* values defined in H5f90global.f90 are incorrect

The Fortran EQUIVALENCE constant variables did not match those from the C definitions, fixed.

Missed because there is not a Fortran test function that uses these constants. 

Tested: smirom (ifort, g95)
2009-09-11 16:50:47 -05:00
Larry Knox
458358f0bd [svn-r17446] Snapshot version 1.9 release 45 2009-09-03 13:02:46 -05:00
Mike McGreevy
4598a59f86 [svn-r17345] Purpose:
Updating autotools

Description:

    Installed new autotools and used them to reconfigure HDF5.

    - Automake upgraded to 1.11
    - Autoconf upgraded to 2.64
    - bin/reconfigure script edited to use new versions (on jam), and
      run to generate new configure script and Makefile.in's.
    - configure.in script edited to add "_cv_" to all AC_CACHE_VAL strings
      (in order to comply with new autoconf standard).
    
Tested:

    Tested on machines jam, smirom, liberty, linew.
    Tested w/ features c++, fortran, parallel.
    Tested w/ compilers gcc, pgcc, icc.

    Further testing via Daily Tests should catch any other outliers. Upon
    passing DT's, I'll propogate the new tools into 1.8, hdf4, et cetera.
2009-08-12 13:55:25 -05:00
Larry Knox
eb3fc461a4 [svn-r17343] Snapshot version 1.9 release 44 2009-08-12 08:27:39 -05:00