Commit Graph

657 Commits

Author SHA1 Message Date
HDF Tester
4af649f03d [svn-r17742] Snapshot version 1.9 release 50 2009-10-25 01:45:59 -05:00
Larry Knox
3916f4ef4d [svn-r17724] Merge change from 1.8 branch to trunk that removes -D_POSIX_SOURCE from CPPFLAGS in h5cc.
Tested:  amani, jam, linew (h5committest).
2009-10-22 13:38:21 -05:00
Mike McGreevy
b7e61c869b [svn-r17675] Purpose:
Configure Cleanup

Description:

    Make all AM_CFLAGS visible in CFLAGS during configure so all checks
    have full visibility of any set flags.

Tested:

    h5committest
2009-10-18 22:05:25 -05:00
Larry Knox
27a68642f1 [svn-r17670] Snapshot version 1.9 release 49 2009-10-18 11:40:34 -05:00
Mike McGreevy
dfb22d02b0 [svn-r17663] Purpose:
configure cleanup

Description

    1. Removed check that disables shared libraries when pgcc is used. Apparently
       they previously did not work with libtool 1.5.14 and on mir, neither of
       which is in use anymore. Testing on jam and amani appear fine, so this
       check is unnecessary.

    2. Removed check that disables shared C++ libraries when -xarch is used to
       enable 64 bit mode. We now use m64 flag to build 64 bit binaries, so 
       we shouldn't explicitly disable shared C++ libraries if -xarch is 
       discovered.

    3. Removed old configure output summary section from configure.in, since
       we now use the libhdf5.settings file.

    4. Updated powerpc-ibm-aix5.x config file to once again put c99 flag into
       H5_CFLAGS (and thus NOT get into h5cc), as decided in our dev meeting.

Tested:

    h5committest
    full build with pgcc on jam / amani
2009-10-16 15:16:00 -05:00
Mike McGreevy
21518fd05a [svn-r17654] Purpose:
Configure cache-val cleanup

Description:

    Corrected some misnamed cache values in configure / config files.

Tested:

    h5committest
2009-10-15 16:14:27 -05:00
Elena Pourmal
f7b06c8505 [svn-r17647] Maintenance: Configure didn't cleanup Fortran module file; fixed.
Platforms tested: jam (trivial change)
Note: Most of the Fortran compilers create module files with "mod" extension.
In the past, I believe,  there were systems (Cray?) that used different 
extensions. We should add those to the current fix when we find them.
2009-10-15 13:11:56 -05:00
Mike McGreevy
dc6898fde2 [svn-r17643] Purpose:
Configure / Config File Fixes

Description:

    1. Made AM_CPPFLAGS assignments in configure a bit safer. (i.e., check to
       ensure include paths exist before adding them to AM_CPPFLAGS).

    2. Change AIX config file to add -D_LARGE_FILES into AM_CXXFLAGS instead
       of H5_CXXFLAGS (same with *_CFLAGS). This will propagate it into 
       h5c++, where it is needed to compile correctly.

    3. Added missing line containing AM_CFLAGS to configure output summary.

Tested:

    h5committest, and uP (AIX machine, via Albert).
2009-10-14 16:43:05 -05:00
Mike McGreevy
4463d9b84c [svn-r17639] Purpose:
Configure Fix

Description:

    uP (AIX Machine) was failing because configure needs to see -k flag in
    FCFLAGS for some checks to behave as intended. Since the config files
    were switched to passing all flags into H5_FCCFLAGS, this broke this
    behavior.

    To allow configure to see this again, FCFLAGS and all other user flags
    are saved before doing anything, and restored at the end of configure,
    so if needed we can set these values in configure and/or the config/ 
    files without (permanently) overriding or changing anything a user sets.

    Also modified the powerpc-ibm-aix5.x config file to once again put -k
    into FCFLAGS in addition to H5_FCFLAGS (the former of which will be
    restored after configure completes the checks).

Tested:

    h5committest (jam and amani finished, linew still running, though
    I wanted to get this in for daily tests since it needs to be run on
    uP for final verification).
2009-10-13 16:55:21 -05:00
Larry Knox
64ffab6881 [svn-r17628] Snapshot version 1.9 release 48 2009-10-11 07:49:32 -05:00
Mike McGreevy
7f0eb8e04e [svn-r17627] Purpose:
Couple quick configure cleanups

