Commit Graph

105 Commits

Author SHA1 Message Date
Bill Wendling
6f63dd75e3 [svn-r3814] Purpose:
Cleanup
Description:
    If there isn't anything to "remove" during the cleanup faze. This
    stops the "make clean"s from printing out:

        rm -f

    all of the time.
Solution:
    Check if hte macros have anything in them before calling the rm.
Platforms tested:
    Linux
2001-04-16 18:15:36 -05:00
Quincey Koziol
3dce3d49fd [svn-r3807] Purpose:
Portability changes
Description:
    Very quick port to Compaq (nee DEC) Alpha OSF5.
Solution:
    Added a new "dec-osf5.x" configuration file and changed configure.in
    to look for it.
    The local test machine is now passing all the tests, except I can't get
    the "-L<path>" stuff to work, so tools which depend on the HDF4 library
    around tested.
Platforms tested:
    Compaq Alpha 5.1 (compaq.ncsa.uiuc.edu)
2001-04-13 09:55:05 -05:00
Bill Wendling
ef461a8454 [svn-r3804] Purpose:
Bug Fix
Description:
    If we need to specify a -R flag for dynamic libraries (like, in the
    case when we specify --with-hdf4), then this flag needs to be added
    to the linking line so that it will show up in the generated library
    and other programs linking to that library will be able to find the
    relevant libraries.
Solution:
    Added the DYNAMIC_DIRS macro to the link line.
Platforms tested:
    Arabica
2001-04-12 14:39:13 -05:00
Bill Wendling
b18e6194df [svn-r3773] Purpose:
Update
Description:
    Changed
            #include <hdf5.h>
    to
            #include "hdf5.h"
    to be consistent with the other code.
Platforms tested:
    Linux
2001-04-03 16:09:08 -05:00
Bill Wendling
4432a558f9 [svn-r3693] Purpose:
Bug Fix
Description:
    Create a Makefile in the testpar/ directory only if PARALLEL is
    enabled.
Solution:
    Set a macro to the testpar/Makefile for the generation script.
2001-03-22 14:08:02 -05:00
Elena Pourmal
1d771c6949 [svn-r3651]
Purpose:
    Maintenance
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    Added comment block to each subroutine.
Platforms tested:
    NONE, do it later.
2001-03-16 10:58:05 -05:00
Elena Pourmal
30e960da8a [svn-r3649]
Purpose:
    Windows port and maintenance
Description:
    Each C function called from  F90 subroutine requires explicit
    interface. Some drivers functions were not implemented.
Solution:
    Added interfaces and comment blocks to each F90 subroutine.
    Added the following subroutines:
           h5pset(get)_fapl_core_f
           h5pset(get)_fapl_family_f
           h5pset_fapl_sec2_f
           h5pset_fapl_stdio_f
Platforms tested:
    Linux (eirene) to make sure that  code still works on UNIX.
    More UNIX platforms will be tested before moving to Windows.
2001-03-16 10:42:40 -05:00
Elena Pourmal
5396d26ae5 [svn-r3553]
Purpose:
    Window port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API and fixed minor bugs
    in enum datatype routines that are not official yet.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene)
2001-03-07 17:50:00 -05:00
Elena Pourmal
25f9168edf [svn-r3552]
Purpose:
    Window port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    LINUX (eirene)
2001-03-06 15:11:58 -05:00
Elena Pourmal
2453130d96 [svn-r3546]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene)
2001-03-05 15:25:50 -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
Elena Pourmal
d53b78c03b [svn-r3542]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface blocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API and fixed several typos.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene) to test that things are not broken on UNIX.
2001-03-02 16:31:56 -05:00
Elena Pourmal
0cb43aefd9 [svn-r3531]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface bocks for each C function                                       called from F90 stub.                                                                              I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene) to test that things are still working on UNIX.
2001-03-01 09:27:57 -05:00
Elena Pourmal
a2d934b56a [svn-r3527]
Purpose:
    Windows port and maintenance
