Commit Graph

560 Commits

Author SHA1 Message Date
Mike McGreevy
f0ecd71307 [svn-r18709] Purpose:
Improve configure's large-file support control.

Description:

    Modified configure to now attempt to add defines necessary for
    supporting largefiles on all systems, instead of solely on linux. This 
    is in response to user requests to enable largefile support on Solaris 
    by default, as well as to give extra control on AIX (instead of just 
    jamming the necessary flag into the config files).

    The old --enable-linux-lfs flag has been removed in favor of the 
    --enable-largefile flag (enabled by default), which can be used on all
    platforms.

    On systems where large files cannot be supported in this manner,
    configure will report as such.

Tested:

    h5committest
    AIX (NCSA's blue_print machine)
    duty, liberty, and linew.
2010-05-05 12:34:26 -05:00
HDF Tester
54cd6ecec9 [svn-r18684] Snapshot version 1.9 release 68 2010-05-02 10:21:31 -05:00
Quincey Koziol
97f4486769 [svn-r18637] Description:
Bring PGI compiler flags from 1.8 branch, reducing optimization level with
PGI C 9.x

Tested on:
    Linux/64 2.4 (amani) w/PGI C 9.x & 10.x
2010-04-27 14:20:57 -05:00
Quincey Koziol
5e7595c546 [svn-r18630] Description:
Fix remaining aliasing problems and enable optimizations w/gcc now.  This
addresses the remaining issues for Bug#1398.

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 (amani) 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.6.3 (amazon) in debug mode
    Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
2010-04-26 19:37:04 -05:00
Quincey Koziol
e059d5bcb3 [svn-r18605] Description:
Add new warning flags for gcc 4.5.x

Tested on:
    FreeBSD/32 6.3 (duty) w/gcc 4.5
    FreeBSD/64 6.3 (liberty) w/gcc 4.5
2010-04-22 05:58:27 -05:00
HDF Tester
987bc92a01 [svn-r18589] Snapshot version 1.9 release 67 2010-04-18 08:59:45 -05:00
HDF Tester
3a0f7b3bba [svn-r18545] Snapshot version 1.9 release 66 2010-04-11 12:03:28 -05:00
Albert Cheng
e2d0e5f67e [svn-r18532] Bug fix:
When gcc is used in the AIX platform, it failed to compile tconfig.c
because it does not recognize the __int64 type.  The ibm-aix has the
sizeof __int64=8 cached, as if all compilers supported this type.

Solution:
Removed the cached value for the sizeof __int64 so that during
configure, gcc can report it does not support it and not to use
it in the source code.

Tested:
NCSA Blue which is an AIX machine, using gcc or xlc compiler.
(The gcc still have failure but is being fixed as separated bugs.)
2010-04-07 17:52:28 -05:00
HDF Tester
6ea7793875 [svn-r18508] Snapshot version 1.9 release 65 2010-04-04 08:43:55 -05:00
HDF Tester
c49b97ff38 [svn-r18465] Snapshot version 1.9 release 64 2010-03-28 08:41:02 -05:00
HDF Tester
689868202c [svn-r18432] Snapshot version 1.9 release 63 2010-03-21 08:42:10 -05:00
HDF Tester
0a4eadc0b9 [svn-r18406] Snapshot version 1.9 release 62 2010-03-14 10:04:16 -05:00
HDF Tester
ed2e263b3f [svn-r18350] Snapshot version 1.9 release 61 2010-02-28 08:37:04 -05:00
HDF Tester
9daa1a55cd [svn-r18217] Snapshot version 1.9 release 60 2010-02-07 07:35:22 -05:00
HDF Tester
1c05d48b93 [svn-r18199] Snapshot version 1.9 release 59 2010-01-31 07:29:07 -05:00
HDF Tester
1e25bc217f [svn-r18120] Snapshot version 1.9 release 58 2010-01-17 07:25:27 -05:00
Albert Cheng
22da4232a4 [svn-r18107] bug 1673:
The mixed use of RUNTEST (original) and RUNTESTS (new) caused
confusion. E.g., the timings in test/ was still using the old
$RUNTEST.  It made more sense to use $RUNTEST which is used
by the dejagnu feature of automake.  So, I changed all
$RUNTEST or $RUNTESTS to $RUNEXEC.

config/commence.am & config/conclude.am are the two files
that got changes. Also fixed an error in test/Makefile.am.
The rest are changed by bin/reconfigure.

Tested: h5committested.
2010-01-12 18:58:30 -05:00
HDF Tester
a65b70ccc7 [svn-r18100] Snapshot 2010-01-10 07:33:23 -05:00
Albert Cheng
25b3ba2832 [svn-r18065] Purpose:
Port to AIX 6.1 for RS6000.  Should be the same as PowerPC based AIX.

Tested:
Blue-print of NCSA.
2010-01-04 21:04:39 -05:00
HDF Tester
a65f27f30f [svn-r18059] Snapshot 2010-01-03 07:39:26 -05:00
HDF Tester
06ce6af638 [svn-r18047] Snapshot 2009-12-20 07:32:29 -05:00
HDF Tester
dc974e3de2 [svn-r18012] Snapshot 2009-12-13 07:35:57 -05:00
HDF Tester
94a00c768c [svn-r17973] Snapshot 2009-12-07 09:18:34 -05:00
Albert Cheng
e10e292a42 [svn-r17931] Enhancement:
Added the xlc-* and mpcc_r-* BASENAME patterns to be recognized as IBM
compilers so that the ibm compiler options can be added properly.
This allows non-system-default compiler command names (e.g. xlc-m.n.k.l)
be recognized.
(need to figure out a better way to recognize it is an IBM compiler
and its version information.)

Tested: LLNL AIX machine.
2009-11-26 12:41:55 -05:00
HDF Tester
5a821b959b [svn-r17902] Snapshot 2009-11-17 09:27:25 -05:00
HDF Tester
4af649f03d [svn-r17742] Snapshot version 1.9 release 50 2009-10-25 01:45:59 -05:00
Albert Cheng
5ef5f8c3a6 [svn-r17671] Removed these two options from the fortran flags:
-qmoddir=. because -qmoddir defaults to current directory already.
   -static because it is not mentioned in "man xlf". Don't know it was a typo
    or just an obsoleted option.
Removing both of them produced no ill or visible effects.

Tested: Up of LLNL
2009-10-18 17:53:59 -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
Albert Cheng
091fb5951c [svn-r17659] Changed the default fortran compilers from xlf and mpxlf_r to
xlf90 and mpxlf90_r respectively. The fortran 90 compilers support
free format source files. This allows the removal of -k so that
the default compiler command is cleaner.

Tested: AIX Up at LLNL.
(Note: mpxlf90_r does not work but this could have been an undetected
old problem.)
2009-10-15 19:17:03 -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
7ed7937f96 [svn-r17644] Maintenance: Removed duplicated entry for socket library. It was there
for stream VFD. -lsocket is still used for linking, but it
             is added by libtool and not by us. 
             Set up debug flags for Fortran.

Platforms tested: linew 32 and 64-bit.
2009-10-15 08:27:45 -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
Elena Pourmal
93bea90f58 [svn-r17636] Maintenance: Changed default fortran compiler for Mac Intel to gfortran
Cleaned up the file to be inline with other config files
             that use multiple compilers.


Platforms tested:
	     My Mac pahra with gfortran, ifort and g95
2009-10-12 23:57:31 -05:00
Larry Knox
64ffab6881 [svn-r17628] Snapshot version 1.9 release 48 2009-10-11 07:49:32 -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
Albert Cheng
8d8f365711 [svn-r17606] Code Cleanup:
TFLOPS machine has retired long ago. Removed all code specific for its
support.

Test:
h5committested.
2009-10-07 00:08:05 -05:00
Larry Knox
be2d2abf86 [svn-r17589] Snapshot version 1.9 release 47 2009-10-04 07:56:18 -05:00
Larry Knox
96318e678f [svn-r17538] Snapshot version 1.9 release 46 2009-09-27 07:42:31 -05:00
Larry Knox
458358f0bd [svn-r17446] Snapshot version 1.9 release 45 2009-09-03 13:02:46 -05:00
Larry Knox
eb3fc461a4 [svn-r17343] Snapshot version 1.9 release 44 2009-08-12 08:27:39 -05:00
Albert Cheng
7c4b1edcdb [svn-r17248] Bug fix (1301 & 1468)
PathScale was mistaken as the Gcc compiler such that gcc flags were added
to it but PathScale did not honor many of them. (e.g. -Wvariadic-macros,
-Wold-style-definition, -Winit-self, -Wvariadic-macros, -Wmissing-include-dirs,
-Winit-self, -Wc++-compat)

Solution:
Added a pre-condition to detect pathScale compiler before Gcc is
accepted.

Tested:
Sandia Glory where PathScale compiler is available.
2009-07-27 19:28:24 -05:00
Albert Cheng
8be517f710 [svn-r17196] Changed default Gnu fortran compiler from g95 to gfortran since
gfortran is more likely installed with gcc now.

Tested:
jam and amani which covers both linux and linux64.
No h5committest because this is gnu compiler specific, usually
applicable to Linux.
2009-07-19 18:28:30 -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
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
b1f8b21130 [svn-r16845] Description:
Updated with new warning flags from gcc 4.4

Tested:
    FreeBSD/64 6.3 (liberty) w/gcc 4.4.0
2009-04-23 12:31:34 -05:00