Commit Graph

663 Commits

Author SHA1 Message Date
Bill Wendling
6377386751 [svn-r6881] Purpose:
Update

Description:
    Regenerated

Platforms tested:
    Modi4 (Fortran & Parallel)
    Verbena (Fortran & C++)
    Arabica (Fortran)
    (though not with GPFS enabled...)

Misc. update:
2003-05-15 18:26:18 -05:00
Bill Wendling
16d78f2456 [svn-r6859] Purpose:
Bug Fix

Description:
    Porting preprocessor (-E) bug fix from h5cc to h5fc.

Solution:
    See Description.

Platforms tested:
    Eyeballed (small fix).

Misc. update:
2003-05-13 12:17:56 -05:00
Elena Pourmal
c0de1ca9fe [svn-r6820]
Purpose: Fortran updtae

Description: Created new functions h5pset(get)_fapl_mpiposix_f


Platforms tested: Compilation was tested with semi-manual h5committest.
                  (I ahd to built and test manullay on modi4 parallel because
                   of some weird failure of h5committest on modi4)
                  There are no tests yet for those functions. Kent was
                  going to use them in the MEAD project to test
                  the performance.
Misc. update:
2003-05-06 18:20:39 -05:00
Elena Pourmal
5b13e08ba6 [svn-r6790]
Purpose: Maintenance/code cleanup/fight with Windows Fortran DLLs

Description: While strugling with Fortran DLLs on Windows I noticed
             some missing export definitions that are necessary
             for exporting correctly data and functions.

Solution: Added missing definitions

Platforms tested: h5committested; Windows with MSVC++ and Visual Fortran
                  on Windows. Fortran DLLs partially work, only 2 tests
                  fail, but failure doesn't make any sense. To make
                  things worse, most of the C DLL tests start to fail when
                  Fortran is built. I am still investigating...


Misc. update:
2003-05-01 15:23:42 -05:00
Elena Pourmal
e42dba5336 [svn-r6772]
Purpose: Windows maintenance and code cleanup

Description: There were a lot of places in the source code where varibale
             was declared but never used.

Solution: Cleaned the source code to avoid warnings on Windows adn Unix
          platforms.

Platforms tested: arabica, modi4, Windows
                  Probably my environment is wrong on Linux, cannot
                  compile at all when fortran is enabled
                  If daily tests fails tomorrow, this will be my fault
                  but I want to go home now :-)

Misc. update:
2003-04-28 19:00:22 -05:00
Bill Wendling
68b1950013 [svn-r6746] Purpose:
Bug Fix

Description:
    When going to compile on a platform (like HP-UX) which doesn't have
    libz.a in it's path, the script would fail. The reason was that the
    LDFLAGS variable which holds the directories to these libraries was
    last in the compile line. So the compiler couldn't find the library

Solution:
    Put the LDFLAGS variable before the linker variables.

Platforms tested:
    Kelgia (Fortran)
    Verbena (Fortran, no C++ since only Fortran affected)
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)

    Also ran "make check-install"

Misc. update:
2003-04-24 15:22:43 -05:00
Bill Wendling
7927acd7f3 [svn-r6739] Purpose:
Bug Fix

Description:
    H5FC was failing on Copper (IBM P690). The reason: the xlf compiler
    needs files to end in .f in stead of .f90. If you have .f90 files,
    you need the "-qsuffix=f=f90" flag defined. This was defined for
    compiling things via the "-c" option (to object files) but not for
    straight compilation of a file.

    I also noticed that the directory modules were being extracted from
    was "." and "../src". H5FC would find these alright when doing a
    "make check-install" but if Suzie User were to try this, it might
    fail for her. Suzie would have to specify explicitly where to grab
    these files.

