Commit Graph

726 Commits

Author SHA1 Message Date
Albert Cheng
9bca9d684b [svn-r16814] New feature(Bug 230):
Embed the content of libhdf5.settings into the hdf5 executables so that an
"orphaned" executables can display (via the Unix strings command, for example)
the library settings used to build the executables.

This is a prototype implementation. Much improvement is needed.

configure.in:
    Added the --disable-embedded-libinfo option to disable this feature.
configure:
src/H5config.h.in:
    Generated by autotools like automake.
src/H5detect.c:
    Implement insert_libhdf5_settings() to insert the contents of
    libhdf5.settings into the library as an extern string variable so that it
    is included in all HDF5 executable.  Much improvement is needed.
fortran/src/Makefile.in:
    Auto-generated by bin/reconfigure. (i.e., I did make any changes to cause
    its direct regeneration).

Tested:
Jam serial, using default and --disable-embedded-libinfo, configure options.
2009-04-20 21:02:46 -05:00
Larry Knox
0eacb97a15 [svn-r16738] Snapshot version 1.9 release 38 2009-04-11 08:24:23 -05:00
Larry Knox
90bcab5072 [svn-r16704] Snapshot version 1.9 release 37 2009-04-08 13:58:48 -05:00
Larry Knox
539406de99 [svn-r16650] Snapshot version 1.9 release 36 2009-04-01 15:07:23 -05:00
Larry Knox
b60382eff2 [svn-r16579] Snapshot version 1.9 release 35 2009-03-15 06:36:28 -05:00
Mike McGreevy
da5058310c [svn-r16554] Purpose:
Bug Fix

Description:

    Removing the code from configure which strips the '-g' flag from CFLAGS
    when in production mode. The current default CFLAGS in production mode
    does not include '-g', as intended, but we should allow users to 
    override this and enable '-g' by setting the CFLAGS environment variable
    if desired. Note that this applies to FCFLAGS and CXXFLAGS as well.

Tested:

    kagiso, linew, liberty
2009-03-09 12:50:53 -05:00
Larry Knox
793503a3cd [svn-r16553] Snapshot version 1.9 release 34 2009-03-08 07:53:10 -05:00
HDF Tester
11746c4352 [svn-r16525] Snapshot version 1.9 release 33 2009-03-01 09:35:48 -05:00
Pedro Vicente Nunes
f8c5384aa5 [svn-r16518] have 2 expected outputs for 2 h5ls runs depending if run on a big or little endian machine. Configure.in was modified to export a variable carrying endianess information to testh5ls.sh. This script then compares the current run with 2 expected outputs, one for a big-endian machine (linew was used to generate the output), other for little endian (jam was used to generate the output)
the way h5ls prints types, it starts searching for NATIVE types first. One solution would be h5ls not to detect these native types, using for example the same print datatype function that h5dump does, that would make the output look the same on all platforms  ("32-bit little-endian integer" would be printed instead).  Drawback, this "native" information would not be available. Other solution is to have not one but 2 expected outputs and make the shell script detect the endianess and compare with one output or other
tested: h5committest
2009-02-26 15:21:50 -05:00
HDF Tester
3485ecf8f4 [svn-r16506] Snapshot version 1.9 release 32 2009-02-22 05:19:33 -05:00
HDF Tester
a717a20e76 [svn-r16484] Snapshot version 1.9 release 31 2009-02-15 10:57:20 -05:00
HDF Tester
3e8fae1bee [svn-r16453] Snapshot version 1.9 release 30 2009-02-08 05:15:02 -05:00
HDF Tester
01d8f959f9 [svn-r16397] Snapshot version 1.9 release 29 2009-02-01 07:32:57 -05:00
HDF Tester
2a1a78a0b4 [svn-r16344] Snapshot version 1.9 release 28 2009-01-25 06:22:44 -05:00
HDF Tester
fdc7b17438 [svn-r16329] Snapshot version 1.9 release 27 2009-01-18 05:04:40 -05:00
Quincey Koziol
a365f0e6aa [svn-r16306] Description:
Bring r16305 back from revise_chunks branch:

	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 branch)
2009-01-14 08:09:42 -05:00
HDF Tester
f9f462e720 [svn-r16220] Snapshot version 1.9 release 26 2008-12-28 05:28:04 -05:00
Mike McGreevy
379b5a7b01 [svn-r16194] Purpose:
Bug Fix

Description:

    Resolved issues with broken sanity checks that were failing when the 'b2'
    debugging package was enabled (v2 b-tree debugging):

        - Fixed outdated assertions that would not compile. They now compile
          and function correctly.

        - Removed too far outdated assertions that would require too much 
          unnecessary refactoring of code in order to satisfy their
          initial purpose.

        - Re-enabled b2 debugging package when "--enable-debug=all" is
          specified on the configure line.

Tested:

    jam, smirom, linew
2008-12-15 12:39:20 -05:00
HDF Tester
150d4cf4bb [svn-r16138] Snapshot version 1.9 release 25 2008-11-30 07:38:02 -05:00
HDF Tester
5f51cab710 [svn-r16121] Snapshot version 1.9 release 24 2008-11-23 07:03:49 -05:00
HDF Tester
2d445f880d [svn-r16078] Snapshot version 1.9 release 23 2008-11-16 06:04:24 -05:00
HDF Tester
25c18830ce [svn-r16044] Snapshot version 1.9 release 22 2008-11-09 06:20:52 -05:00
HDF Tester
cbd9d87f75 [svn-r16018] Snapshot version 1.9 release 21 2008-11-02 06:54:52 -05:00
HDF Tester
d5913fd08f [svn-r15953] Snapshot version 1.9 release 20 2008-10-26 06:00:24 -05:00
Mike McGreevy
dc4434724c [svn-r15947] Purpose: Bug Fix
Description: Adding the SZIP path to LD_LIBRARY_PATH within configure was
             inadvertently blowing away anything already in LD_LIBRARY_PATH. This
             fixes that, which solves, among other things, the problem where
             configure failed to learn how to print 'long long' on cobalt.

