Commit Graph

360 Commits

Author SHA1 Message Date
Elena Pourmal
320dfb1a03 [svn-r2977]
Purpose:
    Code maintenance
Description:
    Fixed the code to use h5open_f and h5close_f subroutines
Platforms tested:
    Solaris 2.6
2000-11-17 17:45:34 -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
5dad153995 [svn-r2975]
Purpose:
    Code maintenance and development
Description:
    I added two functions h5open_f and h5close_f to initialize
    C library and Fortran interface (flags, predefined datatypes, etc).
    Those calls are required for any F90 program that uses HDF5.
    I renamed H5f90misc.c and H5f90miscf.f90 files to H5f.c and H5ff.f90.
    New functions are added to those new files.
Platforms tested:
    Solaris 2.6
2000-11-17 17:43:27 -05:00
Elena Pourmal
2bc81f8736 [svn-r2972]
Purpose:
    Bug fix
Description:
    HP and AIX compilers did not like duplicate array declarations in
    common blocks statements.
Solution:
    Removed duplication
Platforms tested:
    SP2 and HPUX 11.00
2000-11-17 15:08:37 -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
Elena Pourmal
81f5bf419d [svn-r2963]
Purpose:
    Bugs fix
Description:
    I used H5Tcreate_array instead of H5Tarray_create  in C stub
Solution:
    Fixed
Platforms tested:
    Solaris 2.6
OCVS: ----------------------------------------------------------------------
2000-11-17 09:44:10 -05:00
Elena Pourmal
c28059e522 [svn-r2958]
Purpose:
    Code development and maintenance
Description:
    Four new fortran functions to support array datatype were added:
         h5tarray_create_f
         h5tget_array_ndims_f
         h5tget_array_dims_f
         h5tget_super_f

    Two functions were deleted (commented out for now, can be returned easily if
    necessary):
         h5tinsert_array_f
         h5tget_member_dims
Platforms tested:
        Library build was tested on Solaris2.6. I have to modify test program to
        use new functions. Right now test program will not compile.
2000-11-16 16:50:34 -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
Bill Wendling
24da402d9a [svn-r2933] Purpose:
Changed to handle tracing in Fortran files.
Description:
	Changed logic so that it doesn't try to search .f90 files.
Platforms tested:
	Linux
2000-11-15 13:00:31 -05:00
Bill Wendling
6e21430e32 [svn-r2930] Purpose:
Fix
Description:
	Changed so that tracing is done on .c files and not .f90 files,
	which it wouldn't be able to handle.
Platforms tested:
	Linux
2000-11-15 12:49:29 -05:00
Bill Wendling
083689bdf5 [svn-r2925] Purpose:
Bug
Description:
	Instead of LT_STATIC_EXEC, I had it named LT_STATIC_LIB, which
	was failing to compile.
Solution:
	Changed
Platforms tested:
	Linux
2000-11-15 12:29:12 -05:00
Bill Wendling
710bf78e21 [svn-r2921] Purpose:
Buglet fix
Description:
	Was removing the confdefs.h header which was needed during
	Makefile generation.
Solution:
	Stopped doing that.
Platforms tested:
	Linux
2000-11-15 11:43:36 -05:00
Bill Wendling
6b522ad236 [svn-r2919] Purpose:
Buglet fix...
Description:
	When configuring, configure would complain about there not being
	a confdefs.h file.
Solution:
	Added a src/H5config.h file which configure can generate. This
	can be used for configure stuff later, but is empty now.
Platforms tested:
	Linux
2000-11-15 11:39:52 -05:00
Bill Wendling
8dae2ec00b [svn-r2915] Purpose:
Feature Add
Description:
	Added the --enable-static-exec flag to the fortran stuff.
Platforms tested:
	Linux
2000-11-15 11:09:37 -05:00
Bill Wendling
e7612be488 [svn-r2905] Purpose:
Bug
Description:
	Applied the DYNAMIC_DIRS patch to this configure file. It was
	applied to the hdf5 stuff but didn't make it down here.
