625 Commits

Author SHA1 Message Date
Robert Kim Yates
01b8b7cc52 [svn-r628] MPI buffer and file type optimization is bypassed,
unless the environment variable HDF5_MPI_OPT_TYPES is nonzero.
1998-08-28 14:08:33 -05:00
Robb Matzke
1b1be9918c [svn-r627] Changes since 19980827
----------------------

./src/H5G.c
	Fixed a link count on groups.  Groups were always created with
	a link count of zero instead of one.

./src/H5Gpublic.h
	Added H5G_NTYPES so applications can easily declare arrays
	which are indexed by object type.

./src/H5O.c
	Calling `H5O_link(&ent,0)' will succeed when the file is open
	for read only because it's the only way to get the object's
	current link count.

./tools/h5ls.c
	Can take non-group object names on the command line (and
	multiple objects).  Reorganized to be more extendible. The
	link count is displayed for `-v'.

./src/H5F.c
	Dumping of cache statistics is controlled by only the
	HDF5_DEBUG environment variable and not the H5F_ACC_DEBUG flag
	for H5Fopen() and H5Fcreate() since this makes it similar to
	the other debugging options.

./src/H5R.c
./test/ragged.c
./test/Makefile.in
	Tests pass but still a little work left to be done.
1998-08-28 10:24:12 -05:00
Robert Kim Yates
69ed3c270a [svn-r626] Turned some MPI hyperslab type optimization back on
(may coalesce contiguous blocks of outer dims, but won't collapse inner dims).
1998-08-28 00:01:36 -05:00
Robert Kim Yates
2ac39bef22 [svn-r625] Have temporarily turned off coalescing optimizations in MPI hyperslab types
until I can test and debug them more fully.
Transfers using MPI buf and file types are correct, but this version
doesn't attempt to optimize the types by coalescing contiguous blocks.
1998-08-27 22:59:23 -05:00
Ruey-Hsia Li
d06b3afc6c [svn-r624] Removed <hardlink>.
Added <nlink>opt to <dataset> and <group>.
1998-08-27 16:44:08 -05:00
Robert Kim Yates
6d223fa00f [svn-r623] Cosmetic change: H5F_mpio_read uses local var use_types_this_time in condition. 1998-08-27 14:04:51 -05:00
Quincey Koziol
1100b30ddc [svn-r622] Fixed memory leak in point selections. 1998-08-27 12:56:50 -05:00
Quincey Koziol
1908710891 [svn-r621] Re-checkin memory fixes 1998-08-27 12:38:24 -05:00
Robb Matzke
eb5e01d37c [svn-r620] Changes since 19980825
----------------------

./MANIFEST
./src/H5R.c		[NEW]
./src/H5Rprivate.h	[NEW]
./src/H5Rpublic.h	[NEW]
./src/Makefile.in
./src/hdf5.h
./test/ragged.c		[NEW]
	Preliminary support for 2d ragged arrays for Mark Miller and
	Jim Reus.  Not fully implemented yet. The test is not actually
	part of `make test' because we still have some memory problems.

./src/H5E.c
./src/H5Epublic.h
	Added H5E_RAGGED as a major error number.

./bin/release
	Checks the MANIFEST file against `svf ls' on systems that have
	it.

./bin/trace
	Fixed a bug that caused arguments of type `void *x[]' to not
	be handled.

./src/H5.c
	Removed unused variables and changed a couple types to
	fix compiler warnings.

	Added tracing support for ragged array object ID's and arrays
	of pointers.

./src/H5D.c
	H5Dcreate() will complain if either of the property lists are
	invalid (instead of using the default).

./src/H5D.c
./src/H5Dprivate.h
	Split H5Dget_space() into an API and internal function so it
	can be called from the new ragged array layer.

./src/H5Fistore.c
	Fixed warnings about unsigned vs. signed comparisons.

./src/H5Flow.c
	Fixed a warning about a variable being shadowed in the MPI-IO
	stuff.

./src/H5Iprivate.h
./src/H5Ipublic.h
	Added the H5_RAGGED atom group.

./src/H5Shyper.c
	Fixed some freeing-free-memory errors that resulted when
	certain arrays were freed but the pointers were left in the
	data structures.  I simply set the pointers to null after they
	were freed.

./src/H5Sprivate.h
./src/H5Sselect.c
	Split the H5Sselect_hyperslab() function into an API and a
	private function so it could be called from the ragged array
	layer.

	Added H5S_SEL_ERROR and H5S_SEL_N to the switch statements to
	get rid or compiler warnings.

./src/H5Tconv.c
	Removed a misleading comment.

./test/bittests.c
	Fixed a warning about a printf().

./test/cmpd_dset.c
	Fixed warnings about unused variables because of test #11
	being commented out.

./bin/trace
	Shortened the right margin for the output to allow room for
	the `);' at the end of the TRACE() macros.
