Commit Graph

375 Commits

Author SHA1 Message Date
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
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
Elena Pourmal
5396d26ae5 [svn-r3553]
Purpose:
    Window port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API and fixed minor bugs
    in enum datatype routines that are not official yet.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene)
2001-03-07 17:50:00 -05:00
Elena Pourmal
25f9168edf [svn-r3552]
Purpose:
    Window port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    LINUX (eirene)
2001-03-06 15:11:58 -05:00
Elena Pourmal
2453130d96 [svn-r3546]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene)
2001-03-05 15:25:50 -05:00
Elena Pourmal
9f9c0d9a8e [svn-r3543]
Purpose:
    Bug fix
Description:
    Function name h5rget_object_type_obj_f was used in test program
    instead of the generic name h5rget_object_type_f.
Solution:
    Changed the name.
Platforms tested:
    Linux (eirene)
2001-03-02 17:14:14 -05:00
Elena Pourmal
d53b78c03b [svn-r3542]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API and fixed several typos.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene) to test that things are not broken on UNIX.
2001-03-02 16:31:56 -05:00
Elena Pourmal
0cb43aefd9 [svn-r3531]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface bocks for each C function                                       called from F90 stub.                                                                              I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene) to test that things are still working on UNIX.
2001-03-01 09:27:57 -05:00
Elena Pourmal
a2d934b56a [svn-r3527]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface bocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene) to test that things are still working on UNIX.
2001-02-28 15:49:07 -05:00
Elena Pourmal
c45a1d919a [svn-r3522]
Purpose:
    Windows port  and maintenance.
Description:
    Windows Fortran requires explicit interface block for each
    C function called from F90 stub.
    I also added comment block for each F90 function.
Solution:
    Added inteface block for each function.
Platforms tested:
    Linux (eiriene): checked that code is still compiles and runs correctly
    on UNIX.
2001-02-27 17:33:25 -05:00
Bill Wendling
b21c1e1deb [svn-r3374] Purpose:
Bug fix
Description:
    The /bin/csh shell was causing problems if you were using a different
    shell than csh (like bash). It couldn't find the compiler.
Solution:
    Changed to the more standard /bin/sh
Platforms tested:
    Linux
2001-02-06 16:49:14 -05:00
Quincey Koziol
e30a28f2f0 [svn-r3323] Purpose:
New platform
Description:
    Support the Cray SV1 machine. (config file is identical to unicosmk file
    right now).
Platforms tested:
    Cray SV1 (killeen.nersc.gov)
2001-01-24 17:42:49 -05:00
Elena Pourmal
e462d3b65e [svn-r3320]
Purpose:
    Bug fix
Description:
    Compilation failed for the H5f90global.f90 file on DEC UNIX (hdf5-1.4.0-beta3-pre2)
    When new definition H5E_TBBT_F was added, the length of the corresponding
    H5E_flags array was not increased.
Solution:
    Fixed the length of the array.
Platforms tested:
    DEC UNIX (gondolin)
2001-01-22 13:50:21 -05:00
Elena Pourmal
777b8ed94b [svn-r3306]
Purpose:
    Bug fix.
Description:
    While building on T3E, I noticed several compiler warnings about
    variable being used before its value was defined.
Solution:
    Fixed.
Platforms tested:
    T3E (mcurie.nersc.gov)
2001-01-19 10:15:15 -05:00
Quincey Koziol
ca5e928635 [svn-r3305] Purpose:
Code cleanup
Description:
    Removed some additional references to ragged arrays.
Platforms tested:
    IRIX64 (modi4)
2001-01-18 19:19:33 -05:00
Bill Wendling
5104f10fed [svn-r3298] Purpose:
Bug Fix
Description:
    Small bug fix to the acsite.m4 stuff. We should check if the Fortran
    9X compiler was found instead of the CC compiler.
Solution:
    Changed CC to F9X macro.
Platforms tested:
    Linux
2001-01-18 15:33:56 -05:00
Bill Wendling
6188c31c19 [svn-r3260] Purpose:
Bug Fix
Description:
    The test ``test -e "filename"'' doesn't work with some Bourne shells
    (for instance, on Arabica).
Solution:
    Changed test to ``test -f "filename"''.
Platforms tested:
    Arabica
2001-01-10 12:41:27 -05:00
Bill Wendling
6ff667c0da [svn-r3190] Purpose:
Bug fix
Description:
	This should fix the problem with installing the Fortran module
	files.
