Commit Graph

148 Commits

Author SHA1 Message Date
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
Bill Wendling
cf9f5c965c [svn-r4172]
Purpose:
    Bug Fix
Description:
    *sigh* The change I made yesterday didn't work correctly. The shell
    command interpretted the line as if it were command flags.
Solution:
    Removed the "()"s from around the macro name so that they can be
    expanded correctly.
Platforms tested:
    Linux
2001-07-10 14:09:32 -05:00
Bill Wendling
6874139caa [svn-r4166]
Purpose:
    Fix
Description:
    Porting fixes from the 1.4 branch to the 1.5 branch. This fixes the
    dependency problem in the testpar/ directory and also the problem
    with module includes on the command line.
2001-07-09 16:28:26 -05:00
Bill Wendling
208e185f6a [svn-r4138]
Purpose:
    Bug Fix
Description:
    In order for libtool to point to the place zlib lives (when
    specified) it needs to add that flag to the LDFLAGS macro. However,
    since we're getting this information from the top-level configure,
    it's cached. Thus, we don't check for it and the -L flag doesn't get
    included into the LDFLAGS macro.
Solution:
    Remove the cached value so that the Fortran configure will always
    check for zlib even if it's found by the top-level configure.
Platforms tested:
    Kelgia
2001-07-06 14:46:56 -05:00
Elena Pourmal
98890b210f [svn-r4131]
Purpose:
    Typo fix
Description:
    Today's daily tests failed on modi4 (pp) because of the type in the H5FDmpioff.f90
    file name.
Solution:
    Fixed the name.
2001-07-06 08:54:38 -05:00
Bill Wendling
8bdd93ea37 [svn-r4121] Purpose:
Bug Fix
Description:
	Propagating changes from the 1.4 branch to the 1.5 branch. This
	fix takes care of the problem of parallel make in the Fortran
	directory.
Platforms tested:
	Eirene and Modi4
2001-07-05 16:14:13 -05:00
Elena Pourmal
375dda8f5f [svn-r4076]
Purpose:
    Sync with hdf5 1.4 branch
Description:
    Brought changes made in hdf5 1.4 branch into hdf5 1.5 branch
2001-06-28 10:13:25 -05:00
Elena Pourmal
1b717e9452 [svn-r4075]
Purpose:
    Sync with hdf5 1.4. branch
Description:
    Brought changes made in the hdf5 1.4. branch into 1.5
2001-06-28 10:12:08 -05:00
Bill Wendling
12c718ace3 [svn-r4071]
Purpose:
	Bug Fix
Description:
	Modules weren't being found correctly.
Solution:
	The F9XMODFLAG was being set and used in the test{par}/ and examples/
	directories, but it's also needed in the src/ directory.
Platforms tested:
	Modi4...cross fingers...
2001-06-27 01:31:28 -05:00
Bill Wendling
8ca05519ab [svn-r4050]
Purpose:
    Bug Fix
Description:
    Changed the order of the flags checking for modules from -M -I to -I
    -M. Elena already fixed it in the configure ifle. This puts it in the
    acsite.m4 file so that it will be propagated to future configure
    builds.
2001-06-21 17:24:23 -05:00
Elena Pourmal
4903450f8b [svn-r4042]
Purpose:
    Maintenance on IBM SP
Description:
    I used unnecessary system specific compiler falgs
Solution:
    Removed unnecessary flags
Platforms tested:
    NERSC IBM SP (gseaborg)
2001-06-21 13:05:14 -05:00
Elena Pourmal
ef493c8c50 [svn-r4041]
Purpose:
    Bug bypass
Description:
    Fortran configure checks flags where to find F90 modules in the
    order "M", "I" and "p". On IBM SP "M" is a reserved flag, configure
    does not understand compiler's warning and uses it to specify
    module directories. Then tests and examples compilation fails since
    module directory is not specified correctly on the compilation line.