1998-08-27 11:48:50 -05:00
Robb Matzke
11f1b67c87 [svn-r619] Snapshot 1998-08-27 04:20:42 -05:00
Robert Kim Yates
3500281e8c [svn-r618] Corrected comment in H5F_low_write about MPI derived datatype writes. 1998-08-26 17:13:56 -05:00
Robert Kim Yates
9124be67f6 [svn-r617] Added optimization to coalesce outer dims of hyperslab,
and changed error return of H5S_mpio_spaces_xfer to simple FAIL
in case file layout is not contiguous (so that the xfer will still be
done, but in the old chunk-by-chunk method).
1998-08-26 12:51:19 -05:00
Robb Matzke
8fc352b7cd [svn-r616] Snapshot 1998-08-26 04:20:28 -05:00
Quincey Koziol
75a293691e [svn-r615] Fixed memory leaks & duplicates frees. 1998-08-25 15:46:17 -05:00
Robb Matzke
3ba4755c33 [svn-r614] Snapshot 1998-08-24 04:20:30 -05:00
Robb Matzke
8cf69185f2 [svn-r613] Snapshot 1998-08-23 04:20:33 -05:00
Robb Matzke
1fc23babac [svn-r612] Snapshot 1998-08-22 04:20:35 -05:00
Ruey-Hsia Li
4f2d4020d8 [svn-r611] Removed warning messages during compilation. 1998-08-21 12:22:14 -05:00
Ruey-Hsia Li
278a9b9486 [svn-r610] Made ddl.html consistent with dumper output. 1998-08-21 10:44:36 -05:00
Robb Matzke
49133159c8 [svn-r609] Debugging.html
Fixed errors

H5.c
	Fixed core dump with setvbuf() for debugging.

H5Fistore.c
	Fixed bug with sparse datasets.

H5Omtime.c
	Found a typo in "Posix Programmer's Guide".  The `%z' in the
	strftime() should be `%Z' instead.

H5T.c
H5Tpublic.h
	Improved api tracing for H5Tinsert_array().

h5tools.c
	Doesn't dump core for empty datasets.
1998-08-20 17:57:35 -05:00
Robb Matzke
2c61dcc3ee [svn-r608] Snapshot 1998-08-20 04:20:15 -05:00
Albert Cheng
f5fb0d9db9 [svn-r607] Added new entries for source files of tools/h5dump. 1998-08-19 19:22:24 -05:00
Robb Matzke
e455040749 [svn-r606] Debugging can be enabled/disabled at runtime though code is still
conditionally included at compile time.  Tracing and debugging share
the same environment variable.  All is documented in Debugging.html.
1998-08-19 17:46:31 -05:00
Albert Cheng
4322bfe90a [svn-r605] Added in h5dump tools created by Ruey-Hsia.
Renamed what was called h5dump.c to h5tools.c.
Changed Makefile.in to reflect all the changes.
(Make dependence is to be processed later.)

