Commit Graph

1269 Commits

Author SHA1 Message Date
Quincey Koziol
4ad5b162e4 [svn-r1234] Snapshot 1999-04-28 18:49:01 -05:00
Quincey Koziol
e19b78295b [svn-r1233] Removed some debugging printfs. 1999-04-28 18:34:54 -05:00
Quincey Koziol
5e37f08253 [svn-r1232] Fixed some boundary conditions on hyperslab I/O that the parallel I/O T3E port
exposed.  These are more changes that everyone should pick up.
1999-04-28 18:09:08 -05:00
Robb Matzke
81dc6e53f8 [svn-r1231] Snapshot 1999-04-28 12:26:06 -05:00
Robb Matzke
da9c719938 [svn-r1230] Forgot to add pablo/READ_ME to the MANIFEST file last time 1999-04-28 12:15:26 -05:00
Robb Matzke
72ec46e181 [svn-r1229] Snapshot 1999-04-28 11:02:27 -05:00
Robb Matzke
2f23391566 [svn-r1228] Added missing pablo files to MANIFEST. Snapshots should start working again... 1999-04-28 10:53:42 -05:00
Robb Matzke
343d0ff396 [svn-r1227] Snapshot 1999-04-28 04:20:45 -05:00
Albert Cheng
07ff900c26 [svn-r1226] Purpose:
Bug fix
Description:
    dumper repeated output after the 1st 4 rows.
    The bug was because the dumper was reading just a small slice a time
    from the file dataset but did not adjust the offset in the file-space.
    So, it just kept reading the same first slice.
Solution:
    Stole the offset-adjustion code from the routine that h5ls uses.
Platform Tested:
    O2K.
1999-04-27 19:06:29 -05:00
Dan Wells
97496e9b60 [svn-r1225] File explaining how to build Pablo instrumented library. 1999-04-27 10:00:24 -05:00
Robb Matzke
2dc738a321 [svn-r1224] Changes since 19990426
----------------------

./tools/h5tools.c
./tools/h5tools.h
	Finally fixed a long-standing bug that caused core dumps if
	a compound datum rendered to more than some number of
	characters (we kept bumping up the limit at the risk of
	violating stack size limits on some machines). The fix works
	only on systems that have the vsnprintf() function (otherwise
	a 4kB limit is imposed, which if violated probably dumps
	core). If vsnprintf() is present then the library dynamically
	allocates space for the output string.

	Also made it possible to control how compound data is rendered
	across multiple lines of output by allowing the caller to
	specify where optional line-breaks get inserted. The output
	functions split up the value at one or more optional
	line-breaks to prevent it from wrapping around the screen.

	If a datum doesn't fit on the current line but would fit on
	the next line then it is printed on the next line regardless
	of whether optional line-breaks would have prevent wrapping
	around the screen. This makes it easier to find the beginnings
	of compound data values.  This feature is disabled by default
	but can be enabled by the application.

	If a datum doesn't fit on the current line and the previous
	datum also occupied more than one line then we move to the
	next line before printing. This makes it easier to find the
	beginnings of compound data values but prevents the output
	from looking fragmented if there are only a few long values
	among mostly short values.  This feature is disabled by
	default but can be enabled by the application.

	The application can control the printf() formats used for all
	the native data types. The defaults are what the library used
	to use: %g, %ld, %lu, %d, and %u

./tools/h5ls.c
	Compound datatype values can now be split across multiple
	lines of output instead of just wrapping. Also, when lots of
	compound values are too long they all start at the beginning
	of a line. This only required about 10 lines of changes in the
	setup for tools library calls (I didn't modify the h5dump
	program because it uses its own version of the tools library
	that forked off long ago).

	Added code for Win32 which is unable to cast `unsigned long
	long' to `double'. If the dataset size exceeds (2^63)-1 then
	the percent utilization is not displayed (this is easily
	possible with chunked datasets). This is untested yet.

