Commit Graph

6681 Commits

Author SHA1 Message Date
Robert Kim Yates
0db7facffe [svn-r716] Added barrier to H5F_istore_allocate to preclude racing with data writes. 1998-09-23 12:24:50 -05:00
Robb Matzke
5fcf0dc22e [svn-r715] Snapshot 1998-09-23 04:20:01 -05:00
Robb Matzke
6d9af58391 [svn-r714] Changes since 19980911
----------------------

This checkin is to fix a couple bugs for Jim Reus.  Some features are
not fully implemented but it shouldn't break anything.

./config/conclude.in
./test/Makefile.in
	`make clean' removes object files from the test directory as
	well as a couple more *.h5 temp files.

./config/hpux9.03		[NEW]
	New config file for HP/UX 9.03

./src/H5B.c
./src/H5Bprivate.h
./src/H5Fistore.c
./src/H5G.c
./src/H5Gnode.c
./src/H5Gpkg.h
./src/H5Gprivate.h
./src/H5Gstab.c
	Not-yet-complete version of object removal.

./src/H5Fistore.c
./src/H5Fprivate.h
	Experimental optimizations, disabled by default.

./src/H5Fprivate.h
	Default low-level driver was changed to H5F_LOW_SEC instead of
	H5F_LOW_STDIO because the sec2 driver is much easier to debug.

./src/H5Fsplit.c
./src/H5G.c
./src/H5Z.c
	Changed a couple return statements to HRETURN.

./src/H5Odtype.c
	Removed a check for nested compound data types from back when
	they weren't implemented that raised an error.

./tools/h5tools.c
	Increased temp buffer sizes and added a check for buffer
	overflow so we fail an assertion (hopefully).  This really
	needs to be fixed sometime.

	Added support for printing H5T_STRING data types.
1998-09-22 10:27:26 -05:00
Robb Matzke
b20de8612a [svn-r713] Snapshot 1998-09-22 04:20:07 -05:00
Quincey Koziol
1fe48c7f19 [svn-r712] Added temporary buffer support to several places in the library which were
calling malloc too often.  Also, added caching of hyperslab blocks, which
improves performance _significantly_ for hyperslab I/O.
1998-09-21 18:43:19 -05:00
Robb Matzke
19369ba422 [svn-r710] Snapshot 1998-09-21 04:19:54 -05:00
Robb Matzke
42c184af74 [svn-r709] Snapshot 1998-09-20 04:20:11 -05:00
Robb Matzke
a3170cae38 [svn-r708] Snapshot 1998-09-19 04:19:57 -05:00
Robert Kim Yates
1d134c4d3f [svn-r707] Made correction to reading zeroes at end of file, in H5F_mpio_read. 1998-09-18 18:09:33 -05:00
Robert Kim Yates
8718c53e6b [svn-r706] Added must_convert parameter to sconv->read and sconv->write functions
so that reads/writes can proceed in the unoptimized way if necessary,
rather than simply failing if they can't be optimized.
1998-09-18 18:08:09 -05:00
Robb Matzke
d3c8def6aa [svn-r705] Snapshot 1998-09-18 04:20:09 -05:00
Robb Matzke
50e980f28e [svn-r704] Snapshot 1998-09-17 04:20:17 -05:00
Robb Matzke
f7b0fee6ef [svn-r701] Snapshot 1998-09-16 04:20:11 -05:00
Quincey Koziol
51ff984269 [svn-r699] Updated version number for release. 1998-09-15 16:50:28 -05:00
Robert Kim Yates
bd07e10e56 [svn-r674] Removed no-longer valid comment from H5F_low_class_t definition. 1998-09-08 18:59:01 -05:00
Robb Matzke
b5e2752ad6 [svn-r673] Changes since 19980908
----------------------

./COPYING
	Reformatted as text instead of C.  Removed zlib crew from the
	list of contributors since no zlib code is actually in the
	hdf5 library.

./INSTALL
./INSTALL.ascired
./MANIFEST
	Minor updates for Beta release including version number
	change.

./INSTALL_MAINT
	Added information about making a release.

./RELEASE
	Updated function list based on public header files.

./bin/checkposix
	Got rid of complaints about some obvious things.

./doc/html/H5.api.html
./doc/html/RM_H5F.html
./src/H5F.c
./src/H5Fpublic.h
./test/tfile.c
	Changed H5Fget_create_template() and H5Fget_access_template()
	to H5Fget_create_plist() and H5Fget_access_plist() since that
	conforms better to lots of other names.

./doc/html/Datatypes.html
./doc/html/ExternalFiles.html
./doc/html/Files.html
./doc/html/H5.api.html
./doc/html/H5.sample_code.html
./doc/html/RM_H5F.html
./doc/html/RM_H5Front.html
	Changed `template' to `property list', etc.