Solution:
    Changed the order of flags to be "I", "M", "p", so configure on IBM SP
    finds the correct flag first.
Platforms tested:
    NERSC IBM SP (gseaborg)
2001-06-21 13:03:51 -05:00
Elena Pourmal
8263f168f7 [svn-r4035]
Purpose:
    IBM SP F90 HDF5 Library port
Description:
    Added necessary type definitions for the port
Platforms tested:
    Tested only for 1.4. branch. 1.5 branch will be tested later.
2001-06-21 10:29:17 -05:00
Elena Pourmal
13008390ee [svn-r4034]
Purpose:
    IBM SP F90 HDF5 Library port
Description:
    Added necessary canges to the configuration file
Platforms tested:
    Not tested yet.
2001-06-21 10:27:21 -05:00
Elena Pourmal
697b533b9c [svn-r4033]
Purpose:
    DEC UNIX port
Description:
    Windows port caused problems on DEC UNIX.
    Names of C functions called from F90 subroutines were converted
    to UPPER case while DEC UNIX expected them to be in lower case.
Solution:
    Added special DEC compiler directives to avoid the conflict on two
    systems
Platforms tested:
    Windows98, DEC UNIX, Linux
2001-06-21 10:25:07 -05:00
Elena Pourmal
5fcefe52a2 [svn-r3958]
Purpose:
    HPUX 11.00 port
Description:
    Redundant USE statements triggered a bug in the HP F90 compiler.
Solution:
    Source code was rearranged to avoid redundancy: definitions of the
    object and dataset region reference types were moved from H5Rff.f90
    to H5f90global.f90; "USE H5R" statement was removed from H5Rff.f90.
    Now H5Rff.f90 uses "USE H5GLOBAL" statement only as the rest of
    the modules.

Platforms tested:
    HPUX 11.00 (kelgia), Solaris 2.7 (arabica)
2001-06-04 16:28:06 -05:00
Bill Wendling
c9abea2e53 [svn-r3930] Purpose:
Fix
Description:
    Removed the redundant executables here. We just use the ones in the
    top-level of the tree.
Platforms tested:
    Linux
2001-05-15 13:00:20 -05:00
Elena Pourmal
434ab9dca2 [svn-r3908]
Purpose:
    Bug fix
Description:
    There was a syntax error on Windows, and I fixed it long time ago but forgot
    to check this file into CVS.
Solution:
    Fix the error.
Platforms tested:
    Windows98
2001-05-10 17:24:12 -05:00
Elena Pourmal
6ff2e7b303 [svn-r3872]
Purpose:
    Windows port
Description:
     Names of the H5f.c and H5ff.f90 files caused problems on Windows98.
     Compilation of H5F.c (C Library) and H5Ff.f90 (Fortran library)
     as compilation of H5f.c and H5ff.f90 creates the same H5F.o and H5FF.o
     file names and linking stage fails.

Solution:
     Rename the files to H5_f.c and H5_ff.f90
Platforms tested:
     Linux (eirene) and Windows98
2001-04-28 20:08:16 -05:00
Bill Wendling
6b23bf8924 [svn-r3864] Purpose:
Bug Fix
Description:
    The "-$(RM)" flags were causing error messages when doing a make
    distclean.
Solution:
    Removed the "-" from the beginning.
Platforms tested:
    Linux
2001-04-27 15:03:54 -05:00
Elena Pourmal
fef182fd96 [svn-r3862]
Purpose:
    Codemaintenance
Description:
    read/write APIs have been changed.
Solution:
    Made necessary changes to the source code.
Platforms tested:
    Linux, Solaris 2.7, O2K, T3E
2001-04-26 22:52:24 -05:00
Elena Pourmal
9aba4e88c2 [svn-r3861]
Purpose:
     Code maintenance
Description:
     read/write APIs have been changed.
Solution:
     Made necessary changes to the tests.
