Commit Graph

2507 Commits

Author SHA1 Message Date
Quincey Koziol
afb64c0bac [svn-r3066] Purpose:
Bug Fix.
Description:
    Attributes whose datatype was an object or dataset region reference weren't
    dumping correctly.
Solution:
    Pass along attribute ID to the code which prints the attributes, so the
    reference types can be dereferenced and printed.
Platforms tested:
    FreeBSD 4.2 (hawkwind) & IRIX64 6.5 (modi4)
2000-12-02 10:13:38 -05:00
Quincey Koziol
74d5c6b757 [svn-r3065] Purpose:
Code cleanup
Description:
    Remove some warnings...
Platforms tested:
    FreeBSD 4.2 (hawkwind) & IRIX64 6.5 (modi4)
2000-12-02 10:11:57 -05:00
Quincey Koziol
0a2a84398d [svn-r3064] Purpose:
Doc Fix
Description:
    Update with missing files.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-12-02 10:11:16 -05:00
Albert Cheng
9f8b25422c [svn-r3062] Purpose:
Improvement
Description:
    During configure, it tries to find the size of various basic
    C data types (int, int8, fast_int8, ...) by running a small
    program for each data type.  But Pecific blue uses a batch queue
    system to launch all jobs and the whole process takes couple
    minutes.  With over 20 basic types to test, that takes "forever"
    for the configure to complete.
Solution:
    Let the configure complete, then save all those valid values in
    the config.cache file into the specific config file for Pac. Blue.
    With the values cached, configure does not need to run those little
    problems.
Platform Tested:
    Pacific blue with mpicc.
2000-12-01 18:47:18 -05:00
Quincey Koziol
26f011afb1 [svn-r3061] Purpose:
Bug fix.
Description:
    Cray T3E (and J90?) was failing on partial I/O tests.  The bug was in
    the optimized hyperslab routines for cases where a hyperslab filled the
    temporary datatype conversion buffer and the optimized hyperslab routine
    needed to start in the middle of a hyperslab.
Solution:
    Corrected code to detect the situation and read in the correct amount of
    elements in the hyperslab.
Platforms tested:
    Cray T3E (mcurie.nersc.gov)
2000-12-01 17:47:34 -05:00
Thomas Radke
896558b27d [svn-r3060]
Purpose:
    Bugfix
Description:
    The gcc linker couldn't resolve any socket routine symbols
    if the Stream VFD was configure.
Solution:
    Add the socket library to the LIBS makefile variable not just
    when compiling with the native cc compiler
    but also if using GNU tools (such as on Solaris x86 systems).
Platforms tested:
    SunOS 5.5 with GNU cc (hatteras),
    SunOS 5.6 with native cc (thor.sistec.kp.dlr.de)
2000-12-01 17:08:03 -05:00
Thomas Radke
14e987f40c [svn-r3059]
Purpose:
    Bugfix
Description:
    Under SunOS 5.5 the symbol FIONBIO wasn't known.
