Commit Graph

516 Commits

Author SHA1 Message Date
M. Scot Breitenfeld
41b22417b7 Added path to source include files when building buidiface. 2016-09-26 12:08:18 -05:00
M. Scot Breitenfeld
7e5fcd3a4a Added rule to build buildiface program, without a rule, build would add repeated compile options when using the NAG compiler. 2016-09-26 11:49:06 -05:00
M. Scot Breitenfeld
8eb76e1f65 Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2016-09-22 12:48:53 -05:00
M. Scot Breitenfeld
392b8ce3c9 HDFFV-9973 Fortran library fails to compile and fails tests with NAG compiler
Fixes issues with KIND = BYTE assumptions.
2016-09-22 12:02:02 -05:00
Allen Byrne
583af563d9 Add missing target depends command 2016-09-21 12:22:16 -05:00
Allen Byrne
bc1d833a80 Fix typo 2016-09-21 10:49:48 -05:00
Allen Byrne
e219ee88e4 Add gen file technique to HL and test fortran libraries 2016-09-21 10:46:03 -05:00
Scot Breitenfeld
a4e4094c76 [svn-r30259] Fixed: HDFFV-9965: HDF5 Fails to build when sizeof or c_sizeof is not available in Fortran
Added the use of 'storage_size' if 'c_sizeof' is not available.