Tested: full make check install: kagiso, smirom
        configure / make / h5ls test only : cobalt, linew
2008-10-24 16:30:07 -05:00
Raymond Lu
5deed723e5 [svn-r15943] Changed the library's macros H5_USE_16_API to H5_USE_16_API_DEFAULT avoid possible conflict wi
th 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-24 14:12:21 -05:00
Mike McGreevy
a664274624 [svn-r15942] Purpose: Bug Fixes and Libtool Upgrade
Description:
     - Remove need to set LD_LIBRARY_PATH when using shared szip library.

     - Libtool 2.2.6a is now used to generate libraries.

     - 'make check install' dependency bug is fixed, and should no longer
       break the build. 
  
     - removed hard coding of shell in config/commence.am, as this causes
       problems on Solaris with the new version of libtool.
   
     - RELEASE.txt with appropriate changes.

Tested:
     - kagiso, smirom, linew (merged from 1.8, pretty quick tests)
2008-10-24 12:19:34 -05:00
Albert Cheng
7c67ccef7e [svn-r15913] Bug fix: #933
The information of libhdf5_fortran.settings are all included in
libhdf5.settings now. Remove it from the source.

Tested: kagiso with fortran and C++.
2008-10-21 00:05:50 -05:00
Quincey Koziol
05cc7c234f [svn-r15825] Description:
Fix various problems with a the core & sec2 VFDs.

	Improve the h5_get_file_size() routine to handle files created with
VFDs that use multiple files.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) 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 production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-10-08 22:44:22 -05:00
HDF Tester
94c2902fc5 [svn-r15713] Snapshot version 1.9 release 19 2008-09-28 04:57:24 -05:00
HDF Tester
dcd4c0b049 [svn-r15667] Snapshot version 1.9 release 18 2008-09-21 09:08:35 -05:00
Neil Fortner
c254b0bc27 [svn-r15656] Purpose: fix bug 1286
Description: Added configure test to see if pointer alignment restrictions are enforced (as in dereferencing an unaligned pointer causes an error).  Added code in H5Tvlen.c to avoid dereferencing unaligned pointers, conditionally compiled based on the configure test.  Added test case in dtypes.c which would previously cause such machines to fail.

Tested: kagiso, smirom, linew (h5committest); linew64
2008-09-18 15:53:30 -05:00
Scott Wegner
036aa878b0 [svn-r15639] Purpose: Check for __func__ keyword during configure
Description:
In some of the new H5EA* code, many new C99 features are being used.  Most of them are portable to all compilers, but the __func__ keyword in particular isn't supported in Visual Studio on Windows.  Instead, Windows defines the __FUNCTION__ keyword, which can be used as a direct substitute.

We now check for the __func__ keyword during configure and define the feature flag H5_HAVE_C99_FUNC.  There was previously a check for __FUNCTION__, and the feature flags H5_HAVE_FUNCTION.  In H5EApkg.h, we check for the presents of each of these in order to see which to use.  If neither are avaiable, fail.

Tested:
h5committest (kagiso, smirom, linew)
2008-09-17 09:04:35 -05:00
Albert Cheng
95149cc095 [svn-r15637] Bug 710: partial fix.
Temporary removed b2 from the --enable-debug=all list so that this option
will pass. "configure --help" lists the --enable-debug=all and users tend
to use it and end up with compile failures in the b2 debug code.  Since this
bug will not be fixed soon, this is a temporary fix to let the configure and
build work.

