Commit Graph

24 Commits

Author SHA1 Message Date
Elena Pourmal
ea66068977 [svn-r10970] Purpose: New feature/bug #350 fix
Description:
             When compiler flag was used to set the size of Fortran integer
             to 8 bytes, library would fail.

Solution:
             Cleaned up the code; added detection of Fortran INTEGER type size
             and appropriately defined int_f type for C-stubs routines.

Platforms tested:
             Solaris 2.8 32 and 64-bit, AIX 5.1 64-bit parallel
             PGI Fortran with -i8 flag on heping
             Absoft Fortran with -i8 flag on heping
             g95 on mir (Fortran integer is 8 bytes by default that cannot be
                         changed - compiler bug ;-)
             AIX Fortran with -qintsize=8 32 and 64-bit modes on copper

Misc. update:
2005-06-22 13:23:21 -05:00
Elena Pourmal
2fcaf3e0f3 [svn-r9803] Purpose: Bug fix
Description: Fortran szip test had a wrong logic; as a result
             wrong return values were reported in the absence of
             the SZIP library, and it was skipped when encoder was
             disable

Solution: Fixed the test
          Now SZIP fortran test should report "SKIP" only
          when SZIP is not configured in.

Platforms tested: tg-login in parallel mode, copper,
                  mir with new PGI compilers and shared
                  SZIP libraries. All platforms were tested with
                  SZIP not available
                  SZIP with encoder/decoder
                  SZIP with decoder only

Misc. update:
2005-01-10 20:37:00 -05:00
Albert Cheng
c3e6571ea5 [svn-r9786] Purpose:
bug fix and document.

Description:
Unix and probably other systems too, has a small exit value range
such as 1 byte.  So, exit(256) may end up the same as exit(1).
Added caution message to the exit wrappers and changed test programs
to exit(1) when errors detected.

Platforms tested:
tested in copper.  verified here that exit(256) was treated just like
exit(0).
2005-01-09 01:19:16 -05:00
HDF Admin
4f8b4ba111 [svn-r9617] Snapshot version 1.7 release 43 2004-12-05 03:53:14 -05:00
Quincey Koziol
145839e8cf [svn-r7613] Purpose:
Bug fix

Description:
    "group" errors were not being included in the total # of errors


Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-13 14:23:16 -05:00
Quincey Koziol
f766b32d07 [svn-r7559] Purpose:
Add feature

Description:
    Add H5Fget_freespace() routine, to check the amount of free space in a
    file.  This information is only valid until the file is closed currently,
    however (until we start recording the free space information in the file
    itself).

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-07 08:32:32 -05:00
Albert Cheng
641f9f2fea [svn-r7341] Purpose:
Updated, cleanup or added Copyright notice.

Platforms tested:
"h5committested"

Misc. update:
2003-08-11 14:37:59 -05:00
Elena Pourmal
7bae8de483 [svn-r6642]
Purpose: Catching up with C library

Description: I added tests for new functions
             h5pset_szip_f
             h5pget_filter_by_id_f
             h5pall_filters_avail_f
             I am not sure how to test h5pmodify_filter_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:11:30 -05:00
Elena Pourmal
4ce28b6b73 [svn-r6574]
Purpose: Maintenance

Description: New fortran APIs h5pset_fapl_multi and h5pget_fapl_multi have been
             added along with the new tests.

Solution:

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

Misc. update:
2003-04-02 16:43:05 -05:00
Elena Pourmal
e10de8f3d6 [svn-r6495]
Purpose: Catching up with the C library

Description: Added tests for 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:57 -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
00cb0fc995 [svn-r6443]
Purpose:
    Bug fix
Description:
    Added tests for enumeration types.
Platforms tested:
    modi4, artabica, eirene
2003-02-27 16:29:09 -05:00
Albert Cheng
f5f61bf783 [svn-r6138] Purpose:
Improvement
Description:
    The fortran test code did not exit with error like C programs do.
    Without the appropriate exit code, make or shell could not tell the
    fortran test program has encountered errors.  So, make continues on
    even when some fortran tests have failed.
Solution:
    Consultant advised to use "CALL exit(code)" to simulate what C programs
    do.  Though this is not standard Fortran, he has not seen it failed to
    work in most fortran compilers thought some of them, like intel compiler,
    may need to link in an extra library.
Platforms tested:
    Tested on burrwhite (linux 2.4), eirene (linux 2.2), sol (Solaris 8, serial
    and mpich parallel), modi4.
    Did not use the standard commit test since this is a purely fortran fix.
2002-11-25 19:43:15 -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
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
f5096c2000 [svn-r5940]
Purpose:
    Bug fix, code improvement
Description:
    Fortran tests didn't cleanup created files. Also HDF5_PREFIX and
    HDF5_PARAPREFIX were not used to specify location of the files.
    There was a redundant file in the testpar directory that contained
    an error reporting function used by both serial and parallel tests.
Solution:
    Created library h5test_fortran.a that contains functions used by the
    serial and parallel tests. It includes Fortran and C functions that
    may be called from Fortran programs to report errors, to modify
    file names and to cleanup files after run. Modified test code to
    use new functions.
Platforms tested:
    Linux 2.2 (eirene) serial
    IRIX64 (modi4) parallel with HDF5_PREFIX and HDF5_PARAPREFIX set to $SCR
    Solris 2.7 with mpich 1.2.4 with HDF5_PARAPREFIX set to /tmp/epourmal
2002-09-23 17:06:01 -05:00
Elena Pourmal
ae818ca9df [svn-r5492]
Purpose:
    Code clean up.
Description:
    Many F90 compilers were not happy about character*(*) declarations.
Solution:
    Used F90 character(len=*) declarations.
Platforms tested:
    Solaris 2.7 and Linux 2.4
2002-05-31 15:11:54 -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
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
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
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
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
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
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