Tested (jelly, intel)
2016-08-05 13:30:53 -05:00
Scot Breitenfeld
0c2964383b [svn-r30078] Fixed -- HDFFV-9675 Removed unused variables in Fortran Library.
Tested Jelly.
2016-06-15 08:56:20 -05:00
Allen Byrne
7b291f3531 [svn-r29866] Add files to clear test generated files tests. 2016-05-04 10:24:16 -05:00
Allen Byrne
74f3326a67 [svn-r29862] Convert source list names from *_SRCS to *_SOURCES.
Add/convert most tools to use new HDF5_TOOLS_DIR instead of HDF5_TOOLS_SRC_DIR CMake VAR.
2016-05-04 10:06:05 -05:00
Dana Robinson
a1035bd806 [svn-r29336] Removed unused variables from Fortran code.
Updated gnu Fortran flags.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ Fortran
2016-03-08 01:38:33 -05:00
Allen Byrne
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Dana Robinson
19a8216bd5 [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configure
external dataset storage path behavior.

This check-in fixes a bug in the original check-in where the
external path stored in the file struct was not copied on reopen
causing subsequent dataset operations to fail.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
           autotools parallel (MPICH 3.1.4) w/ fortran
2016-02-22 16:40:03 -05:00
Scot Breitenfeld
fe2b65f3e4 [svn-r29172] Fixed double word typo in #ifdef H5_FORTRAN_HAVE_C_SIZEOF 2016-02-19 16:12:32 -05:00
Scot Breitenfeld
5126111606 [svn-r29165] Various rododoc fixes. Effects comments only. 2016-02-19 14:09:34 -05:00
Scot Breitenfeld
1b2c30753d [svn-r29155] HDFFV-9652: Add fortran wrappers/test for collective metadata functions
Tested: h5committest.new
2016-02-19 09:24:11 -05:00
Scot Breitenfeld
39fa385594 [svn-r29092] Fixed uninitialized return value from fortran API. 2016-02-11 16:50:22 -05:00
Scot Breitenfeld
c418bc964d [svn-r29062] HDFFV-9564: Implement VDS Fortran wrappers.
Tested: h5committest.new
2016-02-08 09:01:29 -05:00
Dana Robinson
9af344117c [svn-r27794] Reintegration merge of features/autotools_rework branch with trunk
NOTES:

- Developers will have to run autogen.sh before building with the autotools.

- autogen.sh takes the -p option to mimic the old bin/reconfigure behavior.

- The generated error, overflow and version headers have been left in place.

- The generated H5LT parser code has also been left in place.

- There are no changes for CMake users at this time.

Tested on: h5committest
2015-09-15 15:38:57 -05:00
Quincey Koziol
1023374492 [svn-r27768] Description:
Complete revamp of package initialization/shutdown mechanism in the library.
Each package now has a single init/term routine.

    This new way should avoid packages being re-initialized during library
shutdown and is also be _much_ more proactive about giving feedback for
resource leaks internal to the library.

    Introduces a new "module" header file for packages in the library
(e.g src/H5Fmodule.h) which sets up some necessary package configuration macros
for the FUNC_ENTER/LEAVE macros.  (The VFL drivers have their own slightly
modified version of this header, src/H5FDdrvr_module.h)

    Also cleaned up a bunch of resources leaks all across the library and tests,
along with addressing many warnings, as I encountered them.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    Linux/64 3.10.x (kituo) w/serial & parallel
    Linux/64 2.6.x (ostrich) w/serial
2015-09-13 22:58:59 -05:00
Allen Byrne
10da31a926 [svn-r27745] Merge trunk revision 27744 2015-09-10 09:11:17 -05:00
Dana Robinson
b106502c57 [svn-r27683] Restored the _POSIX_C_SOURCE flag that had been commented out
and modified the fortran/test/ Makefile.am to remove the build
error with Intel Fortran.

Tested on: h5committest
2015-09-05 17:56:59 -05:00
Allen Byrne
4906383c0f [svn-r27676] Fix dependencies of generated file 2015-09-04 08:55:29 -05:00
Allen Byrne
cbf5bb6b78 [svn-r27674] Attempt to fix race condition on windows 2015-09-03 16:45:17 -05:00
Scot Breitenfeld
33a2e52c6e [svn-r27663] Removed the lines:
# Source files are used for both the library and fortranlib_test.
# Automake will complain about this without the following workaround.
fortranlib_test_FCFLAGS=$(AM_FCFLAGS)
fortranlib_test_CFLAGS=$(AM_CFLAGS)

because they caused Fortran build rules (.f90.o, .F90.o) to be ignored, causing the CPP flags to be passed to the Fortran compiler, causing the xlf compiler to fail.

Tested: ostrich (xlf), h5committest
2015-09-02 11:33:12 -05:00
Allen Byrne
f72ed2d8dc [svn-r27648] Fortran executables depend on modules created by test library, add command to explictly enforce the building of the library before building executables. 2015-09-01 09:56:39 -05:00
Scot Breitenfeld
17f5ee3624 [svn-r27647] Added compiler check for PGI and CMake version.
CMake must be > v3.3 to compile with PGI due to
CMake bug in earlier versions.
2015-09-01 09:00:14 -05:00
Dana Robinson
59aa015d9f [svn-r27638] Merged r27500-27631 from trunk. 2015-08-31 23:36:17 -05:00
Scot Breitenfeld
e6f9fc5f7f [svn-r27625] Added preprocessor commands for PGI compiler.
tested: h5committest
2015-08-31 13:49:17 -05:00
Allen Byrne
6635d4c003 [svn-r27586] HDFFV-9497: Add back ALLOW_UNSUPPORTED OPTION.
Added new option SKIP_HDF5_FORTRAN_SHARED
2015-08-26 11:48:42 -05:00
Scot Breitenfeld
2faae30c8d [svn-r27585] disabled the test "test_userblock_offset"; it fails for unknown reasons on platypus with pgf90 compiler when reading the streamed file back. 2015-08-26 10:13:43 -05:00
Scot Breitenfeld
4939ee2419 [svn-r27580] Fix for:
HDFFV-9283
Add H5Dget_offset fortran wrapper

tested: h5committest
2015-08-25 16:49:36 -05:00
Scot Breitenfeld
1436a07905 [svn-r27537] Added new FCCPPFLAGS to avoid passing CPPFLAGS to the fortran pre-processor compiler (This mainly causes issues with the xlf compilers)
Tested: h5committest
2015-08-20 11:01:26 -05:00
Scot Breitenfeld
d06fee7bd2 [svn-r27517] Removed all perl scripts from configure.
Tested: h5committest
2015-08-17 16:12:03 -05:00
Dana Robinson
c27d180848 [svn-r27507] Merge of r27237-27500 from the trunk.
Tested w/ h5committest

NOTES: - The manifest may still be messed up.
       - Cmake fails since the dual binary work needs to be merged with
         this repo's CMake externals.
2015-08-14 14:58:54 -05:00
Scot Breitenfeld
caf0e7692a [svn-r27493] Trying again to merge the F2003_v1.10 branch to the trunk.
Tested: h5committest --PASSED--
2015-08-11 09:35:30 -05:00
Scot Breitenfeld
3b4696ccd1 [svn-r27489] reverted merge of branch 2015-08-10 20:22:33 -05:00
Scot Breitenfeld
a9bef45c75 [svn-r27470] svn merge -r27425:27460 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-08-05 16:35:30 -05:00
Allen Byrne
9e2434625d [svn-r27469] Merge from trunk with dual-binary CMake code.
Tested: local linux with CMake
2015-08-05 16:01:07 -05:00
Scot Breitenfeld
0040ee0c99 [svn-r27418] format clean-up 2015-07-21 10:19:07 -05:00
Scot Breitenfeld
2edc6a97db [svn-r27405] added implicit none 2015-07-17 16:15:23 -05:00
Scot Breitenfeld
a41f88bc3e [svn-r27404] Implemented new function to compare reals with adjustible precision tolerance. 2015-07-17 16:12:31 -05:00
Scot Breitenfeld
838755cf71 [svn-r27375] Moved generating Fortran 'test' code from the fortran src directory to the fortran 'test' directory. Updated autotools and cmake. 2015-07-13 14:37:28 -05:00
Scot Breitenfeld
717609a674 [svn-r27373] moved building generated test APIs to a sperated build program (was in fortran/src/H5_buildiface.F90) 2015-07-13 13:54:09 -05:00
Scot Breitenfeld
2a567e8155 [svn-r27326] Working version of cmake on linux. 2015-07-02 14:04:25 -05:00
Dana Robinson
fb27787c2a [svn-r27222] Merge of r27035-27221 from the trunk.
Tested on 64-bit linux VM:
    Serial: C++ and Fortran 2003
    Parallel: Fortran
2015-06-17 06:48:34 -05:00
Scot Breitenfeld
85bcb77904 [svn-r27221] Reworked Fortran autools REAL KIND detection. 2015-06-16 16:47:00 -05:00
Scot Breitenfeld
133a5c3681 [svn-r27188] Switch to using parameters for SELECTED_*_KIND and instead use numerical precision. 2015-06-10 14:58:34 -05:00
Scot Breitenfeld
f2d14c76b8 [svn-r27186] added fix for jam with promoted reals and integers 2015-06-10 14:15:08 -05:00
Scot Breitenfeld
625fc9db69 [svn-r27176] Removed debugging statements. 2015-06-09 16:51:27 -05:00
Scot Breitenfeld
62401ac7c6 [svn-r27167] more DT fixes 2015-06-09 12:05:09 -05:00
Scot Breitenfeld
32703c9fc5 [svn-r27164] various bug fixes for DT 2015-06-08 16:13:15 -05:00
Scot Breitenfeld
8641814c4e [svn-r27154] fixed issue with mis-matching long double between Fortran and C 2015-06-05 17:17:13 -05:00
Scot Breitenfeld
043173a689 [svn-r27151] fixed __float128 errors 2015-06-04 15:26:02 -05:00
Scot Breitenfeld
4d500d4902 [svn-r27140] fixed interger*16 support 2015-06-03 09:13:58 -05:00
Scot Breitenfeld
f486fe1a49 [svn-r27137] svn merge -r27115:27135 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-02 09:46:51 -05:00
Scot Breitenfeld
2069dbf25e [svn-r27134] Switched to uses a verify for each kind for the tests. Testing quad precision. 2015-06-01 14:49:54 -05:00
Mohamad Chaarawi
fc45d5fcb0 [svn-r27133] - Add a new attribute function characterstic for format:
* H5_ATTR_FORMAT(X,Y,Z)  __attribute__((format(X, Y, Z)))
- Rename UNUSED attribute characterstic to H5_ATTR_UNUSED.
- Rename NORETURN attribute characterstic to H5_ATTR_NORETURN

tested with h5committest.
2015-06-01 14:38:09 -05:00
Scot Breitenfeld
52e5579fba [svn-r27122] removed dependency on generatored fortran source code 2015-05-28 11:53:15 -05:00
Scot Breitenfeld
244784ab2c [svn-r27115] Moved testing KINDs and SIZEOFs to configure. 2015-05-27 17:07:18 -05:00
Dana Robinson
984ecb72c2 [svn-r27038] Merge of r26393-27031 from the trunk.
Tested on 64-bit linux VM w/ C++ and Fortran 2003
2015-05-07 16:05:14 -05:00
Scot Breitenfeld
2c575bb79a [svn-r26989] Changed the BIND(C) derived types from:
CHARACTER(LEN=1) to CHARACTER(KIND=C_CHAR) to make Sun compilers happy.
2015-05-01 11:25:32 -05:00
Scot Breitenfeld
82c1ce78d5 [svn-r26983] Added C_CHAR to compound type. 2015-04-30 09:39:57 -05:00
Scot Breitenfeld
b8b7d33f41 [svn-r26919] fixed real promoted to 8 bytes 2015-04-24 13:54:25 -05:00
Scot Breitenfeld
bf47c596a5 [svn-r26887] Fixed Function H5_SIZEOF_CHAR and assumed sized character length. 2015-04-22 14:31:58 -05:00
Scot Breitenfeld
f981d2e11e [svn-r26876] changed argument to SIZEOF. 2015-04-21 15:59:45 -05:00
Scot Breitenfeld
5e6d18e5be [svn-r26869] removed the --enable-fortran2003 option, it is now just --enable-fortran 2015-04-21 13:33:25 -05:00
Scot Breitenfeld
5fd5aa58ca [svn-r26847] combined H5test_kind programs 2015-04-20 14:15:30 -05:00
Scot Breitenfeld
0cc9b0c79f [svn-r26825] Added include for preprocessing fortran files with configure definitions 2015-04-16 13:36:34 -05:00
Larry Knox
3032f3adf3 [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure.
Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths.

Tested with h5committest.
2015-04-02 16:07:53 -05:00
Allen Byrne
45577d5693 [svn-r26660] HDFFV-9131: autotols rework
Remove CXX_CONDITIONAL
remove unneeded/obsolete sections.

h5commtitest
2015-03-30 13:55:21 -05:00
Scot Breitenfeld
13980cd69a [svn-r26657] Fix for HDFFV09202.
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests

Tested: jam( --enable-fortran2003, gnu)
        koala (--enable-fortran2003, intel)
2015-03-30 13:17:45 -05:00
Larry Knox
f617eeb78f [svn-r26645] Revert the part of revision 26642 that is in fortran/test and causes the error "undefined reference to `verify_fortran_integer_4_".
files:
    tH5P_F03.f90
    tf.f90

Tested:  h5committest and several failed daily tests.
2015-03-29 21:32:09 -05:00
Scot Breitenfeld
8e5a71c716 [svn-r26642] Fix for HDFFV09202 and HDFFV-9171.
HDFFV-9171 Configure mistakes Cray Compilers for Intel Compilers,
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests 

Tested: h5committest
2015-03-28 15:24:36 -05:00
Scot Breitenfeld
ff1c86df14 [svn-r26631] reverted change r26629 2015-03-27 17:16:49 -05:00
Scot Breitenfeld
d494d7b3b9 [svn-r26629] Fix for HDFFV09202 and HDFFV-9171.
HDFFV-9171 Configure mistakes Cray Compilers for Intel Compilers,
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests 

Tested: h5committest
2015-03-27 17:10:24 -05:00
Allen Byrne
451a91e53b [svn-r26594] Merge macros and fortran changes from dual_binary feature.
Tested: local linux
2015-03-25 17:08:46 -05:00
Jerome Soumagne
1cd7c16a9d [svn-r26509] Run reconfigure after merges from autotools_rework branch. 2015-03-20 14:15:51 -05:00
Scot Breitenfeld
c26d21bb63 [svn-r26481] Removed compiler warnings. HDF5-239
Tested: h5committest.
2015-03-19 14:14:19 -05:00
Scot Breitenfeld
8f8cbb6225 [svn-r26479] Fix for: HDFFV-9162
h5pget_class_f should return hid_t for classtype

Also removed all left over C comment artifacts /* and */ in the Fortran comments.

Tested: h5committest
2015-03-19 12:11:47 -05:00
Dana Robinson
7462a7ef1c [svn-r26329] Merge of r26069, r26070, and r26072 from the features/autotools_rework
branch.

Removed the configure option that allows selective disabling of individual
internal filters (fletcher32, shuffle, etc.).

This feature mucked up the code with a lot of #ifdefs, saved very little space,
and was not scalable to a general scheme for library size reduction. We've
decided to remove the feature while we investigate a more general scheme for
decreasing the library size.

Part of: HDFFV-9086

Tested on: h5committest
2015-02-27 07:50:38 -05:00
Mohamad Chaarawi
c4044e0c85 [svn-r26303] remove files with .clog2 extension generated by MPE when doing make clean. 2015-02-25 13:48:31 -05:00
Dana Robinson
c07d803659 [svn-r26274] Merge of r26096 to r26271 from trunk.
Tested on: jam - serial: C++/Fortran
                 parallel: Fortran
2015-02-22 07:16:30 -05:00
Allen Byrne
f679b9006d [svn-r26253] Update CMake with fortran source properties and defines, correct name of hl fortran examples option check 2015-02-20 12:25:56 -05:00
Scot Breitenfeld
3eeed2f1d5 [svn-r26241] Fixed issue with default 8 byte integers using xlf compilers. 2015-02-19 11:17:16 -05:00
Scot Breitenfeld
27a385d557 [svn-r26214] Fix for HDFFV-8908:
h5tenum_insert_f does not work with default 8 byte integers (xlf compiler)
2015-02-18 13:51:13 -05:00
Scot Breitenfeld
3a303d3dd3 [svn-r26211] revert ci 26204 2015-02-18 12:45:42 -05:00
Allen Byrne
73bb11dda3 [svn-r26208] Update cmake minimums 2015-02-18 11:56:22 -05:00
Scot Breitenfeld
a75fd4c960 [svn-r26205] Fix for HDFFV-8908:
h5tenum_insert_f does not work with default 8 byte integers (xlf compiler)
2015-02-18 11:42:47 -05:00
Scot Breitenfeld
b28b5fade9 [svn-r26188] Merged autotools fixes into the trunk:
HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
2015-02-16 12:17:49 -05:00
Mohamad Chaarawi
74fbb9e327 [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch:
- Remove Infering parallel compilers (C and Fortran) from configure.ac
- Remove restriction to build shared with parallel
- Cleanup parallel sections in configure.ac
- remove large file support checks
- MPE fixes.

tested with h5committest.
2015-02-16 11:17:03 -05:00
Allen Byrne
ab75986b8c [svn-r26161] Fix cmake case.
Turn on F2003 by default.
Set source properties in fortran cmake files.
2015-02-12 16:52:48 -05:00
Scot Breitenfeld
167619a75d [svn-r26132] reverted change 26177
svn merge -c -26117 .

Shared Fortran libraries don't work on Mac, the check for building shared on Mac needs to stay in.
2015-02-05 14:36:51 -05:00
Scot Breitenfeld
8a528170ec [svn-r26117] Autotools work HDFFV-9067,
Removed restiction of disabling shared libraries on the MAC, H5_FORTRAN_SHARED was replaced with HAVE_SHARED_CONDITIONAL since H5_FORTRAN_SHARED was removed.

tested: jam
2015-02-03 10:42:15 -05:00
Dana Robinson
e2240d544e [svn-r26097] Removed configure and Makefile.in files from version control.
Developers will now have to run bin/reconfigure (deprecated, will be removed
soon) or autogen.sh after checking out code.

Part of: HDFFV-9120

Tested on: jam with Fortran and C++
2015-02-02 02:50:25 -05:00
Dana Robinson
45aece2434 [svn-r26069] Removed the option to selectively disable internal filters like n-bit
at compile time.

Fixes HDFFV-9086

Tested on: jam, both serial and parallel w/ fortran & C++
2015-01-29 08:19:22 -05:00
Scot Breitenfeld
4d34a0c6ad [svn-r26051] Fix for HDFFV-9092
Change AC_TRY_RUN TO AC_TRY_COMPILE

Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use
AC_COMPILE_IFELSE and moved all the tests to new files in m4 directory:

aclocal_cxx.m4 (for C++ tests)
aclocal_fc.m4 (for Fortran tests)

tested: jam
2015-01-27 12:17:09 -05:00
Quincey Koziol
b65eae7aee [svn-r25929] Description:
Clean up EOF code within library and add 'mem_type' parameter to 'get_eof'
VFD callback, to avoid various ambiguous situations, particularly with the
multi VFD.  (Supports changes for 'avoid_truncate' feature also)

Tested on:
    MacOSX/64 10.10.1 (amazon) w/serial & parallel
    h5committest forthcoming
2014-12-29 01:02:06 -05:00
Scot Breitenfeld
6f2f584c42 [svn-r25626] Changed the callback function integer type from INTEGER to INTEGER(C_INT) for portability, HDFFV-8909. 2014-09-26 09:25:04 -05:00