Tested:
h5committest plus "--enable-debu=all" test in kagiso.
2008-09-16 15:58:53 -05:00
HDF Tester
63042260d9 [svn-r15619] Snapshot version 1.9 release 17 2008-09-14 05:39:04 -05:00
HDF Tester
e43736b22b [svn-r15595] Snapshot version 1.9 release 16 2008-09-07 07:52:03 -05:00
Scot Breitenfeld
510daa2995 [svn-r15586] Description:
Changed the test for intrinsic Fortran function SIZEOF by using AC_TRY_RUN instead
of AC_TRY_COMPILE.
2008-09-03 10:40:38 -05:00
Scot Breitenfeld
74457ab98c [svn-r15577] Description:
Moved AM_CONDITIONAL([FORTRAN_HAVE_SIZEOF]....) outside of Fortran conditional loop so that the value gets registered regardless of whether Fortran is enabled.
2008-09-02 10:04:59 -05:00
Scot Breitenfeld
a66c8bf293 [svn-r15570] Description:
Added a test for the availability of intrinsic Fortran function SIZEOF. Sets the global variable FORTRAN_HAVE_SIZEOF depending if SIZEOF is available.
2008-09-01 10:25:02 -05:00
HDF Tester
529585c757 [svn-r15565] Snapshot version 1.9 release 15 2008-08-31 06:28:09 -05:00
Scot Breitenfeld
6b9b12d643 [svn-r15540] Description:
Enable building shared library for fortran by adding the flag -fPIC to the compile flags for versions of Intel Fortran compiler >=9
2008-08-26 15:10:57 -05:00
Scot Breitenfeld
d30db46df3 [svn-r15534] Description:
Added a test program to determine if -r8 or the default of REAL is DOUBLE PRECISION. Sets the variable FORTRAN_DEFAULT_REALisDBLE_F to true if default REAL is DOUBLE PRECISION.
2008-08-26 11:05:06 -05:00
HDF Tester
709c81d710 [svn-r15476] Snapshot version 1.9 release 14 2008-08-17 08:40:56 -05:00
Pedro Vicente Nunes
4e2b072563 [svn-r15466] remove h52jpeg 2008-08-12 10:13:35 -05:00
HDF Tester
44941d6ff6 [svn-r15455] Snapshot version 1.9 release 13 2008-08-10 11:47:38 -05:00
HDF Tester
2fa8102745 [svn-r15425] Snapshot version 1.9 release 12 2008-08-03 07:54:59 -05:00
HDF Tester
8a770c8c63 [svn-r15410] Snapshot version 1.9 release 11 2008-07-27 06:07:17 -05:00
HDF Tester
717388ea06 [svn-r15389] Snapshot version 1.9 release 10 2008-07-20 06:16:44 -05:00
HDF Tester
ea27003154 [svn-r15347] Snapshot version 1.9 release 9 2008-07-13 07:00:00 -05:00
HDF Tester
b663817dcc [svn-r15322] Snapshot version 1.9 release 8 2008-07-06 06:55:21 -05:00
Quincey Koziol
c9c701d0d8 [svn-r15293] Description:
Remove tools/h52jpeg from configure.in & run bin/reconfigure on kagiso
2008-06-28 23:49:09 -05:00
Pedro Vicente Nunes
cb7a01f5ce [svn-r15292] moved h52jpeg to /hl/tools/h52jpeg
tested: linux
2008-06-28 16:06:35 -05:00
HDF Tester
e736ed88c4 [svn-r15215] Snapshot version 1.9 release 7 2008-06-15 05:26:51 -05:00
Pedro Vicente Nunes
ff94716199 [svn-r15184] added the configure and Makefile changes to build h52jpeg in unix systems
tested: linux, solaris
2008-06-09 15:20:43 -05:00
HDF Tester
98d73aa397 [svn-r15172] Snapshot version 1.9 release 6 2008-06-08 06:23:55 -05:00
Mike McGreevy
2b715cd29b [svn-r15112] Purpose: Bug fix
Description: While '-Wl,-rpath' information was being removed from compile
             lines when using --disable-sharedlib-rpath, some information
             was still hidden in another variable tht never got reset and
             thus snuck into the executables. This fix should take care of
             that issue.

Tested: kagiso, smirom
2008-05-30 16:47:44 -05:00
Albert Cheng
9fd6621c92 [svn-r15017] Purpose:
bug fix.

Description:
Removed a few debug print statments that was left in by mistake.
Removed initialization for macro system INSTRUMENT to match how it
behaves before.

Tested platforms:
h5committested (kagiso, smirom and linew).  It failed in fortran
test in smirom but I believed that was not caused by my changes
in configure.in.
2008-05-15 23:00:28 -05:00
Mike McGreevy
afbdbb8e93 [svn-r15014] Purpose: Configure Macro Modification
Description: The macro H5_HAVE_WINDOW_PATH is now defined to 1 only when
             MinGW is in use. This is needed to fix the "links" test, and
             the external link feature in the library.

Tested: kagiso
2008-05-15 16:35:13 -05:00
Mike McGreevy
134ec13cdc [svn-r15012] Purpose: New configure option
Description: The configure option --disable-sharedlib-rpath will disable
             embedding of the '-Wl,-rpath' information into executables
             when shared libraries are produced.

Tested: kagiso
2008-05-15 16:08:23 -05:00
Mike McGreevy
389cc309c5 [svn-r15007] Purpose: configure cleanup
Description: cleaning up configure related to removal of --disable-hsizet
             flag, which we no longer support.

Tested: kagiso
2008-05-15 11:42:03 -05:00
Albert Cheng
7b7f10a444 [svn-r15003] Purpose:
Improvement.

Description:
src/libhdf5.settings was the initial configure summary and is installed.
Then configure is changed to dump a summary of the configure settings to
the output and also append it to src/libhdf5.settings.  That created
two different output formats and duplicated information.  This is the
initial attempt to clean up this confusion and unify the output format.

It is decided to use the src/libhdf5.settings template as the unified means.
This requires more macros symbols be defined. The following symbols are
all related to generating the src/libhdf5.settings file.

AC_SUBST(EXTERNAL_FILTERS)
AC_SUBST(MPE) MPE=no
AC_SUBST(STATIC_EXEC) STATIC_EXEC=no
AC_SUBST(HDF_FORTRAN) HDF_FORTRAN=no
AC_SUBST(FC) HDF_FORTRAN=no
AC_SUBST(HDF_CXX) HDF_CXX=no
AC_SUBST(CXX) HDF_CXX=no
AC_SUBST(HDF5_HL) HDF5_HL=yes
AC_SUBST(GPFS) GPFS=no
AC_SUBST(LINUX_LFS) LINUX_LFS=no
AC_SUBST(INSTRUMENT) INSTRUMENT=no
AC_SUBST(CODESTACK) CODESTACK=no
AC_SUBST(HAVE_DMALLOC) HAVE_DMALLOC=no
AC_SUBST(DIRECT_VFD) DIRECT_VFD=no
AC_SUBST(THREADSAFE) THREADSAFE=no
AC_SUBST(STATIC_SHARED)
AC_SUBST(enable_shared)
AC_SUBST(enable_static)
AC_SUBST(UNAME_INFO) UNAME_INFO=`uname -a`

The src/libhdf5.settings.in has CONDITIONAL's added to it too.  The
untrue conditions turned into a "#" and these lines are cleaned by the 
post processing script.

Platform tested:
h5committest on kagiso, smirom and linew.
2008-05-15 00:12:00 -05:00
Mike McGreevy
ea20e67829 [svn-r14990] Purpose: Bug Fix
Description: Typo in the configure.in script. CC_VERSION should be set using
             CC_NOFLAGS, but is currently using CC_NOFLAG, which does not exist.

