Commit Graph

426 Commits

Author SHA1 Message Date
James Laird
ae2a313b5b [svn-r11421] Purpose:
Feature

Description:
Added H5_CFLAGS, etc. to 1.7 branch.
Now compilation flags can be put in H5_*FLAGS and they'll be used when
building hdf5 but not in h5cc.


Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-09-16 16:26:17 -05:00
James Laird
b656c90c8a [svn-r11420] Purpose:
Bug fix

Description:
Disabled C++ shared libraries for Sun Workshop compiler.

Solution:
This bug only seems to happen when using the -xarch=v9 flag to compile in
64-bit mode, but disabling shared libraries entirely for this compiler is
an easier fix (I don't know how to detect 64 bit mode from the command line).
The framework for disabling shared libraries for other C++ compilers is
in place.

Platforms tested:
sol, mir, sleipnir, modi4
2005-09-16 16:16:11 -05:00
James Laird
cc8f7d98bf [svn-r11418] Purpose:
Bug fix/feature

Description:
Disabled shared libraries for a number of Fortran compilers that don't
support them.
This allows other compilers to support shared Fortran libraries.

Solution:
Added a conditional, SHARED_FORTRAN_CONDITIONAL, which is true if
Fortran supports shared libraries.  It is set in configure.in.

Platforms tested:
mir, sleipnir, colonelk, heping
2005-09-15 16:30:06 -05:00
James Laird
33beeb7f55 [svn-r11411] Purpose:
Bug fix

Description:
Building with --disable-static seems to have been broken on several platforms.
Fixed this.
Configure will now disable shared libraries automatically when using pgf90
or when building on Cygwin.

Solution:
To avoid errors when using shared libraries with pgf90 (which I had not
realized were compiler-specific), I had manually set convenience libraries
to use the -static linking flag.  Apparently, this is not necessary, and
caused these libraries to be created as empty archives when --disable-static
was used.
Also, some libraries were including other libraries, which was not
necessary.
I also fixed code in configure.in to correctly detect whether shared
or static libraries are enabled, and moved code that disables shared libraries
to before libtool is created (rather than editing libtool after the fact).
Despite repeated warnings that only one shared library can be linked at a
time, I have yet to have shared libraries break the linking of tests on
any system.  We'll see if the Daily Tests turn up anything.

Platforms tested:
mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel),
sol (fortran, C++), cygwin
2005-09-13 17:30:33 -05:00
James Laird
9b1828ffd0 [svn-r11353] Purpose:
Bug fix

Description:
Configure should now throw an error when C++ or threadsafe is enabled
and a parallel compiler is being used.


Platforms tested:
sleipnir and modi4
Tested
--enable-cxx --enable-parallel --disable-cxx
--enable-cxx --disable-parallel
cases in particular.

Misc. update:
2005-09-06 11:57:05 -05:00
Albert Cheng
f0bb265b2e [svn-r11350] Purpose:
Bug fix.

Description:
The incompatibility of enable-parallel and enable-cxx was not correctly
coded.  It would complained even for the case of
    ./configure --enable-cxx --disable-parallel.

Solution:
Changed it to use "$enable_XYZ" = "yes".  Fixed the same for the
enable-threadsafe checking too.

Platforms tested:
tested in heping.

Misc. update:
2005-09-05 23:11:33 -05:00
Quincey Koziol
4aa86e2297 [svn-r11344] Purpose:
Bug fix

Description:
    Allow threadsafe & C++ to be enabled together - its working fine on
sleipnir.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
2005-09-03 08:58:24 -05:00
James Laird
fc90c784e1 [svn-r11336] Purpose:
Bug fix

Description:
A typo made configure throw an error if only C++ was enabled.  Fixed.

Platforms tested:
mir
2005-09-01 16:09:22 -05:00
James Laird
30c61d0f25 [svn-r11335] Purpose:
Bug fix

Description:
configure used 'uname -o' to detect Cygwin.  This command is fine on
Cygwin, but causes errors on some other platforms (sol).
Fixed this.

Solution:
Used 'uname' with no -o option to identify Cygwin.

