Commit Graph

68 Commits

Author SHA1 Message Date
Elena Pourmal
c19e495c00 [svn-r8836]
Purpose: Maintenance

Description: Added h5fget_name_f and h5fget_filesize_f subroutines and tests.

Solution: N/A

Platforms tested: arabica (32-bit), sol (64-bit)
                  parallle build on copper failed for the C library with the the
                  following error:
                  ld: 0711-317 ERROR: Undefined symbol: .H5FD_stdio_term
                  Since this change doesn't affect the C library, I am cheking it in
                  and will retest the fresh CVS copy after this check-in.

Misc. update:
2004-07-08 11:45:40 -05:00
Elena Pourmal
3a6668b2f9 [svn-r8799]
Purpose: Maintenance

Description: H5_SZIP_CHIP_OPTION_MASK was deleted from the list
             of the available parameters for the H5Pset_szip function.

Solution: Updated Fortran source, tests and documentation
          to reflect this change.

Platforms tested: arabica (too small for h5committest)

Misc. update:
2004-07-02 21:39:24 -05:00
James Laird
eab58732d8 [svn-r8781]
Purpose:
HDF5 now supports SZIP with no encoder.

Description:
SZIP can be configured to have both encoder and decoder or just to have the decoder.  HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled.

Solution:
Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id.  See SZIP RFC.

Platforms tested:
Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++)

Misc. update:
2004-07-01 12:38:04 -05:00
Raymond Lu
2f4d0aad24 [svn-r8594] Purpose: new test
Description:  Add null dataset and attribute tests for Fortran.


Platforms tested:  verbena pgf90(only Fortran test is involved).
2004-05-27 17:13:03 -05:00
Elena Pourmal
664fc34c33 [svn-r8404]
Purpose: Maintenance

Description: h5dwrite/read_f and h5awrite_read_f functions were overloaded
             with dims argument being of type INTEGER and INTEGER(HSIZE_T).
             We promised to remove overloading in 1.4 release. It was
             removed from documentation but not from the source code.

Solution: Finish code cleanup.

Platforms tested: Solaris 2.7 32 and 64 bit, and copper with --enable-
                  parallel. Windows are broken, so Kent and Xuan
                  will test it with their changes later.

Misc. update:
2004-04-22 12:18:46 -05:00
Pedro Vicente Nunes
c238a6c13c [svn-r8150] Purpose:
introduced the constant H5Z_FILTER_ALL, used to remove all filters in H5Premove_filter

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-02-04 15:35:37 -05:00
Pedro Vicente Nunes
78fb916259 [svn-r8149]
Purpose:
replaced name of delete filter with remove filter for the new function H5Premove_filter

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-02-04 14:36:12 -05:00
Quincey Koziol
61a451f89e [svn-r8117] Purpose:
Code cleanup

Description:
    Add C++ and FORTRAN wrappers for new H5Pdelete_filter routine, along with
documentation and a note in the release notes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/ C++ and FORTRAN
    Too minor for full h5committest
2004-01-27 15:39:20 -05:00
Quincey Koziol
a59c045de1 [svn-r8011] Purpose:
Bug fix

Description:
    Fix szip FORTRAN tests..

Solution:
    Increase the chunk size to be bigger than the szip 'pixels per block'.
Also add in code that checks for a maximum number of errors and doesn't keep
reporting that thousands of errors have occurred.

Platforms tested:
    Linux 2.4 (verbena) w/szip & FORTRAN
    Not tested w/h5committest since this combination isn't covered by it.
2004-01-02 00:05:23 -05:00
Quincey Koziol
16be9e3b5a [svn-r7935] Purpose:
Add new feature

Description:
    Add FORTRAN wrappers for new H5I routines.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-12-11 13:29:36 -05:00
Quincey Koziol
7f8fe3c004 [svn-r7640] Purpose:
Bug fix

Description:
    Fixed type declaration of rdcc_nelmts that was causing daily tests to fail.
(Checked w/Elena first)

Platforms tested:
    h5committest
2003-10-15 15:05:50 -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
9bc89569d6 [svn-r7611] Purpose:
Code cleanup

Description:
    Cleaned up various compiler warnings

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-13 14:21:41 -05:00
Elena Pourmal
c72601e0d6 [svn-r7601]
Purpose: Bug fix

Description: Parameter rdcc_nelmts of the h5pget_cache_f subroutine
             had wrong INTEGER(SIZE_T) instead of INTEGER type.

Solution: Fixed the type

Platforms tested: arabica in 64-bit mode (where INTEGER(SIZE_T) is not
                  the same as INTEGER)

Misc. update:
2003-10-10 17:19:00 -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
374ad0ef30 [svn-r7361] Description:
Updated the copyright notice--mostly by rearranging
some text to make them consistent.

Solution:

Platforms tested:
"h5committested"--sol is down, so, no SUn test.

Misc. update:
2003-08-13 23:58:29 -05:00
Elena Pourmal
f484aafef4 [svn-r7348]
Purpose: Bug fix

Description: Somehow line DEC$if defined(BUILD_HDF4_DLL) was inserted
             to the file. It should be HDF5!!!!!!!!!!!!!!!

Solution: Fixed the typo.
          Quincey, Thank you for noticing that.

Platforms tested: Will be tested on Windows.

Misc. update:
2003-08-12 09:22:39 -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
Quincey Koziol
26e94d4eef [svn-r7293] Purpose:
Code cleanup

Description:
    Remove some redundant libtool definitions, etc.

Platforms tested:
    h5committested
2003-08-08 13:33:45 -05:00
Bill Wendling
0603e2db00 [svn-r7269] Purpose:
Update