./doc/html/Ragged.html	   [NEW]
	Documentation for ragged arrays.

./src/H5Iprivate.h
./src/H5Ipublic.h
./src/H5I.c
	Changed the scope of some symbols to be more local.

./src/H5.c
./src/H5AC.c
./src/H5D.c
./src/H5E.c
./src/H5F.c
./src/H5Ffamily.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5Fsec2.c
./src/H5Fsplit.c
./src/H5Fstdio.c
./src/H5G.c
./src/H5Gnode.c
./src/H5HG.c
./src/H5I.c
./src/H5O.c
./src/H5Ocomp.c
./src/H5Odtype.c
./src/H5Oefl.c
./src/H5Omtime.c
./src/H5Oname.c
./src/H5P.c
./src/H5S.c
./src/H5Shyper.c
./src/H5Tbit.c
./src/H5Tconv.c
./src/H5V.c
./src/H5Z.c
./src/H5private.h
	Fixed some violations of our naming scheme by adding HD to the
	beginning of all Posix functions.
1998-09-08 14:15:44 -05:00
Robb Matzke
72a58073cd [svn-r672] Changes since 19980904
----------------------

./MANIFEST
./bin/release
./bin/snapshot
	The format of the MANIFEST file has been relaxed -- comments
	and blank lines should no longer confuse the tools that use
	it.

	As before, this file should contain a list of *all* files that
	are part of HDF5, which means all files which are managed by
	CVS/SVF.  However, files can be marked so they're not part of
	a release by adding _DO_NOT_DISTRIBUTE_ after the file name.

	I've removed all the *.obj files from the distribution by
	adding _DO_NOT_DISTRIBUTE_ after their names.  I also removed
	the old white-papers that might not apply to the current
	version of the library and documentation about chunking
	performance since it's wrong now that chunk caching is
	implemented. Everyone please check the files you're
	responsible for to make sure that they should really be part
	of a release.

	To get a list of all files use
	   grep '^\.' MANIFEST | cut -f1

	To get a list of files for distribution use:
	   grep '^\.' MANIFEST | grep -v _DO_NOT_DISTRIBUTE_

	(These commands assume tabs in the MANIFEST file.  If the file
	might contain spaces then run it through `unexpand' or `tr'
	first).

./configure.in
./configure
./src/H5config.h.in
./test/ragged.c
	Check for sigaction().

./test/Makefile.in
	The `clean' target removes the timing tests.
1998-09-08 08:39:18 -05:00
Robb Matzke
40bf5deddd [svn-r657] Snapshot 1998-09-03 04:20:38 -05:00
Robert Kim Yates
2041938568 [svn-r656] Changed error report for failed optimized parallel xfers
in H5D_read and H5D_write.
1998-09-02 18:52:33 -05:00
Robert Kim Yates
07f1057ec7 [svn-r655] Changed H5F_low_write's treatment of eof in nonblock parallel writes. 1998-09-02 16:52:25 -05:00
Quincey Koziol
97f56b57a0 [svn-r654] Fixed last bug (hah! ;-) for beta release, changed H5Gget_stat to H5Gget_objinfo
and renamed internal functions to match up with the renamed API functions.
1998-09-02 16:16:24 -05:00
Quincey Koziol
8fde009d73 [svn-r653] Removed weird binary character in comment. (Probably copyright mark, but it
was confusing cvs)
1998-09-02 16:11:04 -05:00
Robert Kim Yates
0a6f9f16d8 [svn-r652] Removed H5Fmpioprivate.h, moved its contents to H5Fprivate.h. 1998-09-01 17:42:00 -05:00
Robert Kim Yates
1af0223f4e [svn-r650] Eliminated H5Fmpioprivate.h, moved contents to H5Fprivate.h. 1998-09-01 16:42:41 -05:00
Robb Matzke
697b9c5ad0 [svn-r644] Changes since 19980931
----------------------

./test/cmpd_dset.c
	Uncommented the last test again and there are still bugs.
1998-09-01 09:49:30 -05:00
Robb Matzke
96c626d42f [svn-r642] Snapshot 1998-09-01 04:19:50 -05:00
Quincey Koziol
4aa79bb211 [svn-r641] Changed function names for beta release. 1998-08-31 22:35:23 -05:00
Robert Kim Yates
5aa61b6fcf [svn-r640] Added __unused__ to H5S_mpio_spaces_xfer parameters pline and efl. 1998-08-31 16:46:36 -05:00
Robert Kim Yates
0d7ec99e1d [svn-r638] Added function prototypes. 1998-08-31 16:30:31 -05:00
Robert Kim Yates
0c6c4eeb60 [svn-r637] Added include H5Fmpioprivate.h 1998-08-31 16:28:11 -05:00
Robb Matzke
2ab2e14bb5 [svn-r635] Changes since 19980831
----------------------

./Makefile.in
	Running `make distclean' will not fail if one of the
	subdirectories has already been cleaned.

