Commit Graph

316 Commits

Author SHA1 Message Date
James Laird
3f0a35a4ea [svn-r9988] Purpose:
Bug fix

Description:
pmake (on modi4, for instance) complains about undefined variables
if it is run without the -V flag, which turns those errors to warnings.

Solution:
Added test to configure.in to see if $MAKE will allow Makefiles
with undefined variables.  If not, sets -V flag in AM_MAKEFLAGS.
Ensured that all custom make targets use AM_MAKEFLAGS.
Also defined all variables that caused errors in top-level Makefile.am.
This means that pmake can be used to build hdf5 *from the top level
only*.  To run make from a subdirectory, still need to use -V flag
(or use make or gmake).

Platforms tested:
modi4, heping, copper, sleipnir
2005-02-11 12:40:52 -05:00
Quincey Koziol
674752ab7d [svn-r9977] Purpose:
Update port

Description:
    Allow FreeBSD builds to use Intel C & F90 compilers (C++ is not working
yet on FreeBSD, so that'll come along later)

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/Intel C & F90 compilers
    Does not affect other platforms...

Misc. update:
2005-02-10 08:30:36 -05:00
James Laird
ab243bf369 [svn-r9920] Purpose:
Bug fix

Description:
Found the permanant fix to automake/CVS dependency problem

Solution:
Added AM_MAINTAINER_MODE macro to configure.in.
Now automake will never try to regenerate Makefiles, Makefiles.in,
configure, H5config.h, etc. when they are out of date, nor will it
print any warnings.
Developers should  be very very careful to use reconfigure script,
and can add --enable-maintainer-mode flag to configure on heping
to regenerate these files correctly.

Platforms tested:
heping sleipnir copper
2005-02-02 15:59:46 -05:00
James Laird
ed8685acd2 [svn-r9915] Purpose:
Bug fix

Description:
Configuration files' timestamps were incorrect.

Solution:
Update Makefiles.in.  Also added correct paths to autotools on heping,
so heping build should be able to re-generate configuration files even
if they are still broken.

Platforms tested:
sleipnir
2005-02-02 11:00:36 -05:00
James Laird
e3dacb31be [svn-r9912] Purpose:
Bug fix

Description:
Dependencies between configure files (aclocal, configure.in, configure,
Makefiles.am and .in) are still causing Makefiles to try to run autotools
during build.

Solution:
Committed all Makefiles.in to update their timestamps.
As a temporary measure, forcibly prevented automake from running
autotools during build by redefining the variables it uses.

Platforms tested:
sleipnir (No changes to Makefile content)
2005-02-01 16:05:33 -05:00
James Laird
30bfb1e0ea [svn-r9907] Purpose:
Bug fix

Description:
Different compilers use different flags to include Fortran module files

Solution:
Changed boilerplate to use configure variable rather than hardcoded -M flag.

Platforms tested:
sleipnir, sol, copper
2005-02-01 10:27:37 -05:00
James Laird
26303241fe [svn-r9902] Purpose:
Configuration feature

Description:
HDF5 now uses automake to generate Makefiles

Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh

Platforms tested:
Many
2005-01-31 22:17:02 -05:00
Xuan Bai
4f79e35b33 [svn-r9842] Purpose:
Add a new configure shell script under /config to support configuration for cygwin.

Description:

Solution:

Platforms tested:
cygwin 1.5.11, VS 6.0 on windows xp, Linux 2.4 and sol 2.7.

Misc. update:
2005-01-20 15:31:31 -05:00
Quincey Koziol
7b10edb121 [svn-r9836] Purpose:
Bug fix

Description:
    Fix detection of C++ compiler version number.

Platforms tested:
    Solaris 2.7 (arabica) w/C++
    Solaris 2.8 (sol) w/C++
    Does not require h5committest
2005-01-18 21:37:16 -05:00
Raymond Lu
96cc43235e [svn-r9819] Purpose: Bug fix
Description:  The fix of the loss problem of the last 2 bytes of mantissa on sleipnir has
not been successful.  It happens when converting from unsigned long long to long double.
 The failure has been on and off.

Solution:  Hard set a macro to disable unsigned long long->long double for FreeBSD until
a good solution is found to solve this elusive problem.

Platforms tested: sleipnir and fuss.  Only sleipnir is concerned.

Misc. update:
2005-01-13 17:01:52 -05:00
Raymond Lu
7945e9929e [svn-r9809] Purpose: bug fix
Description:  For HP-UX11.00, compiler's casting from 'long double' to most of
integers.  A macro was hard set in config/hpux11.00 before.

Solution:  Let configure detect this case and set the macro.

Platforms tested:  kelgia, fuss, modi4.  These systems are mainly concerned.
2005-01-11 16:05:21 -05:00
Quincey Koziol
c04b612eb4 [svn-r9801] Purpose:
Bug fix

Description:
    Belatedly chase change of hobj_ref_t in C APIs.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/backward compatibility turned on
    IRIX64 6.5 (modi4) w/FORTRAN
    h5committest
2005-01-10 17:56:20 -05:00
Raymond Lu
7faa297ea6 [svn-r9783] Purpose: Bug fix
Description: For HP-UX 11.00, the compiler generates 'floating exception'
when converting 'long double' to most of integer types.

Solution: Define a macro for all other systems except HP-UX 11.00.  Hard set
this macro to 'no' in config/hpux11.00 to skip this test for HP-UX 11.00.

Platforms tested:  modi4, kelgia, fuss
2005-01-08 15:56:12 -05:00
Raymond Lu
82f6a72ec9 [svn-r9755] Purpose: New feature
Description:  Start to support software conversion between long double and
all integers.

Solution:  No major changes to the algorithm.  Changes to configure is to
exclude SGI for long double to integers test because there're too many problems
in their compiler.

Platforms tested:  h5committest, modi4, fuss, Teragrid, arabica

Misc. update:  RELEASE.txt
2005-01-06 13:17:59 -05:00
Elena Pourmal
fdde90dcb7 [svn-r9743] Purpose: Bug fix (by Binh-Minh)
Description: C++ build failed on kelgia. Binh-Minh fixed
             it for 1.6 branch, I am bringing changes back to
             1.7

Solution:

Platforms tested: kelgia

Misc. update:
2005-01-04 16:44:00 -05:00
Quincey Koziol
427ff7da28 [svn-r9727] Purpose:
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)

