Commit Graph

487 Commits

Author SHA1 Message Date
Allen Byrne
5c84b51030 [svn-r24024] JAVA-1714: CMake packaging for macs improved
HDFFV-7989: h5dump any_path and help text grouping
Added cygwin-64 support

Merged from trunk, tested local linux
2013-08-19 11:51:32 -05:00
Allen Byrne
b936d10f30 [svn-r23772] Remove development only files 2013-06-14 12:03:13 -05:00
Allen Byrne
e41f1a44b8 [svn-r23771] HDFFV-8434,-8437,-8445,-8447,-8461: Merge changes from Trunk.
Tested: local linux
2013-06-14 09:24:27 -05:00
Quincey Koziol
cf0c06c962 [svn-r23719] Description:
Bring r23713 and r23717 from trunk to 1.8 branch:

    Clean up warnings, switch library code to use Standard C/POSIX wrapper
    macros, remove internal calls to API routines, update checkapi and checkposix
    scripts.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    Big-Endian Linux/64 (ostrich)
2013-05-28 19:16:59 -05:00
Allen Byrne
d3c5fd31a0 [svn-r23449] Update script for reporting errors from configure, build, test.
Tested: jam
2013-03-25 14:22:10 -05:00
Quincey Koziol
b2f2370b1f [svn-r23321] Description:
Merge r23313 from trunk to 1.8 branch:

    Bring changes from Coverity branch to the trunk:

    r20612:
    Changed string functions to versions with string length to fix coverity issues
    922, 942 and 943.

    r20614:
    Use HDsnprintf. --gh

    r20675:
    Fix for coverity #1714 due to the fix for #810.
    Use HDfree() instead of H5MM_xfree().

    r20678:
    Repaired coverity issue #598 -- failure to check return value from a
    call to fstat(), or to tidy up in the event of failure.

    r20679:
    Use HDstrncpy. --gh

    r20681:
    Use HDstrncat and HDstrncpy. --gh

Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug, C++ & FORTRAN
    (too minor to require h5committest)
2013-02-27 14:22:27 -05:00
Neil Fortner
749522bbd6 [svn-r23265] Merge revisions 23230, 23234, and 23237 to 1.8 branch
Purpose: Implement H5Dscatter and H5Dgather

Description:
Adds 2 new API functions, H5Dscatter and H5Dgather.  H5Dscatter retrieves data
from a specified callback function and scatters it into a selection, defined by
a supplied dataspace, within a supplied memory buffer.  H5Dgather gathers data
from a selection within a supplied memory buffer and passes it in a contiguous
form to a supplied callback function.  Added tests for these functions

Tested: jam, ostrich, koala (h5committest); ummon; ummon (1.8)
2013-02-13 16:55:48 -05:00
Allen Byrne
13693b307c [svn-r23211] Merge trunk CMake changes for minimum cmake version of 2.8.10. This was prompted by HDFFV-8227, OS X requires latest version of cmake for proper support.
Tested: local linux
2013-01-31 12:30:34 -05:00
Albert Cheng
50ddf1c761 [svn-r23171] cmakehdf5 is a build command script similar to buildhdf5.
This has been developed and tested in the trunk branch and is
now made available in the v1.8 branch.

Tested: Linux (Jam), linux 64 (koala), ppc64 (ostrich), Mac (fred, duck and Owl) passed.
Failed in SunOS (linew). Will fix when the new Sun is available.
2013-01-16 15:33:13 -05:00
Larry Knox
ecddebbe5c [svn-r22985] Removed references to files for windows legacy builds with Visual Studio which have been removed.
Tested on jam.
2012-10-27 22:42:45 -05:00
Jonathan Kim
5188e7a617 [svn-r22780] Purpose:
HDFFV-8143 Provide a routine(s) for telling the user why the library broke collective data access