Description:
    Revamped the configuration system. The configurations for the Fortran
    and C++ libraries are no longer separate from the "main"
    configuration system. This involved removing the "configure*" and
    "aclocal.m4" files from the fortran/ and c++/ subdirectories. Also
    merging settings in the config/ subdirectories into the main config/
    subdirectory.

    Fortran header files had to be modified a little for Linux. It was
    checking if it was a Linux machine by some #defines, however with the
    -std=c99 switch, these defines weren't there. I added a check for
    some other ones which should be there whether the -std=c99 switch is
    used or not.

Platforms tested:
    Verbena (Fortran & C++)
    Sol (Fortran & C++)
    Copper (Fortran & C++)
    Modi4 (Parallel, Fortran, & C++)

Misc. update:
2003-07-28 16:38:04 -05:00
Quincey Koziol
93622d0b7a [svn-r7129] Purpose:
Bug fix

Description:
    Propogate szip flag changes into FORTRAN source & tests

Platforms tested:
    h5committest
2003-07-01 09:53:37 -05:00
Elena Pourmal
2c924c0df1 [svn-r7062]
Purpose: Bug fix

Description: On Cray SV1 multi-driver test failed while closing
             access property list.
             This test creates a file using multi driver, writes
             dataset, closes the file; reopens the file and reads
             back data. At some point I commented out call to
             h5pget_access_plist_f, but forgot to comment out corresponding
             h5pclose_f.

Solution: removed comment on the  h5pget_access_plist_f subroutine.

Platforms tested: Cray SV1, copper with parallel, Winodws with VF, arabica.
                  There is some caveat left. I have a call to h5pget_fapl_multi_f
                  that follows h5pget_access_plist_f, it was also commented out.
                  This call works everywhere except Windows. Fortran part looks OK,
                  since my test program uses h5pget_fapl_multi_f before it closes the
                  file in the same test, and it works. Probably it is a library
                  bug that needs confirmation. For now I will leave second
                  h5pget_fapl_multi_f commented out.

Misc. update:
2003-06-18 16:21:51 -05:00
Quincey Koziol
1aeaa7fbb1 [svn-r7059] Purpose:
Refactoring

Description:
    Track changes to H5Fget_obj_<foo> API functions.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:52:54 -05:00
Elena Pourmal
f9a93abcbe [svn-r7031]
Purpose: Small bug fix

Description: Variable flag was declared twice. That caused compilation to fail
             on True64 system.

Solution: Deleted one of the declarations.

Platforms tested: True64 at PSC and arabica. Change is trivial, so h5commitest
                  is not necessary.

Misc. update:
2003-06-12 17:54:05 -05:00
Albert Cheng
47f9421dd5 [svn-r6996] Purpose:
bug fix and cleanup

Description:
Previous change messed things up that fortranlib_test was linked
with multiple MAIN because $(TEST_OBJ) was used as if it was for
fortranlib_test only.


Solution:
Created a separated $(FORTLIBTEST_OBJ) for the fortranlib_test test.
Adjusted other related symbol names.

Also, removed DISTCLEAN=* which held files that should have been
removed in MOSTLYCLEAN.

Platforms tested:
"h5committested" (modi4, sol, verbena).
In the process of running fortran tests in arabica and kelgia.

Misc. update:
2003-06-09 10:25:42 -05:00
Albert Cheng
2a8ef6786d [svn-r6994] Purpose:
Cleanup

Description:
Moved the cleanup of configure generated files to DISTCLEAN as
that should be the place they get removbed.

Platforms tested:
Tested in copper only as change is trivial.

Misc. update:
2003-06-08 21:40:16 -05:00
Elena Pourmal
115e88e645 [svn-r6967]
Purpose: Maintenance

Description: Updated test to use new type of the argument for the
             h5pset(get)_preserve_f function

Solution:

Platforms tested: arabica nad verbena

Misc. update:
2003-06-04 18:21:16 -05:00
Quincey Koziol
bb042d83c7 [svn-r6950] Purpose:
API tweak.

Description:
    The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving
the 'start' and 'end' coordinates, which is counter to the rest of the dataspace
API.

Solution:
    Change the arrays to be hssize_t instead.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested

Misc. update:
    Updated all docs for this change.

    Added 1.4 compatibility #ifdef's
2003-06-04 10:22:23 -05:00
Elena Pourmal
0d5bd9fe3a [svn-r6685]
Purpose: Added copyright statement; cleaned code and fixed bugs for
         Windows and Cray T90IEEE

Description:  Windows and Cray ports exposed few typos in the source code
              that caused tests to fail

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:34:43 -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
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
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
84276675aa [svn-r5967]
Purpose:
    Make Intel (and other) C and F90 compilers happy
Description:
    There were several warnings about missing function prototypes and
    wrongly defined string in the test program.
Solution:
    Fix the code to include proper header files and function prototypes.
    Fix the string.
Platforms tested:
    Platinum (IA32) and arabica (Solaris 2.7)
2002-10-08 16:43:49 -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
d7be0ad7e0 [svn-r5944]
Purpose:
    Bug fix
Description:
    Search path for include files to build h5test_fortran.a did not have
    hdf5_builddir and hdf5_srcdir directories. Compilation failed when
    scrdir configure flag was used.
Solution:
    Modified Makefile.in to include the directories into the search path.
Platforms tested:
    modi4 with srcdir on AFS and build dir in $SCR using --enable-parallel
    --enable-fortran flags.
2002-09-24 11:05:20 -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
6e2be40f8d [svn-r5321]
Purpose:
    Bug#670 fix
Description:
    Added tests to use overloaded subroutines.
Platforms tested:
    Windows, Solaris 2.7, IRIX64-6.5
2002-05-01 19:25:38 -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
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
Bill Wendling
73e6cacf08 [svn-r4298]
Purpose:
    Regenerated Dependencies Files
2001-08-01 17:18:50 -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
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