Platforms tested:
mir, cygwin (on finrod)
2005-09-01 15:38:18 -05:00
James Laird
c7808fa57e [svn-r11334] Purpose:
Feature: checking configure flags (bug #90)

Description:
Some configure flags don't work together.  Configure now exits with
a sensible error message if one of these combinations is specified.

Solution:
The following flags will throw errors:
--enable-cxx and --enable-parallel
--enable-cxx and --enable-threadsafe
--enable-threadsafe and --enable-parallel
--enable-fphdf5 and --enable-fortran

Platforms tested:
mir, modi4, heping

Misc. update:
2005-09-01 15:31:46 -05:00
Raymond Lu
a5f1aa713f [svn-r11333] Purpose: Change configure's default.
Description:  Changed configure's default disable-dconv-exception and
disable-dconv-accuracy back to enable-dconv-exception and
enable-dconv-accuracy.  The test has been finished.


Platforms tested: fuss - tested before.
2005-09-01 13:48:00 -05:00
Raymond Lu
ddaa96bc5a [svn-r11320] Purpose: Test
Description: made --disable-dconv-accuracy default to let daily test
check every systems.  Will change it back to --enable-dconv-accuracy
afterwards.


Platforms tested: h5committest
2005-08-31 10:39:55 -05:00
Raymond Lu
70ddbda208 [svn-r11318] Purpose: Test
Description:  made --disable-dconv-exception default for configuration
to let daily test run on every system.  The default was
--enable-dconv-exception.


Platforms tested: h5committest and fuss.
2005-08-30 14:58:55 -05:00
Raymond Lu
336716e427 [svn-r11315] Purpose: Minor change on feature.
Description:  Changed the configuration options --enable-exception and
--enable-accuracy checked in yesterday to --enable-dconv-exception and
--enable-dconv-accuracy to be more descriptive.


Platforms tested: fuss - simple change.
2005-08-30 10:11:08 -05:00
Raymond Lu
bd4312d049 [svn-r11311] Purpose: New features.
Description:  Added 2 new configure options, --enable-exception and --enable-accuracy.

--enable-exception lets the library check whether user's exception handling
functions are present during compiler data conversions and use them if they are.
When it's disabled, this step is skipped to improve conversion speed.  This
step isn't implemented yet for soft conversions because there would be little
gain in speed.

--enable-accuracy guarantees data accuracy during data conversions.  It means
the library will choose compiler conversions only if the accurate data is
secured.  Otherwise, the library will go for the library's own conversions.  If
this option is disabled, the library uses compiler conversions in favor of
their speed as long as they work even if data can be incorrect.


Platforms tested: h5committest and fuss.  Some systems may fail after this
checkin.
2005-08-29 10:21:58 -05:00
Albert Cheng
7e33c92e6b [svn-r11252] Purpose:
Fixed a typo--osf1 was spelled as osfl.

Platforms tested:
Tflops.
2005-08-16 15:56:59 -05:00
Albert Cheng
70f1a12883 [svn-r11222] Purpose:
feature

Description:
Add the test for tmpfile.  If it does not exist, compile in our own
version (which always returns NULL for now.)
2005-08-09 11:53:43 -05:00
HDF Admin
e49bb1feea [svn-r11204] Snapshot version 1.7 release 50 2005-08-07 03:45:28 -05:00
HDF Admin
3cba75f060 [svn-r11148] Snapshot version 1.7 release 49 2005-07-24 02:58:43 -05:00
Quincey Koziol
34bd25f361 [svn-r11144] Purpose:
New port

Description:
    Elena asked me to check in her NEC SX-6 work, so here it is! :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    NEC SX-6 (by Elena)
2005-07-22 20:55:12 -05:00
Raymond Lu
bd92e1e2a0 [svn-r11087] Purpose: Bug fix.
Description: When converting floating-point numbers to integers and the values of
floating-point number are greater than the maximal value of integer, Cray X1 generates
floating exception.

Solution: Added a test in configure to detect Cray X1's exception.  Set a flag to
indicate the machine that can handle overflow converting all floating-point to all
integer types.  This flag should be set for all machines, except for Cray X1 where
floating exception is generated when the floating-point value is greater than the
maximal integer value.

Platforms tested: Cray X1 and h5committest.
2005-07-19 13:16:33 -05:00
James Laird
e9471222f1 [svn-r11085] Purpose:
Bug fix

Description:
Update Makefiles now that docs are no longer in main hdf5 tree.

Solution:
Changed root-level Makefile.am not to recurse into docs tree.
Removed docs Makefiles from configure.in.
Removed config/commence-doc.am, since it is no longer used.

Platforms tested:
mir (change to Makefiles only)
2005-07-19 12:58:24 -05:00
James Laird
d2e92fd236 [svn-r11083] Purpose:
Bug fixes

Description:
A number of minor changes to Makefiles.  Some files will now be cleaned
properly, some comments are more informative, etc.


Platforms tested:
heping, mir, modi4
2005-07-18 18:30:38 -05:00
HDF Admin
5de418b2b4 [svn-r11081] Snapshot version 1.7 release 48 2005-07-18 16:20:23 -05:00
Raymond Lu
ac75ce4141 [svn-r11019] Purpose: Add detection
Description: pgcc version 6.0x have optimization (-O, -O2, or -O3) problem.
It caused multi driver test to fail.  The problem happened in a macro
definition.

Solution: Detect these versions and add option "-Mx,28,0x8" to the compiler
to avoid the problem if optimization is enable.

Platforms tested: mir and fuss - simple change.
2005-07-05 14:08:58 -05:00
James Laird
22586f84a7 [svn-r10956]
Purpose:
Configuration feature

Description:
Added 'alias' for host names in configure.  Typing ./configure --host=tflops
will now configure with tflops as a host.  Previously, this required typing
./configure --host=i386-intel-osfl.

Solution:
Added a section in configure.in which will replace 'tflops' with
'i386-intel-osfl'.

Platforms tested:
sleipnir, mir, heping

Misc. update:
2005-06-20 12:33:22 -05:00
MuQun Yang
6bf7952de0 [svn-r10879] Purpose:
Removing configuration warnings on cygwin.

Description:
winsock.h cannot be compiled by cygwin and that generates configuration warnings.
Remove checking winsock.h on cygwin.

Solution:

Platforms tested:

Misc. update:
2005-06-08 14:51:26 -05:00
Raymond Lu
7696942940 [svn-r10847] Purpose: Bug fix
Description: See details from Bug #213.  Family member file size wasn't saved
anywhere in file.  When family file is opened, the first member size determine
the member size.

Solution: This is the fourth step of checkin.  A test suit is added for h5repart,
including a program to generate the test files, a script file to run h5repart,
and a program to verify repartitioned files can be opened by the library.

There's a change from the first step of checkin.  Family name template is no
longer saved in the superblock because different pathname can make the name
different.

In the third step of checkin, h5repart has been modified.  If h5repart is used
to change the size of family member file, the new size(actual member size) is saved
in the superblock.

In the second step of checkin, multi driver is checked against the driver
name saved in superblock.  Wrong driver will result in a failure with an error message indicating
multi driver should be used.  This change includes split driver because it's a special case for multi
driver.

In the first step of checkin.  Family member size and name template(unused at this stage) are saved
in file superblock.  When file is reopened,the size passed in thrin superblock.  A different size
will trigger a failure with an error message indicating the right size.  Wrong driver to open family
file will cause a failure, too.


Platforms tested: h5committest and fuss.

Misc. update:  MANIFEST
2005-06-02 16:00:23 -05:00
James Laird
11af4d72c4 [svn-r10802] Purpose:
Configuration feature

Description:
Formerly, bin/reconfigure needed to invoke Automake with the --foreign
flag or it would fail.  It turns out that there is a clever way to
specify this flag inside configure.in so that it doesn't need to
be explicitly invoked.
This should make it easier for people not using machines connected
to AFS (e.g., the netCDF folks) to invoke Automake on HDF5.


Platforms tested:
mir and heping
2005-05-25 17:32:22 -05:00
Raymond Lu
db223e85b2 [svn-r10797] Purpose: A feature
Description:  Cygwin compiler doesn't do rounding correctly when converting
"unsigned long long" to "long double".

Solution: Added test case to variable detection of
"hdf5_cv_ullong_to_ldouble_precision_works".

Platforms tested: sleipnir, fuss, and shanti - mainly to test configuration,
don't need to run h5committest.
2005-05-25 10:59:30 -05:00
James Laird
984f44479c [svn-r10773] Purpose:
Output tweak

Description:
In configure.in, users must link to zlib library, but configure then
informs them that "deflate" filter is enabled.  Changed output slightly
to indicate that these are the same filter.


Platforms tested:
mir (very minor change)
2005-05-20 12:32:49 -05:00
HDF Admin
a4345b9917 [svn-r10744] Snapshot version 1.7 release 47 2005-05-15 04:34:14 -05:00
James Laird
b0e5134171 [svn-r10730] Purpose:
Portability feature

Description:
The random() and srandom() functions are not available on all machines.
Set up the configure script to automatically detect them, rather than
requiring their presence or absence to be hardcoded.

Solution:
Added AC_CHECK_FUNCS macro to configure.in and replaced
#ifdef WIN32 conditionals with #ifdef H5_HAVE_RANDOM conditionals.

Platforms tested:
sleipnir, Windows
2005-05-05 12:38:59 -05:00
Quincey Koziol
8f4b37accf [svn-r10700] Purpose:
Bug fix

Description:
    Kent reminded me that switching the logic wasn't enough, we really needed
to add the definition to the configure script.

Solution:
    Do that.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-29 16:39:05 -05:00
James Laird
a05061f512 [svn-r10657] Purpose:
Configuration feature

Description:
Fortran integer types (not reals) are now automatically detected at
build-time.

Solution:
Two helper programs are used, one to detect what types the Fortran compiler
has access to, and one to generate header files for C and Fortran matching
up types.

Platforms tested:
mir, copper, modi4, pommier (last week)

Misc. update:
MANIFEST updated, H5f90fortran_types.f90 removed from configure.in, since
it is not longer generated by configure.
2005-04-25 14:00:06 -05:00
HDF Admin
183741eff0 [svn-r10632] Snapshot version 1.7 release 46 2005-04-20 04:48:31 -05:00
Elena Pourmal
5279827823 [svn-r10570] Purpose: Maintenance
Description: Removed support for SRB driver

Solution: Removed or modified appropriate files; ran reconfigure
          to regenerate Makefile.in and configure files.

Platforms tested: heping and shanti

Misc. update: ran bin/chkmanifest on heping
2005-04-07 14:41:25 -05:00
James Laird
b296a419c4 [svn-r10534] Purpose:
Configuration feature

Description:
Different Fortran compilers mangle function names in different ways
(upper case, lower case, adding underscores).  To link between
Fortran and C functions, we need to know what a given function's
name is under a given compiler.

Solution:
Use autoconf's FC_WRAPPERS check to determine the Fortran
naming scheme and define the FC_FUNC_ macro to name our
functions (in H5f90proto.h).  Removed references to
our old FNAME macro, as well as flags that indicated whether
function names were upper or lower case.

Platforms tested:
mir, pommier, modi4, copper, more
2005-04-04 16:17:51 -05:00
James Laird
7acf3f1b12 [svn-r10475] Purpose:
Feature - conditional compilation

Description:
SRB file driver and tests are now compiled only when SRB is enabled
(using --with-srb during configure).

Solution:
Added an automake conditional in configure.in, altered Makefiles.am in
src and test directories to depend on that conditional.
This should make a nice example for posterity to add conditionally
compiled sources.

Platforms tested:
heping (only configure change)
2005-03-29 12:38:17 -05:00
James Laird
9452992c09 [svn-r10459]
Purpose:
Added C++ wrapper for Packet Table API.

Description:
Added macro for high-level C++ library (LIBH5CPP_HL), which changes every
Makefile.in.
Added directories for high-level C++ library (though currently only Packet
Table API is supported).
Added both C++ source and tests.

Platforms tested:
sleipnir, mir, modi4

Misc. update:
2005-03-28 11:32:20 -05:00
James Laird
fbcc3e84c0 [svn-r10215] Purpose:
Configure feature

Description:
On some platforms with some compilers, automake's dependency tracking
is silently disabled.  This can be confusing for developers.

Solution:
Set configure to enable dependencies all the time unless the user
explicitly disables them (using the configure flag
--disable-dependency-tracking) or a site file overrides the default
(as is the case on IRIX).

Platforms tested:
sleipnir, mir
2005-03-14 15:35:55 -05:00
MuQun Yang
74efc1e4f5 [svn-r10201] Purpose:
IBM MPI-IO has a bug for MPI derived data type, which is used
to support collective IO. In order to avoid this, we provide
a way to turn off collective IO support for this kind of platform.


Description:
Using a new macro called H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS
to turn off irregular hyperslab collective IO support at such platforms.

Solution:
Hard code such platforms under hdf5/config.
So far only IBM AIX has been found to have such problems.

Platforms tested:

heping (Linux) and copper(Aix). Testing at tungsten now, however, it
took almost an hour to build parallel HDF5 at tungsten, it is still building. Cannot wait. Have tested this feature at Tungsten a week ago.
Misc. update:
2005-03-11 17:11:05 -05:00
James Laird
418968677b [svn-r10179] Purpose:
Automake update cleanup and minor changes

Description:
Removed macros in acsite.m4 that are no longer used.
Switched to using autoconf's AC_LANG_PUSH(Fortran) instead of old
AC_LANG_FORTRAN9X macro.
Switched to using AC_LANG_PUSH() and AC_LANG_POP() (from old AC_LANG_X).
Added ifort to list of Fortran compilers configure will look for.
Added a note about automake change to Release Notes.

Platforms tested:
copper, modi4 (parallel and serial), eirene
2005-03-10 15:52:34 -05:00
James Laird
a46b559c35 [svn-r10171] Purpose:
Bug fix

Description:
The fortran compiler is named FC.  If F9X environment variable is set,
FC should hold the value in F9X.  However, this was overwriting values
written to FC by platform-specific config scripts.
This caused copper to find the wrong fortran when building in parallel, and
may have had other symptoms on other platforms.

Solution:
Assign $F9X to $FC at the beginning of configure, before platform-specific
scripts are run.  Do this assignment only if FC is empty.

Platforms tested:
copper, modi4 (parallel and serial w/c++), verbena.
This change should only affect fortran build.
2005-03-09 13:48:23 -05:00
James Laird
25df1908bc [svn-r10158] Purpose:
Automake version upgrade

Description:
Upgraded automake version from 1.6.2 to 1.9.5.
Changed bin/reconfigure script to use automake 1.9.5.
Changed configure.in and Makefiles to use new FCFLAGS and FC variables
instead of FFLAGS and F9X.
Automake and configure should now do the lion's share of the work
supporting Fortran 9X; macros in acsite.m4 are now mostly unused (will
be cleaned later).
Altered how configure handles pmake; now root-level Makefile.in is
processed by bin/reconfigure to have a .MAKEFLAGS target, since
automake no longer allows us to define unused variables.
Configure now always checks for C++ compiler even if it is not
used, since automake thinks this is the Right Thing To Do and
will break otherwise.

Platforms tested:
Sol, copper, heping, mir, sleipnir, eirene, pommier, kelgia, modi4.
2005-03-07 12:57:27 -05:00
James Laird
965fef45d9 [svn-r10132] Purpose:
Bug fix

Description:
When C flags are passed in using $CC variable, this can confuse test
commands in configure (for instance, CC='pgcc -tp k8-32').

Solution:
Previous solution didn't entirely solve problem.  Wrote a sed snippit
to strip flags from $CC for purposes of test in configure.

Platforms tested:
mir (just a configure bug)
2005-03-03 14:39:10 -05:00
Albert Cheng
69c9a7e3a6 [svn-r10128] Purpose:
Removed GASS from summary printout.

Platforms tested:
Tested in heping.  No h5committest since it was trivial
and involved in configure stage only.
2005-03-03 09:17:32 -05:00
Albert Cheng
0d514907a9 [svn-r10123] Purpose:
Removed GASS configuration and software packages associated with
it.  The following software are no longer configurable.

checking for main in -lcrypto... yes
checking for SSL_get_version in -lssl... yes
checking globus_common.h usability... yes
checking globus_common.h presence... yes
checking for globus_common.h... yes
checking for globus_module_activate in -lglobus_common... yes
checking for main in -lglobus_gass_cache... yes
checking for main in -lglobus_gaa... yes
checking for main in -lglobus_gss... yes
checking for main in -lglobus_gss_assist... yes
checking for main in -lglobus_io... yes
checking for main in -lglobus_gass_transfer_assist... yes
checking for main in -lglobus_gass_transfer... yes
checking for globus_gass_open in -lglobus_gass_file... yes

Platforms tested:
h5committested (but copper was down.) tested in modi4 too.
2005-03-02 15:02:55 -05:00
HDF Admin
6b4752cedd [svn-r10118] Snapshot version 1.7 release 45 2005-03-02 08:34:32 -05:00
James Laird
921d331fc8 [svn-r10114] Purpose:
Bug fix

Description:
Libtool simply doesn't seem to support shared libraries for pgcc, but
tries to build them anyway.

Solution:
Edited configure to disable shared libraries in libtool script when
pgcc is being used.
This is a more drastic fix than the problem requires, but it is
difficult to detect when this problem will occur.  There is
discussion online about shared libraries with pgcc, so hopefully
libtool will support pgcc and this fix will become unneccesary.

Platforms tested:
sol, copper, mir, sleipnir

Misc. update:
2005-03-01 20:01:45 -05:00