Solution:
    The solution to the problem was a bit more involved. I added a new
    variable called "F9XSUFFIXFLAG" which is set to this value if the
    machine needs it.

    Added new variable called "FSEARCH_DIRS" which can be set to the
    directories to find modules during compilation. The H5FC script knows
    where to find the correct modules (it's in the lib/ directory), so it
    uses the F9XMODFLAG to find them and not the FSEARCH_DIRS flag.

Platforms tested:
    Modi4 (Fortran & Parallel)
    Verbena (Fortran) C++ not needed since this is Fortran-only fix
    Arabica (Fortran)
    Copper (Fortran)

    Ran "make install" and "make check-install" afterwards...

Misc. update:
2003-04-23 14:25:58 -05:00
Bill Wendling
8bbf1fb8e0 [svn-r6735] Purpose:
Update

Description:
    Ran "autoheader" to gather some of the added #defines that were
    included in the configure.in file over the months...

Platforms tested:
    Arabica & Baldric (Fortran)
    Modi4 (Parallel & Fortran)
    Verbena (C++ & Fortran)

    All with --enable-stream-vfd and doing a "make check-install".

Misc. update:
2003-04-22 18:07:30 -05:00
Elena Pourmal
4f6535b588 [svn-r6684]
Purpose: Added copyright statement; cleaned code and fixed bugs for
         Windows and Cray T90IEEE

Description: Fortran files did not have copyright statement; VL types
             did not work on T90IEEE since I never brought the correct code
             from 1.4 branch; there were compilation warnings on Windows;
             some character parameters were not passed correctly to C stubs
             causing tests to fail on Windows.

Solution: Added copyright statement and clean the code.

Platforms tested: CRAY T90IEEE, arabica, modi4 with parallel, Windows 2000
                  Only static tests (both debug and release) passed on Windows.
                  DLLs have multiple problems ;-)

Misc. update:
2003-04-15 17:33:39 -05:00
Bill Wendling
3935629cd6 [svn-r6680] Purpose:
Feature Add

Description:
    Added a "libhdf5_fortran.settings" file to the Fortran library.

Platforms tested:
    Arabica (Fortran)
    Modi4   (Parallel & Fortran)
    Vebena  (Fortran & C++)

Misc. update:
2003-04-15 16:43:26 -05:00
Elena Pourmal
a496f905b8 [svn-r6641]
Purpose: Catching up with C library

Description: I added four new functions
             h5pset_szip_f
             h5pget_filter_by_id_f
             h5pmodify_filetr_f
             h5pall_filters_avail_f

Solution:

Platforms tested: arabica (with and without SZIP Library),
                  modi4 (with SZIP and parallel)
                  burrwhite (with SZIP and PGI C and Fortran compilers)

Misc. update:
2003-04-11 23:09:49 -05:00
Bill Wendling
a471c1ca4a [svn-r6639] Purpose:
Fix

Description:
    There are some Fortran compilers which don't have a module flag.

Solution:
    If they don't have one, then don't specify it on the line. Also added
    the LDFLAGS to the compile line so that we pick up the proper
    libraries and their directories.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)
    Baldric (Fortran), but make check didn't work because of "libucb.so"
    error that I can't fix...)

Misc. update:
2003-04-11 17:12:07 -05:00
Bill Wendling
e783f65f9f [svn-r6624] Purpose:
Bug Fix

Description:
    The way to detect modules wasn't in there.

Solution:
    Added the 'F9XMODFLAG' variable and have it pointing to the
    appropriate place.

Platforms tested:
    Arabica. Will test on other platforms one at a time. This won't
    affect other parts of the system...

Misc. update:
2003-04-09 20:17:16 -05:00
Bill Wendling
16af7806e7 [svn-r6623] Purpose:
Bug Fix

Description:
    Some of the macros in the script weren't being updated by configure
    correctly. Also, the FFLAGS needed to be used during compilation.

Solution:
    Put the correct macros in there. Added FFLAGS.

Platforms tested:
    Arabica. Only testing it on one platform for now since this is a
    script change and needs to be tested on one machine first before
    further testing...

Misc. update:
2003-04-09 20:05:03 -05:00
Bill Wendling
44deb0bdec [svn-r6622] Purpose:
Addition

