327 Commits

Author SHA1 Message Date
Bill Wendling
7065ac7982 [svn-r5280] Purpose:
Update
Description:
    Changed so that the Fortran and C++ configures are named "HDF5
    Fortran" and "HDF5 C++" resp. instead of just "HDF5.
Solution:
    Add an extra parameter to the subroutine which generates the new
    configure.in files.
Platforms tested:
    Linux
2002-04-29 12:24:50 -05:00
HDF Admin
eb09629a45 [svn-r5275] Snapshot version 1.5 release 27 2002-04-27 04:30:52 -05:00
Elena Pourmal
7ab650be9f [svn-r5269]
Purpose:
    Maintenance
Description:
    Changed code to use H5_HAVE_MPI_MULTI_LANG_* definitions and
    H5pubconf_fortran.h include file.
Solution:
Platforms tested:
    Let's daily tests do this work. I have to leave now.
2002-04-25 18:06:16 -05:00
Bill Wendling
68537be4ff [svn-r5268] Purpose:
Update
Description:
    Added h5pubconf_fortran.h as a public  header file for the Fortran
    wrappers...
Platforms tested:
    Linux
2002-04-25 17:51:50 -05:00
Bill Wendling
8146d97138 [svn-r5267] Purpose:
Update
Description:
    Added a conversion of the H5config_fortran.h file to
    H5pubconf_fortran.h so as to keep with the HDF5 format of using H5_
    as a prefix for HAVE_* macros.
Platforms tested:
    Linux
2002-04-25 17:44:07 -05:00
Bill Wendling
43d1e71c2b [svn-r5266] Purpose:
Update
Description:
    Updated the h5vers script to automatically update the configure.in
    files so that they reflect the correct version in the AC_INIT line.
Platforms tested:
    Linux
2002-04-25 17:37:24 -05:00
Elena Pourmal
c543c53a0d [svn-r5263]
Purpose:
    Bug fix
Description:
    For some unknown to myself reason I used 32-bit integer for INTEGER(HSIZE_T)
    on Solaris platforms when 64-bit integers are available for both C and Fortran.
Solution:
    Use long long type to describe h(s)size_t_f types
Platforms tested:
    Solaris 2.7 ans 2.6
2002-04-25 14:49:51 -05:00
Elena Pourmal
8ae9564dcc [svn-r5262]
Purpose:
    Bug fix
Description:
    For some unknown to myself reason I used 32-bit integer for INTEGER(HSIZE_T)
    on Solaris platforms when 64-bit integers are available for both C and Fortran.
Solution:
    Use the proper KIND argument to define INTEGER(HSIZE_T)
Platforms tested:
    Solaris 2.7 ans 2.6
2002-04-25 14:48:53 -05:00
Bill Wendling
033c659312 [svn-r5248] Purpose:
Update
Description:
    Remove the H5config_fortran.h file when doing a "make distclean" and
    the like.
Platforms tested:
    HP_UX
2002-04-24 14:28:04 -05:00
Elena Pourmal
da58f157dd [svn-r5243]
Purpose:
    Bug fix
Description:
    Different MPI implementations use different ways to
    pass MPI objects between C and Fortran layers. MPI-2 defines
    a standard set of MPI_*_c2f(f2c) functions for this purpose.
    Unfortunately it is not implemented everywhere and makes
    code non-portable between different parallel platforms.
Solution:
    Always use MPI_*c2f(f2c) functions in our code. Configure
    finds out if those functions are available. If not, then we define
    macros to immulate those functions.
Platforms tested:
    IRIX64-6.5 (modi4) and SP3 (seaborg.nersc.gov). On those platforms
    functions do not exist and we use macros. Bill will test on
    HPUX System V (SDSC machine) to check if this works when functions
    are defined. Preliminary testing showed that it worked.
2002-04-23 18:52:42 -05:00
Bill Wendling
b5c1eb3a61 [svn-r5241] Purpose:
Fix
Description:
    When doing a TRY_LINK, the compiler complained about lack of
    parameters being passed to the function.
Solution:
    Added the parameter it wants...
2002-04-23 17:16:47 -05:00
Bill Wendling
835a51fd9d [svn-r5240] Purpose:
Cleanup
Solution:
    An even better way of using the AC_TRY_LINK macro...
2002-04-23 17:05:27 -05:00
Bill Wendling
6b4bfb60db [svn-r5239] Purpose:
Fix
Description:
    Needed to test if the test programs LINK not just COMPILE...
Solution:
    Changed the macro from COMPILE to LINK.
2002-04-23 17:02:46 -05:00
Bill Wendling
24edaaf9f0 [svn-r5235] Purpose:
Update
Description:
    Updated the way we used the AC_INIT macros so that it's current to
    the new standard way and not deprecated anymore.

    Also, added a test for some functions during parallel Fortran
    configure. This required the creation of an H5config_fortran.h file
    so that we can test for these...