Description:
    Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation.  So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.

    I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    FreeBSD 4.10 (sleipnir) w/threadsafe
    FreeBSD 4.10 (sleipnir) w/backward compatibility
    Solaris 2.7 (arabica) w/"purify options"
    Solaris 2.8 (sol) w/FORTRAN & C++
    AIX 5.x (copper) w/parallel & FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN
    Linux 2.4 (heping) w/FORTRAN & C++


Misc. update:
2004-12-29 09:26:20 -05:00
Binh-Minh Ribler
09c2b51e71 [svn-r9703] Purpose: Update CXXFLAGS
Description:
    Changed -instances=global to -instances=static to avoid multiple
    copies of template function verify_val.

Platforms tested:
    SunOS 5.7 (arabica)
2004-12-22 23:43:33 -05:00
Albert Cheng
bf9c37e071 [svn-r9691] Description:
mpich 1.2.6 does not like the tweaking of using -O2 flag.
Comment out the Tweaking since it caused problems to mpich1.2.6.
Need to investigate the reasons and effects to tweak.


Platforms tested:
Tested in heping using mpich 1.2.6 and in eirene uisng mpich 1.2.6.
2004-12-18 15:34:25 -05:00
Quincey Koziol
5387f65eef [svn-r9684] Purpose:
Port

Description:
    Initial work for supporting GNU FORTRAN/F95 on FreeBSD.  I think I've
got things mostly set up correctly, but I'm getting an internal compiler
error on one of the FORTRAN sources, so I'm not going to add this configuration
to the daily tests yet.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/GNU FORTRAN
    Not tested in h5committest
2004-12-16 21:27:41 -05:00
Albert Cheng
2d2522f666 [svn-r9662] Purpose:
Bug fix.

Description:
MIPSpro Compiler 7.4.x starts to support C99 features
but stdint.h has a "guard" in it that will #error if
cc is invoked without asking for C99 standard.  But it
does not result with a non-zero compiler exit code, thus
configure thought it is okay to use header file stdint.h.
This causes problems later.

Solution:
Default to use the C99 compiler if available.

Platforms tested:
Tested in Sandia tesla machine which is a new SGI machine.
2004-12-13 17:29:45 -05:00
Albert Cheng
bdc10cce53 [svn-r9631] Purpose:
Improvement

Description:
Added strip option to PROD_CFLAGS to remove symbols for smaller
production file size.

Solution:

Platforms tested:

Misc. update:
2004-12-07 13:25:43 -05:00
Albert Cheng
2735166820 [svn-r9629] Purpose:
Bug fix.

Description:
Last commit would impose $arch even if user has provided his own
$CFLAGS.  Fixed it.
Removed the wording of gnu-flags inherited from the copy.

Platforms tested:
Tested in tg-ncsa.

Misc. update:
2004-12-07 12:12:18 -05:00
Quincey Koziol
4954609870 [svn-r9625] Purpose:
Code cleanup

Description:
    Clean/fix up compiler flags to be more consistent after recent changes.

Platforms tested:
    None - eyeballed - very minor
2004-12-07 09:55:40 -05:00
Albert Cheng
f640fbff8c [svn-r9624] Purpose:
Bug fix.