Tested: kagiso (configure issue)
2008-05-13 11:43:42 -05:00
HDF Tester
6cdadf3db5 [svn-r14965] Snapshot version 1.9 release 5 2008-05-11 05:41:59 -05:00
Mike McGreevy
5bd2405c11 [svn-r14933] Purpose: Updating HDF5 to use automake 1.10.1 and libtool 2.2.2
Description: Applying update to autotools that was applied to 1.8 a couple
             of weeks ago to the trunk.

             Updated bin/reconfigure script to reflect the new versions of 
             libtool and automake in the /home1/packages/ directory.

             Rearranged configure.in script. When using libtool 2.2.2, the
             libtool script doesn't generate until later in the configuration
             process, so I had to move a test that parsed through the libtool
             script to a point after where it was actually being generated.

             Ran libtoolize on the project, and ran bin/reconfigure to
             regenerate configure and Makefile.in's throughout.

Tested:      kagiso, smirom, linew (h5committest)
2008-05-05 13:35:55 -05:00
Scot Breitenfeld
aec106e324 [svn-r14903] Undoing change committed in r14902. 2008-04-30 14:51:13 -05:00
Scot Breitenfeld
5773fd34bc [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added. 2008-04-30 14:23:26 -05:00
HDF Tester
5ab3c53745 [svn-r14864] Snapshot version 1.9 release 4 2008-04-27 06:18:36 -05:00
HDF Tester
a0136eda8d [svn-r14849] Snapshot version 1.9 release 3 2008-04-20 06:32:00 -05:00
HDF Tester
0d68a748cc [svn-r14832] Snapshot version 1.9 release 2 2008-04-13 06:56:56 -05:00
Albert Cheng
6e9d2f8099 [svn-r14812] Description:
The development branch was changed to default enable-production for the
v1.8 release but had not switched back to default development mode.

Solution:
Changed it back to --disable-production (aka development) as the default.
Also ran bin/reconfigure to update configure.

Tested:
Smirom only.  No h5committest since the change is trivial and if it works
at smirom, it should work everywhere else.
2008-04-08 11:30:43 -05:00
HDF Tester
584b7f16d6 [svn-r14799] Snapshot version 1.9 release 1 2008-04-06 05:05:45 -05:00
Vailin Choi
04c174bde0 [svn-r14789] Add handling for external link:
1. src/H5F.c, src/H5system.c: formulate path for mainfile
2. src/H5Lexternal.c: add search for target file
3. configure.in: add H5_HAVE_WINDOW_PATH
4. test/links.c: add tests for external link
2008-04-02 13:29:17 -05:00
HDF Tester
18646cdfc6 [svn-r14759] Snapshot version 1.9 release 0 2008-03-20 05:22:22 -05:00
Scott Wegner
a61407161d [svn-r14723] Purpose: Fix typo in our configure CYGWIN patch
Description:
Previously, we created a patch for Cygwin to skip checking for the timezone variable.  We made this change in both the trunk and hdf5_1_8 branch.  However, in the branch version, we seemed to have used wrong quotes in our check ('uname' rather than `uname`).  This corrects the typo

Tested:
Cygwin on WinXP
2008-03-12 09:48:45 -05:00
Scott Wegner
ff9a968785 [svn-r14607] Purpose: Apply Cygwin patch to trunk
Description:
This is the same patch that Mike McGreevy helped me with on the 1.8 branch.  The latest cygwin DLL has trouble with the global timezone variable.  Now in configure, we target CYGWIN with a case statement, and avoid the problem.

Tested:
Cygwin on WinXP
2008-02-19 08:32:19 -05:00
Elena Pourmal
349702f97d [svn-r14547] Maintenance: Changed version number to 1.9.0 as we agreed on the HDF5 developers meeting
on February 8, 2008; modified docs files to point to the documentation snapshots.
2008-02-11 14:09:52 -05:00
Elena Pourmal
2b51b8a74b [svn-r14526] Maintenance: Changed version number in the trunk to be 1.9.0-snap0 2008-02-06 21:26:45 -05:00
Elena Pourmal
d5ef396e1d [svn-r14484] Maintenance: Changed version number to 1.8.0 in preparation for the release. 2008-02-01 12:23:58 -05:00
Elena Pourmal
7ec36c4a3d [svn-r14460] Maintenance: Created rc2 tar ball and released to the ftp server;
Changed version number to hdf501.8.0-rc3 using bin/h5vers script
2008-01-27 11:41:14 -05:00
Elena Pourmal
c96f1e9f34 [svn-r14448] Maintenance: Released version hdf5-1.8.0-rc1 to the public fTP server and changed
the version to hdf5-1.8.0-rc2 using bin/h5vers script.

Platforms tested: ran test for hdf5-1.8.0-rc1 source on kagiso after craeting public tar ball.
2008-01-21 12:15:43 -05:00
Albert Cheng
1feea1cfc1 [svn-r14415] Changed default to enable-production to prepare for formal release.
Tested: kagiso only.  Not need for h5committest since it is a configure simple
change.  If it works correct in kagiso, it should work the same for all other
machines.
2008-01-15 09:32:19 -05:00
Quincey Koziol
d6e767c21d [svn-r14402] Description:
Add work-around to allow reading files that were produced with a buggy
earlier version of the library, which could create objects with the wrong
object header message count.  There is now a configure flag
"--enable-strict-format-checks" which triggers a failure on reading a file
with this sort of corruption (when enabled) and allows the object to be read
(when disabled).  The default value for the "strict-format-checks" flag is
yes when the "debug" flag is enabled and no when the "debug" flag is disabled.

	Note that if strict format checks are disabled (allowing objects with
this particular kind of corruption to be read) and the file is opened with
write access, the library will re-write the object header for the corrupt
object with the correct # of object header messages.

	This closes bugzilla bug #1010.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-01-13 00:37:00 -05:00
Elena Pourmal
081a7cccf6 [svn-r14290] Maintenance after beta5 release: changed version number to 1.8.0-rc1 (stands for
1.8.0 release candidate # 1)

Platforms tested: none, minor change with the known script.
2007-11-26 12:31:24 -05:00
Elena Pourmal
a8261deceb [svn-r14288] Maintenance for beta5 release: vesrion number was changed to 1.8.0-beta5 by running
bin/h5vers script

Platforms tested: kagiso (minor change)
2007-11-26 12:09:46 -05:00
Albert Cheng
b4f4670c81 [svn-r14270] Description:
Removed the stream-vfd from the basic library code.
(The stream-vfd source files are not removed yet but the MANIFEST has been
updated to NOT release those stream-vfd source files.)

Platforms tested:
Kagiso and smirom.
Then test the release tar ball in kagiso.
2007-11-19 22:43:58 -05:00
Elena Pourmal
fad8e0440d [svn-r14215] Maintenance after 1.8.0-beta4: changed version number to 1.8.0-beta4post1 2007-10-21 17:18:13 -05:00
Elena Pourmal
deaf99ab7f [svn-r14213] Maintenance for beta4 release: changed version number to be 1.8.0-beta4
Platforms tested: kagiso only (trivial change using bin/h5vers script)
2007-10-21 17:11:17 -05:00
Quincey Koziol
cf56cd041d [svn-r14211] Description:
Remove --enable-hdfv1_6 configure flag, now that all dependencies on it
have been removed and new --with-default-api-version=[v16|v18] and
--disable-deprecated-symbols flags have taken its place.

	Update types in bin/trace so that bin/reconfigure runs cleanly.

	Run bin/reconfigure to regenerate configure script, along with
other associated files, etc.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
2007-10-18 13:57:08 -05:00
Quincey Koziol
cdd4606430 [svn-r14097] Description:
First real use of API versioning code, H5E routines switched to use
new API versioning scheme.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-21 16:08:27 -05:00
Raymond Lu
6262a14f2e [svn-r14096] There're 3 changes in this checkin as below:
1. In H5Dwrite and H5Dread, let the data buffer point to a fake address if the application passes
     in an empty buffer.  This is mainly for MPIO programs that some processes may not have any 
     data to write or read but still participate the I/O.  This solution solves some MPI's problem
     like the ChaMPIon on tungsten which doesn't support empty buffer.
  2. The ChaMPIon on tungsten doesn't support complex derived MPI data type correctly and collective
     I/O when some processes don't have any data to write or read correctly.  Detect the compiler
     "cmpicc" in the system-specific config file and set the variables for these two cases to false.
     The PHDF5 library already has set up a way to switch collective chunked I/O to independent 
     under these two cases.
  3. A bug fix - During the work of the optimization for compound data I/O, the case for switching
     collective chunked I/O to independent I/O was leftout.  Fixed it by adding I/O caching to it in
     H5D_multi_chunk_collective_io in H5Dmpio.c.

Tested on tungsten, cobalt, and kagiso for parallel; on linew and smirom for serial.
2007-08-20 16:55:38 -05:00
Mike McGreevy
85ae38b380 [svn-r14061] Purpose: Removing --disable-hsizet flag from configure.
Description: This flag causes problems for users and is difficult to
             support in the library. It has been removed. (see Bug 708).

Tested: kagiso, linew
2007-08-09 14:46:44 -05:00
Mike McGreevy
753a60f184 [svn-r14047] Purpose: Adding H5_HAVE_SIGLONGJMP macro to configure.
Description: Configure will now detect the presence of the 'siglongjmp' function. If present,
             the macro H5_HAVE_SIGLONGJMP will be defined in src/H5pubconf.h.

Tested: kagiso, smirom, linew
2007-08-07 16:01:15 -05:00
Elena Pourmal
565e1904fb [svn-r14027] Maintenance: changed version number to 1.8.0-beta3post1 using bin/h5vers script 2007-07-30 14:59:05 -05:00
Elena Pourmal
2a4c252386 [svn-r14025] Maintenance: Changed version number to 1.8.0-beta3, put warning into INSTALL file for the 1.8.0-beta* releases
Tested: Release tar ball is available on the frp server, It was tested on kagiso with the PGI compilers.
2007-07-30 14:55:28 -05:00
Vailin Choi
d65d8084ff [svn-r14023] Purpose:
reorganization.

Description:
move the h5stat tool into its own directory.

Platform tested:
kagiso.
2007-07-27 12:36:36 -05:00
Quincey Koziol
4a5b97b930 [svn-r14022] Description:
Remove stray reference to "group revision" configure flag

    Remove Windows-specific EOL characters from src/H5FDwindows.c

    Add some missing types to bin/trace

    Re-run bin/reconfigure script to regenerate information after changes above.

Tested on:
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (linux)
    Solaris/32 2.10 (linew)
2007-07-26 16:33:10 -05:00
Quincey Koziol
b566d21649 [svn-r13972] Description:
Add --with-default-api-version configure flag.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 21:42:17 -05:00
Quincey Koziol
b4e029c70b [svn-r13971] Description:
Add --enable-deprecated-symbols configure option, to allow users to
remove deprecated public API symbols at configure time.

	Add bin/make_vers script to bin/reconfigure actions.

	Run bin/reconfigure to regenerate autotool components.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 17:01:35 -05:00
Mike McGreevy
1d7e8f9dee [svn-r13928] Purpose: 1) Moving H5_CXX_HAVE_OFFSETOF macro to src/H5pubconf.h file.
2) Removing configuration of c++/src/H5cxx_pubconf.h file.

