Commit Graph

437 Commits

Author SHA1 Message Date
Albert Cheng
1fb7c9c135 [svn-r10641] Purpose:
Bug fix.

Description:
When there were errors in the test, program still just call MPI_FINALIZE
and failed to attempt to exit with some error code so that calling
programs like make be informed of the exceptions.

Solution:
Call MPI_ABORT if error is detected. Though MPI_ABORT does not
guarantee 100% failure report, it has the best chance.
Also made dimension incompatible as a real error.

Platforms tested:
Did not h5committest but tested in heping PP only since this
is a simple fix.
2005-04-21 13:49:18 -05:00
Albert Cheng
39803ca9f1 [svn-r10593] Purpose:
Bug fix.

Description:
Data file name is hardcoded to be in current directory which does not
necessarily support MPIO. Changed it to /tmp/sds.h5 for slightly larger
chance of success but the eventual solution is to set it according to
environment variables.  Patch it this way for now.

Platforms tested:
mir.

Misc. update:
2005-04-12 15:38:17 -05:00
James Laird
afef3c0358 [svn-r10587] Purpose:
Minor feature

Description:
If a user configures without C++ or Fortran, 'make' will not recurse into
c++ or fortran directories.  However, if the user cd's into these
directories and 'makes,' the Makefiles will attempt to build interfaces
that have not been configured, usually failing.
In an unrelated but minor change, src/H5detect should be compiled with
the -g flag to disable compiler optimizations since it is only
executed once.

Solution:
Make it harder for users to try to compile interfaces that have not been
configured by making c++, fortran, and hl directories not recurse into
their subdirectories unless they have been configured.
Thus, 'make' in /fortran/src will break if Fortran has not been configured,
but 'make' in /fortran will not break.

Platforms tested:
mir, modi4, copper

Misc. update:
2005-04-11 16:47:05 -05:00
Elena Pourmal
408471420f [svn-r10585] Purpose: Bug fix
Description: h5pget_driver_f function returned information that could not
             be interpreted by fortran application

Solution: Defined Fortran global variables that correspond to
          the C H5FD_<driver_name> variables at the Fortran library
          initialization time.

Platforms tested: heping with PGI compilers, sol 64-bit and copper parallel

Misc. update:
2005-04-10 17:15:51 -05:00
James Laird
151757f989 [svn-r10571] Purpose:
Improvement

Description:
Changed headers in Fortran directories to use H5_FC_FUNC macro
from H5pubconf.h rather than FC_FUNC macro from H5config.h.
This is better practice and works better with the Windows projects.

Platforms tested:
heping, Windows
2005-04-07 14:56:06 -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
Elena Pourmal
b72f2c328b [svn-r10561] Purpose: Maintenance
Description: Added missing h5get_member_class_f function

Solution:

Platforms tested: heping; it is a simple change. I will
                  watch daily tests and take care of failures.

Misc. update:
2005-04-06 17:53:03 -05:00
James Laird
9008184b4d [svn-r10557] Purpose:
Makefile tweak

Description:
Added dependency for fortran/examples/ph5example.f90 to Makefile.am.

Platforms tested:
mir, modi4
2005-04-05 18:39:38 -05:00
Albert Cheng
a4760c1ade [svn-r10554] Purpose:
Added new fortran parallel example.

Platforms tested:
Tested by hand in heping pp.
2005-04-05 16:34:08 -05:00
Albert Cheng
976e2784cb [svn-r10552] Purpose:
Added a new fortran parallel example program.

Platforms tested:
Tested in heping using pp mode.

Misc. update:
2005-04-05 16:03:08 -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
7f5e1dfe31 [svn-r10533] Purpose:
Feature

Description:
Added support for conditional compilation of parallel Fortran
examples.  No such examples exist currently, but it should be
possible to add them to the Makefile.am with no fuss and have
them compile only when parallel is enabled.

Platforms tested:
eirene, copper, modi4

Misc. update:
2005-04-01 14:41:57 -05:00
James Laird
59ec5b3d66 [svn-r10517] Purpose:
Bug fix

Description:
On some machines, $RUNSERIAL variable needs to be used to run
tests.  Set $RUNTESTS (which is used for non-parallel tests) to
be $RUNSERIAL in configure.am.

Also, since I was updating all Makefiles.in anyway, I updated
commence.am to point to autotools installs in AFS instead of
those on heping.

Platforms tested:
mir, sleipnir, modi4, copper
2005-03-31 13:26:17 -05:00
James Laird
14e06e81cb [svn-r10511]
Purpose:
"Bug fix"

Description:
Hardcoded Makefiles to use /bin/sh instead of letting configure
detect shell automatically.  This is what v1.6 does, and avoids
problems on janus.

