summaryrefslogtreecommitdiffstats
path: root/hl/examples
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and ↵Larry Knox2015-04-022-2/+1
| | | | | | | | 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.
* [svn-r26660] HDFFV-9131: autotols reworkAllen Byrne2015-03-301-2/+0
| | | | | | | Remove CXX_CONDITIONAL remove unneeded/obsolete sections. h5commtitest
* [svn-r26594] Merge macros and fortran changes from dual_binary feature.Allen Byrne2015-03-251-1/+1
| | | | Tested: local linux
* [svn-r26509] Run reconfigure after merges from autotools_rework branch.Jerome Soumagne2015-03-201-2/+0
|
* [svn-r26405] Removed compiler warnings, hl/examples:Scot Breitenfeld2015-03-0917-86/+62
| | | | | | HDF5-237 tested: h5committest
* [svn-r26329] Merge of r26069, r26070, and r26072 from the ↵Dana Robinson2015-02-271-5/+0
| | | | | | | | | | | | | | | | | | 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
* [svn-r26303] remove files with .clog2 extension generated by MPE when doing ↵Mohamad Chaarawi2015-02-251-2/+2
| | | | make clean.
* [svn-r26208] Update cmake minimumsAllen Byrne2015-02-181-1/+1
|
* [svn-r26188] Merged autotools fixes into the trunk:Scot Breitenfeld2015-02-161-1/+2
| | | | HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
* [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from ↵Mohamad Chaarawi2015-02-161-1/+0
| | | | | | | | | | | | 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.
* [svn-r26172] Fix for: HDFFV-8685 -- Have one include file to use for HL ↵Scot Breitenfeld2015-02-135-5/+0
| | | | | | libraries added hdf5.h to hdf5_hl.h
* [svn-r25397] - remove configure checks for MPI_File_get_size and BigMohamad Chaarawi2014-07-071-1/+0
| | | | | MPI_File_set_size as they are supported by most MPI implementations. - fix bug in t_mpi.c (HDFFV-8856)
* [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-r24997] Added compiler versions for mpich to settings file and ↵Larry Knox2014-04-092-11/+20
| | | | | | | | | | | | | 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-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-4/+4
| | | | KitWare recommendations: Change CMake commands to lower case.
* [svn-r24781] HDFFV-8700 -Allen Byrne2014-03-112-23/+23
| | | | | | | 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-r24726] Description:Quincey Koziol2014-02-201-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert some earlier usage of strncpy, which was incorrect. Bring Coverity changes from branch back to trunk: r20821: Use HDstrncpy. --gh (Fixed already, with strdup) r20822: (Not merged, incorrect use of HDstrncpy()) r20823: (Not merged, incorrect use of HDstrncpy()) r20824: Maintenance: Bug fix: addressed CID 666. Value stored at *expression_len should be used in the call to HD5packFstring to avoid overflow (and unnecessary arithmetic calculation and casting) r20825: Issue 642: Added check for error and handler with print to stderr and exit. r20826: Undo revision 20818, as that issue has already been fixed in the 1.8 branch and trunk (but not coverity branch) r20827: (Not merged, incorrect use of HDstrncpy()) r20828: Use HDstrncpy. --gh (Corrected use of strncpy()) r20829: Check return of H5Lget_val(print_udata->fid, path, targbuf, linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0. Check if H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL, &filename, &objname) was successful and allow print. Otherwise filename and objname are not created. (init those to NULL) r20830: resolved coverity issues 939, 940, 941, 944, and 947. all were complaints about use of sprintf, and in all cases, the buffers used were large enough for all eventualities. Resolved issue by replacing calls to sprintf with calls to snprintf. r20831: Maintenance: Addressed CID 852 Replaced sprintf with snprintf r20832: Purpose: Fix valgrind issues with hl/examples/ex_image2 Description: Modified hl/examples/ex_image2 to free global "gbuf" before exit. Tested on: Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety (too minor to require h5committest)
* [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-012-3/+35
| | | | | | 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-35/+29
| | | | | | developers. Tested: local linux
* [svn-r23860] HDFFV-8322: reduce valgrind memory leaks for ex_image2Allen Byrne2013-07-031-0/+8
| | | | Tested:" local linux
* [svn-r23745] HDFFV-8461: Add Windows /MT supportAllen Byrne2013-06-101-0/+1
| | | | This adds the UserMacros.cmake support needed.
* [svn-r23305] HDFFV-8257: szip still used even if headers are not found. ↵Allen Byrne2013-02-181-1/+1
| | | | | | Change configure to test the result of the CHECK HEADERS call before checking for the library. Tested: local linux, h5committest
* [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10Allen Byrne2013-01-141-1/+1
|
* [svn-r23118] HDFFV-2686 Remove the ptExampleVL.c example from the source codeScot Breitenfeld2012-12-225-135/+4
| | | | | | FIX: Removed files and adjusted other files accordingly. Tested: jam (gnu)
* [svn-r22908] Reverted changes in revision 22819Larry Knox2012-10-161-2/+0
| | | | Tested with h5committest on jam, koala and ostrich.
* [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-232-20/+20
| | | | | | 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-16/+54
| | | | | | 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-281-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-r21667] Update FOLDER solution option for target properties. Added ↵Allen Byrne2011-10-251-0/+1
| | | | | | OPTION command for solution folder and no packaging. Tested: local linux
* [svn-r21249] Description: Part II of F2003 branch merge into the trunk.Scot Breitenfeld2011-08-181-0/+3
| | | | | | Ran bin/reconfigure to update the Makefile.in in directories not part of the fortran directory check=in. Updates Makefile.in due to changes made in configure.in for the Fortran 2003 additions. Tested on all platforms run under daily tests.
* [svn-r20996] Add lite2 dependency on lite1 exampleAllen Byrne2011-06-191-0/+4
|
* [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-r20640] Remove export from "export LD_LIBRARY_PATH=${LL_PATH}" in ↵Larry Knox2011-04-262-4/+3
| | | | | | | | examples and hl/examples Makefiles. "export" breaks make install in Daily Tests on FreeBSD machines and isn't missed elsewhere. Tested on amani, freedom, jam, heiwa, and loyalty.
* [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/+24
| | | | | | | | | | | | | | | | 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
* [svn-r20153] Move ext lib handling for ext project building to a common ↵Allen Byrne2011-02-241-1/+1
| | | | | | macro. Update HDF5 project to use HDFMacros.cmake file. Add test properties for test ordering. Tested: local linux, windows
* [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct ↵Allen Byrne2011-01-041-1/+1
| | | | | | macro use for checking libtype. bring r19906 from 1.8 branch
* [svn-r19895] Remove use of /MT compile flag for building static libs and ↵Allen Byrne2010-12-291-1/+0
| | | | programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
* [svn-r19870] Add tests for examples.Allen Byrne2010-12-031-0/+34
| | | | Tested: local linux