Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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