Commit Graph

640 Commits

Author SHA1 Message Date
Albert Cheng
1d2bf10ae7 [svn-r17502] Purpose:
Stage 2 implementation of embedded library information feature.

H5.c: added code to print the embedded library information when there is
a library versions mis-match occurs. This ensures the library information
string is included in the executable.
Also modifies the code so that the Library mismatch warning string is
included only once in the executable.

H5private.h:
Added a global reference to the libinfo string variable to prepare
for possible stage 3 implementation of a public API.

test/testlibinfo.sh.in:
A new test added to verify the library information is indeed included
in the executables.

configure.in:
configure:
Added entry to auto-generate test/testlibinfo.sh.

H5detect.c:
Modified the libhdf5settings generating code to allow it to insert the
strings to a file other than stdout.  This maybe needed in stage 3
implementation.

MANIFEST:
updated with the newly added file of testlibinfo.sh.in.

Tested:
h5committest passed. Additional tests:
jam serial; jam --disable-embedded-libinfo; jam --disable-shared. All passed.
2009-09-21 00:28:44 -05:00
Larry Knox
458358f0bd [svn-r17446] Snapshot version 1.9 release 45 2009-09-03 13:02:46 -05:00
Mike McGreevy
49b638104c [svn-r17440] Purpose:
Add warning to configure

Description:

   Patched up the configure script to issue a warning when the user
   has supplied the --enable-static-exec flag on a system that libtool
   indicates does not support the -static linker flag.

Tested:

   jam, smirom, linew, liberty.
2009-08-31 11:21:56 -05:00
Raymond Lu
0b3b4351e7 [svn-r17392] I added a detection for the correctness of converting from unsigned long to float in the
configure.in.  The Pathscale compiler on Sandia's Linux machine misinterprets the values of 
unsigned long as negative during the conversion to float, when the first bit of unsigned long
is on.  

Tested on jam.  Need to test it on Sandia's machine.
2009-08-20 13:40:50 -05:00
Mike McGreevy
4598a59f86 [svn-r17345] Purpose:
Updating autotools

Description:

    Installed new autotools and used them to reconfigure HDF5.

    - 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).
    
Tested:

    Tested on machines jam, smirom, liberty, linew.
    Tested w/ features c++, fortran, parallel.
    Tested w/ compilers gcc, pgcc, icc.

    Further testing via Daily Tests should catch any other outliers. Upon
    passing DT's, I'll propogate the new tools into 1.8, hdf4, et cetera.
2009-08-12 13:55:25 -05:00
Larry Knox
eb3fc461a4 [svn-r17343] Snapshot version 1.9 release 44 2009-08-12 08:27:39 -05:00
Larry Knox
818e0698cc [svn-r17159] Snapshot version 1.9 release 43 2009-07-06 10:42:14 -05:00
Larry Knox
e70b32f7b5 [svn-r17135] Snapshot version 1.9 release 42 2009-07-01 12:23:31 -05:00
Larry Knox
312d6350fe [svn-r17047] Snapshot version 1.9 release 41 2009-06-14 10:41:49 -05:00
Quincey Koziol
5493f48ccb [svn-r17019] Description:
Break out the configure check for fseeko & ftello from lseek64/fseek64/
ftruncate64, since the check for the latter routines is not a valid check for
the former routines.

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.7 (amazon) in debug mode
        Mac OS X/32 10.5.7 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-06-09 12:56:22 -05:00
Larry Knox
c87c334876 [svn-r17012] Snapshot version 1.9 release 40 2009-06-07 10:41:52 -05:00
Larry Knox
126dae2440 [svn-r16995] Snapshot version 1.9 release 39 2009-06-01 13:50:44 -05:00
Quincey Koziol
2a3c76f685 [svn-r16897] Description:
Add basic support for using 'aprun' to run parallel commands, when on
a Cray.

Tested on:
	Cray @ LBL (franklin)
2009-04-29 21:40:32 -05:00
Quincey Koziol
f098d20ab9 [svn-r16847] Description:
Bring r16846 from revise_chunks branch back to trunk:

	Fix broken (for how long?) H5_ASSIGN_OVERFLOW macro to actually detect
overflows during assignments, along with several errors it [now] detected.

	Cleaned up a fix minor warnings and/or pieces of code also.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(h5committest not needed - multi-platform test performed on branch)
2009-04-23 13:25:16 -05:00
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