Commit Graph

1038 Commits

Author SHA1 Message Date
Elena Pourmal
acb356d309 [svn-r5958]
Purpose:
    Added missing fortran functions h5set(get)_buffer_f.
    Also added  docs and tests for them.
Solution:
    Currently functions do not accept conversion and background buffers.
    This corresponds to H5set(get)_buffer call with buffer pointers
    set to NULL. If there is a demand, I can overload the functions
    to have new parameters and go through all trouble creating functions
    for all supported datatypes.
Platforms tested:
    Solaris 2.7, Linux 2.2., IRIX64-6.5
2002-10-02 14:15:43 -05:00
Elena Pourmal
01a577a4e9 [svn-r5956]
Purpose:
    Added new F90 APIs
Description:
    I added new F90 APIs, tests, and documentation for the following
    functions:
         h5fget_obj_count_f   h5pequal_f               h5tget_member_index_f
         h5fget_obj_ids_f     h5pget_fclose_degree_f
                              h5pset_fclose_degree_f

    Documentation for exisiting functions was missing:

    h5freopen_f, h5fflush_f, h5fmount_f, h5unmount_f, h5fget_create_plist_f,
    h5fget_access_plist_f.
Platforms tested:
    Solaris 2.7, Linux 2.2 and IRIX64-6.5
2002-10-01 13:55:47 -05:00
Elena Pourmal
11b0fad3fa [svn-r5948]
Purpose:
    Added new fortran functions
Description:
    Source code, tests and documentation for h5glink2_f and h5gmove2_f
    functions were added. I also added missing man page for h5glink_f
Platforms tested:
    Solaris 2.7, IRIX64-6.5 and Liniux 2.2
2002-09-25 17:24:55 -05:00
Elena Pourmal
f9c3920d28 [svn-r5946]
Purpose:
    Added missing fortran functions.
Description:
    Four Library Fortran API functions have been added:

    h5get_libversion_f, h5_check_version_f, h5garbage_collect_f and
    h5dont_atexit_f. Only first two functions were tested.

    Documentation file and RELEASE.txt were updated.
Platforms tested:
    Solaris 2.7, IRIX64-6.5 and Linux 2.2
2002-09-24 18:27:51 -05:00
Elena Pourmal
5487187a93 [svn-r5935]
Purpose:
   Bug fix
Description:
    _DLL_ macro was not replaced by H5_DLL macro in the Fortran stabs
     header file when it was replaced in the C header files.
Solution:
     Replace it.
Platforms tested:
     Tested on Solairs 2.7 with --enable-fortran --enable-cxx flags.
2002-09-21 16:52:08 -05:00
Elena Pourmal
f4d1614943 [svn-r5490] Purpose:
Code cleanup
Description:
    While working on the "External test" failure I restructured and
    cleaned up some C stub code.
Platforms tested:
    dangermouse (Linux 2.4)
2002-05-31 09:36:35 -05:00
Quincey Koziol
03ab48c9c3 [svn-r5444] Purpose:
Code cleanup

Description:
    Clean up warnings on IRIX64 6.5 (modi4)

Platforms tested:
    IRIX64 6.5 (modi4)
2002-05-20 13:43:31 -05:00
Elena Pourmal
dbcce6d77f [svn-r5401]
Purpose:
    Code clean-up
Description:
    Removed unused HAVE_XXXX macros from the H5f90i.h file.
Platforms tested:
    HP-UX 11.00 (kelgia) and IRIX64-6.5 (modi4)
2002-05-13 11:15:50 -05:00
Elena Pourmal
9cd1488287 [svn-r5320]
Purpose:
    Bug#670 fix
Description:
    dims parameter to the h5dwrite_f, h5dread_f, h5awrite_f and h5aread_f
    subroutines was declared as INTEGER array of size 7 (max number of dimensions
    in Fortran). Users could not use the same buffer dims as an argument to
    the h5screate_simple_f subroutine since it should be an array of size = RANK
    and type INTEGER(HSIZE_T).
Solution:
    Overload subroutines with dims parameter to be assumed size array of
    INTEGER(HSIZE_T) type for backward compatibility.
    Subroutine with the INTEGER dims argument should be depricated in 1.6 release
Platforms tested:
    Windows, Solaris2.7, IRIX64-6.5
2002-05-01 19:24:19 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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