Solution:
	This script determines if the HDF5 module is created. If it is,
	then we assume that we need to install all of the modules. I
	check for both upper and lowercase in the name cause I'm not sure
	what weird fortran compilers will do.
Platforms tested:
	Linux
2000-12-22 13:00:32 -05:00
Bill Wendling
5ffd193fe8 [svn-r3150] Purpose:
Another fix...
Description:
	This should work for all platforms now. The other fix didn't work
	for the Linux platform
Solution:
	Explicitly copy the modules if they exist.
Platforms tested:
	Linux
2000-12-18 14:31:11 -05:00
Bill Wendling
e0f561af84 [svn-r3149] Purpose:
Bug Fix
Description:
	When trying to install the Fortran Modules, it would barf if
	there weren't any files in the directory with that extension
	(i.e., in the test/ directory).
Solution:
	Changed the installation to install only those files which
	actually have the correct extension we want.
Platforms tested:
	This type of fix works on the T3E and Linux
2000-12-18 14:17:31 -05:00
Bill Wendling
c18e434113 [svn-r3144] Purpose:
Install Fix
Description:
	Fortran modules need to be installed.
Solution:
	I check for the extension modules are created with and use that
	during the install...
Platforms tested:
	Linux
2000-12-14 12:25:31 -05:00
Elena Pourmal
c701e8b89f [svn-r3130]
Purpose:
    Maintenance
Description:
    Not all platforms support F90 MPI. I used USE MPI statement, and
    it did not work on T3E (mcurie.nersc.gov)
Solution:
    Use INCLUDE 'MPIF.H' statement instead of USE MPI.
Platforms tested:
    O2K and T3E
2000-12-13 14:21:52 -05:00
Bill Wendling
c85098bd45 [svn-r3129] Purpose:
Removal of redundancy
Description:
	HDF5.f90 was added in when it didn't need to be some times...
Platforms tested:
	T3E
2000-12-13 13:09:27 -05:00
Bill Wendling
4b882ef486 [svn-r3126] Purpose:
Bug Fix
Description:
	Parallel stuff wasn't being compiled on T3E. It was complaining
	about not being able to find said files. Also, I was confused
	about which Fortran module needed to be compiled when it was
	parallel.
Solution:
	Did magic so that the correct files are specified when parallel
	is enabled.
Platforms tested:
	T3E
2000-12-13 11:47:02 -05:00
Bill Wendling
7e2e2add53 [svn-r3125] Purpose:
New Config
Description:
	T3E at mcurie.nersc.gov changed it's name yet again.
Solution:
	Create new file so that configure will find it correctly.
Platforms tested:
	T3E
2000-12-13 11:45:31 -05:00
Bill Wendling
9ef7df5d0c [svn-r3124] Purpose:
Bug Fix
Description:
	FFLAGS wasn't being propagated correctly.
Solution:
	Added the @FFLAGS@ macro to the correct FFLAGS line.
Platforms tested:
	T3E
2000-12-13 11:44:20 -05:00
Bill Wendling
16eb222319 [svn-r3071] Purpose:
Bug Fix
Description:
	The fix we put in to ignore warning 405 was incorrect. The quotes
	were confusing to configure.
Solution:
	Turns out that there doesn't need to be a space between the -M
	flag and the warning number.
Platforms tested:
	T3E
2000-12-04 11:47:11 -05:00
Elena Pourmal
f99a7ddacc [svn-r3068]
Purpose:
    Code maintenace
Description:
    Comments to the h5tget_order_f and h5tset_order_f subroutines were
    incorrect.
Solution:
    Fixed.
2000-12-02 12:21:43 -05:00
Elena Pourmal
c0c9ae025f [svn-r3067]
Purpose:
    Bug fix.
Description:
    nh5tget_order_c function always returned "FAIL"
Solution:
    Fixed
Platforms tested:
    Not tested ( I know :-)....)
2000-12-02 12:17:02 -05:00
Bill Wendling
50d0fc416c [svn-r3056] Purpose:
Bug Fix
Description:
	There's a spurious warning being created on Cray T3E.
Solution:
	We ignore it.
Platforms tested:
	T3E
2000-12-01 16:00:14 -05:00
Elena Pourmal
5e66426aa4 [svn-r3055]
Purpose:
    Bug fix on T3E.
