summaryrefslogtreecommitdiffstats
path: root/fortran/examples
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r25117] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll ↵Larry Knox2014-04-251-1/+0
| | | | | | | | | | | back fix for removing rpaths from l ib files. The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath co nfigure option was invoked. Added instead configure variable hardcode_into_lib=no. This removes rpath from lib files on Linux and solaris machines. Tested with h5committest on jam, koala, ostrich and platypus (cmake), and with configure option --disable-sharedlib-rpath on emu, platypus and quail.
* [svn-r25113] Fixed Subversion EOL and executable attributes. No code changes.Dana Robinson2014-04-251-131/+131
|
* [svn-r24997] Added compiler versions for mpich to settings file and ↵Larry Knox2014-04-093-17/+43
| | | | | | | | | | | | | configure summary. For make installcheck, compile and run installed examples using the installed scripts. They were being compiled but not run. Add Fortran2003 examples to the run-ex-fortran script when fortran2003 is enabled. Set flag to -O3 in production mode for Intel compilers other than those with specified other settings. Gentoo patches: Remove unnecessary setting of LD_LIBRARY_PATH from configure. Prevent potential array subscript out of bounds error in perform/pio_engine.c and sio_engine.c. Tested with h5committest on jam, koala, ostrich and platypus, on emu and kite, and parallel tests on jam, koala and platypus with mpich built with gnu 4.8.2 and with intel compilers.
* [svn-r24967] Maintenance: Reorganized and cleaned the code to remove ↵Elena Pourmal2014-04-064-18/+11
| | | | | | | | | | compiler warnings in the Fortran test code and examples. Platforms tested: Manual testing in place and using srcdir on jam, platypus, and emu with default and PGI, Intel and new GNU compilers. ifort compiler was also tested with -i8 and -r8 flags on jam. CMake tested on jam.
* [svn-r24948] Group tests by Common nameAllen Byrne2014-04-021-6/+6
| | | | | | Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32 Tested: local linux CMake
* [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS ↵Allen Byrne2014-03-311-35/+408
| | | | | | instead of INCLUDES. Update automake to 1.14.1 h5committest
* [svn-r24864] Description:Quincey Koziol2014-03-211-1/+0
| | | | | | | | | | | | | | | | | | Remove all traces of MPI-POSIX VFD and GPFS detection/code. Remove remaining traces of stream VFD. Remove testpar/t_posix_compliant test (it's not actually verifying anything). Clean up H5D__mpio_opt_possible() further. Moved environment variable that disables MPI collective operations into MPI-IO VFD (instead of it being in src/H5S.c). A few other small code cleanups. Tested on: Mac OSX/64 10.9.2 (amazon) w/parallel & serial
* [svn-r24789] Bump up the minimum cmake versionAllen Byrne2014-03-131-1/+1
|
* [svn-r24782] HDFFV-8700 -Allen Byrne2014-03-111-7/+7
| | | | KitWare recommendations: Change CMake commands to lower case.
* [svn-r24781] HDFFV-8700 -Allen Byrne2014-03-112-51/+51
| | | | | | | KitWare recommendations: Change CMake commands to lower case. Remove INCLUDE_DIRECTORIES in src for target level includes. Change ADD_DEFINITIONS package debug defines into CMake option. Remove -DNDEBUG
* [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-011-0/+24
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autools, and h5committest
* [svn-r24194] Don't add hdf5 library dependencies to lib files when ↵Larry Knox2013-09-241-0/+1
| | | | | | --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276. Tested with h5committest and on hdf-duck.
* [svn-r24029] Move TESTS to seperate file to allow easier editing by all ↵Allen Byrne2013-08-192-22/+32
| | | | | | developers. Tested: local linux
* [svn-r23745] HDFFV-8461: Add Windows /MT supportAllen Byrne2013-06-101-3/+3
| | | | This adds the UserMacros.cmake support needed.
* [svn-r23305] HDFFV-8257: szip still used even if headers are not found. ↵Allen Byrne2013-02-181-2/+2
| | | | | | Change configure to test the result of the CHECK HEADERS call before checking for the library. Tested: local linux, h5committest
* [svn-r23293] Fix for HDFFV-8268: Fortran wrapper for H5Fget_file_image function.Scot Breitenfeld2013-02-181-1/+1
| | | | Tested: (jam, gnu,intel compilers)
* [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10Allen Byrne2013-01-141-1/+1
|
* [svn-r23111] Purpose:Dana Robinson2012-12-191-1/+1
| | | | | | | | | | | | | | | | | | | Fixes for HDF5 1.8.10 p1 HDFFV-7975 Changed the max single I/O operation size on Darwin/Mac OS X. HDFFV-8124 and HDFFV-8158 Fixed a core VFD bug when large blocks of data are read. HDFFV-8246 Added more fields to the VFD read/write error messages. Tested on: 64-bit Windows 7, Visual Studio 2010, CMake 64-bit Mac OS X Snow Leopard (Fred), Fortran, C++ 64-bit BE Linux (Ostrich), Fortran, C++ 32-bit LE Linux (jam), Fortran, C++ (also parallel w/ Fortran)
* [svn-r23105] Changed Fortran examples to reflect tutorial examples via Barbara;Scot Breitenfeld2012-12-155-6/+142
| | | | | | added: h5_cmprss.f90 Tested: jam (gnu compilers)
* [svn-r23093] Fixed API to be 1.6 compliant, removed deprecated APIsScot Breitenfeld2012-12-121-1/+1
| | | | Checked: jam (gnu, mpi) --disable-deprecated-symbols, --with-default-api-version=v16
* [svn-r23092] Cleaned-up printed output and corrected output commentsScot Breitenfeld2012-12-122-9/+8
| | | | Tested: jam (gnu)
* [svn-r23090] Fixed H5Dread input parameters.Scot Breitenfeld2012-12-111-2/+1
| | | | Tested: gnu (jam)
* [svn-r23089] Changed Fortran examples to reflect changes in documentation ↵Scot Breitenfeld2012-12-101-7/+8
| | | | | | | | | via Barbara; mainly program name changes. Two new examples added: h5_extend.f90 h5_subset.f90 and example fileexample.f90 was removed. Tested: jam (gnu compilers)
* [svn-r23088] Changed Fortran examples to reflect changes in documentation ↵Scot Breitenfeld2012-12-1017-672/+1035
| | | | | | | | | via Barbara; mainly program name changes. Two new examples added: h5_extend.f90 h5_subset.f90 and example fileexample.f90 was removed. Tested: jam (gnu compilers)
* [svn-r23066] HDFFV-8265: create .def file during configure, added F2003 ↵Allen Byrne2012-11-291-2/+2
| | | | | | optional functions and refactor ISO_C_BINDING usage in cmake files Tested: local cmake
* [svn-r23053] Remove deleted file from CMake build listAllen Byrne2012-11-261-1/+0
|
* [svn-r23052] Description:Scot Breitenfeld2012-11-263-221/+4
| | | | | Removed example grpit.f90 which used undocumented/obsolete APIs, The equivalent and up-to-date example to transverse through a file would be the example h5ex_g_traverse_F03.f90 in hdf5-examples.
* [svn-r22908] Reverted changes in revision 22819Larry Knox2012-10-161-2/+0
| | | | Tested with h5committest on jam, koala and ostrich.
* [svn-r22826] Fix for: HDFFV-7903 Fortran problem writing control character ↵Scot Breitenfeld2012-09-271-0/+2
| | | | | | to a dataset reconfigured
* [svn-r22825] Fix for: HDFFV-7903 Fortran problem writing control character ↵Scot Breitenfeld2012-09-271-2/+0
| | | | | | to a dataset Tested: (jam, gfortran)
* [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that ↵Larry Knox2012-09-271-0/+2
| | | | | | 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.
* [svn-r22714] one more missed VAR change for parallel examplesAllen Byrne2012-08-261-1/+1
|
* [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of ↵Allen Byrne2012-08-233-27/+24
| | | | | | autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files. Tested: h5committest
* [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, ↵Larry Knox2012-08-221-15/+53
| | | | | | libtool 2.4.2 Tested THG machines.
* [svn-r22426] Add examples/README file to be installed with examples.Larry Knox2012-06-021-1/+10
| | | | Text file only, but tested with h5committest.
* [svn-r22170] Removed extraneous svn executable properties from ↵Dana Robinson2012-03-282-0/+0
| | | | non-executable files.
* [svn-r21804] Update CMake Required version in all folders to match current ↵Allen Byrne2011-12-051-1/+1
| | | | standard 2.8.6
* [svn-r21715] Correct SET_TARGET_PROPERTIES commandsAllen Byrne2011-11-041-22/+21
|
* [svn-r21710] CMake FindMPI module changed to look for fortran libs. Cmake ↵Allen Byrne2011-11-031-4/+4
| | | | | | | | 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
* [svn-r21667] Update FOLDER solution option for target properties. Added ↵Allen Byrne2011-10-251-0/+3
| | | | | | OPTION command for solution folder and no packaging. Tested: local linux
* [svn-r21435] Add F2003 IF-ENDIF protection blocks around _F03 file processingAllen Byrne2011-09-301-2/+3
|
* [svn-r21422] Add 2003 examples to cmake buildAllen Byrne2011-09-271-1/+39
|
* [svn-r21303] Removed duplicated INSTALL_SCRIPT_FILES macro from ↵Dana Robinson2011-08-231-1/+0
| | | | fortran/examples and fixed an autotools warning from the Fortran 2003 configure.in changes. Tested on jam (minor changes).
* [svn-r21259] Bug fix: Compilation failed for these two examples due to the ↵Elena Pourmal2011-08-182-2/+2
| | | | | | | | 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
* [svn-r21248] Mereged the F2003 branch into the trunk.Scot Breitenfeld2011-08-186-18/+768
| | | | | | | | | 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)
* [svn-r20720] Merge changes to scripts to run installed examples from hdf5 ↵Larry Knox2011-05-041-2/+2
| | | | | | | 1.8.7 r 20718. The default prefix in the scripts will use the compile scripts in the installed bin directory.
* [svn-r20504] Purpose:Mike McGreevy2011-04-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* [svn-r20502] Purpose:Mike McGreevy2011-04-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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
* [svn-r20482] Larry Knox2011-04-121-4/+18
| | | | | | | | | | | | | | | | 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
* [svn-r20475] Purpose:Mike McGreevy2011-04-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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