Description:
Cache the gettimeofday_tz as yes.
Patches for conversion problems of Long Long, float, bottom bits, etc.

Platforms tested:
Tested in tflops only.

Misc. update:
2004-12-07 09:06:06 -05:00
Albert Cheng
33cb85337a [svn-r9623] Purpose:
Bug fix.

Description:
Restored correct setting of compilers (-Wall etc for debug flags
only, c99 by default,...) that were wiped out by the commits before.

Platforms tested:
Tested in TG-NCSA, both production and development mode.
(Still need to figure out the proper flag to use for Profile.)
2004-12-06 18:20:49 -05:00
Albert Cheng
c6ea65a67e [svn-r9619] Purpose:
Bug fix.

Description:
v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2.

Platforms tested:
Only tested in TG-NCSA, use both default and --disable-production options.
2004-12-06 17:18:11 -05:00
Quincey Koziol
90d937946f [svn-r9611] Purpose:
Bug fix

Description:
    Correct typo in ia64 configure script.

    Update intel compiler detection to handle Itanium versions of compilers

Platforms tested:
    Teragrid machine (tg-login) w/icc 7.1 & 8.x
    Linux 2.4 (verbena) w/icc
2004-12-03 13:08:14 -05:00
Quincey Koziol
c731eb9d37 [svn-r9569] Purpose:
Update flags

Description:
    Update gcc compiler flags to support the early gcc 4.0 snapshots available
on sleipnir

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/gcc 4.0 snapshot
    Too minor to require h5committest
2004-11-23 22:25:19 -05:00
Albert Cheng
f470d44017 [svn-r9565] Purpose:
Improvement.

Description:
Change the default CC, F9X and CXX compilers from ecc/efc/ecc
to icc/ifort/icc because Intel keeps changing their compiler
names.  This eliminated the warning messages that a wrong
compiler name is used.

Platforms tested:
Tested in Tg-login NCSA only since that is the only
IA64 platform on site.
2004-11-23 15:48:06 -05:00
Raymond Lu
d28d9e24e9 [svn-r9515] Purpose: Bug fix
Description:  For Intel 8.1 compiler, C99 standard has to be enabled to define macro ULLONG_MAX in its own header file limits.h.

Solution: Add flag -std=c99 to Intel compiler if the version is 8.1.

Platforms tested:  Tested v1.6 because this is a very simple change.
2004-11-08 12:59:59 -05:00
Robert E. McGrath
8c0c4f945d [svn-r9495] Purpose:
Fix SZIP filter to dynmically detect encoder.

Description:

Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf

Changes to h5dump tests, contingent on detecting SZIP encoder.
2004-11-02 14:12:18 -05:00
Quincey Koziol
c9874681a6 [svn-r9491] Purpose:
Bug fix

Description:
    "Teach" the configure scripts about Intel 7.1 compilers, which don't have
_quite_ the same compiler flags

Platforms tested:
    Linux 2.4 (eirene)
2004-10-30 23:59:57 -05:00
Albert Cheng
535c97a581 [svn-r9425] Purpose:
Bug fix

Description:
Removed the cache values of sizeof signed and unsigned int_fast8_t
and int_fast16_t since the vendor changes them often.

Platforms tested:
Tested in Copper only since it affected it only.

Misc. update:
2004-10-14 16:23:39 -05:00
Quincey Koziol
e74b160268 [svn-r9412] Purpose:
Bug fix

Description:
    When mpicc/mpif90 is a wrapper around a PGI compiler, turn on less
agressive optimization options to avoid testing errors.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 15:54:25 -05:00
Quincey Koziol
75c31b8c26 [svn-r9411] Purpose:
Bug fix

Description:
    When mpicc/mpif90 is a wrapper around a PGI compiler, turn on less
agressive optimization options to avoid testing errors.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 15:54:23 -05:00
Quincey Koziol
86d0132279 [svn-r9407] Purpose:
Code cleanup/bug fix

Description:
    Remove the undocumented "$NOFP" shell variable which would allow production
builds without removing the stack frame.  This was cascading between C and
FORTRAN builds and causing problems.

Solution:
    Hard-code removing the stack frame for now.  Users would have needed to
read the configure scripts anyway, so there's not really much benefit to the
extra knob.  Users who need this functionality (production builds with stack
frames) are debugging probably, so they will need to modify the script and
build their own version of the library now.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 11:11:27 -05:00
Quincey Koziol
6af5973295 [svn-r9404] Purpose:
Code cleanup

Description:
    Default to using mpif90 if CC=mpicc and --enable-fortran flag is given,
but no F9X compiler is set.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 11:04:14 -05:00
Quincey Koziol
68732f591f [svn-r9390] Purpose:
Bug fix

Description:
    Tweak PGI compiler auto-detection to work for version 5.0 compilers as