Description:
    There was a typo in the h5init_types_c name translation line that
    caused compilation errors.

Solution:
    Fixed the typo. This fix exposes another error and I have no clue what to
    do about this one

     f90 -p. -p../src -dp -o fortranlib_test fortranlib_test.o hdf5test.o tH5F.o tH5D.o tH5R.o tH5S.o tH5T.o tH5Sselect.o tH5P.o tH5A.o tH5I.o tH5G.o ../src/.libs/libhdf5_fortran.a ../../src/.libs/libhdf5.a -L/u3/epourmal/HDF4/NewHDF/lib -lmfhdf -ldf -ljpeg -lz -lnsl -lm
cld-405 cld: WARNING
  The entry point `HDF5' defined in relocatable object `../src/.libs/libhdf5_fortran.a[HDF5.o:HDF5]' is used; the definition in relocatable object `./../src/HDF5.o:HDF5' is ignored.
cld-431 cld: WARNING
  The resulting output file `fortranlib_test' is not executable because of previous WARNING messages.
Make: "../../libtool --mode=link f90   -p. -p../src -dp -o fortranlib_test fortranlib_test.lo hdf5test.lo tH5F.lo tH5D.lo tH5R.lo tH5S.lo tH5T.lo        tH5Sselect.lo tH5P.lo tH5A.lo tH5I.lo tH5G.lo ../src/libhdf5_fortran.la  ../../src/libhdf5.la": Error code 1
cmd-2436 make: Stop.
+ exit 1
Make: "set -x; for d in src test  examples; do                        \
   (cd $d && make tests) || exit 1;                                   \
done": Error code 1

Platforms tested:
    T3E
2000-12-01 15:16:10 -05:00
Bill Wendling
e79fa0f234 [svn-r3054] Purpose:
Bug Fix
Description:
	We were not propagating the FFLAGS macro. I.e., we were
	overwriting it after it was set in the commence.in includes.
Solution:
	Include it with a ``@FFLAGS@'' where we'd normally overwrite it
	so that it isn't.
Platforms tested:
	T3E
2000-12-01 15:00:54 -05:00
Bill Wendling
f4f79e6af6 [svn-r3053] Purpose:
New File
Description:
	Configure file for the T3E.
Platforms tested:
	T3E
2000-12-01 14:59:48 -05:00
Bill Wendling
14234fc01a [svn-r3052] Purpose:
Attempted Bug Fix
Description:
	Some machines (Cray T3E, need you ask?) use the ``-p'' flag for
	enabling double precision. This breaks our Fortran interface.
Solution:
	Put this test last. However, the T3E apparently doesn't need
	modules, so we may have to resort to a better "fix" than this
	in the future.
Platforms tested:
	T3E
2000-12-01 14:59:18 -05:00
Elena Pourmal
d2e7ce1399 [svn-r3036]
Purpose:
    Bug fix
Description:
    hdf5 1.4.0_beta1 build failed for Fortran test tH5T.f90 because
    third argument of the h5tarray_create_f subroutine had INTEGER(SIZE_T)
    type instead of INTEGER(HSIZE_T) type.
Solution:
    Fixed the datatype.
Platforms tested:
    Linux (eirene)
2000-11-30 09:57:56 -05:00
Elena Pourmal
49e8b9fab8 [svn-r3034]
Purpose:
    Bug fix.
Description:
    H5f90global.f90:
    One of the common block arrays (floating_types) had a typo in the name.
    DEC compiler was the only compiler to warn about the problem.
    H5Ff.f90
    Compiler gave warnings about a variable that was used before its value was defined.
    Fixed. Turned to be a typo in a variable name.
Platforms tested:
    DEC UNIX (gondolin)
2000-11-29 18:52:56 -05:00
Elena Pourmal
55bc19a6d7 [svn-r3033]
Purpose:
    Bug fix
Description:
    Test program was using h5init_types_f and h5close_type_f
    instead of h5open_f and h5close_f. Would not compile on modi4.
Solution:
    Fixed the code to use new functions.
Platforms tested:
    O2K (modi4)
2000-11-29 18:44:37 -05:00
Elena Pourmal
fa61ea96dd [svn-r3032]
Purpose:
    Bug fix
Description:
    h5gget_linkval_f function had an argument with the type INTEGER instead
    on INTEGER(SIZE_T). Test would not compile on O2K.
Solution:
    Fixed argument datatype.
Platforms tested:
    O2K (modi4)
2000-11-29 18:42:16 -05:00
Elena Pourmal
4a7f9c11bc [svn-r3031]
Purpose:
    Bug fix
Description:
    Functions were using flags that were not defined anymore.
    Somehow I forgot to check this file in when I modified code
    to use run-time generated flags.
Platforms tested:
    O2K (modi4)
2000-11-29 18:06:19 -05:00
Bill Wendling
98e2c32951 [svn-r3028] Purpose:
Bug Fix
Description:
	T3E and J90 were complaining about not being able to make for
	ADD_PARALLEL_FILES.
Solution:
	Somehow the make on these machines must have been weirded out by
	the funky pattern matching/replacement that's being done and
	couldn't handle a null macro. I now assign "no" to the macro
	explicitly
Platforms tested:
	T3E
2000-11-29 17:07:24 -05:00
Elena Pourmal
320dfb1a03 [svn-r2977]
Purpose:
    Code maintenance
Description:
    Fixed the code to use h5open_f and h5close_f subroutines
Platforms tested:
    Solaris 2.6
2000-11-17 17:45:34 -05:00
Elena Pourmal
610ad05c1d [svn-r2976]
Purpose:
    Code maintenance
Description:
    Fixed the code to use h5open_f and h5close_f subroutines.
Platforms tested:
    Solaris2.6
2000-11-17 17:44:24 -05:00
Elena Pourmal
5dad153995 [svn-r2975]
Purpose:
    Code maintenance and development
Description:
    I added two functions h5open_f and h5close_f to initialize
    C library and Fortran interface (flags, predefined datatypes, etc).
    Those calls are required for any F90 program that uses HDF5.
    I renamed H5f90misc.c and H5f90miscf.f90 files to H5f.c and H5ff.f90.
    New functions are added to those new files.
Platforms tested:
    Solaris 2.6
2000-11-17 17:43:27 -05:00
Elena Pourmal
2bc81f8736 [svn-r2972]
Purpose:
    Bug fix
Description:
    HP and AIX compilers did not like duplicate array declarations in
    common blocks statements.
Solution:
    Removed duplication
Platforms tested:
    SP2 and HPUX 11.00
2000-11-17 15:08:37 -05:00
Elena Pourmal
0d4da25d86 [svn-r2964]
Purpose:
    Code maintenance
Description:
    Fixed the code to use new h5tarray_create_f subroutine to
    create a compound datatype with an array field.
Platforms tested:
    Solaris 2.6
2000-11-17 09:46:05 -05:00
Elena Pourmal
81f5bf419d [svn-r2963]
Purpose:
    Bugs fix
Description:
    I used H5Tcreate_array instead of H5Tarray_create  in C stub
Solution:
    Fixed
Platforms tested:
    Solaris 2.6
OCVS: ----------------------------------------------------------------------
2000-11-17 09:44:10 -05:00
Elena Pourmal
c28059e522 [svn-r2958]
Purpose:
    Code development and maintenance
Description:
    Four new fortran functions to support array datatype were added:
         h5tarray_create_f
         h5tget_array_ndims_f
         h5tget_array_dims_f
         h5tget_super_f

    Two functions were deleted (commented out for now, can be returned easily if
    necessary):
         h5tinsert_array_f
         h5tget_member_dims
Platforms tested:
        Library build was tested on Solaris2.6. I have to modify test program to
        use new functions. Right now test program will not compile.
2000-11-16 16:50:34 -05:00
Bill Wendling
5939bcff41 [svn-r2934] Purpose:
Changed to handle tracing in Fortran files.
Description:
	Changed so that it picks up the correct trace program in
	hdf5/bin.
Platforms tested:
	Linux
2000-11-15 13:00:55 -05:00
Bill Wendling
24da402d9a [svn-r2933] Purpose:
Changed to handle tracing in Fortran files.
Description:
	Changed logic so that it doesn't try to search .f90 files.
Platforms tested:
	Linux
2000-11-15 13:00:31 -05:00
Bill Wendling
6e21430e32 [svn-r2930] Purpose:
Fix
Description:
	Changed so that tracing is done on .c files and not .f90 files,
	which it wouldn't be able to handle.
Platforms tested:
	Linux
2000-11-15 12:49:29 -05:00
Bill Wendling
083689bdf5 [svn-r2925] Purpose:
Bug
Description:
	Instead of LT_STATIC_EXEC, I had it named LT_STATIC_LIB, which
	was failing to compile.
Solution:
	Changed
Platforms tested:
	Linux
2000-11-15 12:29:12 -05:00
Bill Wendling
710bf78e21 [svn-r2921] Purpose:
Buglet fix
Description:
	Was removing the confdefs.h header which was needed during
	Makefile generation.
Solution:
	Stopped doing that.
Platforms tested:
	Linux
2000-11-15 11:43:36 -05:00
Bill Wendling
6b522ad236 [svn-r2919] Purpose:
Buglet fix...
Description:
	When configuring, configure would complain about there not being
	a confdefs.h file.
Solution:
	Added a src/H5config.h file which configure can generate. This
	can be used for configure stuff later, but is empty now.
Platforms tested:
	Linux
2000-11-15 11:39:52 -05:00
Bill Wendling
8dae2ec00b [svn-r2915] Purpose:
Feature Add
Description:
	Added the --enable-static-exec flag to the fortran stuff.
Platforms tested:
	Linux
2000-11-15 11:09:37 -05:00
Bill Wendling
e7612be488 [svn-r2905] Purpose:
Bug
Description:
	Applied the DYNAMIC_DIRS patch to this configure file. It was
	applied to the hdf5 stuff but didn't make it down here.
2000-11-14 18:17:32 -05:00
Elena Pourmal
7b78adce8b [svn-r2809]
Purpose:
    Added new test file tH5G.f90 to test group interface
Platforms tested:
    Linux (eirene)
2000-11-07 13:18:41 -05:00
Elena Pourmal
0cd13ba19d [svn-r2808]
Purpose:
    New feature
Description:
    Added F90 flags to support h5glink_f subroutine
           H5G_LINK_ERROR_F
           H5G_LINK_HARD_F
           H5G_LINK_SOFT_F
Platforms tested:
    Linux (eirene)
2000-11-07 13:17:18 -05:00
Elena Pourmal
ada3710bc7 [svn-r2797]
Purpose:
    Maintenance
Description:
    Updated examples to use new F90 programming model
Platforms tested:
    O2K and Solaris2.7
2000-11-03 14:49:59 -05:00
Elena Pourmal
39e47fe74d [svn-r2796]
Purpose:
    Maintenance
Description:
    Updated tests to use new F90 programming model.
Platforms tested:
     O2K and Solaris2.7
2000-11-03 14:48:15 -05:00
Elena Pourmal
46f49b84cf [svn-r2795]
Purpose:
    New feature
Description:
    Now all Fortran flags such as H5F_ACC_RDONLY_F (previously defined in the
    H5fortran_flags.f90 file) are generated at runtime when h5init_fortran_f
    subroutine is called. All flags have now the same value as
    corresponding C flags. This change affects user's programming model:
    Every Fortran program that uses F90 HDF5 Library has to call
    h5init_fortran_f(error) subroutine before the first call to the
    F90 HDF5 Library and h5close_fortran_f(error) after the last call to the
    Library. h5init(close)_types_f calls are not needed anymore since
    F90 datatypes are intialized(closed) with the h5init(close)_fortran_f
    calls.

Platforms tested:
     O2K and Solaris2.7
2000-11-03 14:45:50 -05:00
Bill Wendling
32f4aeffd1 [svn-r2787] Purpose:
Needed File
Description:
	The Makefile needed the Dependencies file...This is a blank
	one...
2000-11-01 12:40:25 -05:00
Bill Wendling
2128e6763b [svn-r2783] Purpose:
Adding
Description:
	Makefile for the Fortran parllel tests...
Platforms tested:
	Modi4
2000-10-31 15:19:44 -05:00
Bill Wendling
284b19a05f [svn-r2782] Purpose:
Feature
Description:
	This will run the parallel test files for Fortran when
	 --enable-parallel is specified
Platforms tested:
	Modi4
2000-10-31 15:19:03 -05:00
Elena Pourmal
c5c4b42e79 [svn-r2775]
Purpose:
    Bug fix.
Description:
    When the number of processors is wrong (should be a factor
    of dataset dimensions for this test) , test hangs because
    of wrong logic in the if-then-endif statement.
Solution:
    Fixed the logic.
Platforms tested:
    modi4 (O2K)
2000-10-31 13:04:24 -05:00
Elena Pourmal
e4c4b455b5 [svn-r2772]
Purpose:
    Maintenance
Description:
    Made F90 source directory to be in sync with the C source
Platforms tested:
     modi4 (O2K)
2000-10-31 12:54:45 -05:00
Elena Pourmal
ec2da17b52 [svn-r2754]
Purpose:
    Bug fix.
Description:
    Reading from the file failed because property list identifier
    was not properly passed to the subroutine h5dread_f.
Solution:
    Fixed the order of the parameters in the h5dread_d call
Platforms tested:
    O2K (modi4)
2000-10-30 17:07:09 -05:00
Elena Pourmal
76807a6985 [svn-r2753]
Purpose:
    Adding F90 || tests.
Description:
    I created testpar directory with the following files
      ptesthdf5_fortran.f90 - F90 test driver program
      tcheck.f90 thdf5.f90  - handy subroutines to use with the tests
      thyperslab_wr.f90     - F90 test:
                              collectively writes and reads hyperslabs to/from the dataset
Solution:
Platforms tested:
     Partially tested on modi4 (O2K)
2000-10-30 16:03:18 -05:00
Bill Wendling
78365de55f [svn-r2745] Purpose:
Bug fix...I hope
Description:
	For some reason, libtool wasn't generating a .lai library file in
	the .libs directory. It needs this to install things, apparently.
Solution:
	Major hack! I force a ln to the "real" one libtools wants.
Platforms tested:
	Modi4
2000-10-27 16:54:54 -05:00
Elena Pourmal
9fe247782e [svn-r2739]
Purpose:
    Maintenancece.
Description:
    F90 APIs would not compile anymore for || version..
Solution:
    Replaced old functions h5pset(get)_mpio, h5set(get)_xfer with
    ones h5pset(get)_fapl_m and h5pset(get)_dxpl_mpio_f

Platforms tested:
    O2K.
2000-10-26 16:45:53 -05:00
Bill Wendling
22feb1e946 [svn-r2731] Purpose:
Bug Fix
Description:
	make distclean left *.{o,lo,h5} files in the directory.
Solution:
	Added them to the DISTCLEAN macro.
2000-10-24 16:15:17 -05:00
Elena Pourmal
7e1be524fa [svn-r2730]
Purpose:
    Bug fix.
Description:
    fortranlib_test.f90 had a typo in the format string. Would not compile on O2K.
    Test did not check the length of the attribute name.
Solution:
    Fixed format strings.
    Added more code to test returned attribute name length.
Platforms tested:
    O2K, Linux
2000-10-24 15:56:04 -05:00
Elena Pourmal
ac1c247452 [svn-r2729]
Purpose:
    Bug fix
Description:
    Attribute test failed on O2K. h5aget_name_f function could not
    return correct attribute name.
Solution:
    size function parameter had wrong datatype in F90 subroutine.
    Fixed it to be of INTEGER(SIZE_T) type.
Platforms tested:
    O2K, Linux
2000-10-24 15:52:00 -05:00
Bill Wendling
5b442958f8 [svn-r2728] Purpose:
Bug Fix
Description:
	Getting messages while compiling the || fortran stuff that it
	didn't have a rule to make "H5Pf_parallel.c".
Solution:
	The quotes were confusing it. I placed the text in another macro
	to fix this.
Platforms tested:
	Modi4
2000-10-24 15:04:25 -05:00
Elena Pourmal
00ca91129d [svn-r2714]
Purpose:
    Added more Fortran tests
Description:
    tH5A.f90 - attribute interface test
    tH5I.f90 - identifier interface test
Solution:
    Two new files were added to test H5A and H5I interfaces.
Platforms tested:
    Solaris 2.7, Linux
2000-10-20 15:51:49 -05:00
Elena Pourmal
b1c8d95cdd [svn-r2713]
Purpose:
    H5Aff.f90: Bug fix
Description:
    Character string was not passed correctly from the user's application
    to the write/read subroutines when buffer was decalred as assumed-shape
    array.
Solution:
    Declared date buffer to be assumed-size array.
Platforms tested:
    Solaris 2.7, Linux

Purpose:
    H5fortran_flags.f90: Bug fix

Description:
    Fortran H5I_* types had incorrect values.
Solution:
    Fixed.
Platforms tested:
    Solaris 2.7, Linux
2000-10-20 15:49:32 -05:00
Bill Wendling
de64fa4685 [svn-r2704] Purpose:
Bug Fix
Description:
	Sed was complaining about "filename expected" when trying to
	generate the .in files. The problem stemmed from the script sed
	was generating in the conftest.s1 file. It needed the DEPEND
	filename which wasn't being set.
Solution:
	Fixed so that we check if DEPEND is zero before trying to set if
	(if not using a GNU make program) instead of testing if DEPEND
	has a value in it...I copied this incorrectly from the main
	library's configure.in file...my bad.
Platforms tested:
	T3E
2000-10-19 12:55:13 -05:00
Bill Wendling
a2e49651af [svn-r2696] Purpose:
Bug Fix
Description:
	On some platforms, if you don't have . in your PATH, it won't
	find the test program it's supposed to run.
Solution:
	Changed instead to ./$$test so that it picks up the program in
	the current directory.
Platforms tested:
	Opus and Linux
2000-10-18 11:47:04 -05:00
Bill Wendling
bfd52032e3 [svn-r2688] Purpose:
Feature Missing
Description:
	Generate the Dependencies files so modules are regenerated
	correctly
Solution:
	Handcoded the module. Hope it works.
Platforms tested:
2000-10-16 16:52:16 -05:00
Elena Pourmal
6220207607 [svn-r2687]
Purpose:
    Typo fixing.
Description:
    I made a typo in the comment.
Solution:
    Fixed a typo.
Platforms tested:
    This time tested on HPUX 11.00 (opus)
2000-10-16 16:50:49 -05:00
Bill Wendling
f4fba4aba8 [svn-r2686] Purpose:
Bug Fix
Description:
	When doing a make clean, the H5fortran_types.f90 file would be
	removed.
Solution:
	Placed it in the DISTCLEAN macro instead of the CLEAN so that it
	will stick around.
Platforms tested:
2000-10-16 14:45:08 -05:00
Elena Pourmal
0d993ff8bc [svn-r2685]
Purpose:
    Fortran HPUX 11.00 port
Description:
    Added Fortran stuff to the hpux11.00 file
Platforms tested:
    Has not been tested yet. Will do it after this checkin on opus.
2000-10-16 13:35:27 -05:00
Elena Pourmal
a67ef7d34b [svn-r2683]
Purpose:
    HDF5 Fortran90 port to HP 11.00
Description:
    Added datatype definitions for HP 11.00
Solution:
Platforms tested:
     HPUX 11.00 (opus)
2000-10-13 15:35:50 -05:00
Albert Cheng
7e85c72e83 [svn-r2671] Purpose:
Bug fix
Description:
    The setting does not work for the --srcdir option as source file names
    are hard set in the action lines.
Solution:
    Changed the dependence targets to the form of *.lo and the action lines
    would use the *.lo files.  This way, *.lo files are created when
    -srcdir option is used or not.  Also added that they all depend on
    the C hdf5 library.
Platforms tested:
    IRIX64 -64 with --srcdir
2000-10-11 18:34:17 -05:00
Albert Cheng
717e5f4764 [svn-r2670] Purpose:
Bug fix
Description:
    The setting does not work for the --src-dir option as source file names
    are hard set in the action lines.
Solution:
    Changed the dependence targets to the form of *.lo and the action lines
    would use the *.lo files.  This way, *.lo files are created when
    -src-dir option is used or not.
Platforms tested:
    IRIX64 -64 (I knows it works for other platforms because
    "'I know the hammer will drop when i let go'--Mr. Spock")
2000-10-11 17:15:06 -05:00
Bill Wendling
d1e73b0909 [svn-r2669] Purpose:
Bug Fix
Description:
	I was relying on the PARALLEL macro to be "yes" or "no" all the
	time. This isn't the case.
Solution:
	Created the ADD_PARALLEL_FILES macro to do just this.
Platforms tested:
	Modi4
2000-10-11 12:44:40 -05:00
Bill Wendling
714b3018f3 [svn-r2668] Purpose:
Bug Fix
Description:
	Wasn't picking up the header files from the proper source and
	build directories. There were some funky things happening in
	there.
Solution:
	Put the correct path in.
Platforms tested:
	Modi4
2000-10-11 12:30:57 -05:00
Bill Wendling
ec448f5702 [svn-r2666] Another typo 2000-10-11 12:16:16 -05:00
Bill Wendling
135719cdf1 [svn-r2665] Small typo... 2000-10-11 12:14:29 -05:00
Bill Wendling
7d4886e379 [svn-r2664] Purpose:
*sigh*
Description:
	Wasn't picking up a header file which is in the source directory.
Solution:
	Changed some flags so that it does this now.
Platforms tested:
	Modi4
2000-10-11 12:09:28 -05:00
Bill Wendling
c21431a67e [svn-r2663] Purpose:
Bug Fix 37
Description:
	Okay...this is really it now. Sorry for all the other "fixes".
	This will take care of the top_builddir macro for the Fortran
	interface.
Solution:
	Hardcoded the path to the build directory.
Platforms tested:
	Modi4.
2000-10-11 11:34:34 -05:00
Bill Wendling
c4178f96f4 [svn-r2662] Purpose:
Bug Fix
Description:
	Wasn't picking up the correct build directory source files.
Solution:
	Use top_builddir instead of srcdir macro.
Platforms tested:
	Modi4
2000-10-11 11:22:44 -05:00
Bill Wendling
dde028f9cf [svn-r2661] Purpose:
Bug Fix
Description:
	Wasn't finding the Dependencies file when doing a make.
Solution:
	Modified the path to the Dependencies file by prepending a
	`$(srcdir)/' to it.