Reasoning: the additional pubconf file caused compilation complications, this is cleaner.

Tested:  kagiso, smirom
2007-06-29 15:52:56 -05:00
Mike McGreevy
58467956ba [svn-r13925] Purpose: intermediate checkin for offsetof fix for PGI compiler.
Description: added new configuration to generate a pubconf file
             in the c++/src directory, H5cxx_pubconf.h. When C++
             compiler recognizes 'offsetof', the macro 
             H5_CXX_HAVE_OFFSETOF is defined in the new
             pubconf file.

tested: kagiso, smirom
2007-06-28 15:36:08 -05:00
Elena Pourmal
fc42567dbe [svn-r13913] Maintenance after beta2 release: used bin/h5vers script to change version number to 1.8.0-beta2poat1 2007-06-25 17:42:04 -05:00
Elena Pourmal
3854a37d83 [svn-r13909] Mainetnance before createing beta2 tar ball
Changed version number to 1.8.0-beta2
2007-06-25 17:11:24 -05:00
Elena Pourmal
2bdd81b3a2 [svn-r13893] Maintenance: Bump up version to beta2pre2 after creating a tar ball for remote testing 2007-06-20 11:58:55 -05:00
Elena Pourmal
08ce1e920d [svn-r13892] Maintenance: Changed library version to beta2pre1 in preparation for remote testing
for the HDF5 1.8.0-beta2 release
Platforms tested: kagiso (small change done by bin/h5vers script)
2007-06-20 11:07:48 -05:00
Mike McGreevy
9238d327a3 [svn-r13865] Purpose: Adding a new macro, H5_HAVE_OFFSETOF.
Description: When the compiler has the __offsetof__ extension, the
             H5_HAVE_OFFSETOF macro will be defined. When the compiler
             does not have the extension, the macro will remain undefined.