Platforms tested:
    Elena is going to test the changes to the fortran after she checks in
    her other code. I will test on SDSC machines after getting her code.

    The other changes were tested on Linux.
2002-04-23 15:02:26 -05:00
Bill Wendling
fd9f73d5fe [svn-r5226] Purpose:
Feature Update
Description:
	Modified the AC_OUTPUT macro to coincide with the now-standard way of
	doing things. I.e., you put all of the files you want to generate
	into the AC_CONFIG_FILES macro and invode AC_OUTPUT with no
	parameters.
Platforms tested:
	Linux
2002-04-22 18:47:41 -05:00
Bill Wendling
68556658db [svn-r5132] Purpose:
Autotools Update
Description:
	I've updated autoconf, automake, and libtool to the latest/greatest
	versions; 2.53, 1.6, and 1.4.2 resp.

	Many changes come with the new versions:

		- ltconfig is no longer used
		- acconfig.h is no longer used (#define values are declared with
		  the macro)
		- regeneration of all of the aclocal.m4, configure, and
		  H5config.h.in files.
		- new config.{guess,sub} files
		- new ltmain.sh file
Platforms tested:
	AIX (blue), and Linux
2002-04-02 17:08:23 -05:00
Bill Wendling
f8bfe1cb01 [svn-r5112]
Purpose:
	Bug Fix
Description:
	Parallel Fortran wasn't working on Modi4. The tests for parallel
	MPI Fortran were failing to find MPI files.
Solution:
	Changed the AC_TRY_FLINK() macro so that libraries are included
	at the end of the link line so that unresolved symbols can be
	found...
Platforms tested:
	Modi4
2002-03-28 16:16:04 -05:00
Bill Wendling
eb8d601820 [svn-r5104]
Purpose:
    Bug Fix
Description:
    Hrm...When I was restoring the LDFLAGS variable after a failure, I
    fergot to put a $ on the saved_LDFLAGS variable during the
    assignment.

    DOH!
Solution:
    Added the $.
Platforms tested:
    Modi4
2002-03-28 09:52:45 -05:00
Bill Wendling
cdb3596858 [svn-r5100] Purpose:
New Feature
Description:
	Added support for the IBM PowerPC AIX architecture. Really just a
	copy of the RS6000 AIX config file...
2002-03-27 15:45:43 -05:00
Bill Wendling
30aa868e10 [svn-r5092] Purpose:
Bug Fix
Description:
	I wasn't testing if the Fortran compiler could actually do the MPI
	compilation tests.
Solution:
	Changed the configure script so that it uses Fortran 90 to test the
	MPI compilation stuff instead of the MPI C compiler...
Platforms tested:
	AIX and Linux
2002-03-27 13:08:50 -05:00
Bill Wendling
b38138bebb [svn-r5086]
Purpose:
    Bug Fix
Description:
    The new way of detecting LibZ (just specifying the directory where
    include/ and lib/ are) wasn't propagated down to the Fortran
    directory.
Solution:
    Added that code...
Platforms tested:
    AIX and Linux
2002-03-26 17:52:57 -05:00
Elena Pourmal
7b77f97188 [svn-r5066]
Purpose:
    Bug fix
Description:
    I borrowed function HDpackFstring from the HDF4 Library and
    left name unchanged. It causes linking problems for Fortran users
    that use both HDF4 and HDF5 Libraries in their applications.
Solution:
    Changed the name to be HD5packFstring
Platforms tested:
    Solaris 2.7
2002-03-14 15:12:12 -05:00
Bill Wendling
877defd1bb [svn-r5052] Purpose:
Bug Fix
Description:
	The Fortran module files weren't being uninstalled.
Solution:
	Added them to the 'uninstall:' list...
Platforms tested:
	Linux
2002-03-08 13:33:04 -05:00
Elena Pourmal
4dcb0766fc [svn-r5038]
Purpose:
    Bug fix
Description:
    Several C stub functions were not releasing allocated strings.
Solution:
    Fixed
Platforms tested:
    Solaris 2.7
2002-03-06 17:47:01 -05:00
Bill Wendling
d8266790ec [svn-r5001] Purpose:
Bug Fix
Description:
	The make uninstall-examples wasn't working if fortran or C++ was
	built.
Solution:
	Added uninstall-examples to the Makefile.
Platforms tested:
	Linux
2002-02-22 16:58:18 -05:00
Quincey Koziol
b8dbd390db [svn-r4978] Purpose:
Code cleanup
Description:
    Cleanup compiler warnings found by the SGI compiler and gcc 3.0
Platforms tested:
    FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