Tested in Solaris 2.5
1998-08-19 16:46:55 -05:00
Albert Cheng
9945c358aa [svn-r604] Added #ifdef HAVE_PARALLEL macro so that the code
is compiled only in parallel version but an "empty"
source in the serial version.

Tested in solaris 2.5.
1998-08-19 09:07:14 -05:00
Robb Matzke
93e5190bb1 [svn-r603] Changes since 19980818
----------------------

./src/H5.c
        Fixed an argument promotion bug in HDfprintf()

./src/H5Fistore.c
        Fixed a array bounds read error.

./src/H5HG.c
        Fixed uninitialized (but unused) data appearing in the hdf5
        file, a potential security problem.

./src/H5T.c
./src/H5Tpublic.h
        Added new data types for hdf5 types: H5T_NATIVE_HSIZE,
        H5T_NATIVE_HSSIZE, H5T_NATIVE_HERR, and H5T_NATIVE_HBOOL. I
        did not add H5T_NATIVE_HID since I couldn't think of a reason
        that it would be stored in a file anyway.
1998-08-18 18:19:27 -05:00
Albert Cheng
da3fcf286a [svn-r602] Added entry of H5Smpio.c. 1998-08-18 13:26:32 -05:00
Robb Matzke
d27a31461c [svn-r601] Changes since 19980814
----------------------

./src/H5Fistore.c
        Fixed a bug that caused the wrong number of chunk offsets to
        be read or written from the file.

./src/H5Z.c
        Fixed a memory bug.

./test/dtypes.c
        Removed redundant tests.

./bin/snapshot
        Removed Perl code from a shell script. Oops :-)

./src/H5D.c
        Removed cvs merge conflicts.

./src/H5Omtime.c
        Fixed a typo in the Irix5.3 code.

./src/H5S.c
        Fixed a memory leak.

./src/H5Shyper.c
        Fixed a bad call to malloc() that didn't allocate enough
        memory. Reordered a comparison to eliminate an array bounds
        read error.
1998-08-18 12:14:43 -05:00
Robb Matzke
d9b9ed853d [svn-r600] *** empty log message *** 1998-08-17 13:08:00 -05:00
Robert Kim Yates
a1e8ce1d81 [svn-r599] Added code to convert HDF dataspace selections to MPI datatypes. 1998-08-17 10:20:56 -05:00
Robert Kim Yates
8ed18c9e73 [svn-r598] Added code to convert HDF dataspace selections to MPI datatypes. 1998-08-17 10:15:19 -05:00
Robert Kim Yates
05db4b09cd [svn-r597] Functions to convert HDF dataspace selections to MPI datatypes. 1998-08-17 10:13:45 -05:00
Robert Kim Yates
62176d7836 [svn-r596] Added conversion to MPI datatypes. 1998-08-17 10:10:55 -05:00
Robert Kim Yates
c7270e7e36 [svn-r595] Added code to convert HDF dataspace selections to MPI-IO datatypes. 1998-08-17 10:09:19 -05:00
Robb Matzke
25b825965e [svn-r594] Changes since 19980813
----------------------

./src/H5G.c
./src/H5Gpublic.h
./test/links.c
	Fixed a bug in H5Gstat() that caused the wrong information to
	be returned sometimes.  Added check for named data types.