Description:
    Windows Fortran requires interface bocks for each C function
    called from F90 stub.
    I also added comment blocks for each F90 API.
Solution:
    Added interface blocks.
Platforms tested:
    Linux (eirene) to test that things are still working on UNIX.
2001-02-28 15:49:07 -05:00
Elena Pourmal
c45a1d919a [svn-r3522]
Purpose:
    Windows port  and maintenance.
Description:
    Windows Fortran requires explicit interface block for each
    C function called from F90 stub.
    I also added comment block for each F90 function.
Solution:
    Added inteface block for each function.
Platforms tested:
    Linux (eiriene): checked that code is still compiles and runs correctly
    on UNIX.
2001-02-27 17:33:25 -05:00
Bill Wendling
b21c1e1deb [svn-r3374] Purpose:
Bug fix
Description:
    The /bin/csh shell was causing problems if you were using a different
    shell than csh (like bash). It couldn't find the compiler.
Solution:
    Changed to the more standard /bin/sh
Platforms tested:
    Linux
2001-02-06 16:49:14 -05:00
Quincey Koziol
e30a28f2f0 [svn-r3323] Purpose:
New platform
Description:
    Support the Cray SV1 machine. (config file is identical to unicosmk file
    right now).
Platforms tested:
    Cray SV1 (killeen.nersc.gov)
2001-01-24 17:42:49 -05:00
Elena Pourmal
e462d3b65e [svn-r3320]
Purpose:
    Bug fix
Description:
    Compilation failed for the H5f90global.f90 file on DEC UNIX (hdf5-1.4.0-beta3-pre2)
    When new definition H5E_TBBT_F was added, the length of the corresponding
    H5E_flags array was not increased.
Solution:
    Fixed the length of the array.
Platforms tested:
    DEC UNIX (gondolin)
2001-01-22 13:50:21 -05:00
Elena Pourmal
777b8ed94b [svn-r3306]
Purpose:
    Bug fix.
Description:
    While building on T3E, I noticed several compiler warnings about
    variable being used before its value was defined.
Solution:
    Fixed.
Platforms tested:
    T3E (mcurie.nersc.gov)
2001-01-19 10:15:15 -05:00
Quincey Koziol
ca5e928635 [svn-r3305] Purpose:
Code cleanup
Description:
    Removed some additional references to ragged arrays.
Platforms tested:
    IRIX64 (modi4)
2001-01-18 19:19:33 -05:00
Bill Wendling
5104f10fed [svn-r3298] Purpose:
Bug Fix
Description:
    Small bug fix to the acsite.m4 stuff. We should check if the Fortran
    9X compiler was found instead of the CC compiler.
Solution:
    Changed CC to F9X macro.
Platforms tested:
    Linux
2001-01-18 15:33:56 -05:00
Bill Wendling
6188c31c19 [svn-r3260] Purpose:
Bug Fix
Description:
    The test ``test -e "filename"'' doesn't work with some Bourne shells
    (for instance, on Arabica).
Solution:
    Changed test to ``test -f "filename"''.
Platforms tested:
    Arabica
2001-01-10 12:41:27 -05:00
Bill Wendling
6ff667c0da [svn-r3190] Purpose:
Bug fix
Description:
	This should fix the problem with installing the Fortran module
	files.
Solution:
	This script determines if the HDF5 module is created. If it is,
	then we assume that we need to install all of the modules. I
	check for both upper and lowercase in the name cause I'm not sure
	what weird fortran compilers will do.
Platforms tested:
	Linux
2000-12-22 13:00:32 -05:00
Bill Wendling
5ffd193fe8 [svn-r3150] Purpose:
Another fix...
Description:
	This should work for all platforms now. The other fix didn't work
	for the Linux platform
Solution:
	Explicitly copy the modules if they exist.