2002-02-16 21:51:21 -05:00
Elena Pourmal
f7bac2b4b9 [svn-r4866]
Purpose:
    Maintenance
Description:
    Several compiler's warnings caused Hitachi SR8000
    F90 and C compilers to fail.
Solution:
    Fixed the code to eliminate warnings.
Platforms tested:
    O2K (modi4) and Solaris 2.7 (arabica)
2002-01-26 10:48:49 -05:00
Albert Cheng
e22c095636 [svn-r4757] Purpose:
Removing the DPSS (gridstorage) driver source code.
Description:
    The DPSS (using Grid-Storage) driver is retired.
    Removed the configure option with-gridstorage from configure.in.
    Cvs remove the following files
    ./src/H5FDdpss.c
    ./src/H5FDdpss.h
    ./test/dpss_read.c
    ./test/dpss_write.c

    Regenerated Dependencies files (some had to be hand-edited since
    'make depend' did not cover them.)
    Removed reference to DPSS Virtual file driver from H5F.c.
Platforms tested:
    modi4 (Parallel; -with-gass=...), eirene, arabica (fortran, cxx).
2001-12-30 00:23:38 -05:00
Quincey Koziol
6ba2c123e6 [svn-r4755] Purpose:
Bug Fix
Description:
    Change H5Rget_object_type to H5Rget_obj_type.
Platforms tested:
    Linux 2.2.x (eirene)
2001-12-22 15:12:57 -05:00
Quincey Koziol
9289d8fb85 [svn-r4683] Purpose:
Bug fix.
Description:
    Fix fortran stub for H5P[gs]et_hyper_cache.
Solution:
    Made the fortran subs not execute any function calls into the library,
    unless v1.4 compatibility is turned on.

    Elena will be following this up with a real fix.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-07 14:53:53 -05:00
Elena Pourmal
77e6a52f9a [svn-r4652]
Purpose:
    Bug fix
Description:
    Somehow I forgot to add DEC compiler directives to the H5Eff.f90
    file. Linking failed on OSF 5.1
Solution:
    Added necessary compiler directives for name translations.
Platforms tested:
    Not tested yet but without this change it would fail.
2001-11-27 13:40:35 -05:00
Elena Pourmal
6336d12b03 [svn-r4638]
Purpose:
    Maintenance
Description:
    Added tests for the H5E Fortran interface
Platforms tested:
    arabica and eirene
2001-11-27 10:11:56 -05:00
Elena Pourmal
3adfa54afc [svn-r4637]
Purpose:
    Bug fix
Description:
    Error messages were printed to the file and standard output regardless
    of the parameters passed to the h5eprint_f function. h5eprintc function
    did not close the file with the error output. Fixed.
Platforms tested:
    arabica and eirene
2001-11-27 10:10:55 -05:00
Elena Pourmal
4df562a790 [svn-r4536]
Purpose:
    Bug fix
Description:
    On NERSC SP3 configure failed while trying to figure out
    how to print long long.
Solution:
    Added the following line
    hdf5_cv_printf_ll=${hdf5_cv_printf_ll='ll'}
Platforms tested:
    Not tested yet.
2001-10-09 14:54:27 -05:00
Quincey Koziol
7a96b1a0d2 [svn-r4482] Purpose:
Kludge
Description:
    Since we're only about halfway through converting the internal use of
    property lists from the "old way" to the generic property lists, we turned
    off snapshots to avoid exposing lots of API changes to users, until the
    APIs settled down.

    Getting the snapshots rolling again seems to have become a priority, so
    some changes are going to have to be made now that were going to be
    postponed until we were completely finished with the conversion.  This
    requires that the old API functions be able to deal with both the old
    and new property lists smoothly.

Solution:
    Kludge together the property list code so that they can transparently handle
    dealing with both the old and new property lists

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-26 15:29:35 -05:00
Bill Wendling
7059a12450 [svn-r4467]
Purpose:
    Small Bug Fix
Description:
    Made 'install-all' its own Makefile rule.
Platforms tested:
    Linux
2001-09-21 18:52:37 -05:00
Bill Wendling
5e834c4cbc [svn-r4466]
Purpose:
    Feature Add
Description:
    Added "install-example" and "install-all" to the Makefile system.
    The behaviour of the "make install*" options:

        make install          - Installs binaries, libraries, include
                                files, and example programs.
        make install-examples - Installs only the example programs.
                                The directories are:

                            ${prefix}/doc/hdf5/examples/{c,c++,fortran}

        make install-all      - Install the binaries, libraries, include
                                files, example programs, and
                                documentation. The whole kit-n'-caboodle.
        make uninstall-examples - Get rid of those example files (but not
                                  the ${prefix}/doc/hdf5/examples/...
                                  directories)

    There's a new bin/ program which helps create directories which are
    deeply nested called "mkdirs". It's a simple shell script.
