Commit Graph

3340 Commits

Author SHA1 Message Date
Quincey Koziol
d1de790d25 [svn-r2081] Fixed a problem in H5Giterate which was not updating the 'index' paramater for
certain return values from the callback.
2000-04-05 15:51:27 -05:00
Quincey Koziol
02e4ee5edf [svn-r2073] Added free-list code to the library and took out the older "temporary buffer"
code, since the functionality was superceded.  See the followup document for
details on the free-list code.
2000-04-04 16:00:31 -05:00
Albert Cheng
dcec973faa [svn-r2059] Snapshot version 1.3 release 19 2000-03-24 10:54:56 -05:00
Albert Cheng
e2c95c478a [svn-r2057] Purpose:
Bug fix for parallel mode.
Description:
    H5FD_mpio_tas_allsame was called for all cases, even when
    MPIO is not used for access.  That corrupted the internal
    file handle structure.
Solution:
    Define a macro, IS_H5FD_MPIO(f), for testing if f is opened with
    MPIO access.  Will call H5FD_mpio_tas_allsame only if this
    condition is true.
Platform tested:
    O2K, both -64 and -n32 modes.
2000-03-23 21:12:44 -05:00
Albert Cheng
ce99ea075c [svn-r2048] H5I_dec_ref was return 1 instead of FAIL when it failed.
Fixed.
2000-03-23 00:42:52 -05:00
Albert Cheng
f1b4baa061 [svn-r2036] Snapshot version 1.3 release 18 2000-03-14 15:01:00 -05:00
Albert Cheng
29bbbcbd9c [svn-r2032] Purpose:
Bug Fix.
Description:
    Tests failed if drivers multi or split is used (split is implemented
    as a special case of multi).  When a file created via those two drivers
    is opened again, the file sizes retrieved are incorrect.  These seemed
    to happen to non-little-endian machines only (sun, sgi failed, but
    linux succeed.)
Solution:
    The error was because the superblock encoding code was keeping track
    in nseen the pairs of HADDR needed to be converted but did not tell the
    H5Tconvert 2*nseen to convert.  Thus only the first half of the addresses
    were converted, the rest were left alone.  Corrected the numbers of
    addresses to convert.
Platforms tested:
    IRIX64, Solaris 2.7, Linux.
2000-03-14 09:18:52 -05:00
Albert Cheng
dcb9d01fd6 [svn-r2031] Snapshot version 1.3 release 17 2000-03-13 18:53:00 -05:00
Raymond Lu
20b9a12666 [svn-r2027] Remove HAVE_GLOBUS macro. 2000-03-13 14:34:34 -05:00
Albert Cheng
8d0d7bd1da [svn-r2023] Snapshot version 1.3 release 16 2000-03-13 10:06:03 -05:00
Albert Cheng
a1b8768af2 [svn-r2009] Purpose
Bug fix.
Description
    When converting a floating point zero to a different format (e.g. Cray),
    the mantissa part was not set to zeros complete.  Cray does not
    seem to mind since the exponent part was set to all 0's.  Somehow,
    the HDF4 does not like it and convert that pattern to a non-zero
    value in IEEE.
Solution
    corrected the code to set the whole mantissa to zeros completely.
Platform tested:
    J90 & Solaris 2.7.
2000-03-08 18:25:15 -05:00
Albert Cheng
c0ecc467e0 [svn-r1996] Snapshot version 1.3 release 15 2000-03-03 00:02:19 -05:00
Albert Cheng
b70c49d253 [svn-r1995] configure.in:
Makefile.in:
acconfig.h:
src/H5F.c:
src/H5FDdpss.c:
src/H5FDdpss.h:
src/H5config.h.in:
test/dpss_read.c:
test/dpss_write.c:
    Changed the name DPSS to GRIDSTORAGE since that is the real name
    of the API from ANL.  DPSS is just one of the protocols it can use.
    Changed a bug in the --with-ssl option.

Makefile.in:
    Removed the copying of Makefile.dist since it caused problems
    when doing a make distclean in a --srcdir configured directory.
2000-03-01 18:56:22 -05:00
Albert Cheng
2be532445c [svn-r1994] Snapshot version 1.3 release 14 2000-02-29 11:49:42 -05:00
Quincey Koziol
7960fb8b94 [svn-r1993] Straightened out error messages, they were out of sync with the error codes in
H5Epublic.h
2000-02-29 08:49:15 -05:00
Albert Cheng
a648f3628d [svn-r1982] Snapshot version 1.3 release 13 2000-02-22 03:04:35 -05:00
Albert Cheng
678910ed64 [svn-r1980] Snapshot version 1.3 release 12 2000-02-21 21:41:27 -05:00
Albert Cheng
096e2b6754 [svn-r1976] Added the .lo of H5detect and H5Tinit to the cleanup list. 2000-02-18 19:59:57 -05:00
Albert Cheng
9ca6cfa0aa [svn-r1975] Purpose:
Configuration improvement