Platforms tested:
	Linux
2000-12-18 14:31:11 -05:00
Bill Wendling
e0f561af84 [svn-r3149] Purpose:
Bug Fix
Description:
	When trying to install the Fortran Modules, it would barf if
	there weren't any files in the directory with that extension
	(i.e., in the test/ directory).
Solution:
	Changed the installation to install only those files which
	actually have the correct extension we want.
Platforms tested:
	This type of fix works on the T3E and Linux
2000-12-18 14:17:31 -05:00
Bill Wendling
c18e434113 [svn-r3144] Purpose:
Install Fix
Description:
	Fortran modules need to be installed.
Solution:
	I check for the extension modules are created with and use that
	during the install...
Platforms tested:
	Linux
2000-12-14 12:25:31 -05:00
Elena Pourmal
c701e8b89f [svn-r3130]
Purpose:
    Maintenance
Description:
    Not all platforms support F90 MPI. I used USE MPI statement, and
    it did not work on T3E (mcurie.nersc.gov)
Solution:
    Use INCLUDE 'MPIF.H' statement instead of USE MPI.
Platforms tested:
    O2K and T3E
2000-12-13 14:21:52 -05:00
Bill Wendling
c85098bd45 [svn-r3129] Purpose:
Removal of redundancy
Description:
	HDF5.f90 was added in when it didn't need to be some times...
Platforms tested:
	T3E
2000-12-13 13:09:27 -05:00
Bill Wendling
4b882ef486 [svn-r3126] Purpose:
Bug Fix
Description:
	Parallel stuff wasn't being compiled on T3E. It was complaining
	about not being able to find said files. Also, I was confused
	about which Fortran module needed to be compiled when it was
	parallel.
Solution:
	Did magic so that the correct files are specified when parallel
	is enabled.
Platforms tested:
	T3E
2000-12-13 11:47:02 -05:00
Bill Wendling
7e2e2add53 [svn-r3125] Purpose:
New Config
Description:
	T3E at mcurie.nersc.gov changed it's name yet again.
Solution:
	Create new file so that configure will find it correctly.
Platforms tested:
	T3E
2000-12-13 11:45:31 -05:00
Bill Wendling
9ef7df5d0c [svn-r3124] Purpose:
Bug Fix
Description:
	FFLAGS wasn't being propagated correctly.
Solution:
	Added the @FFLAGS@ macro to the correct FFLAGS line.
Platforms tested:
	T3E
2000-12-13 11:44:20 -05:00
Bill Wendling
16eb222319 [svn-r3071] Purpose:
Bug Fix
Description:
	The fix we put in to ignore warning 405 was incorrect. The quotes
	were confusing to configure.
Solution:
	Turns out that there doesn't need to be a space between the -M
	flag and the warning number.
Platforms tested:
	T3E
2000-12-04 11:47:11 -05:00
Elena Pourmal
f99a7ddacc [svn-r3068]
Purpose:
    Code maintenace
Description:
    Comments to the h5tget_order_f and h5tset_order_f subroutines were
    incorrect.
Solution:
    Fixed.
2000-12-02 12:21:43 -05:00
Elena Pourmal
c0c9ae025f [svn-r3067]
Purpose:
    Bug fix.
Description:
    nh5tget_order_c function always returned "FAIL"
Solution:
    Fixed
Platforms tested:
    Not tested ( I know :-)....)
2000-12-02 12:17:02 -05:00
Bill Wendling
50d0fc416c [svn-r3056] Purpose:
Bug Fix
Description:
	There's a spurious warning being created on Cray T3E.
Solution:
	We ignore it.
Platforms tested:
	T3E
2000-12-01 16:00:14 -05:00
Elena Pourmal
5e66426aa4 [svn-r3055]
Purpose:
    Bug fix on T3E.
Description:
    There was a typo in the h5init_types_c name translation line that
    caused compilation errors.