Solution:
    Include <sys/filio.h> which defines this symbol under Solaris.
    Also put the UNUSED qualifier in the right place in a function
    argument list (gcc 2.7.2 didn't like it before the type name).
Platforms tested:
    SunOS 5.5 (hatteras), SunOS 5.6 t(thor.sistec.kp.dlr.de)
2000-12-01 17:03:45 -05:00
Thomas Radke
0473d1c822 [svn-r3058]
Description:
    Added the HAVE_SYS_FILIO_H define for the configure check for <sys/filio.h>.
2000-12-01 16:59:31 -05:00
Thomas Radke
e10233b5f0 [svn-r3057]
Purpose:
    Bugfix
Description:
    Under SunOS 5.5 the symbol FIONBIO wasn't known when compiling
    with the Stream VFD configured.
Solution:
    This symbol is defined in the system header file <sys/filio.h>.
    Here we check whether this header is available.
Platforms tested:
    SunOS 5.5 (hatteras), SunOS 5.6 (thor.sistec.kp.dlr.de)
2000-12-01 16:48:49 -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
Robb Matzke
ecd06afe4e [svn-r3051] ./hdf5/tools/h5ls.c
2000-12-01 Robb Matzke  <matzke@llnl.gov>
	* display_vlen_type: Added function to display name of variable-length datatypes.
2000-12-01 13:25:07 -05:00
Robb Matzke
bad9e4d4a1 [svn-r3050] ./hdf5/src/H5.c
2000-12-01 Robb Matzke
        *: Removed empty lines from end of file?
2000-12-01 13:25:05 -05:00
Bill Wendling
4a7a715c0d [svn-r3049] Purpose:
YABF
Description:
	Needed to add the source directory for the built HDF5 library.
Solution:
	Added -I../../src to the compile flags.
Platforms tested:
	Linux
2000-12-01 11:50:25 -05:00
Bill Wendling
570713c289 [svn-r3048] Purpose:
Refix
Description:
	The C++ stuff also needs the main HDF5 headers.
Solution:
	Added the flag to do just that.
Platforms tested:
	Linux
2000-12-01 10:57:04 -05:00
Bill Wendling
f6f5fc0c45 [svn-r3047] Purpose:
Bug fix
Description:
	When building in a different directory, we weren't picking up the
	header files correctly. The -I flag wasn't pointing to the
	correct place.
Solution:
	Changed the -I flag to point to the C++ source directory.
Platforms tested:
	Linux
2000-12-01 10:46:54 -05:00
Bill Wendling
c834f719ef [svn-r3046] Purpose:
Reversal of Patch
Description:
	I thought that the solaris boxen could handle the -Wc,<flag> flag
	(or, rather, that libtool would do the correct thing with their
	compilers). However, this isn't the case, apparently.
Solution:
	Removed the ``-Wc,-LANG:std'' flag and put it in the CPPFLAGS
	macro instead. This should cause it to be passed to the compiler
	only...one hopes...
2000-12-01 10:44:18 -05:00
Quincey Koziol
1d12edaf3e [svn-r3045] Purpose:
Following up on added tests.
Description:
    Added the code to generate the vldata and array test files added into
    the h5dump test suite recently.  This doesn't have any affect on the
    library or tools, it's just for future reference.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-30 18:09:11 -05:00
Bill Wendling
dd675708fd [svn-r3044] Purpose:
Argh!
Description:
	Again the compiler doesn't like the -dlopen self flag when
	compiling...
Platforms tested:
	Linux
2000-11-30 15:37:45 -05:00
Quincey Koziol
81145c6bab [svn-r3043] Purpose:
Bug Fix
Description:
    configure on Cray T3E is looking for a differently named config file,
    so at it under that name.
Platforms tested:
    Cray T3E (mcurie)
2000-11-30 15:34:01 -05:00
Bill Wendling
b9fdce5fb4 [svn-r3042] Purpose:
Messed up
Description:
	The compile line doesn't like the -dlopen self flag...
Solution:
	removed
Platforms tested:
	Eirene
2000-11-30 15:33:13 -05:00
Quincey Koziol
166ae9dabe [svn-r3041] Purpose:
Bug fix
Description:
    Compiler on Cray T3E has a weird problem with operations on size_t
    variables.
Solution:
    Change comparison to make Cray T3E happy.
Platforms tested:
    Cray T3E (mcurie)
2000-11-30 15:33:09 -05:00
MuQun Yang
f686e853aa [svn-r3040]
Purpose:
    bug_fix
Description:
    forget changing offset from file offset into memory offset when inserting array datatype
Solution:
    correct them
Platforms tested:
    J90
2000-11-30 15:12:14 -05:00
Bill Wendling
0d62839e12 [svn-r3039] Purpose:
Oops.
Description:
	Forgot to make the libraries static since we're not certain that
	they can be shared...
2000-11-30 15:00:19 -05:00
Bill Wendling
451ab02f4f [svn-r3038] Purpose:
Buglet
Description:
	If we compiled with -all-static, then the compiler could complain
	about not being able to find dlopen and friends.
Solution:
	Used the ``-dlopen self'' libtool command.
Platforms tested:
	Linux
2000-11-30 14:53:43 -05:00
Bill Wendling
b253cfbbec [svn-r3037] Purpose:
Bug-ish fix
Description:
	Spurious warnings would show up if libtool was trying to pass the
	-LANG:std flag to the compile line.

	Also, if the library is compiled with -all-static, then it would
	complain about not finding dlopen and friends.
Solution:
	Used the libtool -Wc,<flag> option to pass the -LANG:std flag to
	the compile line.

	Used ``-dlopen self'' when compiling.
Platforms tested:
	Linux
2000-11-30 14:52:42 -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
Bill Wendling
54466efc00 [svn-r3035] Purpose:
Major Hack (tm)

	NOTE! When upgrading ltconfig in the future, this may have to be
	re-fixed!!!
Description:
	Pacific Blue didn't like the ``-b nolibpath -b libpath:...''
	flags libtool was handing it. It looks as if those flags would
	make mpicc forget where some of the libraries it needed were.
Solution:
	Test the hostname to determine if we're at pacific.llnl.gov. If
	so, then we don't want those flags.
Platforms tested:
	Pacific Blue...
2000-11-29 19:02:14 -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
89a7dcd400 [svn-r3030] Purpose:
Bug Fix
Description:
	Some platforms don't have support for dlopen and friends when the
	library is static.
Solution:
	This is part of the attempt to correct this "feature". libtool
	wants AC_LIBTOOL_DLOPEN in the configure.in file and -dlopen on
	this line...
Platforms tested:
	(untested)
2000-11-29 17:28:03 -05:00
Bill Wendling
948a75a793 [svn-r3029] Purpose:
Bug Fix
Description:
	Some platforms, when building static libraries, complain that
	libc doesn't have dlopen and friends.
Solution:
	libtool supports workarounds for this. The one used here may not
	work, but it's an attempt to correct it. If it doesn't work, then
	there's something going on which I'm not privvy to...
Platforms tested:
	(untested as of yet)
2000-11-29 17:26:45 -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
Quincey Koziol
22303f9d3f [svn-r3027] Purpose:
Bug fix
Description:
    "UNUSED" macro was in wrong place for older versions of gcc
Solution:
    Moved the "UNUSED" macro to the right of the H5FD_t type declaration and
    the compiler was happy...
Platforms tested:
    Solaris X86 2.5 (hatteras)
2000-11-29 16:28:31 -05:00
MuQun Yang
c40d42e6b6 [svn-r3026]
Purpose:
    update proper settings for windows
Description:
    update toolslibD setting from single-thread to Multithread
    update dumptest.bat to include array data type and variable length type.
Solution:
Platforms tested:
   windows NT 4.0,5.0
2000-11-29 15:39:22 -05:00
MuQun Yang
1424415b7d [svn-r3025]
Purpose:
    fix a bug
Description:
    add <windows.h> for WIN32
Solution:
     Add the following lines at the beginning of the file
     #ifdef WIN32
      #include <windows.h>
      #endif
Platforms tested:
     NT4.0,5.0, and LINUX
2000-11-29 15:06:33 -05:00
MuQun Yang
c05f6477e0 [svn-r3024]
Purpose:
    Fix a bug on windows
Description:
    add windows.h for WIN32
Platforms tested:
     windows NT5.0,4.0, eirene
2000-11-29 15:04:32 -05:00
MuQun Yang
c5cd064a88 [svn-r3023]
Purpose:
   bug fix (zeroing memory for memory allocating for the name of dimensional list)
Description:
   At modi4, test failed due to garbage read for name of dimensional list.
Solution:
   zeroing out memory before writing the name.
Platforms tested:
   modi4, eirene(Linux)
2000-11-29 14:05:47 -05:00
Quincey Koziol
b3f6b6ffdd [svn-r3022] Purpose:
Bug fix
Description:
    Added DDL for test file.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 12:40:18 -05:00
Quincey Koziol
7062c4889a [svn-r3021] Purpose:
Bug fix
Description:
    Moving VL data reclamation to be more local to where the data is read in.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 12:39:09 -05:00
Quincey Koziol
19d811532a [svn-r3020] Purpose:
Code addition
Description:
    The dumper needs to know when a datatype needs to be reclaimed, so I
    added a small helper function to detect if a particular datatype is or
    contains a particular class of datatypes.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 12:38:19 -05:00
Quincey Koziol
ad731c2c1b [svn-r3019] Purpose:
Patch on the patch of my code cleanup... :-)
Description:
    Fix compiler problems with previous code patching...
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 11:52:42 -05:00
Quincey Koziol
5c25be11a2 [svn-r3018] Purpose:
Bug fix
Description:
    Had incorrect logic in testing for file families when v1.2 compatibility
    was enabled..
Solution:
    Corrected to match non-compatibility code.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 11:35:19 -05:00
Quincey Koziol
6efa821555 [svn-r3017] Purpose:
Code cleanup/bug fix
Description:
    Variable length datatypes were leaking memory when being dumped.
Solution:
    Reclaim the VL data after each element has been dumped out.
Platforms tested:
    FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
2000-11-29 10:49:38 -05:00
Quincey Koziol
1bd42760c1 [svn-r3016] Purpose:
Re-enabling features.
Description:
    Re-add the tests which had been core-dumping on a couple of platforms, now
    that the underlying bug is fixed.
Platforms tested:
    FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
2000-11-29 10:48:32 -05:00