Tested: kagiso
2007-06-14 09:18:46 -05:00
Quincey Koziol
d3a0386d36 [svn-r13850] Description:
Hook "default VFD" configure macros into library.

	Also, make "default VFD" default to sec2 instead of nothing.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Mac OS X/32 10.4.9 (amazon)
2007-06-11 13:51:20 -05:00
Mike McGreevy
b442ea5e78 [svn-r13849] Purpose: adding a --with-default-vfd= flag to configuration.
Description:   this flag will define the macro H5_DEFAULT_VFD in src/pubconf.h
               and set it to be either H5FD_SEC2 or H5FD_STDIO, depending on the
               value set with the configuration flag (either sec2 or stdio).

Tested:        kagiso, smirom, linew
2007-06-11 08:35:43 -05:00
Mike McGreevy
9d5336acb2 [svn-r13846] Purpose: To remove changes from version #13839 (regarding DEFAULT_VFD).
Description: Changes made during this checkin need to be greatly
             modified, so I'm removing them now rather than leaving them
             in and fixing them later.
2007-06-08 08:12:13 -05:00
Mike McGreevy
58c565aee7 [svn-r13839] Purpose: creation of a DEFAULT_VFD macro in the test/Makefile.
Description:   a new configure flag has been created that will now set a macro
               in the test/Makefile. The flag is with-default-vfd=. When set to
               a virtual file driver (e.g. "--with-default-vfd=sec2"), the macro
               DEFAULT_VFD will hold this value.

Tested:        kagiso, smirom, linew
2007-06-07 16:42:40 -05:00
Raymond Lu
1280f90f81 [svn-r13829] Some systems (only SGI Altix ProPack 4 discovered so far) doesn't return correct
file size from MPI_File_get_size.  Bypass this problem by replacing it with
stat.  Add an option --disable-mpi-size in configure to indicate this function
doesn't work properly.  Add a test in testpar/t_mpi.c, too.  If it returns wrong
file size, print out a warning.

Tested on kagiso (parallel) because already tested the same change to v1.6 on 
several platforms (kagiso, cobalt, copper, and sol).
2007-06-02 13:19:36 -05:00
Quincey Koziol
bdcbada3f2 [svn-r13814] Description:
Change back to clearing memory buffers by default, but give users option
to disable this, for performance reasons (--disable-clear-file-buffers).

    Also, add configure option (--enable-using-memchecker) to conveniently
control making the library "play nice" with memory checking tools like valgrind
and purify.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    Linux/32 2.6 (kagiso)
2007-05-29 15:02:34 -05:00
Albert Cheng
83d4f43d04 [svn-r13716] updated the help message of the --enable-debug to reflect its default now depends
on the setting of  --enable-production.
2007-04-30 22:38:52 -05:00
Albert Cheng
2b807f7fdd [svn-r13703] Feature:
Change --enable-debug default to no if producton is enabled.

Platform tested:
kagiso just doing configure with various combinations of option and varified the
output.
2007-04-27 09:56:33 -05:00
HDF Tester
f68c5d9849 [svn-r13692] Snapshot version 1.8 release 0 (beta1post0) 2007-04-23 09:55:02 -05:00
Quincey Koziol
a16b402a6f [svn-r13685] Description:
Update the version string to "1.8.0-beta1post0"
2007-04-18 15:36:56 -05:00
Quincey Koziol
4fee3d360c [svn-r13683] Description:
Change the release string for the beta1 release, so the tag in subversion
is correct.
2007-04-18 15:30:58 -05:00
Albert Cheng
4b716c38b8 [svn-r13633] Purpose
New feature

Description:
Added test scripts to test the compiler scripts (h5cc, h5fc and h5c++)

Tested platform:
Kagiso (serial and pp)
2007-04-11 00:17:13 -05:00
Raymond Lu
3431f74c43 [svn-r13588] A support of files bigger than 2GB for STDIO driver. Configure will
check if fseeko is available.  Using it instead of fseek can support
big files because the offset is of type off_t not long int.  Also 
added the test for STDIO in big.c.
2007-04-04 14:59:00 -05:00
Albert Cheng
c4bbce8be1 [svn-r13523] Description
Switch the default setting for configure from --enable-production/--disable-debug
to --disable-production/--enable-debug.