2000-11-14 18:17:32 -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
0cd13ba19d [svn-r2808]
Purpose:
    New feature
Description:
    Added F90 flags to support h5glink_f subroutine
           H5G_LINK_ERROR_F
           H5G_LINK_HARD_F
           H5G_LINK_SOFT_F
Platforms tested:
    Linux (eirene)
2000-11-07 13:17:18 -05:00
Elena Pourmal
ada3710bc7 [svn-r2797]
Purpose:
    Maintenance
Description:
    Updated examples to use new F90 programming model
Platforms tested:
    O2K and Solaris2.7
2000-11-03 14:49:59 -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
46f49b84cf [svn-r2795]
Purpose:
    New feature
Description:
    Now all Fortran flags such as H5F_ACC_RDONLY_F (previously defined in the
    H5fortran_flags.f90 file) are generated at runtime when h5init_fortran_f
    subroutine is called. All flags have now the same value as
    corresponding C flags. This change affects user's programming model:
    Every Fortran program that uses F90 HDF5 Library has to call
    h5init_fortran_f(error) subroutine before the first call to the
    F90 HDF5 Library and h5close_fortran_f(error) after the last call to the
    Library. h5init(close)_types_f calls are not needed anymore since
    F90 datatypes are intialized(closed) with the h5init(close)_fortran_f
    calls.

Platforms tested:
     O2K and Solaris2.7
2000-11-03 14:45:50 -05:00
Bill Wendling
32f4aeffd1 [svn-r2787] Purpose:
Needed File
Description:
	The Makefile needed the Dependencies file...This is a blank
	one...
2000-11-01 12:40:25 -05:00
Bill Wendling
2128e6763b [svn-r2783] Purpose:
Adding
Description:
	Makefile for the Fortran parllel tests...
Platforms tested:
	Modi4
2000-10-31 15:19:44 -05:00
Bill Wendling
284b19a05f [svn-r2782] Purpose:
Feature
Description:
	This will run the parallel test files for Fortran when
	 --enable-parallel is specified
Platforms tested:
	Modi4
2000-10-31 15:19:03 -05:00
Elena Pourmal
c5c4b42e79 [svn-r2775]
Purpose:
    Bug fix.
Description:
    When the number of processors is wrong (should be a factor
    of dataset dimensions for this test) , test hangs because
    of wrong logic in the if-then-endif statement.
Solution:
    Fixed the logic.
Platforms tested:
    modi4 (O2K)
2000-10-31 13:04:24 -05:00
Elena Pourmal
e4c4b455b5 [svn-r2772]
Purpose:
    Maintenance
Description:
    Made F90 source directory to be in sync with the C source
Platforms tested:
     modi4 (O2K)
2000-10-31 12:54:45 -05:00
Elena Pourmal
ec2da17b52 [svn-r2754]
Purpose:
    Bug fix.
Description:
    Reading from the file failed because property list identifier
    was not properly passed to the subroutine h5dread_f.
Solution:
    Fixed the order of the parameters in the h5dread_d call
Platforms tested:
    O2K (modi4)
2000-10-30 17:07:09 -05:00
Elena Pourmal
76807a6985 [svn-r2753]
Purpose:
    Adding F90 || tests.
Description:
    I created testpar directory with the following files
      ptesthdf5_fortran.f90 - F90 test driver program
      tcheck.f90 thdf5.f90  - handy subroutines to use with the tests
      thyperslab_wr.f90     - F90 test:
                              collectively writes and reads hyperslabs to/from the dataset
Solution:
Platforms tested:
     Partially tested on modi4 (O2K)
2000-10-30 16:03:18 -05:00
Bill Wendling
78365de55f [svn-r2745] Purpose:
Bug fix...I hope
Description:
	For some reason, libtool wasn't generating a .lai library file in
	the .libs directory. It needs this to install things, apparently.
Solution:
	Major hack! I force a ln to the "real" one libtools wants.
Platforms tested:
	Modi4
2000-10-27 16:54:54 -05:00
Elena Pourmal
9fe247782e [svn-r2739]
Purpose:
    Maintenancece.