Platforms tested:
	Modi4
2000-10-11 10:45:55 -05:00
Bill Wendling
076301d28d [svn-r2660] Purpose:
Bug Fix
Description:
	The "fix" for search paths was wrong. It would try to recompute
	the SEARCH macro at the end.
Solution:
	Stopped it from doing that if the $SEARCH macro has a value. One
	question, will fortran always be built from the top directory?
Platforms tested:
	Modi4
2000-10-11 10:04:05 -05:00
Bill Wendling
820b18e598 [svn-r2659] Purpose:
Bug Fix
Description:
	When running configure on subdirectories (like fortran/), looking
	up how make implements SEARCHes failed.
Solution:
	Exporting the SEARCH macro so that subdirectories don't have to
	look for it.
Platforms tested:
	Modi4.
2000-10-10 18:15:40 -05:00
Elena Pourmal
900862b2c3 [svn-r2658]
Purpose:
    Buf fix
Description:
    On DEC, H5Dff.f90 would not compile because of variables declaration
    order. Other UNIX platforms including J90 did not care.
Solution:
    Change the order of variables declarations.
Platforms tested:
     DEC Unix (gondolin)
2000-10-10 17:37:46 -05:00
Elena Pourmal
1c90281db5 [svn-r2654]
Purpose:
    Updated source code to use new APIs to write/read references