Description:
    Added H5Pget_mpio_no_collective_cause() function that retrive reasons why the collective I/O was broken during Read/Write IO access.
    Reasons to break collective I/O:
     - SET_INDEPENDENT
     - DATATYPE_CONVERSION
     - DATA_TRANSFORMS
     - MPIPOSIX
     - NOT_SIMPLE_OR_SCALAR_DATASPACES  (NULL Space)
     - POINT_SELECTIONS
     - NOT_CONTIGUOUS_OR_CHUNKED_DATASET  (Compact or External-Storage)
     - FILTERS  

    Merged from HDF5 trunk r22735, r22741 , 22743, 22744, 22763.

Tested: 
    jam-pp (linux32-LE), koala-pp (linux64-LE), wallaby-pp
2012-09-17 14:14:56 -05:00
Allen Byrne
612af6440b [svn-r22724] Convert tests to *.sh.in.
Convert configure.in to configure.ac.
Align TESTS usage with autotools convention.
Update all references from configure.in to configure.ac

Tested: h5committest
2012-08-28 14:11:34 -05:00
Larry Knox
073ba00980 [svn-r22711] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-23 12:05:07 -05:00
Quincey Koziol
03e9c8740c [svn-r22231] Description:
Bring r22229 from trunk to 1.8 branch:

       Add 'H5O_mcdt_search_cb_t' to bin/trace script and re-run the
bin/reconfigure script.

Tested on:
       FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
       FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
       Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
               w/C++ & FORTRAN, w/threadsafe, in debug mode
       Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
               w/C++ & FORTRAN, in production mode