Description:

    - Made a few AM_LDFLAGS assignments a bit safer. 

    - Regenerated a couple Makefile.in's via bin/reconfigure to address
    some typo-fixes that didn't propagate in my last check-in.

Tested:

    - h5committest
    - Also, I suspect this fix will address a failure on Sandia's clogin2 
    machine, but Albert currently has no password to gain access, so I have
    only minimal logs of the failure and no way to test it there. I'll
    just let the automated tests there determine if indeed I'm right.
2009-10-09 15:12:06 -05:00
Mike McGreevy
7ec079a515 [svn-r17616] Purpose:
CFLAGS overhaul

Description:

    Modified the way configure handles CFLAGS.

    (note: all changes also apply to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS).

    1. The configure process will now always preserve a user's CFLAGS
    environment variable setup. Any additional flags necessary for compilation
    added at configure time will be passed into the Makefiles as AM_CFLAGS,
    which is an automake construct to be used in addition to CFLAGS.

    This will allow a user to have the final say, as CFLAGS will always appear
    later in the compile line than AM_CFLAGS. Additionally, setting CFLAGS
    during make will no longer completely erase all flags set by configure,
    since they're maintained in AM_CFLAGS.

    2. Additionally, where possible, flags previously being assigned directly
    into CFLAGS (and thus propagating into h5cc) have now been redirected into
    H5_CFLAGS, so they're used ONLY for compiling hdf5, and not embedded into
    the h5cc wrapper script as well.

    *Note that H5_CFLAGS ultimately is assigned into AM_CFLAGS for use in the
    Makefiles. Complete description of changes and build process will be
    included in a Configure Document that Elena and I are working on.

    3. Removed unsupported config files. This includes:

       config/dec-osf*
       config/hpux11.00
       config/irix5.x
       config/powerpc-ibm-aix4.x
       config/rs6000-ibm-aix5.x
       config/unicos*

     4. Modified configure summary to display additional values. Specifically,
     appropriate AM_* variables are being shown, as well as H5_FCFLAGS and
     H5_CXXFLAGS, which were for some reason not already present.

Tested:

    - H5committest
    - Tested on all THG / NCSA machines, using several combinations of the more
      prominent configure options (c++, fortran, szip, threadsafe, parallel,
      et cetera). (Thanks to Quincey for rysnc testing setup!)
    - With regards to new automated testing, anything *necessary* for
      compilation will be caught by the daily tests as it stands now. (i.e.,
      if LDFLAGS is not properly set when szip is used, linking will fail).
      Additionally, with regards to which flags get into h5cc, if any
      *necessary* flags have been improperly removed, then daily tests should
      fail during make installcheck. Additional machine-specific desired
      behaviors and/or checks may have to be set up separately within the
      daily tests, so this is something to work on.
2009-10-08 10:17:30 -05:00
Larry Knox
be2d2abf86 [svn-r17589] Snapshot version 1.9 release 47 2009-10-04 07:56:18 -05:00
Quincey Koziol
37ec6dc75e [svn-r17582] Description:
Bring changes from file free space branch back to the trunk.  *yay!*

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/default API=1.8.x,
                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.8 (amazon) in debug mode
        Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-10-01 21:08:59 -05:00
Mike McGreevy
8c754e8385 [svn-r17567] Purpose:
Configure Fix

Description:

    Modified configure to set FC and CXX to "no" when fortran and c++ are
    not being compiled, respectively. This will prevent configure from running
    some checks on these compilers when they are not being used.

    This fixes a problem that was occuring when FC and/or CXX are set to
    a nonexistant or invalid compiler. Even if the languages were disabled,
    a libtool test would fail, thus preventing libtool from properly linking
    any libraries, yet configure would not flag an error message due to this
    because the languages were disabled.

Tested:

    - h5committest (jam, smirom, linew)
    - manually eyeballed configure output and logfile.
2009-10-01 12:05:38 -05:00
Albert Cheng
06a71c86a3 [svn-r17542] New test:
Add new tests (tcheck_version, testcheck_version.sh) to verify H5check_version()
does issue warnings and abort accordingly.

Tests:
H5committed tested plus jam serial tested.
2009-09-28 10:44:35 -05:00
Larry Knox
96318e678f [svn-r17538] Snapshot version 1.9 release 46 2009-09-27 07:42:31 -05:00
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