Platforms tested:
sleipnir, copper, modi4, mir
2005-03-30 16:14:48 -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
Fang Guo
ff428074d6 [svn-r10466] Purpose:
Windows fortran examples was checked into a wrong directory.
The correct directory is hdf5/windows/fortran/examples.
The current directory is hdf5/fortran/examples.
Description:

Solution:

Platforms tested:

Misc. update:
2005-03-28 13:05:23 -05:00
Fang Guo
989e0937cc [svn-r10465] Purpose:
Windows fortran examples was checked into a wrong directory.
The correct directory is hdf5/windows/fortran/examples.
The current directory is hdf5/fortran/examples.
Description:

Solution:

Platforms tested:

Misc. update:
2005-03-28 12:51:19 -05:00
Fang Guo
7ce080f0cc [svn-r10464] Purpose:
ndows fortran examples was checked into a wrong directory.
The correct directory is hdf5/windows/fortran/examples.
The current directory is hdf5/fortran/examples.Description:

Solution:

Platforms tested:

Misc. update:
2005-03-28 12:43:30 -05:00
Fang Guo
3e0e101d03 [svn-r10463] Purpose:
Windows fortran examples was checked into a wrong directory.
The correct directory is hdf5/windows/fortran/examples.
The current directory is hdf5/fortran/examples.Description:

Solution:

Platforms tested:

Misc. update:
2005-03-28 12:40:37 -05:00
Fang Guo
82c885e006 [svn-r10462] Purpose:
Windows fortran examples was checked into a wrong directory.
The correct directory is hdf5/windows/fortran/examples.
The current directory is hdf5/fortran/examples.:wq:
Description:

Solution:

Platforms tested:

Misc. update:
2005-03-28 12:39:52 -05:00
Fang Guo
0639a0d474 [svn-r10460] Purpose:
Windows fortran example project files were checked into the wrong directory,
has to remove them.
The correct directory to be checked in is /hdf5/windows/fortran/examples,
The currect directory inside CVS tree is /hdf5/fortran/examples.


Description:

Solution:

Platforms tested:

Misc. update:
2005-03-28 12:01:34 -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
Fang Guo
c2c35afa8e [svn-r10455] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add fortran example  project file.
Solution:

Platforms tested:
Compaq Visual Fortran 6.0
Misc. update:
2005-03-25 15:13:11 -05:00
Fang Guo
fd032ffa53 [svn-r10454] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add fileexampletestdll fortran example  project file.
Solution:

Platforms tested:
Compaq Visual Fortran 6.0
Misc. update:
2005-03-25 15:11:16 -05:00
Fang Guo
17aceb9931 [svn-r10453] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-03-25 15:07:38 -05:00
Fang Guo
4d0936a142 [svn-r10452] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add dsetexampletest fortran examples project file.
Solution:

Platforms tested:
Compaq Visual fortran 6.0 on windows xp.
Misc. update:
2005-03-25 15:05:42 -05:00
Fang Guo
28cb2d9d33 [svn-r10451] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add compoundtestdll fortran examples project file.
Solution:

Platforms tested:
Compaq Visual Fortran 6.0
Misc. update:
2005-03-25 15:03:58 -05:00
Fang Guo
dafd472d90 [svn-r10450] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add compoundtest fortran examples project file.
Solution:

Platforms tested:
Compaq Visual Fortran 6.0 on windows xp.
Misc. update:
2005-03-25 15:02:35 -05:00
Fang Guo
63426696be [svn-r10449] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add attreexampletestdll fortran examples project file.
Solution:

Platforms tested:
Compaq visual fortran 6.0
Misc. update:
2005-03-25 15:00:56 -05:00
Fang Guo
32069ac468 [svn-r10448] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add attreexampletest Fortran example project file.
Solution:

Platforms tested:
Compaq visual fortran 6.0.
Misc. update:
2005-03-25 14:59:09 -05:00
Fang Guo
e177a6fe63 [svn-r10447] Purpose:
For windows support, remove all.zip from hdf5.
Description:
Add allf90examples workspace and project file.
Solution:

Platforms tested:
Compaq Visual Fortran 6.0
Misc. update:
2005-03-25 14:55:54 -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
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
James Laird
5b4232e9d1 [svn-r10107] Purpose:
Bug fix

Description:
Fortran builds were dying with unknown flags.

Solution:
Fortran builds should be static, not shared.  Static flags had been specified
for libraries, but apparently were also needed for executables.
Solved problem by adding static flag to everything in fortran directories.

Platforms tested:
mir, eirene
2005-02-28 17:54:17 -05:00
James Laird
d7883f21bf [svn-r10098] Purpose:
Bug fix