Description:
    Added "h5fc" utility. This is the same as the "h5cc" utility but for
    Fortran. It only handles static libraries since that's the only
    library we build for Fortran.

    Note! I've tested the code on the normal platforms but I haven't
    tested the utility itself.

Platforms tested:
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)
    Burrwhite (Fortran & C++

Misc. update:
2003-04-09 19:48:46 -05:00
Albert Cheng
ca9591caed [svn-r6617] Purpose:
Bug fix.

Description:
The macro MAX defined here is very commonly defined, e.g., AIX systems.
The compiler did not like duplicated macro defines.

Solution:
H5_MAX is already defined in H5f90.h and used in other code.
Remove MAX and change its use to H5_MAX.

Platforms tested:
"h5committested", plus tested at LLNL Blue.

Misc. update:
2003-04-09 15:02:33 -05:00
Quincey Koziol
5f94cb8141 [svn-r6602] Purpose:
Code cleanup

Description:
    Adjusted parameters for fortran wrappers of H5Pset_shuffle to match the
changes to the C API function.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 20:47:03 -05:00
Elena Pourmal
cd1b5623f0 [svn-r6573]
Purpose: Maintenance

Description: New fortran APIs h5pset_fapl_multi and h5pget_fapl_multi have been
             added

Solution:

Platforms tested: burrwhite with PGI compilers, arabica and modi4 with
                  --enable-parallel

Misc. update:
2003-04-02 16:42:41 -05:00
Elena Pourmal
65f5514a4f [svn-r6494]
Purpose: Catching up with the C library

Description: Added the follwoing new fortran functions
             h5iget_name_f
             h5tis_variavle_str_f
             h5zunregister_f
             h5zfilter_avail_f
             h5pset_shuffle_f
             h5pset_fletcher32
             h5pset_edc_check_f
             h5pget_edc_check_f
             h5dfill_f

Solution:

Platforms tested: arabica(C and F90), burrwhite (pgcc and pgf90), modi4 (F90 and parallel)

Misc. update:
2003-03-19 11:13:35 -05:00
Elena Pourmal
ff5c7fe0d5 [svn-r6464]
Purpose:
    Maintenance
Description:
        * Added support for generic properties.
        * Added support for time allocation properties.
        * Added support for variable length datatypes (only datatypes based
          on INTEGER, REAL and CHARACTER Fortran types are supported).
        * added some missing functions
Solution:
    I am checking in new Fortran APIs and their man pages to support
    1.5 features listed above.
    Not all APIs have tests yet. APIs were written in Fall 2002, and I am afraid
    that I will loose the code or totally forget what I did if I wait longer. ;-)
Platforms tested:
    arabica (fortran), eirene (fortran), modi4 (parallel, fortran)
2003-03-05 15:18:31 -05:00
Elena Pourmal
86c1f6a750 [svn-r6442]
Purpose:
    Bug fix
Description:
    Enumeration datatype was broken in Fortran
Solution:
    Fixed C wrapper functions to pass variables correctly from
    Fortran to C layer.
Platforms tested:
    modi4, arabica, eirene
2003-02-27 16:28:01 -05:00
Elena Pourmal
a90330d723 [svn-r6022]
Purpose:
    Fortran port to IA64
Description:
    I brought back changes from 1.4 branch to support IA64 system.
Platforms tested:
    IA64 (titan), Solaris 2.7 (arabica), Linux 2.2 (eirene) and IRIX64-6.5 (modi4)
2002-10-21 17:14:15 -05:00
Elena Pourmal
c6c7a21bf0 [svn-r6013]
Purpose:
    Bug fix
Description:
    There was a typo in the h5dont_exit_c function name that caused compilation
    problems on Windows
Solution:
    Fixed typo
Platforms tested:
    Kent is going to retest it on Windows.
2002-10-18 11:11:14 -05:00
Quincey Koziol
ea08053e29 [svn-r5983] Purpose:
More fixups to the Dependencies files...
2002-10-14 13:11:12 -05:00
Quincey Koziol
a83585acca [svn-r5981] Purpose:
Regenerate Dependencies files.
2002-10-14 09:58:25 -05:00
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