Commit Graph

325 Commits

Author SHA1 Message Date
Allen Byrne
feb14ea872 [svn-r23745] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed.
2013-06-10 12:46:48 -05:00
Scot Breitenfeld
c61fb7260a [svn-r23585] changed the integer kind in the enum to satisfy g95.
Tested: jam (g95, gfortran)
2013-04-14 16:19:40 -05:00
Scot Breitenfeld
337242feea [svn-r23576] added missing argument in check call.
tested: jam (g95,gcc))
2013-04-11 14:40:57 -05:00
Scot Breitenfeld
d7724485b0 [svn-r23475] added dll for verify_Fortran_INTEGER_4 2013-03-28 11:11:34 -05:00
Scot Breitenfeld
881cdef5f8 [svn-r23463] Added dllexport for verify_real_kind_7 2013-03-27 10:04:33 -05:00
Scot Breitenfeld
ebb18c5186 [svn-r23325] Description
------------

Fix for:
HDFFV-8149: h5pset_external_f API - the offset is declared integer which can cause problem if use 64-bit integer  

Added new type off_t, modified source files and added a new test.

Tested (jam, intel, gnu)
2013-03-05 00:06:59 -05:00
Allen Byrne
aff5c20a6a [svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
2013-02-18 15:56:21 -05:00
Scot Breitenfeld
f3da4919c4 [svn-r23297] Temporary fix: PGI COMPILERS seem to have a bug in the INQUIRE function,
waiting for an answer from PGI how to resolve the problem.

Tested: jam (pgi compiler)
2013-02-18 10:28:36 -05:00
Scot Breitenfeld
2ec529c035 [svn-r23296] Fix HDFFV-8312: Problem using NAG compiler and F2003 interface
added character bounds for C_LOC arguments.

Tested: jam (gnu)
2013-02-17 22:46:06 -05:00
Scot Breitenfeld
a976ca99a9 [svn-r23293] Fix for HDFFV-8268: Fortran wrapper for H5Fget_file_image function.
Tested: (jam, gnu,intel compilers)
2013-02-17 21:01:18 -05:00
Scot Breitenfeld
386f73823a [svn-r23236] Fix for: HDFFV-8223
Write a Fortran test for conversion fron enum to numeric type 

Tested (jam, gnu, intel)
2013-02-07 19:28:55 -05:00
Allen Byrne
2fba171a67 [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10 2013-01-14 13:35:30 -05:00
Allen Byrne
5697dc8f80 [svn-r23066] HDFFV-8265: create .def file during configure, added F2003 optional functions and refactor ISO_C_BINDING usage in cmake files
Tested: local cmake
2012-11-29 09:50:21 -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
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
Scot Breitenfeld
08a5424f60 [svn-r22839] removed unused variable.
tested: jam (pgi compiler)
2012-09-28 09:48:12 -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
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
Allen Byrne
1f8fb63581 [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
2012-08-23 11:07:43 -05:00
Larry Knox
edf83e5d1f [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-22 00:00:32 -05:00
Scot Breitenfeld
ce47ef777f [svn-r22510] Enabled the compilation of tH5E_F03.f90 2012-07-02 20:16:45 -05:00
Elena Pourmal
732ae085dc [svn-r22504] Maintenance:
See HELPDESK-643 issue in JIRA.
NAG Fortran compiler doesn't like the current tH5E_F03.f90 file that has only comments
and no executable statements. Removed tH5E_F03.f90 from the list of modules to build.

Tested on jam with Intel compiler using --enable-fortran2003 flag.
2012-06-29 15:39:42 -05:00
Scot Breitenfeld
24810fd216 [svn-r22392] Added test for h5tcreate_f with H5T_STRING_F option.
Cleaned-up formating and comments for h5tcreate_f.

Tested: jam (gnu compiler)
2012-05-22 23:47:31 -05:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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