Platform Tested:
In kagiso with fortran and C++.  No commit test because changes
happened in configure and it is straight forward.
2007-03-16 18:26:30 -05:00
HDF Tester
25bb6f5dd8 [svn-r13476] Snapshot version 1.8 release 0 (alpha6snap2) 2007-03-08 14:09:19 -05:00
Mike McGreevy
2996c917af [svn-r13475] There's a configure issue linking szip's shared libraries when running on kagiso.
The static szip libraries are working as intended, but when shared szip 
libraries are present and intended for use they cannot be opened. A check 
has been implemented to test if shared szip libraries are functional on 
current platform. If they are not, and the user is trying to use them, 
szip is now disbaled and the user is informed.

This issue occurs on kagiso, and the resolution was tested on kagiso.
2007-03-08 11:57:36 -05:00
Raymond Lu
c8ba250a1e [svn-r13432] Changed the detection of alignment requirement for Direct I/O from configuration to run-time
detection in H5FD_direct_open in H5FDdirect.c.
2007-02-28 11:54:50 -05:00
Albert Cheng
55ebd053d4 [svn-r13355] Updated copyright notice to THG version.
Changed support email address to help@hdfgroup.org.

Tested: Just visual verification since they are
2007-02-20 15:31:14 -05:00
HDF Tester
146dc710d8 [svn-r13276] Snapshot version 1.8 release 0 (alpha6snap1) 2007-02-11 00:52:21 -05:00
James Laird
affdaa04b5 [svn-r13247] Replaced /bin/rm in configure with just rm. This should have no effect on any
platform, since configure already uses rm, but it will prevent a bug in the
(bizarre) case that a system has rm somewhere other than /bin.

Tested on smirom and kagiso.
2007-02-06 13:50:04 -05:00
Albert Cheng
0773699692 [svn-r13225] Purpose: bug fix.
Description:
The lone colon test left behind the a.out file.  Added a /bin/rm to clean it up.

Platform tested:
Kagiso only since it is a trivial change.
2007-01-30 16:23:30 -05:00
HDF Tester
55d4ec6ebf [svn-r13216] Snapshot version 1.8 release 0 (alpha6snap0) 2007-01-29 10:58:07 -05:00
Albert Cheng
f94e51f7c1 [svn-r13208] Changed the minor release string to alpha6snap0 for pre-alpha6 snapshot releases. 2007-01-27 11:15:58 -05:00
James Laird
73b8819a42 [svn-r13198] Fiddled with the syntax of the configure test for srcdir="foo", which should
hopefully fix problems on copper and duty.

Tested on copper, duty, kagiso, Cygwin.
2007-01-25 10:30:53 -05:00
HDF Tester
dcd346df62 [svn-r13195] Snapshot version 1.8 release 0 (alpha5snap0) 2007-01-25 02:35:44 -05:00
Albert Cheng
b6461fc56e [svn-r13184] Changed release version to alpha5snap0 to restart snapshot release.
Platforms tested:
Eyeballed the svn diff output.  Looked good.
2007-01-23 17:57:33 -05:00
James Laird
59eccdaf69 [svn-r13181] Added a configure check to prevent a failure on Cygwin.
It seems that while Cygwin supports the time command, it has trouble with
the syntax
srcdir="../../hdf5/test" time ./testhdf5
and complains.
The solution is to test the above case in configure and not to use the time
command if it fails; Cygwin is fine with
srcdir="../../hdf5/test"  ./testhdf5