Description:
    F90 APIs would not compile anymore for || version..
Solution:
    Replaced old functions h5pset(get)_mpio, h5set(get)_xfer with
    ones h5pset(get)_fapl_m and h5pset(get)_dxpl_mpio_f

Platforms tested:
    O2K.
2000-10-26 16:45:53 -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
ac1c247452 [svn-r2729]
Purpose:
    Bug fix
Description:
    Attribute test failed on O2K. h5aget_name_f function could not
    return correct attribute name.
Solution:
    size function parameter had wrong datatype in F90 subroutine.
    Fixed it to be of INTEGER(SIZE_T) type.
Platforms tested:
    O2K, Linux
2000-10-24 15:52:00 -05:00
Bill Wendling
5b442958f8 [svn-r2728] Purpose:
Bug Fix
Description:
	Getting messages while compiling the || fortran stuff that it
	didn't have a rule to make "H5Pf_parallel.c".
Solution:
	The quotes were confusing it. I placed the text in another macro
	to fix this.
Platforms tested:
	Modi4
2000-10-24 15:04:25 -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
Elena Pourmal
b1c8d95cdd [svn-r2713]
Purpose:
    H5Aff.f90: Bug fix
Description:
    Character string was not passed correctly from the user's application
    to the write/read subroutines when buffer was decalred as assumed-shape
    array.
Solution:
    Declared date buffer to be assumed-size array.
Platforms tested:
    Solaris 2.7, Linux

Purpose:
    H5fortran_flags.f90: Bug fix

Description:
    Fortran H5I_* types had incorrect values.
Solution:
    Fixed.
Platforms tested:
    Solaris 2.7, Linux
2000-10-20 15:49:32 -05:00
Bill Wendling
de64fa4685 [svn-r2704] Purpose:
Bug Fix
Description:
	Sed was complaining about "filename expected" when trying to
	generate the .in files. The problem stemmed from the script sed
	was generating in the conftest.s1 file. It needed the DEPEND
	filename which wasn't being set.
Solution:
	Fixed so that we check if DEPEND is zero before trying to set if
	(if not using a GNU make program) instead of testing if DEPEND
	has a value in it...I copied this incorrectly from the main
	library's configure.in file...my bad.
Platforms tested:
	T3E
2000-10-19 12:55:13 -05:00
Bill Wendling
a2e49651af [svn-r2696] Purpose:
Bug Fix
Description:
	On some platforms, if you don't have . in your PATH, it won't
	find the test program it's supposed to run.
Solution:
	Changed instead to ./$$test so that it picks up the program in
	the current directory.
Platforms tested:
	Opus and Linux
2000-10-18 11:47:04 -05:00
Bill Wendling
bfd52032e3 [svn-r2688] Purpose:
Feature Missing
Description:
	Generate the Dependencies files so modules are regenerated
	correctly
Solution:
	Handcoded the module. Hope it works.
Platforms tested:
2000-10-16 16:52:16 -05:00
Elena Pourmal
6220207607 [svn-r2687]
Purpose:
    Typo fixing.
Description:
    I made a typo in the comment.
Solution:
    Fixed a typo.
Platforms tested:
    This time tested on HPUX 11.00 (opus)
2000-10-16 16:50:49 -05:00
Bill Wendling
f4fba4aba8 [svn-r2686] Purpose:
Bug Fix
Description:
	When doing a make clean, the H5fortran_types.f90 file would be
	removed.
Solution:
	Placed it in the DISTCLEAN macro instead of the CLEAN so that it
	will stick around.
Platforms tested:
2000-10-16 14:45:08 -05:00
Elena Pourmal
0d993ff8bc [svn-r2685]
Purpose:
    Fortran HPUX 11.00 port
Description:
    Added Fortran stuff to the hpux11.00 file
Platforms tested:
    Has not been tested yet. Will do it after this checkin on opus.
2000-10-16 13:35:27 -05:00
Elena Pourmal
a67ef7d34b [svn-r2683]
Purpose:
    HDF5 Fortran90 port to HP 11.00