2012-04-01 17:46:07 -05:00
Quincey Koziol
362f22119d [svn-r22228] Description:
Bring r22219 from trunk to 1.8 branch: (with release manager's blessing)

      Merge "file image" changes from feature branch back to trunk.

Tested on:
   h5committested
2012-04-01 17:27:15 -05:00
Quincey Koziol
17d435522b [svn-r21533] Description:
Bring r21442 and r21529 from trunk to 1.8 branch: Add new API routines
for querying if collective raw data I/O was actually performed collectively.

Tested:
    Linux/32 2.6 (jam)
    (h5committested on trunk)
2011-10-12 16:50:59 -05:00
Dana Robinson
a9039e329f [svn-r21314] Merge of 21302 (bin/trace bugfix) from trunk. Tested on jam (minor change). 2011-08-25 16:11:08 -05:00
Albert Cheng
b10041b738 [svn-r20985] Changed the release date format to yyyy-mm-dd from the previous date form.
Tested: Jam by running bin/release and eyeballed the new date format.
2011-06-15 17:54:20 -05:00
Albert Cheng
bcde54c003 [svn-r20772] Problem:
Test scripts sometimes need to filter some system-specific messages from the
actual output so that it can match the correct expected output. These filtering
functions, ususally called "STDOUT_FILTER()" and "STDERR_FILTER()" were being
repeated in individual test scripts.  This becomes a maintenance problem and
is error prone.

Solution:
Extract the two filter functions code to bin/output_filter.sh and then each
test script sources it in. This allows reuse of coding and is much easier to
maintain and to add new filtering.

Tested:
LLNL Zeus (linux64 cluster) and Dawndev (Blue-Gene cluster), both for serial
mode only.
2011-05-07 12:06:48 -05:00
Quincey Koziol
78dccd4259 [svn-r20653] Description:
Bring r20651 & r20652 from trunk to 1.8 branch:

	Switch from using 'pthread_create' to 'pthread_self' when trying to
detect the pthread library, so that the Intel C compiler is happier with the
prototype.

	Teach the tracing script & routines about the 'unsigned long' and
'unsigned long long' types, so that the H5Pset_fapl_log() API routine gets
tracing information correct.

Tested on:
	FreeBSD/32 6.3 (duty)
	(h5committested on trunk)
2011-04-26 16:48:43 -05:00
Albert Cheng
c620068cb6 [svn-r20123] Bug fix (ID: 519)
The content of bin/config_para_ibm_sp.sh has been added to
release_docs/INSTALL_parallel long ago.  Just got around to remove it.

Tested: no need since nothing refer to config_para_ibm_sp.sh except MANIFEST.
Ran bin/chkmanifest.
2011-02-18 14:23:51 -05:00
Larry Knox
581c55b789 [svn-r19970] Update config.sub to the latest available version (timestamp='2008-01-16', Rev. 1.361) from
http://cvs.savannah.gnu.org/viewvc/config/config/.

Tested with h5committest on amani, heiwa, and jam.
2011-01-20 11:52:33 -05:00
Larry Knox
e48acc4119 [svn-r19862] Updated libtool to version 2.4, autoconf to version 2.68, and m4 to version 1.4.15.
Tested with h5committest on amani, jam and heiwa.
2010-12-01 10:12:06 -05:00
Mike McGreevy
d3d78bbd1b [svn-r19440] Description:
Update bin/chkconfigure to reflect version 2.67 of Autoconf

Tested:
    ran bin/chkconfigure on jam
2010-09-20 16:49:26 -05:00
Albert Cheng
88abe7432b [svn-r19423] Bug fix: 1961-- AIX 6.1 --enable-share did not work.
Description:
In an AIX 6.1 system, configure --enable-shared could not build a shared
HDF5 library. The problem was because the version of config.guess was too
old to recongnize AIX 6.X and also configure.in had a local fix which did
not recognize AIX 6.X.

Solution:
1. Mike McGreevy updated bin/config.guess to handle AIX 6.X.
2 Albert fixed configure.in to recognize AIX 6.X.

Note that though HDF5 can build shared lib for AIX 6.X systems
but it still could not install the proper library as in AIX 5.X
systems. Also, bin/config.sub should be updated too.


Tested: BP which is the AIX 6.1 system that exposed this problem.
2010-09-20 00:18:29 -05:00
Larry Knox
23bc2c0b38 [svn-r19371] Updated autoconf to version 2.6.7, libtool to version 2.2.10, and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion.
Tested with h5committest on amani, jam, and heiwa, and on linew.

-This line, and those below, will be ignored--

M    hdf5_1_8/test/Makefile.in
A    hdf5_1_8/m4
AM   hdf5_1_8/m4/ltsugar.m4
AM   hdf5_1_8/m4/libtool.m4
AM   hdf5_1_8/m4/ltversion.m4
AM   hdf5_1_8/m4/lt~obsolete.m4
AM   hdf5_1_8/m4/ltoptions.m4
M    hdf5_1_8/configure
M    hdf5_1_8/Makefile.in
M    hdf5_1_8/testpar/Makefile.in
M    hdf5_1_8/configure.in
M    hdf5_1_8/src/Makefile.in
M    hdf5_1_8/tools/Makefile.in
M    hdf5_1_8/tools/misc/Makefile.in
M    hdf5_1_8/tools/h5dump/Makefile.in
M    hdf5_1_8/tools/h5repack/Makefile.in
M    hdf5_1_8/tools/h5jam/Makefile.in
M    hdf5_1_8/tools/h5diff/Makefile.in
M    hdf5_1_8/tools/lib/Makefile.in
M    hdf5_1_8/tools/h5copy/Makefile.in
M    hdf5_1_8/tools/h5import/Makefile.in
M    hdf5_1_8/tools/h5stat/Makefile.in
M    hdf5_1_8/tools/h5ls/Makefile.in
M    hdf5_1_8/hl/test/Makefile.in
M    hdf5_1_8/hl/tools/Makefile.in
M    hdf5_1_8/hl/tools/gif2h5/Makefile.in
M    hdf5_1_8/hl/Makefile.in
M    hdf5_1_8/hl/src/Makefile.in
M    hdf5_1_8/hl/c++/test/Makefile.in
M    hdf5_1_8/hl/c++/Makefile.in
M    hdf5_1_8/hl/c++/src/Makefile.in
M    hdf5_1_8/hl/c++/examples/Makefile.in
M    hdf5_1_8/hl/fortran/test/Makefile.in
M    hdf5_1_8/hl/fortran/Makefile.in
M    hdf5_1_8/hl/fortran/src/Makefile.in
M    hdf5_1_8/hl/fortran/examples/Makefile.in
M    hdf5_1_8/hl/examples/Makefile.in
M    hdf5_1_8/config/commence.am
M    hdf5_1_8/MANIFEST
M    hdf5_1_8/c++/test/Makefile.in
M    hdf5_1_8/c++/Makefile.in
M    hdf5_1_8/c++/src/Makefile.in
M    hdf5_1_8/c++/examples/Makefile.in
M    hdf5_1_8/bin/ltmain.sh
M    hdf5_1_8/bin/reconfigure
M    hdf5_1_8/perform/Makefile.in
M    hdf5_1_8/fortran/test/Makefile.in
M    hdf5_1_8/fortran/testpar/Makefile.in
M    hdf5_1_8/fortran/Makefile.in
M    hdf5_1_8/fortran/src/Makefile.in
M    hdf5_1_8/fortran/examples/Makefile.in
M    hdf5_1_8/aclocal.m4
M    hdf5_1_8/examples/Makefile.in
2010-09-10 17:41:44 -05:00
Albert Cheng
4e7be9656b [svn-r19020] Enhancements:
Cleaned up the code a bit by:
1. It used to that -xxx options must be at the beginning such that
   "buildhdf5 --disable-shared -config" was an error. Now -xxx options
   can appear anywhere in the command options.
2. Eliminate the need of variables $CONFIG_CXX, $CONFIG_FORTRAN,
   $CONFIG_PARALLEL by appending their values to $CONFIG_OP directly.
3. Also append $WITH_SZLIB to $CONFIG_OP when it is defined, not later.
4. Call CONFIG directly instead of setting up $CONFIGURE.
5. Removed the last TIMESTAMP since "trap 0" will call QUIT which calls
   TIMESTAMP already. This eliminated the extra timestamp when it finishes
   normal.

tested:
Tested by hand since h5committest does not really test this command.
2010-06-18 17:47:56 -05:00
Raymond Lu
53f5793d38 [svn-r18646] In H5T_get_native_type of H5Tnative.c, I changed the way that the offset, alignment, and
size of nested compound type are calculated by using H5T_cmp_offset.  The old way had a bug 
in it (see bug #1850).

Tested on amani, linew, and jam.
2010-04-27 15:55:33 -05:00
Mike McGreevy
168c5c4a2c [svn-r18580] Purpose:
Autotool Upgrade / Libtool Bug Fix

Description:

    Updated autotools referenced in bin/reconfigure as follows:

    Autoconf 2.64 --> Autoconf 2.65
    Automake 1.11 --> Automake 1.11.1
    Libtool 2.2.6a --> Libtool 2.2.6b-mcg

    The referenced libtool version is a custom version of 2.2.6b. It 
    has been tweaked to fix a bug in libtool that occurs
    when using PGI 10.0 compilers. A check incorrectly categorizes
    the C++ compiler as version 1.0 instead of 10.0, and the link
    line is subsequently set up incorrectly and fails to compile.

    A patch has been made available and will be included in the next
    release of libtool, but in the meantime I've applied the patch to a custom
    installation as indicated above. This bin/reconfigure now references
    the custom installation, and the resulting configure script will correctly
    categorize the PGI 10.0 C++ compiler.

    Ran bin/reconfigure to regenerate configure and makefiles.

Tested:

    jam and amani with PGI 10.0 compilers.
    h5committest
2010-04-15 16:18:42 -05:00
Albert Cheng
7afbad33c7 [svn-r18412] Fixed a typo in a message.
No test needed since it is in a message string.
2010-03-17 09:31:49 -05:00
Albert Cheng
d0a61166cc [svn-r18292] Added yodconfigure feature.
Tested in RSQual of Sandia.
2010-02-19 14:42:30 -05:00
Larry Knox
26b0d9bde8 [svn-r17661] Add option to specify version for documentation.
Previously added to release in hdfdts, but release script should be part of source code.

Tested:  jam.
2009-10-16 14:07:19 -05:00
Albert Cheng
b733be9eec [svn-r17593] Bug fix:
Release would leave behind an Makefile even if it did not exist before.

Fixed by restoring only the pre-existed Makefile.

Tested: Jam.
2009-10-05 19:08:34 -05:00
Albert Cheng
d495a52fdd [svn-r17564] Fixed a syntax error that generates a file named 0.
Tested:
Jam as it is simple shell script change.
2009-09-30 22:46:05 -05:00
Larry Knox
e46380bfb6 [svn-r17509] Move misplaced ')' after make uninstall command so 'du -ks' command is run in test directory instead of running in snapshot directory. Snapshot directory has many more subdirectories and is often remote, increasing test running time and reporting incorrect disk usage.
Tested on smirom in hdfdts version.
2009-09-22 14:40:13 -05:00
Mike McGreevy
c7be102c70 [svn-r17448] Purpose:
Script Update

Description:

    Updated autoconf version in bin/chkconfigure script to 2.64
2009-09-03 13:40:20 -05:00
Mike McGreevy
ee3ed7a67f [svn-r17439] Purpose:
Updating autotools

Description:

    Bring revisions 17345 and 17357 from trunk to 1.8, specifically:

    - Automake upgraded to 1.11
    - Autoconf upgraded to 2.64
    - bin/reconfigure script edited to use new versions (on jam), and
      run to generate new configure script and Makefile.in's.
    - configure.in script edited to add "_cv_" to all AC_CACHE_VAL strings
      (in order to comply with new autoconf standard).
    - bin/install-sh script replaced with new version as provided
      by automake.

Tested:

    - All issues on trunk were resolved, so only tested on jam and linew. Any
      other outliers should be caught by daily tests.
2009-08-31 10:28:10 -05:00
Larry Knox
b50178ea1a [svn-r17172] Add simple perl script supplied by user to check for duplicate entries in MANIFEST. Duplicate entries will be reported along with any other MANIFEST errors and cause exit value to be 1.
Tested on jam, linew, smirom, and tg-login2.
2009-07-09 11:44:47 -05:00
Quincey Koziol
548eec3070 [svn-r16920] Description:
Merge these trunk revisions which occurred during the 1.8.3 release code
freeze back to the 1.8 branch:

    From Quincey: 16845 16847 16849 16851 16858 16869 16897

    From Ray: 16859 16880

    From Allen: 16863

Tested on:
    FreeBSD/32 6.3 (duty) in debug mode
    FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
    Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
        in debug mode
    Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
        w/C++ & FORTRAN, in production mode
    Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
        w/szip filter, in production mode
    Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
        in production mode
    Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
    Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
    Mac OS X/32 10.5.6 (amazon) in debug mode
    Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
2009-05-05 10:05:17 -05:00
Mike McGreevy
8339217374 [svn-r16793] Description:
- Updated bin/reconfigure to use latest version of automake (1.10.2). 
      Regenerated Makefile.in's by running bin/reconfigure.

    - Added libtool version numbers to c++, fortran, hl, hl c++, and hl fortran
      libraries.

Tested:

    jam, liberty, smirom
2009-04-20 01:03:29 -05:00
Frank Baker
6bd7826ce8 [svn-r16341] Description:
Changed 'THG' to 'The HDF Group' in various HDF5 source files,
        most of which are <subdirectory>/COPYING.
    -- Closes Bugzilla entry 1403.
2009-01-22 16:03:58 -05:00
Quincey Koziol
60915ff8aa [svn-r16307] Description:
Bring r16306 back from trunk:

	Add detection of C99 "designated initializers" to configure script and
use new H5_HAVE_C99_DESIGNATED_INITIALIZER macro to conditionally compile
default layout variables in src/H5Pdcpl.c

	Also, minor code cleanups, etc.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(Other platforms tested on revise_chunks branch)
2009-01-14 09:01:12 -05:00
Albert Cheng
d318a3b7ce [svn-r16270] Bug fix.
The Tail command in jam (a newer linux) does not accept the +2l option.
It ended up wiping most of the release_doc/RELEASE.txt file contents.
Replaced the "tail +2l" by "sed -e 1d".

Tested:
Tested in Jam to verify it functions properly again.
2009-01-06 17:58:47 -05:00
Elena Pourmal
2f03768888 [svn-r16104] Bug fix:
h5vers script overwrote the value for windows file; fixed
2008-11-19 14:22:27 -05:00
Elena Pourmal
1258c22bb0 [svn-r16101] Maintenance: Library version number in vms/src/h5pubconf.h
was not updated automatically and therefore
             was always outdated. Modified h5vers script to update
             the version for the VMS configuration file as we do for 
             the similar windows file.
Platforms tested:
             kagiso with bin/h5vers
2008-11-19 11:24:35 -05:00
Mike McGreevy
374f8f9da5 [svn-r16096] Purpose: Updating bin/reconfigure script
Updating bin/reconfigure script to point to autotools in /mnt/hdf/packages,
    since /home1/packages no longer exists.

Tested: kagiso
2008-11-18 15:22:51 -05:00
Raymond Lu
edb9de4efc [svn-r16005] Modify the commit of r15936 for H5_USE_16_API. Let H5version.h check if H5_USE_16_API_DEFAULT is defined by the configure. Then define H5_USE_16_API and use it throughout.
Tested on kagiso - supposed to be simple.
2008-10-30 14:44:06 -05:00
Quincey Koziol
d851c3ba6c [svn-r15982] Description:
Remove redundant check for 1.6 default API.

Tested on:
    Eyeballed - very trivial
2008-10-28 18:42:20 -05:00
Raymond Lu
caa9e0c055 [svn-r15936] Changed the library's macros H5_USE_16_API to H5_USE_16_API_DEFAULT avoid possible conflict with user's definition of H5_USE_16_API. The H5_USE_16_API_DEFAULT is defined through
configure with the flag --with-default-api-version=v16.

Tested with h5committest.
2008-10-23 14:48:45 -05:00
Mike McGreevy
97cced22b6 [svn-r15881] Purpose: Bug Fixes, Libtool Upgrade
Description:

  1) configure now sets LD_LIBRARY_PATH before checking for presence of 
     SZIP encoder, so user does not need to set this. The path is then
     saved and sent to Makefiles, and used when "make check-install" is
     invoked, so user doesn't need to set this manually. 

  2) Upgraded libtool to version 2.2.6a

  3) Rearranged tools build order as h5dump depends on existence of h5diff
     and h5import. Since h5dump is a sister directory as opposed to a parent
     of either, it doesn't know about the build rules of these tools, so 
     setting any sort of explicit dependency confuses automake as it won't
     know how to build the tools. Instead, setting CONFIG = ordered forces
     an in-order traversal of each tools subdirectory. (without it will also
     traverse in order by default, but this should prevent gmake's -j option
     from jumping ahead as well). 'make check install' should now be able to 
     be invoked after 'configure' without causing a dependency failure.

  4) Removed H5_HAVE_LARGE_HSIZET macro from vms/src/h5pubconf.h, as this macro
     has now been out of the code for some time. (vms pubconf needs to be 
     updated manually, which is why it was still hanging around).

Tested: kagiso, smirom, liberty

Note: h5diff looks to be causing failures in h5copy and h5dump tools tests,
      though these were present before any of my changes. My changes only 
      affect build order and configuration setup, and shouldn't prevent
      fixes for these failures coming in after this checkin. Other than these,
      tests pass fine.
2008-10-15 16:53:36 -05:00