./configure.in
./src/H5config.h.in
./src/H5.c
./src/H5private.h
	Check for vsnprintf() and provide a simple, stupid definition
	if it isn't available. The stupid definition just calls
	vsprintf() and ignores the second argument. This can result in
	buffer overflows in h5ls and h5dump since vsprintf() is an
	unsafe function (and anyone can create an hdf5 file that runs
	an arbitrary command from h5ls and h5dump in that case)!

./config/conclude.in
	Remove more *.o files for `make clean'

./src/H5A.c
./src/H5D.c
./src/H5F.c
./src/H5I.c
./src/H5Iprivate.h
./src/H5P.c
./src/H5R.c
./src/H5RA.c
./src/H5S.c
./src/H5T.c
./src/H5TB.c
	Cleaned up a memory leak during H5_term_library() by allowing
	H5I_clear_group() to skip items that couldn't be freed. This
	allows the item to remain in the group until we can free it
	later.

./src/H5F.c
	The H5F_close_all() function fails if a file cannot be closed.
1999-04-27 09:47:54 -05:00
Robb Matzke
a66c628b3c [svn-r1223] Snapshot 1999-04-27 04:20:49 -05:00
Albert Cheng
893504e2a8 [svn-r1222] Cleaned up the code in testphdf5.c, mostly in the -f parsing area.
Eliminated most compiler complains.  Changed Tflops to use
the /pfs_grande file systems.  (Old /pfs is retired.)
1999-04-26 23:12:18 -05:00
Frank Baker
62f0caf0a5 [svn-r1221] Fixed Bug #293
RM_H5Front.html
		"H5A Annotation" Interface corrected to "H5A Attribute" interface.
	RM_H5G.html
		H5Glink loc_id description corrected.
1999-04-26 17:16:42 -05:00
Frank Baker
129f93d069 [svn-r1220] Dataspaces.html
Changed "last modified" date.  (Forgot to change it for preceding checkin.)
1999-04-26 16:02:18 -05:00
Frank Baker
f1a01e0f25 [svn-r1219] Dataspaces.html
Fixed Bug #292 -- Errors in array-order transversal (C and Fortran orders
	were reversed) and a minor copy edit.
1999-04-26 16:00:15 -05:00
Albert Cheng
877a437ad6 [svn-r1218] Added string.h since it is needed for those strxxx calls. 1999-04-26 14:53:41 -05:00
Robb Matzke
d6823ceb08 [svn-r1217] Changes since 19990426
----------------------

./config/commence.in
./examples/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
	Fixed some dependency problems in Makefiles. If the library
	version is updated then everything gets recompiled.

./src/H5G.c
./src/H5R.c
	Failure return value for object type functions is now
	H5G_UNKNOWN as documented.

./src/H5Shyper.c
./src/H5Spoint.c
	Fixed an unused argument warning.

./tools/h5debug.c
	Fixed a call to H5F_block_read() since the 4th argument is
	different now.

./tools/h5ls.c
	Added a space between the object name and class to make the
	output readable when the object name is longer than 24
	characters.

C
1999-04-26 09:43:53 -05:00
Robb Matzke
e987b73f58 [svn-r1216] Changes since 19990423
----------------------

./src/H5B.c
./src/H5D.c
./src/H5F.c
./src/H5Farray.c
./src/H5Fcore.c
./src/H5Ffamily.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5Fmpio.c
./src/H5Fprivate.h
./src/H5Fsec2.c
./src/H5Fsplit.c
./src/H5Fstdio.c
./src/H5Gnode.c
./src/H5HG.c
./src/H5HL.c
./src/H5O.c
        Changed H5F_block_read/write() to take a file transfer
        property list instead of just a parallel I/O mode. This will
        allow us to pass additional parameters to the I/O functions
        without having so many arguments to worry about.

        This fixes a bug I introduced last Friday for parallel HDF5

./src/H5B.c
        Fixed decoding of B-tree keys when iterating through the
        leaves of the B-tree. This fixes a bug for applications that are
        adding new entries to groups and also listing the groups.
1999-04-26 08:33:38 -05:00
Robb Matzke
53da2a393f [svn-r1215] Snapshot 1999-04-24 04:20:40 -05:00
Albert Cheng
bf25eab2f2 [svn-r1214] Changed the third parameter of H5F_mpio_write and H5F_mpio_read back
to "H5D_transfer_t xfer_mode".  H5F_mpio_write/read are i/o driver
calls as low as H5F_low_write.  This class of functions are invoked
with the xfer_mode argument.
1999-04-23 23:46:35 -05:00
Quincey Koziol
a648d47c90 [svn-r1213] Added better error message for attemping to close a default property list. 1999-04-23 17:09:25 -05:00
Quincey Koziol
87f0d37a76 [svn-r1212] Added "./" before h5toh4 in script. 1999-04-23 16:57:19 -05:00
Quincey Koziol
d6eb4d281f [svn-r1211] Took out linefeeds from hyperslab.c and changed a datatype in tselect.c to make
it more portable.
1999-04-23 16:12:02 -05:00
Quincey Koziol
acbad9533e [svn-r1210] Changed parameters for function calls which figure out the buffer size for
H5Dread/H5Dwrite to use to allow the I/O calls to break up a user's buffer into
pieces that are at least as large as the sequence of bytes being written in the
fastest changing dimension.

Also fixed a hard-to-find bug in the hyperslab I/O routines which could cause
data to be corrupted when writing out fields to compound datatype data with
background preservation turned on and hyperslabs which were large enough to
require two I/O passes on a hyperslab block.  A pretty obscure situation, but
it would be worthwhile for users to upgrade to this code in order to be certain
that correct data is being written.
1999-04-23 16:11:27 -05:00
Quincey Koziol
daf4ab5586 [svn-r1209] Handled another signal that the Cray T3E was generating on invalid memory
accesses.
1999-04-23 16:07:42 -05:00
Quincey Koziol
3cdcd9dc88 [svn-r1208] Changed the I/O loops for H5Dwrite/H5Dread to break up a user's buffer into
pieces that are at least as long as the smallest sequence to write/read in the
fastest changing dimension.
1999-04-23 16:07:04 -05:00
Quincey Koziol
fbd8281631 [svn-r1207] Updated compile options for the Cray T3E 1999-04-23 16:05:19 -05:00
Frank Baker
a1e8b8b62e [svn-r1206] RM_H5R.html
Corrected parameter and return types in function prototypes
		and parameter descriptions
	Deleted comments regarding unimplemented functionality in R1.0
		which has since been implemented
	Cleaned up formatting of commands TOC at top of page

References.html
	Corrected parameter and return types in function prototypes
		and in example code
	Deleted comments regarding unimplemented functionality in R1.0
		which has since been implemented
1999-04-23 15:43:12 -05:00
Patrick Lu
f03f167b5a [svn-r1205] changed the projects setting for the toolslib release version. 1999-04-23 13:12:15 -05:00
Robb Matzke
d534a4dd0d [svn-r1204] Changes since 19990415
----------------------

./config/depend.in
	Fixed automatic dependencies. We were storing dependencies for
	*.o files instead of *.lo files after shared libraries were
	added.

./config/gnu-flags
./config/linux-gnulibc1
	Moved `-march=pentiumpro -mcpu=pentiumpro -malign-double' from
	the linux file to this file and caused it to depend on the CPU
	name.  This fixes one of Elena's bugs.

