summaryrefslogtreecommitdiffstats
path: root/hl/fortran/examples
Commit message (Collapse)AuthorAgeFilesLines
* Sync 1.14 branch with develop (#3705)jhendersonHDF2023-10-181-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Address nagfor exceptions stoppage. (#3658) * added cmake ieee flag for nagfor * generalized determining the nag compiler * fixing some misc. NAG warnings * Simplify. (#3659) * Address @jhendersonHDF review * Add expedited testing support to t_filters_parallel (#3665) * Remove clang warnings (#3656) * Fixes test failure for gfortran -O2 and -O3, -fdefault-real-16 (#3662) * added cmake ieee flag for nagfor * fixes gfortran -O2 and -O3, -fdefault-real-16 * fixed sync * updated release notes * Fix link error on clang17/gfortran13/macOS-13 (#3666) (#3671) * Correct fortran CMake generator expressions (#3670) * Add AOCC GitHub Action (#3504) (#3657) * Fix uninitialized subfiling test variable (#3675) Picked up by gcc 10 on skybridge. Probably spurious, but no harm in initializing it to a "bad" value. * Add support for AOCC & Flang w/ the Autotools (#3674) * Adds a config/clang-fflags options file to support Flang * Corrects missing "-Wl," from linker options in the libtool wrappers when using Flang, the MPI Fortran compiler wrappers, and building the shared library. This would often result in unrecognized options like -soname. * Enable -nomp w/ Flang to avoid linking to the OpenMPI library. CMake can build the parallel, shared library w/ Fortran using AOCC and Flang, so no changes were needed for that build system. Fixes GitHub issues #3439, #1588, #366, #280 * Fix a strncpy call to use dest size not src (#3677) A strncpy call in a path construction call used the size of the src buffer instead of the dest buffer as the limit n. This was switched to use the dest size and properly terminate the string if truncation occurs. * Remove CANBE_UNUSED() from subfiling VFD (#3678) This macro was an attempt to quiet warnings about release mode unused variables that only appear in asserts. It resolves to a void cast, which doesn't quiet warnings when an assignment has already taken place. * Suppress MPI_Waitall warnings w/ MPICH (#3680) MPICH defines MPI_STATUSES_IGNORE (a pointer) to 1, which raises warnings w/ gcc. This is a known issue that the MPICH devs are not going to fix. See here: https://github.com/pmodels/mpich/issues/5687 This fix suppresses those issues w/ gcc * Fix a possible NULL pointer dereference in tests (#3676) The dtypes test could dereference a NULL pointer if a strdup call failed. * Fix printf warnings in t_mpi (#3679) * Fix printf warnings in t_mpi The type of MPI_Offset varies with implementation. In MPICH, it's long, which raises warnings when we attempt to use long long format specifiers. Casting to long long fixes the warnings. * Fix invalid memory access in S3 comms (#3681) In the ros3 VFD, passing an empty string parameter to an internal API call could result in accessing the -1th element of a string. This would cause failures on big-endian systems like s390x. This parameter is now checked before writing to the string. Fixes GitHub #1168 * Add Doxygen for H5Pset_fapl_sec2() (#3685) * * switch to using time function instead of date function (#3690) * Initialize API context MPI types to MPI_BYTE (#3688) * Add test info output to t_filters_parallel (#3696) * Suppress format string warnings in subfiling test (#3699) * Fix unused variable in tselect.c (#3701) * Fix unused variable warning in H5F_sfile_assert_num (#3700) * Restore floating-point suffixes in tests (#3698) A prior commit removed too many F suffixes. This restores the suffixes for float variables. * Sync with changes from develop --------- Co-authored-by: Scot Breitenfeld <brtnfld@hdfgroup.org> Co-authored-by: H. Joe Lee <hyoklee@hdfgroup.org> Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
* Update copyright headers (#2184)Larry Knox2022-11-013-8/+5
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Update CMake code to 3.18 minimum version (#2080)Allen Byrne2022-09-031-1/+1
| | | | | * Update CMake code to 3.18 minimum version * Updated release note
* Removes cmake_ext_mod (files moved to cmake) (#2041)Dana Robinson2022-08-191-1/+1
| | | | At one time this content was a git submodule shared between several projects but that time has long passed.
* Develop cmake clean (#1971)Allen Byrne2022-08-071-4/+19
|
* Update license url part2 (#333)Larry Knox2021-02-175-5/+5
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - files not in src or test.
* Fix DS examples (#307)Scot Breitenfeld2021-02-041-1/+2
| | | | | * fixed missed closing of a dataset * fixed missed closing of a dataset
* Make examples installation respect DESTDIR. FixesDavid Young2020-05-261-2/+2
| | | | HDFFV-11060.
* Trim trailing whitespaceQuincey Koziol2020-04-202-22/+22
|
* Remove overzealous additionsAllen Byrne2020-04-051-2/+1
|
* Flag construction must be after compiler detectionAllen Byrne2020-04-051-19/+9
|
* TRILAB-192 add c++ and fortran warnings build systems one fileAllen Byrne2020-04-051-10/+5
|
* TRILAB-142 Change minimum CMake version to 3.12Allen Byrne2020-02-211-1/+1
|
* HDFFV-11001 need to qualify all by parallel or serial typesAllen Byrne2020-01-151-1/+1
|
* HDFFV-11001 Add fine control over testingAllen Byrne2020-01-151-1/+1
|
* Let us override the examples directory using --with-examplesdir=DIR.David Young2019-10-032-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-10-031-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.
* Merge pull request #1826 in HDFFV/hdf5 from ↵Dana Robinson2019-08-011-1/+1
|\ | | | | | | | | | | | | | | ~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-011-1/+1
| | | | | | | | the changes to config/gnu-fflags.
* | Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)Allen Byrne2019-07-291-1/+1
|\ \ | |/ | | | | | | | | | | | | * 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-291-1/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | ~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.
| | * Updated gfortran options.Dana Robinson2019-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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-231-4/+6
|/ /
* | HDFFV-10845 use of TARGETFILE disables auto emulatorAllen Byrne2019-07-171-1/+2
|/
* HDFFV-10805 Add option to only build shared targetsAllen Byrne2019-06-181-13/+29
| | | | | 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
* Change prefix in example scripts to relative path to bin. This was doneLarry Knox2018-08-231-1/+1
| | | | | for 1.8, and works wherever installed without the need to replace the original prefix.
* Add missing module_dir propertyAllen Byrne2018-05-091-0/+1
|
* Correct command usageAllen Byrne2018-05-071-1/+1
|
* Remove APPENDAllen Byrne2018-05-031-1/+1
|
* Revert to old style for LINK_FLAGS gen expr not workingAllen Byrne2018-05-031-6/+9
|
* LINK_FLAGS must be separate property setsAllen Byrne2018-05-031-6/+6
|
* Fix link flags syntaxAllen Byrne2018-05-031-3/+3
|
* Revert refactor link flagsAllen Byrne2018-05-021-3/+3
|
* refactor link flags to interfaceAllen Byrne2018-05-021-3/+3
|
* TRILABS-19 Link flags need - characterAllen Byrne2018-05-021-1/+1
|
* TRILABS-19 fix fortran link flagsAllen Byrne2018-04-301-1/+1
|
* TRILABS-19 Refactor fortran propertiesAllen Byrne2018-04-301-9/+17
|
* TRILABS-19 remove add_defintions and use generator expressionsAllen Byrne2018-04-261-4/+5
|
* TRILABS-20 set a compiler name on all project commandsAllen Byrne2018-04-201-1/+1
|
* TRILABS-19 Initial conversion of include_directories to targetsAllen Byrne2018-04-171-8/+1
|
* Change CMake min to 3.10Allen Byrne2018-03-091-1/+1
|
* Inc CMake min, Add new tests, rework test CMake filesAllen Byrne2018-02-271-1/+1
|
* HDFFV-10385 rework java namesAllen Byrne2018-01-171-1/+0
|
* Removed extra Fortran flags, (HDFFV-10037)M. Scot Breitenfeld2017-08-011-2/+2
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-255-24/+27
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Update CMake files and formattingAllen Byrne2017-03-011-1/+1
|
* HDFFV-10094: upgrade cmake command conventionsAllen Byrne2017-01-111-1/+14
| | | Also converted tests to use macros
* Update cmake min version and cmake command conventionAllen Byrne2017-01-101-4/+4
|
* [svn-r29864] Add ignore test names for Valgrind process.Allen Byrne2016-05-041-0/+11
| | | | Add files to clear test generated files tests.
* [svn-r27638] Merged r27500-27631 from trunk.Dana Robinson2015-09-011-1/+1
|\