Platforms tested:
    Linux
2001-09-21 18:50:15 -05:00
Quincey Koziol
e87fc517b8 [svn-r4355] Purpose:
Code cleanup (sorta)

Description:
    When the first versions of the HDF5 library were designed, I remembered
    vividly the difficulties of porting code from a 32-bit platform to a 16-bit
    platform and asked that people use intn & uintn instead of int & unsigned
    int, respectively.  However, in hindsight, this was overkill and
    unnecessary since we weren't going to be porting the HDF5 library to
    16-bit architectures.

    Currently, the extra uintn & intn typedefs are causing problems for users
    who'd like to include both the HDF5 and HDF4 header files in one source
    module (like Kent's h4toh5 library).

Solution:
    Changed the uintn & intn's to unsigned and int's respectively.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-08-14 17:09:56 -05:00
Quincey Koziol
80c02cc6f1 [svn-r4327] Purpose:
More code cleanups
Description:
    Wrap up the code cleanups for changing the dataset transfer property lists
    over to using the generic property list code.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-08-10 21:47:13 -05:00
Quincey Koziol
d24ae52673 [svn-r4326] Purpose:
Code cleanups, mostly..
Description:
    Work on pacifying the SGI compiler to get the generic properties working
    correctly with --enable-parallel and --enable-fortran.  It's not quite
    fixed yet, but I need to head home and these patches help... :-/
Platforms tested:
    IRIX64 6.5 (modi4)
2001-08-10 17:30:01 -05:00
Quincey Koziol
1f7ad77364 [svn-r4321] Purpose:
Bug fix.
Description:
    Left an extra '}' in when I removed the v1.2.x compat stuff.
Solution:
    Took the '}' out... :-)
Platforms tested:
    Solaris 2.7 (arabica)
2001-08-07 09:12:52 -05:00
Quincey Koziol
41529d180e [svn-r4312] Purpose:
Feature shift
Description:
    Take out the v1.2.x compatibility stubs and put in the hooks for v1.4.x
    compatibility when needed.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-08-06 11:01:44 -05:00
Bill Wendling
73e6cacf08 [svn-r4298]
Purpose:
    Regenerated Dependencies Files
2001-08-01 17:18:50 -05:00
Bill Wendling
773719d3be [svn-r4293]
Purpose:
    Bug Fix
Description:
    Needed to add the PERL=@PERL@ line to the commence.in file.
Platforms tested:
    LInx
2001-08-01 16:12:08 -05:00
Bill Wendling
b5d11111b0 [svn-r4292]
Purpose:
    Bug Fix
Description:
    The way we were generating Dependencies and .depend files was broken.
    If the $srcdir or other macros began with a ".", then it would match
    anything and cause problems since it would then overwrite the
    beginning of the header file's path.
Solution:
    Wrote a Perl script which can handle this type of weirdness better.
    It's only used when the environment is a GNU one with a GCC
    compiler...
Platforms tested:
    Linux
2001-08-01 16:00:25 -05:00
Elena Pourmal
fe309eda4f [svn-r4216]
Purpose:
    Bug fix (bug#625)
Description:
    Character buffers were not copied and freed properly. That caused segmentation                                         fault on Linux (Debian 2.2, a glibc2.1.3-based distro and gcc 2.95.2 and NAGWare Fortran 95                            compiler Release 4.0a(392). Also many compilers screamed about this piece of code.
Solution:
    Asked Quincey to fix the code.
Platforms tested:
    Linux (eirene)
2001-07-16 14:57:03 -05:00
Elena Pourmal
6e7e3dc8c7 [svn-r4208]
Purpose:
    F90 port to HPUX 10.20
Description:
    Added F90 support for HPUX 10.20
Platforms tested:
    HPUX 10.20 (sangamon)
2001-07-13 17:56:53 -05:00
Bill Wendling
0d515853c9 [svn-r4206]
Purpose:
    Bug Fix
Description:
    Ported fix from 1.4 branch to have compiler look in the fortran/src
    directory for modules.
2001-07-13 16:38:12 -05:00
Bill Wendling
4b218c6a58 [svn-r4189]
Purpose:
    Bug Fix
Description:
    the ptesthdf5_fortran.f90 program was dependent upon the THDF5
    module. But before the ptesthdf5_fortran.lo file is build, the THDF5
    module needs to be built.
Solution:
    Put that dependency into the Makefile.
2001-07-11 14:17:48 -05:00
Bill Wendling
ac3733c289 [svn-r4174]
Purpose:
    Regeneration
Description:
    Regenerated the configure file for the Fortran FFLAGS fix.
2001-07-10 14:13:27 -05:00