Description and Solution:
    Write/read subrotine has extra parameter - size of the reference array.
    I modified the source to reflect this change.
Platforms tested:
    Solaris 2.6
2000-10-10 09:31:50 -05:00
Elena Pourmal
a5a3f3c736 [svn-r2649]
Purpose:
    Rewrote test to use new APIs to read and write references.
Platforms tested:
    J90 and Solaris 2.6
2000-10-09 23:14:44 -05:00
Elena Pourmal
02092cd24e [svn-r2648]
Purpose:
    Reimplemented references to the objects and dataset regions.
Description:
    Previous implementation was not portable. This implementation
    should work on UNIX workstations and Crays, but is very inefficient
    since it uses memcpy to repack Fortran buffers with references
    to C buffers and vice versa.
Solution:
    I used fortran derived datatype with integer fields. h5dwrite_f and
    h5dread_f have extra parameter when references are written or read.
    This parameter describes size of the buffer that holds references.
Platforms tested:
     J90 and Solaris 2.6

H5Pf.c

    Some of the functions do not exist now in the development branch.
    Commented those out, so one does not need to apply patch in order
    to build Fortran Library.
2000-10-09 23:13:14 -05:00
Bill Wendling
073ef8f453 [svn-r2578] Purpose:
libtool shouldn't be included in the CVS tree.
2000-09-19 15:35:13 -05:00
Bill Wendling
8055378bce [svn-r2576] Purpose:
Adding the Fortran interface to the HDF5 library
Description:
	Fortran is now a subdirectory of the HDF5 library tree.
Platforms tested:
	Solaris and IRIX (O2K)
2000-09-19 15:06:49 -05:00