./src/H5B.c
./src/H5Bprivate.h
./src/H5D.c
./src/H5Dprivate.h
./src/H5Dpublic.h
./src/H5F.c
./src/H5Farray.c
./src/H5Fistore.c
./src/H5Fmpio.c
./src/H5Fprivate.h
./src/H5Fpublic.h
./src/H5Gnode.c
./src/H5P.c
./src/H5RA.c
./src/H5Sall.c
./src/H5Shyper.c
./src/H5Smpio.c
./src/H5Spoint.c
./src/H5Sprivate.h
./src/H5Tpublic.h
./test/istore.c
	Added an H5Dget_storage_size() function that reports the
	amount of storage allocated for raw data in a dataset.

	Changed H5D_xfer_* to H5F_xfer_* because these properties are
	more general than datasets. This also allows some of the
	lower-level I/O functions to get this information easier.

./src/H5S.c
./src/H5Sall.c
	Added two new functions H5S_all_read() and H5S_all_write()
	which are optimizations that copy data directly between file
	and memory without having to go through the scatter gather
	step.  This knocks quite a bit of time off the I/O and
	reading/writing entire datasets is a fairly common operation.

./tools/h5ls.c
	Reports the logical size of data, the allocated size of data,
	and the percent utilization.

./MANIFEST
	Removed old pablo files, added new files. Snapshots should now
	start to work again.