Tested on Cygwin and kagiso.  This feature shouldn't be a major compatibility
problem since every platform but Cygwin is already fine with the current
syntax.
2007-01-23 12:29:45 -05:00
Quincey Koziol
7072d7103d [svn-r13138] Description:
Auto-detect the support for the posix_memalign routine and disable
the direct I/O VFD if posix_memalign is not supported.  This should allow
direct I/O to be auto-detected and disabled on FreeBSD.  (Direct I/O itself
works fine, but doesn't have the alignment requirements on FreeBSD that it
has on Linux, so the code would have to be re-worked to not use posix_memalign
and we don't need to support that right now).

Tested on:
	FreeBSD/32 6.1 (duty)
	Linux/32 2.4 (kagiso)
2007-01-12 14:32:34 -05:00
Elena Pourmal
6b156d43a9 [svn-r13080] Description:
Maintenance for the HPUX 11.23 platform.

Problem:
	C++ shared libraries are not supported for the 64bit mode (+DD64 compiler flag)

Solution:
	Disable shared C++ library when +DD64 flag is detected.

Platforms tested:
	sirius (HPUX 11.23 at UMKC) and kagiso
2006-12-20 10:22:54 -05:00
James Laird
6b5a918b1e [svn-r12929] Hopefully this really is a fix for the tg-login errors.
The version of libtool used by HDF5 isn't directly affected by the reconfigure
script; instead, libtoolize --force must be used by hand.  Libtool was the
source of the problem, so rolling its version back to 1.5.14 should solve the
issue (at least temporarily).

Reconfigure should still work on both heping and kagiso.

Tested on heping, kagiso, and tg-login3.
2006-11-16 15:44:35 -05:00
James Laird
911e79b273 [svn-r12887] A fix for linking issues.
Should disable linking against shared libraries in Fortran for compilers that
don't support shared libraries.

Should also fix problem when the wrong Fortran file extension was specified.

If these changes don't solve the Daily Test issues, I'll look at backing out
the autotool version change until I have time to fix them.

Tested on heping, kagiso, juniper.
2006-11-10 14:56:04 -05:00
James Laird
227a79d551 [svn-r12886] Fix (hopefully) for last night's failures on tg-login3.
It seems that the latest version of libtool is linking against shared versions
of the szip libraries in Fortran, rather than the static versions.  ifort
doesn't support shared libraries at all.

To solve the problem, we avoid shared libraries entirely unless we're
building shared Fortran libraries ourselves.

If libtool always behaves like this now, it may cause similar problems on
other machines.  If you notice that a machine is breaking when it links against
a shared library, let me know.

Tested on kagiso; nothing new is broken.  If Albert has time this afternoon
I'll ask him to test on tg-login3 as well.
2006-11-09 12:39:33 -05:00
Raymond Lu
8e0a4a03c0 [svn-r12870] Add a new macro H5_HAVE_DIRECT_ALIGN in configure.in. Some systems like copper and sleipnir
doesn't require alignment for Direct I/O.  If this's true, write or read data just like sec2
does.
2006-11-06 17:17:46 -05:00
James Laird
de383a7edf [svn-r12741] Added support for direct I/O to check-vfd. The direct VFD is only tested
if it is enabled.

Added Direct VFD status to the configure summary.

Removed a line left over from pablo support.  Oops!
2006-10-10 15:47:24 -05:00
Raymond Lu
65d30cc9c3 [svn-r12739] Added Direct I/O driver to VFD. It's only supported by SGI Altix (cobalt). There's a configure
option --enable-direct-vfd/--disable-direct-vfd to enable/disable Direct I/O support.  The default
is enabled.  There's a small test in test/vfd.c.  Another way to test it is to set environment
variable HDF5_DRIVER to "direct" and run "make check" in the test/ directory.  There'll be some
further improvement in the following checkin including allowing user to provide memory boundary
value, file block size, and copying buffer size.
2006-10-10 15:07:16 -05:00
James Laird
e5f0444b3a [svn-r12715] Incorporated a user-submitted patch to better detect the 'tr' utility
and quote its arguments.  Also checks for the 'socket' library on
Solaris.

If this patch passes the Daily Tests and makes the user happy, I'll
port it back to the 1.6 branch.

Tested on mir and sol.
2006-10-03 17:41:34 -05:00
Quincey Koziol
a6f6462541 [svn-r12700] Alert:
File format is not stable, don't keep files produced!

Description:
    First stage of checkins modifying the format of groups to support creation
order.  Implement "dense" storage for links in groups.

    Try to clarify some of the symbols for the H5L API.

    Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest
file format options (including "dense" link storage in groups)

    Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation
order tracking in groups (although no index on creation order yet).

    Remove --enable-group-revision configure flag, as file format issues are
now handled in a backwardly/forwardly compatible way.

    Clean up lots of compiler warnings and other minor formatting issues.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-v1.6 compa
    Mac OSX/32 10.4.8 (amazon)
    AIX 5.3 (copper) w/parallel & FORTRAN
2006-10-02 05:24:03 -05:00
HDF Admin
d5d664a56c [svn-r12670] Snapshot version 1.8 release 0 (alpha5) 2006-09-16 15:38:42 -05:00
Quincey Koziol
b047710a95 [svn-r12669] Description:
Use a slightly less efficient method of computing the log2() on SGI IRIX64,
in order to avoid a compiler bug when optimizations are turned on.

Tested on:
    SGI IRIX64 6.5 (atlantia)
2006-09-15 15:20:39 -05:00
Quincey Koziol
0e539a1cbc [svn-r12566] Description:
Removed free space manager from "enable-debug=all" list of flags, it's
not really designed for "user level" debugging.

Tested on:
    FreeBSD 4.11 (sleipnir)
2006-08-11 21:57:07 -05:00
Quincey Koziol
58ed885d13 [svn-r12491] Description:
Refactored object deletion code for fractal heap to fix scaling problems.
Passing all previous tests again now.

Tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OS X (amazon)
2006-07-21 20:55:14 -05:00
Pedro Vicente Nunes
5d8a9053c7 [svn-r12482] new tool h5copy
it uses the API function H5Gcopy to copy groups and datasets from file
to file, read from a command line

note: the test script is not finished yet
tested on heping, copper, shanti
2006-07-19 16:47:33 -05:00
Elena Pourmal
b0379795d5 [svn-r12478] Changed version number to 1.8.0-alpha5 after tagging hdf5-1.8.0-alpha4 release
with "hdf5_1_8_0_alpha4" tag.
2006-07-16 21:59:54 -05:00
John Mainzer
801b5b09f2 [svn-r12462] Committed a variety of metadata cache related changes:
1) Added trace file support to the metadata cache.  This allows capture
   of all metadata cache calls in trace files for purposes of optimization
   and debuging.

2) Added an expunge entry function.  This allows an entry to be deleteded
   from the cache without writing it to disk even if it is dirty.

3) Added a function call to resize pinned entries.

4) Added code to deal with entries that are dirty on load.  This is
   needed in support of a bug fix which can alter object headers on
   load to repair files.

5) Added progress reporting code to the "MDC API smoke check" test in
   cache_api.c.  To enable the progress reporting, set report_progress
   to TRUE in mdc_api_call_smoke_check().

Tested with h5committest, and a parallel test on phoenix (dual athelon
linux box).
2006-07-13 12:59:39 -05:00
Raymond Lu
4dfad81062 [svn-r12435] Purpose: Bug fix
Description: Mac OS 10.4 on PowerPC chip has some errors to convert (unsigned)
long long to long double.  When the bit sequences are 0x003ff..., 0x007fff...,
0x00ffff..., 0x01ffff..., 0x7fffff..., the converted values are twice as big
as they should be.

Solution: Detect the error in configure and disable the compiler conversion
and test case.

Platforms tested: h5committest, Mac OS 10.4, and fuss.
2006-06-23 17:11:12 -05:00