Platforms tested:
     Windows 98, Linux, Solaris 2.7, O2K, T3E
2001-04-26 22:50:22 -05:00
Elena Pourmal
6182da8026 [svn-r3860]
Purpose:
    Windows port
Description:
    Multiple changes:
    *  Windows platforms require special compiler directives
       in order to create DLLs.
    *  In read/write subroutines data arrays were passed by descriptor.
       This worked on UNIX but did not work on Windows.
Solution:
    *  added compiler directives.
    *  read/write APIs have been changed. There is an additional
       parameter (array that contains the sizes of data buffer dimensions)
       and regular arrays are used instead of assumed-shaped arrays.
Platforms tested:
    * Currently this feature does not work. Common blocks are not exported correctly
      from one F90 module to another.
      I am checking this in so I can ask DEC for help.
    * For static library tests passed on Windows 98 ( except flush2_fortran)
      All tests passed on Linux, Solaris 2.7, O2K and T3E
2001-04-26 22:47:27 -05:00
Bill Wendling
6f63dd75e3 [svn-r3814] Purpose:
Cleanup
Description:
    If there isn't anything to "remove" during the cleanup faze. This
    stops the "make clean"s from printing out:

        rm -f

    all of the time.
Solution:
    Check if hte macros have anything in them before calling the rm.
Platforms tested:
    Linux
2001-04-16 18:15:36 -05:00
Quincey Koziol
3dce3d49fd [svn-r3807] Purpose:
Portability changes
Description:
    Very quick port to Compaq (nee DEC) Alpha OSF5.
Solution:
    Added a new "dec-osf5.x" configuration file and changed configure.in
    to look for it.
    The local test machine is now passing all the tests, except I can't get
    the "-L<path>" stuff to work, so tools which depend on the HDF4 library
    around tested.
Platforms tested:
    Compaq Alpha 5.1 (compaq.ncsa.uiuc.edu)
2001-04-13 09:55:05 -05:00
Bill Wendling
ef461a8454 [svn-r3804] Purpose:
Bug Fix
Description:
    If we need to specify a -R flag for dynamic libraries (like, in the
    case when we specify --with-hdf4), then this flag needs to be added
    to the linking line so that it will show up in the generated library
    and other programs linking to that library will be able to find the
    relevant libraries.
Solution:
    Added the DYNAMIC_DIRS macro to the link line.
Platforms tested:
    Arabica
2001-04-12 14:39:13 -05:00
Bill Wendling
b18e6194df [svn-r3773] Purpose:
Update
Description:
    Changed
            #include <hdf5.h>
    to
            #include "hdf5.h"
    to be consistent with the other code.
Platforms tested:
    Linux
2001-04-03 16:09:08 -05:00
Bill Wendling
4432a558f9 [svn-r3693] Purpose:
Bug Fix
Description:
    Create a Makefile in the testpar/ directory only if PARALLEL is
    enabled.
Solution:
    Set a macro to the testpar/Makefile for the generation script.
2001-03-22 14:08:02 -05:00
Elena Pourmal
1d771c6949 [svn-r3651]
Purpose:
    Maintenance
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    Added comment block to each subroutine.
Platforms tested:
    NONE, do it later.
2001-03-16 10:58:05 -05:00
Elena Pourmal
30e960da8a [svn-r3649]
Purpose:
    Windows port and maintenance
Description:
    Each C function called from  F90 subroutine requires explicit
    interface. Some drivers functions were not implemented.
Solution:
    Added interfaces and comment blocks to each F90 subroutine.
    Added the following subroutines:
           h5pset(get)_fapl_core_f
           h5pset(get)_fapl_family_f
           h5pset_fapl_sec2_f
           h5pset_fapl_stdio_f
Platforms tested:
    Linux (eirene) to make sure that  code still works on UNIX.
    More UNIX platforms will be tested before moving to Windows.
2001-03-16 10:42:40 -05:00