Problem:
Arabica has a zlib library that is a dynamic lib in /usr/ncsa/lib.
Binary generated would fail to run with a missig libz.so complain
if /usr/ncsa/lib is not in $LD_LIBRARY_PATH.  This exposed the
problem that if the binary is linked with -L$mylibpath -lxyz
where libxyz is a dynamic type, the binary can't run if $mylibpath
is not in $LD_LIBRARY_PATH (or equivalent) or as part of the
system default library paths (e.g., /usr/lib, /usr/local/lib).
This problem also caused failures during configure (when trying
to see what format to print long long) and during H5detect.
The base cause is because libtool does not "transfer" the
knowledge of -L$mylibpath to the wrapper file its mode=link
generates.

Solution:
bin/ltmain.sh:
    Changed it so that it transfers the libpaths from -Llibpaths
    to the wrapper generated.  I used the already defined variable
    finalize_shlibpath.  Not sure it is correct to use it this way.
    Need to check on this.
configure.in:
    Put in a patch to transfer information from LDFLAGS to LD_LIBRARY_PATH
    right before the AC_TRY_RUN.  The above fix for ltmain.sh does not
    work here because libtool is generated later than this point.
    There should be a cleaner way to do this.
    Removed the hardcode of NCSA_LT_LINK_EXE because it is no longer
    needed.
commence.in:
    Removed the hardcode of NCSA_LT_LINK_EXE because it is no longer
    needed.
Makefile.in:
    Another patch of LDFLAGS to LD_LIBRARY_PATH because I could not
    make it to generate H5detect in the wrapper form of libtool.
    Need to make it to use the libtool correctly. Later.

Platform tested:
arabica (solaris 2.7)
baldric (solaris 2.6)
2000-02-18 07:53:32 -05:00
Patrick Lu
61420a3c14 [svn-r1953] replaced the HAVE__O_BINARY flag with a O_BINARY 2000-02-09 14:10:12 -05:00
Quincey Koziol
0fd1ac6740 [svn-r1951] Tweaks to detect the shared libraries on NCSA's systems, so that Albert's
automated tests will work correctly on arabica.
2000-01-29 19:37:28 -05:00
Albert Cheng
43ddb0f2c4 [svn-r1950] Snapshot version 1.3 release 11 2000-01-26 12:21:09 -05:00
Albert Cheng
b837e67040 [svn-r1948] File was changed by something, probably $(TRACE), automagically.
The changes seem harmless.  So checking it in once for all.
2000-01-26 09:37:18 -05:00
Quincey Koziol
a919e43254 [svn-r1944] Added "H5S_SELECT_PREPEND" and "H5S_SELECT_APPEND" operations to point
selections.

Also fixed bug which was not allowing the "start_point" parameter to
H5Sget_select_elem_pointlist to actually get used.  It was always returning a
list of points selected which started with the beginning of the list of points.
2000-01-21 17:42:51 -05:00
Patrick Lu
935b74aba9 [svn-r1941] removed the include for the winsock2.h lib and changed the macro to be have_windows_h.
also included the windows.h
2000-01-13 14:31:28 -05:00
Albert Cheng
7581a07f42 [svn-r1939] Snapshot version 1.3 release 10 2000-01-07 18:50:56 -05:00
Quincey Koziol
4e07c6496f [svn-r1932] Reversed the order that hyperslab blocks are added to the internal list of
block to reduce amount of memory moving required.  This corrects the
exponential increase in time to add blocks for larger numbers of blocks.
2000-01-06 12:01:19 -05:00
Raymond Lu
b31fee056a [svn-r1930] Add Globus 1.1; refer Gass to Globus 1.0 2000-01-05 14:42:12 -05:00
Raymond Lu
f86d9fabb7 [svn-r1927] Added #include <H5FDdpss.h> 1999-12-22 10:29:29 -05:00
Raymond Lu
173c0b6fe5 [svn-r1925] DPSS is checked in. 1999-12-21 17:17:55 -05:00
Albert Cheng
aaed76e5c8 [svn-r1919] Added Pthread library options. 1999-12-20 15:24:34 -05:00
Albert Cheng
aaca4e658b [svn-r1917] Updated the change history of H5FD_mpio_write(). 1999-12-20 13:18:17 -05:00
Albert Cheng
f6fffd7da8 [svn-r1916] Changed the #define TRUE to be consistent with the one in H5private.h
which is also used by most Unix systems.
1999-12-20 10:14:05 -05:00
Albert Cheng
4ae42f7f15 [svn-r1915] Purpose:
Bug fix.
Description:
    When only p0 will write for allsame metadata, other processes
    returns with SUCCEED immediately.  In some racing conditions, the
    other processes may start reading the metadata before p0 has finished
    writing them out.  That results in errors.  (I verified by putting
    an intentional delay in the p0 code.  Other processes then got read
    errors always.)