./src/H5D.c
./src/H5Fmpio.c
	Removed two warnings signed vs. unsigned comparisons and check
	for overflow.
1999-04-23 07:31:21 -05:00
Robb Matzke
94dd2f5b3d [svn-r1203] Snapshot 1999-04-23 04:19:55 -05:00
Robb Matzke
fa6c38d72f [svn-r1202] Snapshot 1999-04-22 04:20:22 -05:00
Patrick Lu
4e904eb4a3 [svn-r1201] created the tools library project for NT and included them into all the
tools projects as dependents.
1999-04-21 12:40:21 -05:00
Robb Matzke
314fe09f32 [svn-r1200] Snapshot 1999-04-21 04:20:05 -05:00
Dan Wells
78aecae8b5 [svn-r1199] Corrected a problem with file mappings. 1999-04-20 11:10:07 -05:00
Robb Matzke
6b3dba1c92 [svn-r1198] Snapshot 1999-04-20 04:20:16 -05:00
Dan Wells
9711f1be9a [svn-r1197] correcting a problem that causes a compile error on SP 1999-04-19 16:31:10 -05:00
Patrick Lu
fd88ed61a8 [svn-r1196] removed some extra files that did not belong in the zip file. 1999-04-19 12:22:11 -05:00
Robb Matzke
760403e137 [svn-r1195] Snapshot 1999-04-19 04:19:57 -05:00
Robb Matzke
ed9118ff7a [svn-r1194] Snapshot 1999-04-18 04:19:55 -05:00
Robb Matzke
f46440f305 [svn-r1193] Snapshot 1999-04-17 04:20:00 -05:00
Frank Baker
1b071c8e4d [svn-r1192] DDL.html
Removing extraneous file; correct file is ddl.html.
1999-04-16 14:48:19 -05:00
Patrick Lu
68985e9d3c [svn-r1191] moved some code around to fix a crash.
code is surounded by #ifdef WIN32
1999-04-16 14:20:28 -05:00
Patrick Lu
924cb75ba8 [svn-r1190] moved some of the code around to fix a crash in the dll version of the test.
All changes were surrounded #ifdef _HDF5USEDLL
1999-04-16 14:18:46 -05:00
Patrick Lu
1991756aec [svn-r1189] updated the H5Tinit.c 1999-04-16 13:42:00 -05:00
Frank Baker
6adb975282 [svn-r1188] Attributes.html
Minor copy edits.
1999-04-16 10:31:54 -05:00
Frank Baker
de64ec3976 [svn-r1187] H5.intro.html
Clarification in discussion of datatypes.
1999-04-16 10:31:09 -05:00
Robb Matzke
e941becbea [svn-r1186] Snapshot 1999-04-16 04:20:21 -05:00
Dan Wells
6e854491cb [svn-r1185] Using same file for HDF 4 and HDF 5. 1999-04-15 16:37:44 -05:00