summaryrefslogtreecommitdiffstats
path: root/fortran
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanupAllen Byrne2020-05-1224-191/+191
|
* TRILAB-192 - merge changes from developAllen Byrne2020-04-074-280/+135
| | | | Single source, config files, for warnings for both autotools and CMake. Update CMake libraries, tools, tests to use correct flags.
* Copy generated files instead of creating twiceAllen Byrne2020-02-251-8/+32
|
* Merge changes from develop mostly cmake 3.12 minimum versionAllen Byrne2020-02-235-5/+5
|
* Corrected INTERFACE INTENT(IN) to INTENT(OUT) for buf_sizeM. Scot Breitenfeld2020-02-181-1/+1
|
* HDFFV-11018 Add Fortran H5F_LIBVER_V*_F definitionsM. Scot Breitenfeld2020-02-118-65/+133
| | | | | | | | | | | | | | | | | | Added ------ New Definitions: INTEGER :: H5F_LIBVER_ERROR_F INTEGER :: H5F_LIBVER_NBOUNDS_F INTEGER :: H5F_LIBVER_V18_F INTEGER :: H5F_LIBVER_V110_F INTEGER :: H5F_LIBVER_V112_F New API: h5pget_libver_bounds_f(fapl_id, low, high, hdferr) Removed: call to C wrapper h5pset_libver_bounds_c in h5pset_libver_bounds_f
* HDFFV-11012 fix fortran include propertiesAllen Byrne2020-02-052-4/+4
|
* Squashed commit of the following:David Young2020-01-312-14/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit ff7a9a34de2fcd78f5d32a1532f3d0e224b20d94 Author: Kimmy Mu <kmu@hdfgroup.org> Date: Wed Jan 29 14:12:18 2020 -0600 Merge pull request #2324 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_12 to hdf5_1_12 * commit '781fa57f6ee816e037dd12fff02d37ff7ec9c2b1': pick up missing piece from merge Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop remove redundent definition Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to develop Merge pull request #2315 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop missing prototype warning prototype issue Merge pull request #2306 in HDFFV/hdf5 from ~KMU/hdf5:develop to develop Merge pull request #2300 in HDFFV/hdf5 from ~KMU/hdf5:squashed_cast to develop Merge pull request #2291 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/uninitialized to develop Merge pull request #2295 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/float to develop Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to develop Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to develop commit 9f3d808c05d2a3b308f32c958c6671fcac0a432c Author: David Young <dyoung@hdfgroup.org> Date: Wed Jan 29 11:43:55 2020 -0600 testpar/t_2Gio.c: Fix a typo that I think was introduced by a previous warnings PR. An array element was assigned to itself---shape[2]Â =Â shape[2];---instead of being assigned to chunk[2]. fortran/src/H5Pf.c: move conditional compilation controlled by H5_NO_DEPRECATED_SYMBOLS outside of a function for readability. fortran/src/H5match_types.c: put a variable's declaration under the same conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its use. For now, skip compilation of some unused debug dump routines in the JNI. While I'm in the JNI, delete a set-but-unused variable. src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS so that it's not declared but unused or vice versa. test/cache_common.h: add an #include in to get some symbols we need to avoid implicit declaration warnings. test/dsets.c: use a more conventional conditional-compilation syntax. test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized variables before use. test/vfd.c: pass the expected type of `void **` to posix_memalign(3) instead of `int **`. testpar/t_bigio.c: explicitly compare with 0 instead of using ! when "equal to 0?" is the question not "is false?" Repair some indentation while I'm here. testpar/testpar.h: repair misaligned line-continuation backslashes in a macro that probably should be a function so that we don't have to fiddle with the line continuation to begin with. tools/src/h5repack/h5repack_main.c: fix some compiler fussing about enums. tools/test/perform/pio_engine.c: the compiler fusses if you cast a function call returning double directly to off_t. It's ok if you cast a variable that's a double to off_t, however. Write and use a new function, sqrto(), to avoid the cast warnings. commit 43a4b80b21c0329fbc1f9a0e2854795189f0bb50 Author: David Young <dyoung@hdfgroup.org> Date: Wed Jan 29 10:47:30 2020 -0600 Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required. Reduce gratuitous casts---e.g., (size_t)1. Use the right format string for a pointer. In the H5C sanity checks, change a "size increase" variable from ssize_t (too narrow) to int64_t (wide enough). Parenthesize every appearance of `storage` in the macro `H5D_CHUNK_STORAGE_INDEX_CHK(storage)` so that you can pass in an expression like &sc and it works properly. Disallow re-assignment of the `dset` parameter to H5D__chunk_init() because it helped assure me that it's safe to replace the repeating expression `&dset->shared->layout.storage.u.chunk` with `sc` throughout. Replace lengthy expressions such as `&dset->shared->layout.storage.u.chunk` with `sc` throughout several functions in H5Dchunk.c ISTR that the compiler warned that `sc` was declared but unused in a couple of functions, and then I found that `sc` could be used in many places. Maybe the disused `sc` appeared because a bunch of code was copied and pasted, I don't know. Anyway, it's a lot tighter code now that I use `sc`. In H5D__chunk_update_old_edge_chunks() and H5D__chunk_delete() I actually expand `sc` and another temporary variable, `pline`, because they're used only in !defined(NDEBUG) code. This squashes unused-variable warnings in the defined(NDEBUG) configuration. Don't drop the `volatile` qualification with a cast in tools/src/h5import/h5import.c. commit 035bfa0769a4012881fc659b673bacf44d146537 Author: David Young <dyoung@hdfgroup.org> Date: Tue Jan 28 20:35:28 2020 -0600 Reduce differences between my -Werror branch and `develop`: Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
* Merge pull request #2331 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to ↵Allen Byrne2020-01-311-12/+30
|\ | | | | | | | | | | | | | | | | | | | | hdf5_1_12 * commit 'a29f9e8451ffa391c8395db1142bd003f40f3aaa': Merge changes from develop to fix various issues Remove commented flags Revert accidental change Chnage tools debug macros to not use the error stack Create common warnings for build systems
| * Merge changes from develop to fix various issuesAllen Byrne2020-01-301-12/+30
| |
* | Introduce new H5VL _by_value routinesJordan Henderson2020-01-293-31/+115
|/
* Improved CMake options for testsAllen Byrne2020-01-194-71/+77
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-1918-486/+523
|
* Cherry pick of 0225e6d5969Quincey Koziol2020-01-042-9/+9
|
* Apparently, + has no special meaning, and neither does \+, in so-calledDavid Young2019-12-191-1/+1
| | | | | | | | "obsolete" / POSIX "basic" regular expressions. Also, not every version of `sed` out there supports the `-E` option. So delete the -E flag and use the regex `[^/][^/]*` instead of `[^/]+`. Add config/netbsd to the MANIFEST.
* Make these scripts relocatable again: derive a relative path for theDavid Young2019-12-191-1/+24
| | | | | | | original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived.
* Let us override the examples directory using --with-examplesdir=DIR.David Young2019-12-192-3/+3
| | | | | | | | | This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Place hdf5_examples/ under ${datarootdir} which on most systems will be ${prefix}/share/, anyway.
* Under the examples directories, always find the installed HDF5David Young2019-12-191-1/+1
| | | | | | | | | | executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Examples on NetBSD are installed at ${prefix}/share/examples/hdf5/ instead of at ${prefix}/share/hdf5_examples/, by convention. It may be the same on other BSDs, I'm not sure.
* Revert "Merge branch 'hdf5_1_12' of ↵Jerome Soumagne2019-12-092-27/+4
| | | | | | | https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into hdf5_1_12" This reverts commit 9f9336a5bd541752f472bab4c93da8de89f862cd, reversing changes made to 437a1919e7ba60fe75a33a466d264183a0255319.
* Merged HDFFV-10929_2GB_testing to hdf5_1_12Richard Warren2019-12-062-4/+27
|
* Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim()Jerome Soumagne2019-10-081-8/+8
|
* Merge pull request #1826 in HDFFV/hdf5 from ↵Dana Robinson2019-08-014-4/+4
|\ | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:develop_minor_pr to develop * commit '4227b8948d7091205b4f8dc1271d7dcae01bb0fb': Reverts the removal of config/conclude_fc.am while keeping the changes to config/gnu-fflags. Fixed a couple of typos.
| * Reverts the removal of config/conclude_fc.am while keepingDana Robinson2019-08-014-4/+4
| | | | | | | | the changes to config/gnu-fflags.
* | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-07-297-7/+9
|\ \ | |/ | | | | | | | | | | | | * commit 'd169391529f253a9903b8e6cacf38c59ceefab07': Parallel Fortran tests now use the MPI module instead of including mpif.h. First stab at gfortran versions. Tested on gfortran 7-9 so far. Moved the -std=f2008 option to gfortran 9 for now. Updated gfortran options. * Removed conclude_fc.am, which was causing verbose builds. Need to investigate more, though. * Added gfortran 9 warnings and flags. This will need to be separated into other version blocks based on when the options first appeared. * The standard is now explicitly set at 2008.
| * Merge pull request #1808 in HDFFV/hdf5 from ↵Dana Robinson2019-07-297-7/+9
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:gnu-flags-work to develop * commit '7d291d059da6287f769951c4854c566da0b93ce8': Parallel Fortran tests now use the MPI module instead of including mpif.h. First stab at gfortran versions. Tested on gfortran 7-9 so far. Moved the -std=f2008 option to gfortran 9 for now. Updated gfortran options. * Removed conclude_fc.am, which was causing verbose builds. Need to investigate more, though. * Added gfortran 9 warnings and flags. This will need to be separated into other version blocks based on when the options first appeared. * The standard is now explicitly set at 2008.
| | * Parallel Fortran tests now use the MPI module instead of includingDana Robinson2019-07-193-3/+5
| | | | | | | | | | | | mpif.h.
| | * Updated gfortran options.Dana Robinson2019-07-174-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | * Removed conclude_fc.am, which was causing verbose builds. Need to investigate more, though. * Added gfortran 9 warnings and flags. This will need to be separated into other version blocks based on when the options first appeared. * The standard is now explicitly set at 2008.
* | | HDFFV-10529 Update CMake tests to use test fixturesAllen Byrne2019-07-232-42/+57
|/ /
* | HDFFV-10845 use of TARGETFILE disables auto emulatorAllen Byrne2019-07-172-8/+14
| |
* | HDFFV-10845 add_custom_command requires emulatorAllen Byrne2019-07-172-6/+6
| |
* | Correct install syntaxAllen Byrne2019-07-171-7/+21
| |
* | HDFFV-10845 fix configure check and PATHsAllen Byrne2019-07-171-1/+1
|/
* Fix packaging issueAllen Byrne2019-07-111-2/+7
|
* HDFFV-10581 fix locations for static pdb filesAllen Byrne2019-07-081-2/+2
|
* Updated configure & CMake compiler flags for GCC 8.x, along with correspondingQuincey Koziol2019-06-283-9/+7
| | | | | changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
* Fix fortran test and test library linkingAllen Byrne2019-06-231-6/+6
|
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-213-4/+0
| | | | clean up warnings.
* Add missing fortran modsAllen Byrne2019-06-191-0/+2
|
* Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-06-191-0/+50
|\ | | | | | | | | * commit 'cc267767af89bf95807afc4e7b25d82638ef4892': HDFFV-10616 add h5fc script
| * Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-06-191-26/+28
| |\ | | | | | | | | | | | | * commit 'b9ec6a6400a556b1250c249e158c4fffafccd550': fixed pass_through vol
| * | HDFFV-10616 add h5fc scriptAllen Byrne2019-06-191-0/+50
| | |
* | | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-06-191-26/+28
|\ \ \ | | |/ | |/| | | | | | | * commit 'b9ec6a6400a556b1250c249e158c4fffafccd550': fixed pass_through vol
| * | Merge pull request #1746 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to developScot Breitenfeld2019-06-191-26/+28
| |\ \ | | |/ | |/| | | | | | | * commit 'a67c578e4b9275fa12b427b6e13021536838a448': fixed pass_through vol
| | * fixed pass_through volM. Scot Breitenfeld2019-06-181-26/+28
| | |
* | | Cleanup possible CMake target conflictsAllen Byrne2019-06-191-5/+4
|/ /
* | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-06-183-0/+466
|\ \ | |/ | | | | | | | | | | | | * commit '712a2a13d8add828d053135a172abb2e819d59ad': Fixed a warning in H5CX.c concerning incorrect use of freeing VOL connector info. Add H5S_SEL_ITER_SHARE_WITH_DATASPACE selection iterator creation flag, to share dataspace's selection with iterator (and with caution about not modifying or closing the dataspace while the iterator is open). Fix misc. typos, etc. from code review New hyperslab selection routines and new public selection iterator routines.
| * New hyperslab selection routines and new public selection iterator routines.Quincey Koziol2019-06-163-0/+466
| |
* | HDFFV-10805 Add option to only build shared targetsAllen Byrne2019-06-185-773/+435
|/ | | | | HDFFV-10805 Add ONLY_SHARED_LIBS option and prefer shared over static HDFFV-10803 Update FindSZIP.cmake find module Remove unneeded modules and update java modules
* fixed linked library for testingM. Scot Breitenfeld2019-06-141-1/+1
|
* added missing MOD dependencyM. Scot Breitenfeld2019-06-143-7/+5
|