Solution:
    Fixed the typo. This fix exposes another error and I have no clue what to
    do about this one

     f90 -p. -p../src -dp -o fortranlib_test fortranlib_test.o hdf5test.o tH5F.o tH5D.o tH5R.o tH5S.o tH5T.o tH5Sselect.o tH5P.o tH5A.o tH5I.o tH5G.o ../src/.libs/libhdf5_fortran.a ../../src/.libs/libhdf5.a -L/u3/epourmal/HDF4/NewHDF/lib -lmfhdf -ldf -ljpeg -lz -lnsl -lm
cld-405 cld: WARNING
  The entry point `HDF5' defined in relocatable object `../src/.libs/libhdf5_fortran.a[HDF5.o:HDF5]' is used; the definition in relocatable object `./../src/HDF5.o:HDF5' is ignored.
cld-431 cld: WARNING
  The resulting output file `fortranlib_test' is not executable because of previous WARNING messages.
Make: "../../libtool --mode=link f90   -p. -p../src -dp -o fortranlib_test fortranlib_test.lo hdf5test.lo tH5F.lo tH5D.lo tH5R.lo tH5S.lo tH5T.lo        tH5Sselect.lo tH5P.lo tH5A.lo tH5I.lo tH5G.lo ../src/libhdf5_fortran.la  ../../src/libhdf5.la": Error code 1
cmd-2436 make: Stop.
+ exit 1
Make: "set -x; for d in src test  examples; do                        \
   (cd $d && make tests) || exit 1;                                   \
done": Error code 1

Platforms tested:
    T3E
2000-12-01 15:16:10 -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
Bill Wendling
f4f79e6af6 [svn-r3053] Purpose:
New File
Description:
	Configure file for the T3E.
Platforms tested:
	T3E
2000-12-01 14:59:48 -05:00
Bill Wendling
14234fc01a [svn-r3052] Purpose:
Attempted Bug Fix
Description:
	Some machines (Cray T3E, need you ask?) use the ``-p'' flag for
	enabling double precision. This breaks our Fortran interface.
Solution:
	Put this test last. However, the T3E apparently doesn't need
	modules, so we may have to resort to a better "fix" than this
	in the future.
Platforms tested:
	T3E
2000-12-01 14:59:18 -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
49e8b9fab8 [svn-r3034]
Purpose:
    Bug fix.
Description:
    H5f90global.f90:
    One of the common block arrays (floating_types) had a typo in the name.
    DEC compiler was the only compiler to warn about the problem.
    H5Ff.f90
    Compiler gave warnings about a variable that was used before its value was defined.
    Fixed. Turned to be a typo in a variable name.
Platforms tested:
    DEC UNIX (gondolin)
2000-11-29 18:52:56 -05:00
Elena Pourmal
55bc19a6d7 [svn-r3033]
Purpose:
    Bug fix
Description:
    Test program was using h5init_types_f and h5close_type_f
    instead of h5open_f and h5close_f. Would not compile on modi4.
Solution:
    Fixed the code to use new functions.
Platforms tested:
    O2K (modi4)
2000-11-29 18:44:37 -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
4a7f9c11bc [svn-r3031]
Purpose:
    Bug fix
Description:
    Functions were using flags that were not defined anymore.
    Somehow I forgot to check this file in when I modified code
    to use run-time generated flags.
Platforms tested:
    O2K (modi4)
2000-11-29 18:06:19 -05:00
Bill Wendling
98e2c32951 [svn-r3028] Purpose:
Bug Fix
Description:
	T3E and J90 were complaining about not being able to make for
	ADD_PARALLEL_FILES.
Solution:
	Somehow the make on these machines must have been weirded out by
	the funky pattern matching/replacement that's being done and
	couldn't handle a null macro. I now assign "no" to the macro
	explicitly
Platforms tested:
	T3E
2000-11-29 17:07:24 -05:00
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