Solution:
    When only-p0-writes is the case, p0 will Bcast the result to other
    processes.  This provides both a synchoronization and more valid
    logic since the other processes will return FAIL too IF p0 write
    fails.
    Also fixed a typo of the H5F_MPIO_DEBUG_KEY name.
    Also removed the incorrect #define's of FALSE and TRUE.
    They are already defined in H5private.h.
1999-12-20 10:06:36 -05:00
Albert Cheng
2c7bbf697f [svn-r1881] Changed all the HAVE_PARALLEL and HAVE_GASS macros to the new
form of H5_HAVE_PARALLEL and H5_HAVE_GASS.
1999-12-17 09:37:22 -05:00
Albert Cheng
1c91b6fed2 [svn-r1868] Added a new component, H5_VERS_SUBRELEASE, to the release information.
It is for all those pre-release situations like alpha, beta, pre-n, ...
In normal releases, it should be an empty string.
1999-12-10 15:04:28 -05:00
Albert Cheng
5b90b00de9 [svn-r1861] Snapshot version 1.3 release 9 1999-12-09 15:17:28 -05:00
Robb Matzke
60cab76b78 [svn-r1859] * 1999-12-09
** src/H5FDpublic.h
	Added a #define for H5_HAVE_VFL to make life easier for application
	programmers.

** config/depend1
	A minor tweak to the way GNU systems generate file dependencies for
	the Makefiles.

** src/H5T.c
	Fixed a bug with enumeration types not having the correct object
	header pointer.
1999-12-09 06:10:24 -05:00
Quincey Koziol
a5a5519d02 [svn-r1857] Fixed error in decoding hyperslab regions for dataset region references.
Data is ok in the file, just mixed up when trying to dereference the region.
1999-12-07 14:46:10 -05:00
Albert Cheng
9b2b532898 [svn-r1850] Snapshot version 1.3 release 8 1999-12-01 22:45:58 -05:00
Robert Kim Yates
290bf31554 [svn-r1849] Performance improvement to H5FD_mpio_open: eliminated unnecessary truncation. 1999-12-01 15:53:18 -05:00
Robb Matzke
d5c8b0fe6c [svn-r1847] ** src/H5T.c
Fixed a bug with enumeration types not having the correct object
	header pointer.
1999-11-23 14:36:13 -05:00
Albert Cheng
e520c237d5 [svn-r1845] Snapshot version 1.3 release 7 1999-11-22 13:58:06 -05:00
Albert Cheng
5dbf1ef375 [svn-r1844] Changed to use the H5_HAVE_PARALLEL macro names. 1999-11-22 13:08:32 -05:00
Albert Cheng
66e8514270 [svn-r1838] Snapshot version 1.3 release 6 1999-11-17 17:38:47 -05:00
Quincey Koziol
9e014467b6 [svn-r1836] Mainly fixed a bug in VL datatype comparisons which was causing non-equal
VL types to compare as equal.  Added some asserts to make certain nothing
slips through again.  Also cleaned up a few warnings from the SGI compiler.
1999-11-17 16:59:53 -05:00
Robb Matzke
4b2dbd5651 [svn-r1832] * 1999-11-16
** configure.in
** configure				[REGENERATED]
** src/H5private.h
** src/H5public.h
** src/Makefile.in
	Generates an H5pubconf.h file which is just like H5config.h except all
	the preprocessor symbols have `H5_' prepended. This was done so that
	the configuration results can be used in public header files without
	polluting the namespace.

** src/H5.c
	Added H5I_REFERENCE and H5I_VFL to the API tracing code so their names
	are printed instead of just numbers.

** src/H5FDstdio.c
** tools/h5import.c
** tools/h5repart.c
** tools/pdb2hdf.c
	Changed to use the `H5_' versions of configure results since these
	files include only the public API.

** test/big.c
	Removed a compiler warning.

** test/h5test.c
	Removed unused code.
1999-11-16 14:08:14 -05:00
Albert Cheng
99eed4141a [svn-r1830] Snapshot version 1.3 release 5 1999-11-04 20:42:06 -05:00
Albert Cheng
2370f434a7 [svn-r1816] Snapshot version 1.3 release 4 1999-11-03 19:03:58 -05:00
Robb Matzke
4051fa3187 [svn-r1814] * 1999-11-03
** config/depend1.in
	We don't regenerate the Dependencies files if we're compiling in the
	source tree because `gcc -MM' doesn't output enough information to
	make the result usable when compiling outside the source tree.

** src/H5config.h.in
	Regenerated to include HAVE_LIBMPI and HAVE_LIBMPIO because of recent
	changes to configure.in
1999-11-03 13:05:58 -05:00