./test/extend.c
./test/links.c
./test/mtime.c
	Added `all tests passed' messages.
1998-08-14 16:05:16 -05:00
Albert Cheng
a7e57b2779 [svn-r593] Added couple banner lines around the "Testing ...." message and
also a trailing blank line to make it easier to identify the
output of each test program.
1998-08-14 14:39:41 -05:00
Robert Kim Yates
692a2f0859 [svn-r592] Added testpar/Makefile.ibmsp. 1998-08-13 16:11:03 -05:00
Robert Kim Yates
d809d38b01 [svn-r591] For IBM SP using mpich v1.1.1 and ROMIO. 1998-08-13 15:50:12 -05:00
Robert Kim Yates
1181d87cbe [svn-r590] Cache numeric type sizes and C std headers. 1998-08-13 15:48:57 -05:00
Robert Kim Yates
d97121d35c [svn-r589] Use mpich v1.1.1 and ROMIO. 1998-08-13 15:48:09 -05:00
Robb Matzke
678eb19d71 [svn-r588] Changes since 19980810
----------------------

./MANIFEST
./src/H5Ssimp.c		[REMOVED]
./src/Makefile.in
	Removed H5Ssimp.c since it was no longer used.

./bin/snapshot
	Fixed a few minor things to make it work better.

./src/H5D.c
	Cleaned up H5D_read() and H5D_write() by combining some code
	in each. Added timing calls around the data space calls when
	H5S_DEBUG is defined.

./src/H5S.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Spoint.c
./src/H5Sprivate.h
	Changed H5S_find() so it returns a table entry again instead
	of copying the data into a caller-supplied buffer.  This
	allows the timers to be stored in the table and updated by the
	caller.  Added H5S_register() to register new table entries
	and added entry creation to all the H5S selection
	methods. Also changed lots of global functions to static
	functions.

./src/H5Fistore.c
	Fixed a memory bug in the raw data cache.
1998-08-13 15:17:47 -05:00
Frank Baker
349b9094a0 [svn-r587] Added H5Gset_comment and H5Gget_comment. 1998-08-12 09:16:39 -05:00
Albert Cheng
06d4abfb4d [svn-r586] The for loop in debugging statistics of H5Z_term_interface had
a typo, causing the debugging to try dump H5Z_table beyond what
is being used.  Changed "<=" to "<".
1998-08-11 18:45:03 -05:00
Robb Matzke
ed85f64ee7 [svn-r585] Fixed Step 11 but didn't turn it on yet because of a failed assertion. 1998-08-10 14:54:35 -05:00
Robb Matzke
9754e9373b [svn-r584] Changes since 19980806
----------------------

./doc/html/Datatypes.html
./doc/html/H5.format.html
./src/H5.c
./src/H5Odtype.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tpublic.h
./test/dtypes.c
	Changed the values of the H5T_str_t type in order to make a
	distinction between C's null terminated strings and strings
	which are not null terminated.

	The string character set and padding method are saved to the
	hdf5 file instead of using defaults.

	Added conversion function from one fixed-length string type
	to another.

./test/chunk.c
	Fixed to work with new filter API
1998-08-10 13:15:14 -05:00
Robb Matzke
1d0b2915c2 [svn-r583] Snapshot 1998-08-10 04:14:06 -05:00
Robb Matzke
acf41defc1 [svn-r582] Snapshot 1998-08-09 04:14:06 -05:00
Robb Matzke
6f0ec99bdd [svn-r581] Snapshot 1998-08-08 04:14:12 -05:00
Robb Matzke
d99a7a8ab0 [svn-r580] Snapshot 1998-08-07 04:14:16 -05:00
Robb Matzke
acd04a1aa6 [svn-r579] Changes since 19980806
----------------------

./config/solaris2.5
	Hopefully set up now so it honors the CC and CFLAGS variables
	and understands solaris cc flags.

./test/big.c
	Checks to see if creating lots of large sparse files exceeds
	the user disk quota and skips the test.  It also checks that
	we can actually open ~64 files at once.

./doc/html/Files.html
./src/H5A.c
./src/H5Aprivate.h
./src/H5F.c
./src/H5Fpublic.h
	Added the H5Fflush() function which takes any object as an
	argument as long as the object is in some way associated with
	a file.  This required an H5A_entof()

./src/H5.c
./src/H5Flow.c
	The `%a' format of HDfprintf() now allows a field width and
	justification flag etc, like the other formats.  The old
	H5F_addr_print() was recoded to call HDfprintf() instead of
	vice versa.
1998-08-06 16:32:33 -05:00