well as version 5.2 compilers.

Platforms tested:
    Linux 2.4 (verbena) w/PGI compilers
    Not tested with rest of h5committest platforms
2004-10-08 21:58:16 -05:00
Quincey Koziol
951d6d826a [svn-r9385] *** empty log message *** 2004-10-08 21:39:07 -05:00
John Mainzer
7163f6d622 [svn-r9220] Purpose:
Fix configure bug that appears on SDSC DataStar.


Description:

Two cached "sizeof"s in ./config/powerpc-ibm-aix5.x cause builds
on SDSC Datastar to choke.


Solution:

Commented out the offending "sizeof"s.  Included comments indicating
the reason for the change.


Platforms tested:

copper


Misc. update:

n/a
2004-09-07 16:38:49 -05:00
Albert Cheng
226950b616 [svn-r9162] Purpose:
Bug fix.

Description:
$CXX_BASENAME was not set yet if $CXX was pre-set to g++.  In turn,
CXX_flags are not picking up the g++ values.

Solution:
The correct solution should be done in configure which should have
setup CXX_BASENAME if $CC is set before sourcing this file.
Put a special patch here for g++ for now.
(Also added the recognization of icc as another name for Intel
compilers.)

Platforms tested:
No h5committest but tested in TG-NCSA since these changes affected
the IA64 platform only.

Misc. update:
2004-08-26 14:03:33 -05:00
Elena Pourmal
0a965d2236 [svn-r9154]
Purpose: Maintenance/bug fixes (OSF1 C++ and missing Fortran APIs)

Description: bringing 1.6 changes to 1.7

Solution:

Platforms tested: OSF1, Solaris 2.8, AIX5.1

Misc. update:
2004-08-24 22:44:59 -05:00
Robert E. McGrath
2f7d90c0da [svn-r9119] Purpose:
Fix to config for ia64-linux (C++)

Description:
missing character in config file

Solution:
add the missing character

Platforms tested:
'hal'

Misc. update:
2004-08-19 10:58:07 -05:00
Albert Cheng
bd19d3c8b1 [svn-r9064] Purpose:
Improvement and fix.

Description:
Improvement: allow user defined RUNSERIAL and RUNPARALLEL settings.
Added hdf5_cv_gettimeofday_tz cached value.

Platforms tested:
Janus (Tflops).
2004-08-11 12:24:42 -05:00
Albert Cheng
095a6977f4 [svn-r9031] Purpose:
Improvement.

Description:
setup default setting for C++ API. Default to use the ecc compiler.

Platforms tested:
Tested in TG-ncsa which is the IA64 platform.  None of the standard committest
platforms would have tested this change.

Misc. update:
2004-08-05 18:02:26 -05:00
Quincey Koziol
c837afbc48 [svn-r8982] Purpose:
Bug fix

Description:
    Correct typo which was causing incorrect srcdir paths in generated
dependencies.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    IRIX64 6.5 (modi4)
    h5committested
2004-08-02 09:05:00 -05:00
Elena Pourmal
abf5d5cf60 [svn-r8966] Purpose: Maintenance
Description: Added support for Absoft Fortran compiler

Solution: Modified configuration file to check which Fortran compiler is used
          and set appropriate flags.

Platforms tested: verbena with pgf90 and Absoft f95 compilers

Misc. update:
2004-07-29 16:08:16 -05:00
Elena Pourmal
c5b4572ee2 [svn-r8956]
Purpose: Maintenance for MAC OSX

Description: Added support for Absoft Fortran compiler f95;
             Ddefault compiler is set to IBM xlf.

Solution:

Platforms tested: pommier with xlf and Absoft f95 compilers

Misc. update:
2004-07-27 13:53:53 -05:00
Albert Cheng
1be75d8fe0 [svn-r8886] Purpose:
bug fix.

Description:
The previous patch of -D__GNUC__ was causing failure in the
newer compiler.  The previous failure could not be repeated
any more.  So, removed it.

Platforms tested:
Tested only in TG-NCSA since the change affects only the ia64 platform.

Misc. update:
2004-07-15 17:45:29 -05:00
Albert Cheng
dd4163f3ab [svn-r8884] Purpose:
Bug fix

Description:
It uses the value of $ARCH as a gcc option but the linux clusters
at NCSA define $ARCH as environment variable with values that are
not a valid compiler option.  That caused the configure to fail
because it was not able to compile at all.

Solution:
Change ARCH to lower case $arch (convention dictates environment
variables are upper cases.)  Also preset $arch to null and do not
honor any pass it values.

Platforms tested:
Attempted to run h5committest but sol was failing due to /tmp
filled.  Copper and verbena passed.  Also passed in TG-NCSA.

Misc. update:
2004-07-15 16:51:43 -05:00