Description:
    Added datatype definitions for HP 11.00
Solution:
Platforms tested:
     HPUX 11.00 (opus)
2000-10-13 15:35:50 -05:00
Albert Cheng
7e85c72e83 [svn-r2671] Purpose:
Bug fix
Description:
    The setting does not work for the --srcdir 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
    -srcdir option is used or not.  Also added that they all depend on
    the C hdf5 library.
Platforms tested:
    IRIX64 -64 with --srcdir
2000-10-11 18:34:17 -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
d1e73b0909 [svn-r2669] Purpose:
Bug Fix
Description:
	I was relying on the PARALLEL macro to be "yes" or "no" all the
	time. This isn't the case.
Solution:
	Created the ADD_PARALLEL_FILES macro to do just this.
Platforms tested:
	Modi4
2000-10-11 12:44:40 -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
ec448f5702 [svn-r2666] Another typo 2000-10-11 12:16:16 -05:00
Bill Wendling
135719cdf1 [svn-r2665] Small typo... 2000-10-11 12:14:29 -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
Bill Wendling
c4178f96f4 [svn-r2662] Purpose:
Bug Fix
Description:
	Wasn't picking up the correct build directory source files.
Solution:
	Use top_builddir instead of srcdir macro.
Platforms tested:
	Modi4
2000-10-11 11:22:44 -05:00
Bill Wendling
dde028f9cf [svn-r2661] Purpose:
Bug Fix
Description:
	Wasn't finding the Dependencies file when doing a make.
Solution:
	Modified the path to the Dependencies file by prepending a
	`$(srcdir)/' to it.
Platforms tested:
	Modi4
2000-10-11 10:45:55 -05:00
Bill Wendling
076301d28d [svn-r2660] Purpose:
Bug Fix
Description:
	The "fix" for search paths was wrong. It would try to recompute
	the SEARCH macro at the end.
Solution:
	Stopped it from doing that if the $SEARCH macro has a value. One
	question, will fortran always be built from the top directory?
Platforms tested:
	Modi4
2000-10-11 10:04:05 -05:00
Bill Wendling
820b18e598 [svn-r2659] Purpose:
Bug Fix
Description:
	When running configure on subdirectories (like fortran/), looking
	up how make implements SEARCHes failed.
Solution:
	Exporting the SEARCH macro so that subdirectories don't have to
	look for it.
Platforms tested:
	Modi4.
2000-10-10 18:15:40 -05:00
Elena Pourmal
900862b2c3 [svn-r2658]
Purpose:
    Buf fix
Description:
    On DEC, H5Dff.f90 would not compile because of variables declaration
    order. Other UNIX platforms including J90 did not care.
Solution:
    Change the order of variables declarations.
Platforms tested:
     DEC Unix (gondolin)
2000-10-10 17:37:46 -05:00
Elena Pourmal
1c90281db5 [svn-r2654]
Purpose:
    Updated source code to use new APIs to write/read references
Description and Solution:
    Write/read subrotine has extra parameter - size of the reference array.
    I modified the source to reflect this change.
Platforms tested:
    Solaris 2.6
2000-10-10 09:31:50 -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
Elena Pourmal
02092cd24e [svn-r2648]
Purpose:
    Reimplemented references to the objects and dataset regions.
Description:
    Previous implementation was not portable. This implementation
    should work on UNIX workstations and Crays, but is very inefficient
    since it uses memcpy to repack Fortran buffers with references
    to C buffers and vice versa.
Solution:
    I used fortran derived datatype with integer fields. h5dwrite_f and
    h5dread_f have extra parameter when references are written or read.
    This parameter describes size of the buffer that holds references.
Platforms tested:
     J90 and Solaris 2.6

H5Pf.c

    Some of the functions do not exist now in the development branch.
    Commented those out, so one does not need to apply patch in order
    to build Fortran Library.
2000-10-09 23:13:14 -05:00
Bill Wendling
073ef8f453 [svn-r2578] Purpose:
libtool shouldn't be included in the CVS tree.
2000-09-19 15:35:13 -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