./config/BlankForm
./config/irix5.3
	Cleaned it up more.  Added better support/documentation for
	systems that have more than one compiler.

./config/alpha-dec-osf4.0	[NEW]
	Added a new config file as a result of testing on Jim Reus's
	machine.

./test/chunk.c
	Scaled down the testing range so we can actually run it
	interactively.

./tools/h5import.c
	Included <unistd.h> to get rid of warning for close().

./src/H5detect.c
	Seg-faults on Linux for some reason when NDEBUG is defined, so
	I just undef it at the top of the source.

./test/big.c
	Added a fflush().

./tools/h5ls.c
	The `-d' flag now works even when `-v' isn't specified.

./examples/h5_chunk_read.c
./examples/h5_compound.c
./examples/h5_extend_write.c
./examples/h5_group.c
./examples/h5_read.c
./examples/h5_write.c
	Indented according to hdf5 standards.

	Fixed compiler warnings
1998-08-31 14:21:23 -05:00
Robb Matzke
1e38c13785 [svn-r633] Changes since 19980828
----------------------

./RELEASE
	Updated with important changes I made since the second beta.

./src/H5A.c
./src/H5D.c
./src/H5Dprivate.h
./src/H5G.c
./src/H5Gprivate.h
./src/H5R.c
./src/H5Rprivate.h
./src/H5T.c
./src/H5Tprivate.h
	Any API function that used to take an `hid_t loc_id' followed
	by a `const char *name' can now take any type of object for
	the loc_id as long as the object is somehow associated with a
	file. Internally, H5G_loc() was modified to return an
	H5G_entry_t* instead of an H5G_t* so it's more general.

	Among other things, this allows one to retrieve information
	about an object like a named type or dataset without knowing
	the name of the type or dataset:

	    int
	    get_nlinks (hid_t obj)
	    {
	        H5G_stat_t	sb;
		if (H5Gstat(obj, ".", TRUE, &sb)<0) return -1;
		return sb.nlink;
	    }

./test/gheap.c
./test/istore.c
	These files needed a couple of changes because they call some
	of the internal functions whose H5G_t arguments changed to
	H5G_entry_t.

./src/H5A.c
	Got rid of all the switch statements for getting symbol table
	entries for varous objects and replaced them with a call to
	H5G_loc() allowing attributes to automatically apply to any
	type of object that belongs to a file.

./test/Makefile.in
	Moved the ragged array tests from the normal list of tests to
	the `make timings' target.

./test/ragged.c
	Added rewrite tests -- rewrite the rows of a dataset changing
	the number of rows and the length of each row.

./test/mtime.c
	Added a test that checks that H5Gstat() can be called with a
	dataset as the first argument.

./src/H5S.c
	Added #ifdef HAVE_PARALLEL around code to check for the
	HDF5_MPI_OPT_TYPES environment variable because the global
	variable that gets set is #ifdef'd.

./bin/release
	bzip2 uses .bz2 as the file extension.
1998-08-31 08:46:47 -05:00
Robert Kim Yates
e4053f38c2 [svn-r632] Extended comment about elimination of redundant metadata writes. 1998-08-28 19:17:20 -05:00
Robert Kim Yates
1373661a78 [svn-r630] Added code to eliminate redundant writes of metadata,
so only proc 0 writes it to disk.  The elimination is activated
only when the environment variable HDF5_MPI_1_METAWRITE is nonzero;
otherwise all processes that opened the file will write the metadata to disk.
1998-08-28 18:37:58 -05:00
Robert Kim Yates
96c2b5fec4 [svn-r629] Put ifdef HAVE_PARALLEL around init of H5_mpi_opt_types_g. 1998-08-28 17:59:41 -05:00
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
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