Description:
Some machines and compilers were having trouble creating fortran libraries
as shared libraries.

Solution:
Added flag in Makefiles.am to create fortran libraries as shared libraries.
(This is how HDF5 was set up before automake changes; I forgot to add
these flags, and it didn't cause a problem until now.)

Platforms tested:
sleipnir, eirene, verbena

Misc. update:
2005-02-26 17:28:23 -05:00
James Laird
0b83fea125 [svn-r10066] Purpose:
Libtool upgrade

Description:
HDF5 was using libtool 1.4.2.  Upgraded to libtool 1.5.14.

Platforms tested:
verbena, heping, pommier, copper, modi4, arabica
2005-02-23 11:47:00 -05:00
Xiaowen Wu
065fe7bb71 [svn-r10023] Purpose:
New feature.

Description:
    Add the scaleoffset internal library filter.

Solution:

Platforms tested:
    heping, copper, arabica

Misc. update:
2005-02-16 21:52:21 -05:00
James Laird
8ed95c0011 [svn-r10016]
Purpose:
Bug fix

Description:
modi4 dies during build with strange errors.
The root cause of these is a two-year-old hack in HDF5's libtool
script that only takes effect on IRIX.

Solution:
Edited the libtool hack (by editing ltmain.sh) to correct a bug in
the hack.
Also made sure that compiler-specific DEFAULT_LIBS are used
when linking.

Platforms tested:
sleipnir, copper, modi4, sol
2005-02-16 14:27:27 -05:00
James Laird
adf0f3e317 [svn-r10013] Purpose:
Bug fix

Description:
While commenting out some code in a Makefile.am, I missed two lines.

Solution:
Commented out those lines.

Platforms tested:
verbena, heping

Misc. update:
2005-02-15 17:49:27 -05:00
James Laird
2870a5d07a [svn-r10005] Purpose:
Configure feature

Description:
Changed bin/reconfigure.sh script to use autotools in AFS.

Solution:
Previously, the only machine with the correct versions of autoconf and
automake was heping.  Now both tools are installed in AFS, so
in theory any hdf machine can be used to run the reconfigure script.

Platforms tested:
heping, eirene, verbena.
On sleipnir and arabica the autotools were unable to find a version
of m4 that was new enough for them.

Misc. update:
2005-02-14 16:13:12 -05:00
James Laird
b96f342722 [svn-r9993] Purpose:
Bug fix

Description:
Arabica exhibited strange errors when linker found wrong versions of
header files.  This happened because include directories were
given to linker in the wrong order.

Solution:
Move include directories from AM_CFLAGS variable to INCLUDES
variable to put them before CPPFLAGS variable.  Trust me, it works.
This bug may also have contributed to strange errors on other platforms
(kelgia?).

Platforms tested:
copper, sleipnir, arabica.
	(h5dump broke while building on arabica, but this happened in
	a clean checkout, too).
2005-02-11 16:32:22 -05:00
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
James Laird
b9d5eb1543 [svn-r9950]
Purpose:
Bug fix

Description:
Make uninstall in /fortran/testpar was trying to remove install/bin directory.

Solution:
Remove the extra line that was copy-pasted into Makefile.am by mistake.  Oops.

Platforms tested:
Copper.
2005-02-07 11:41:28 -05:00
James Laird
8fb8a22bfd [svn-r9946] Purpose:
Bug fix

Description:
Parallel make was having trouble in fortran/testpar directory
on sol.

Solution:
Added a dependency to ensure that things are built in the correct order.

Platforms tested:
sol
2005-02-06 11:30:11 -05:00
James Laird
24f7d99d91 [svn-r9943] Purpose:
Bug fix

Description:
/fortran/testpar build breaks when making in parallel

Solution:
Massage depdendencies slightly to ensure that object files are
built after module file.
Also made sure that module file gets cleaned properly.

Platforms tested:
eirene
2005-02-05 13:32:00 -05:00
James Laird
db2575baa9 [svn-r9930]
Purpose:
Bug fix

Description:
Parallel builds were breaking in tools/lib

Solution:
talign didn't realize it depended on libh5tools.la because its
dependencies listed the full path (../../tools/lib/libh5tools.la).
Changed this, and made similar changes in a couple of other
directories.
This checkin should also add the --foreign flag to every Makefile.in

Platforms tested:
sleipnir (minor change)
2005-02-03 16:59:40 -05:00
Quincey Koziol
0b332ace5e [svn-r9928] Purpose:
New feature

Description:
    Add basic code for new B-tree implementation.  They don't do much yet,
aren't hooked up to anything yet and the format may change, but I'd like to
start getting them into the daily tests.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-02-03 14:59:05 -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