Commit Graph

1049 Commits

Author SHA1 Message Date
Paul Harten
2925631a49 [svn-r1114] Purpose:
Bug fix

Problem:
    On Solaris2.5, once the library has been compilied with any type of
    optimization, a bus error comes up in the "dtypes" test.

Solution:
    The problem appears to be in the compilers' version of memcpy() that
    is used when optimized.  Apparently, the same optimization problem
    is not associated with the similar function memmove().  So, as a
    solution to this problem, memmove() is substituted in for memcpy().

Platform tested:
    Solaris2.5
1999-03-03 18:00:22 -05:00
Robb Matzke
9280cf8e04 [svn-r1113] Snapshot 1999-03-02 12:26:40 -05:00
Robb Matzke
116491f0d6 [svn-r1112] Changes since 19990301
----------------------

./INSTALL
	Reorganized and added some additional examples.

./MANIFEST
./aclocal.m4			[NEW]
./configure.in
./configure			[REGENERATED]
./src/H5config.h.in		[REGENERATED]
./bin/ltconfig			[NEW]
./bin/ltmain.sh			[NEW]
	Added tests to determine how to compile shared libraries and
	how to link programs with them before the libraries are
	installed.  Also how to install and uninstall shared
	libraries. The configure step also prints the names of the
	config files it's trying to load for easier debugging.

./bin/config.guess
./bin/config.sub
	Replaced with a newer version from GNU.  The changes we made
	to that file to report `irix6.x' and `FreeBSD' without version
	numbers have been incorporated into configure.in instead.  In
	the future, do not change these two files (see the top of
	configure.in instead). By the way, this update was required to
	get shared libraries working.

./config/linux			[REMOVED]
./config/linux-gnulibc1		[NEW]
./config/linux-gnu		[NEW]
./config/alpha-dec		[REMOVED]
./config/alpha-dec-osf4.0	[REMOVED]
./config/dec-osf4.x		[NEW]
./config/irix5.3		[REMOVED]
./config/irix5.x		[NEW]
./config/irix64			[REMOVED]
./config/freebsd
	Moved config files around to agree with output from the new
	config.guess.  The linux file was split into gnu (RedHat),
	gnulibc1, and gnulibc2 versions. The alpha-dec file was
	removed (I think it was unused) and the alpha-dec-osf4.0 was
	changed to dec-osf4.x. The irix5.3 file renamed to irix5.x and
	the irix64 file was renamed to irix6.x. The freebsd file was
	changed to point to linux-gnulibc1. These changes were tested
	on:

		Linux 2.0
		Linux 2.1
		FreeBSD 3.2
		Irix 5.3
		Irix64 6.2
		Irix64 6.4
		HP/UX 10.20
		OSF1 4.0

./config/alphaev56-dec-osf4.x
./config/irix64
	Added warnings similar to linux/freebsd about using compilers
	with known bugs.

./config/commence.in
./config/conclude.in
./src/Makefile.in
./test/Makefile.in
./testpar/Makefile.in
./tools/Makefile.in
	Added definitions for shared libraries. This has been tested
	on the following systems:

		Linux 2.0
		Linux 2.1
		FreeBSD 3.2
		Irix 5.3
		Irix64 6.2
		Irix64 6.4
		HP/UX 10.20		static only
		OSF1 4.0

	If you want to disable use of shared libraries (you probably
	do for development purposes since it takes a lot longer to
	compile and because you have to run dynamically linked
	programs in a special way if the library hasn't been
	installed) then add `--disable-shared' to the configure
	command line.  This is all documented in the INSTALL file.

./bin/release
	Temprarily commented out the MANIFEST checking when running
	under svf since svf is about to be replaced by a newer
	version.  This change only affects error checking during the
	release process.

./Makefile.dist
./Makefile.in
	Added `make check' which does the same thing as `make _test'
	since the former is endorsed by the GNU coding style and
	people are used to it.  The old `make _test' still works too
	(and so does `make test' if you use GNU make).
1999-03-02 12:15:35 -05:00
Robb Matzke
1f1bfc91bc [svn-r1111] Snapshot 1999-03-02 04:20:34 -05:00
Robb Matzke
b3ddd2cc54 [svn-r1110] Changes since 19990226
----------------------

./INSTALL
	Added instructions for using other compilers on Irix platforms.

./configure.in
./configure		[REGENERATED]
./src/H5config.h.in	[REGENERATED]
./src/H5private.h
	The presence of <sys/sysinfo.h> and <sys/proc.h> is only
	checked on DEC/Alpha because there are too many problems
	including these headers on other systems.

./config/irix6.x
./config/irix64
	Removed `-ansi' and added a comment. Converting an ASCII UTC date
	and time to a time_t value is not defined by ANSI or Posix but
	is available if we don't use `-ansi'.  This allows the dataset
	modification time messages to be read properly by
	H5Gget_objinfo().

./src/H5Tconv.c
	Fixed a compiler warning.

./test/dtypes.c
./test/hyperslab.c
./test/istore.c
	Fixed compiler warnings in printf() statements.
1999-03-01 14:44:32 -05:00
Robb Matzke
90d07791d3 [svn-r1109] Snapshot 1999-02-26 15:08:08 -05:00
Robb Matzke
912c5a0874 [svn-r1108] Changes since 19990225
----------------------

./INSTALL
	Added warnings and a disclaimer about GNU, DEC, Irix64, and NT
	compilers that generate incorrect machine code.

./configure.in
./src/H5private.h
	Detects and includes <sys/param.h> which is needed on FreeBSD
	before <sys/proc.h> even though we only really using anything
	from <sys/proc.h> on the DEC Alpha.

./config/irix64
	Turned off warnings for duplicate definitions from the linker
	because -lnsl on irix has the same stuff in it as -lc.

./config/irix6.x
	Split up the CC and CFLAGS settings like with irix64 so that
	compilers besides `-n32' can be used.

./bin/snapshot
	The snapshots are tagged with names like hdf5-1_1_52 which is
	similar to the way the releases are tagged (cvs doesn't allow
	dots in tags).

./test/dtypes.c
./src/H5private.h
./src/H5Tconv.c
	Fixed some alignment violations on the DEC when using high
	optimization levels. The DEC incorrectly optimizes certain
	memcpy() and memmove() calls when the source argument is not
	word aligned if the call looks like it's copying an atomic
	data type.

./test/hyperslab
	Worked around code generation bugs in the Irix64 Mongoose 7.00
	compiler by casting some `unsigned long' values to `unsigned'
	in an expression.

./src/H5Ocomp.c
	Fixed a place where %d was used to print a size_t.
1999-02-26 14:58:14 -05:00
Robb Matzke
efb18f8785 [svn-r1107] Snapshot 1999-02-26 04:18:56 -05:00
Quincey Koziol
f7bbda2afb [svn-r1106] Cleaned up a few compiler warnings, etc. 1999-02-25 18:36:15 -05:00
Quincey Koziol
252e4dfc5f [svn-r1105] Removed flag which was stopping the HDF4 library from being tested, now that
I've rolled back the installed library on hawkwind to HDF4.1r2.
1999-02-25 16:52:30 -05:00
Albert Cheng
3eecc727e0 [svn-r1104] Corrected a typo in the "ld warning suppress" which has a peculiar
syntax.
1999-02-25 14:00:21 -05:00
Paul Harten
aea248e1de [svn-r1103] Purpose:
Bug fix

Problem:
    This bug is coming up as a bus error on some machines
    (fuga, spank) in the "fillval" test.  At higher levels of
    optimizations, H5detect gets rid of a statement which is to
    be used in alignment tests.  Because of this, SIGBUS is never
    delivered, and the alignment constraints of the machine are
    not recorded correctly by H5detect in H5Tinit.c.

Solution:
    By preventing the optimizer from getting rid of the statement
    to be used in the alignment tests, SIGBUS is delivered as
    expected, and the alignment constraints of the machine are
    recorded correctly.

Platform tested:
    Irix6.5(fuga), HPUX10.20(spank), Solaris2.5(Kryten)
1999-02-25 13:55:37 -05:00
Robb Matzke
56c7fb0df1 [svn-r1102] Snapshot 1999-02-25 10:46:53 -05:00
Robb Matzke
17535fbc17 [svn-r1101] Changes since 19990219
----------------------

./config/irix64
	The old (-32) compiler is now supported by setting envrionment
	CC='cc -32'. The -64 compiler is the default or you can set
	CC='cc -64'.

./src/H5A.c
./src/H5D.c
./src/H5F.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5G.c
./src/H5I.c
./src/H5Ocomp.c
./src/H5P.c
./src/H5R.c
./src/H5RA.c
./src/H5T.c
./src/H5Tbit.c
./src/H5Tconv.c
./src/H5Z.c
./src/H5detect.c
./test/big.c
./test/cmpd_dset.c
./test/dsets.c
./test/dtypes.c
./test/enum.c
./test/mtime.c
./test/ohdr.c
./tools/h5ls.c
	Fixed lots of warnings on Irix64. Mailed a few remaining
	warnings in H5S to Quincey and a few in the dumper to
	Ruey-Hsia.
1999-02-25 10:40:27 -05:00
Robb Matzke
d8b07ce1d0 [svn-r1100] Snapshot 1999-02-25 04:19:18 -05:00
Patrick Lu
6a1ee17dc0 [svn-r1099]
added the alpha settings to the enum and enumdll projs
1999-02-24 13:04:12 -05:00
Robb Matzke
6dc577e163 [svn-r1098] Snapshot 1999-02-23 10:48:29 -05:00
Robb Matzke
7962652c94 [svn-r1097] Added ./config/unicosmk 1999-02-23 10:42:30 -05:00
Robb Matzke
b0b1bbd847 [svn-r1096] Snapshot 1999-02-23 10:38:01 -05:00
Robb Matzke
af107b5e17 [svn-r1095] Snapshot 1999-02-23 04:19:03 -05:00
Patrick Lu
f3a1b93ee4 [svn-r1094]
added the h5toh4 project into the zip
1999-02-22 15:00:41 -05:00
Patrick Lu
466fbe12bf [svn-r1093]
removed a file from the zip
1999-02-22 14:56:31 -05:00
Patrick Lu
6b1a9660ed [svn-r1092]
added some test batch files, updated the config file and updated the project file
1999-02-22 14:55:06 -05:00
Robb Matzke
67c0cdea0a [svn-r1091] Snapshot 1999-02-22 04:18:35 -05:00
Patrick Lu
7009195686 [svn-r1090]
fixed the H5Tinit.c so it had the correct endians.  I must have been using
the wrong H5Tinit.c file for the past few weeks.  Also added a few comments
to the h5config.h
1999-02-21 15:01:27 -05:00
Patrick Lu
ac8c4177aa [svn-r1089] changed the call to open to HDopen since NT needs that 0_BINARY flag
in it to open binary files.
1999-02-21 14:55:24 -05:00
Robb Matzke
2052d2edae [svn-r1088] Snapshot 1999-02-21 04:18:36 -05:00
Robb Matzke
e2e5476fa5 [svn-r1087] Changes since 19990218
----------------------

./src/H5F.c
./src/H5private.h
./src/H5Ipublic.h
./src/H5O.c
	Fixed a rather nasty bug with file closing that caused the
	file boot block to be updated incorrectly, effectively
	truncating the file.  The bug I fixed was triggered by:

	    1. Create a file, F
	    2. Open an object, X
	    3. Close file F
	    4. Reopen file F for read/write.
	    5. Create and close some objects
	    6. Close file F
	    7. Close library (exit).

	Step 3 pended the close because object X is still open, but
	the file ID was removed from the H5I_FILE ID group. Step 4
	created a new file because it didn't see any matching file on
	the H5I_FILE ID group.  Step 5 extends the file. Step 6 writes
	the new file boot block to disk. Step 7 closes object X and
	completes the close from step 3, writing the old boot block
	information to disk.

	The new behavior is that step 3 moves the file from the
	H5I_FILE group to the H5I_FILE_CLOSING group. Step 4 searches
	both groups and finds the file. Step 5 extends the file using
	the same H5F_file_t struct as step 3. Step 6 closes the H5F_t
	struct opened in step 3 but not the H5F_file_t struct shared
	by steps 1 and 3. Step 7 closes object X which closes the
	H5F_file_t from step 1, flushing the boot block which was
	shared by all steps.

./src/H5F.c
	Added some bulletproofing to file reference counting and
	removed comments which no longer apply.  Added H5F_flush_all()
	and H5F_close_all() which apply to all files.

./src/H5A.c
./src/H5D.c
./src/H5F.c
./src/H5G.c
./src/H5I.c
./src/H5Iprivate.h
./src/H5R.c
./src/H5RA.c
./src/H5S.c
./src/H5T.c
	Added the new H5I_free_t data type to describe the function
	type to be passed as the `free_func' argument to
	H5I_init_group().

./src/H5I.c
	Bulletproofed the object removal functions. Removed comments
	which no longer apply. Changed global variable names so they
	don't violate the naming scheme. Added H5I_debug() that prints
	the contents of an ID group.  Removed H5I_inc_ref() because it
	isn't used. Reindented a couple of functions.

./src/H5.c
./src/H5G.c
./src/H5Ipublic.h
	Changed H5I_MAXID to H5I_NGROUPS to better relect the fact
	that it's the total number of valid ID groups.

./src/H5Shyper.c
	Changed hyperslab offset arrays to signed quantities to get
	rid of warnings on DEC cluster.

./src/H5Flow.c
./src/H5Fprivate.h
	Changed the objno argument of H5F_addr_pack() to be unsigned
	to get rid of warnings on DEC cluster.
1999-02-20 11:18:51 -05:00
Robb Matzke
35a62b068b [svn-r1086] Snapshot 1999-02-20 04:18:37 -05:00
Albert Cheng
b16c146160 [svn-r1085] Added platform T3E. 1999-02-19 17:41:40 -05:00
Albert Cheng
1585545c5a [svn-r1084] Added configuration for platform T3E whose OS is called unicosmk. 1999-02-19 17:41:15 -05:00
Paul Harten
9da0d56695 [svn-r1083] Purpose:
Bug fix

Problem:
    Currently, when --enable_preduction --disable-debug modes are
    selected during configure, the optimization level scheduled is
    -O (-O2).  Unfortunately, this level of optimization relaxes
    too much the alignments necesary for the building, and testing
    of the hdf5 library.

Solution:
    Lower the level of optimiztion to -O1.  This still maintains
    required alignments.

Platform tested:
    Irix6.5(fuga)
1999-02-19 13:03:05 -05:00
Robb Matzke
619998a82b [svn-r1082] Snapshot 1999-02-19 04:18:55 -05:00
Robb Matzke
aedc78af6b [svn-r1081] Changes since 19990218
----------------------

./src/H5Shyper.c
	Changed hyperslab offset arrays to signed quantities to get
	rid of warnings on DEC cluster.

./src/H5Flow.c
./src/H5Fprivate.h
	Changed the objno argument of H5F_addr_pack() to be unsigned
	to get rid of warnings on DEC cluster.
1999-02-18 14:38:45 -05:00
Robb Matzke
ef9c22ab61 [svn-r1080] Disabled detection of hdf4 during the configuration because hawkwind
has old enough hdf4 libraries that the h5toh4 test always fails.
1999-02-18 11:55:00 -05:00
Robb Matzke
996bf8061a [svn-r1079] Snapshot 1999-02-18 11:53:20 -05:00
Robb Matzke
37cfaf1665 [svn-r1078] Changes since 19990215
----------------------

./src/H5.c
	Fixed more dependency problems in H5_term_library(). There was
	a bug in the previous version that could cause the wrong EOF
	marker to be written to the boot block under certain
	circumstances. Hopefully this fixes it although I don't ready
	access to a test case (Mark Miller will test it).

./src/H5F.c
./src/H5Fprivate.h
	Added an H5F_close_all() that is similar to
	H5F_term_interface() but which doesn't close the
	interface. Files that don't have open object headers are
	closed, others are delayed until all object headers close. All
	files are flushed.

./src/H5ACprivate.h
./src/H5Bprivate.h
./src/H5Dprivate.h
./src/H5Eprivate.h
./src/H5Fprivate.h
./src/H5Gpkg.h
./src/H5Gprivate.h
./src/H5Gpublic.h
./src/H5HGprivate.h
./src/H5HLprivate.h
./src/H5Iprivate.h
./src/H5MFprivate.h
./src/H5MMprivate.h
./src/H5Oprivate.h
./src/H5Pprivate.h
./src/H5Ppublic.h
./src/H5RAprivate.h
./src/H5Sprivate.h
./src/H5Spublic.h
./src/H5Tpkg.h
./src/H5Tprivate.h
./src/H5Tpublic.h
./src/H5Vprivate.h
./src/H5Zprivate.h
./src/H5private.h
./src/H5public.h
	Reindented after __DLL__ was added.
1999-02-18 11:21:34 -05:00
Robb Matzke
901051cecb [svn-r1077] Removed -*- makefile -*- 1999-02-18 11:21:01 -05:00
Robb Matzke
639bbed7d0 [svn-r1076] Snapshot 1999-02-18 04:18:57 -05:00
Albert Cheng
9db8b51bda [svn-r1075] Fixed a typo of a missing ; 1999-02-17 13:55:15 -05:00
Paul Harten
04fd81482d [svn-r1074] Purpose:
Bug Fixes

Problem:
    Warnings given during compilation on some machines.

Solution:
    Take care of various Compiler Warnings such as:
        1) uninitialized variables;
        2) unreachable statements.

Platforms tested:
    Solaris2.5, Linux, Irix6.5
1999-02-17 13:43:20 -05:00
Albert Cheng
6301b4c4ed [svn-r1073] Updated with recent changes. 1999-02-17 09:11:52 -05:00
Robb Matzke
bc8752755c [svn-r1072] Snapshot 1999-02-17 04:18:59 -05:00
Albert Cheng
a3a9df3657 [svn-r1071] Moved the MPI test to a file of its own (t_mpi.c) for future addition
of other MPI tests.
Changed return code tests from comparing with FAIL to with 0.
Updated MANIFEST for the addition of a new file.
Tested in O2k.
1999-02-16 23:39:22 -05:00
Albert Cheng
8ed6e88543 [svn-r1070] Updated to do auto-configuration for parallel tests (testpar)
too.  Also used mpi function calls to test mpi libraries.
Tested on O2K platform.
1999-02-16 18:07:36 -05:00
Robb Matzke
bbc5307819 [svn-r1069] Snapshot 1999-02-16 04:19:00 -05:00
Albert Cheng
16c346bad4 [svn-r1068] Completed the previous to do auto-configure for parallel tests too.
Also removed the pre-defined "USE_PAUSE" since it should be invoked
only in individual cases, rather than as defaults.
Tested in O2K.
1999-02-15 16:15:33 -05:00
Patrick Lu
b35ddccf5d [svn-r1067] fixed a problem with the enumdll proj(release) 1999-02-15 13:24:12 -05:00
Patrick Lu
2a64e998b8 [svn-r1066] added 3 new projects into the file. enum, enumdll and h5toh4.
currently the h5toh4 is not included in the all project since it has
some compilation problems.
1999-02-15 13:03:52 -05:00
Robb Matzke
c22bac0d20 [svn-r1065] Changes since 19990121
----------------------

./configure.in
./acconfig.h
./configure		[REGENERATED]
./src/H5config.h.in	[REGENERATED]
./src/H5public.h
./src/H5Omtime.c
	Check for <stddef.h>

	Checks for `__tm_gmtoff' in `struct tm' because old versions
	of GNU libc are different than recent versions. This fixes the
	failing mtime test.

./bin/config.guess
./config/freebsd2.2.7	[REMOVED]
./config/freebsd	[ADDED]
	Changed the name so it works with all versions of FreeBSD.

./src/H5.c
	Moved H5F after H5T and H5G in H5_term_library() to satisfy
	dependencies.

./src/H5G.c
	Fixed a bug that caused H5Gcreate() to fail if the group name
	had trailing slashes.

./src/H5Gpublic.h
	Changed `group_name' to `name' in a prototype.

./src/Makefile.in
	Dynamic library on Linux, but needs for work to be generally
	useful.

./src/H5HG.c
./src/H5HGprivate.h
	Fixed alignment problems when using old GCC compilers (like
	the one shipped with RedHad Linux).

./tools/h5ls.c
	Fixed a bug where the contents of the root group could be
	listed twice if there was a link back to the root
	group. Similarly for groups that are mentioned on the command
	line.

	Fixed a bug where unknown types were printed with a random
	type class number.

./src/H5T.c
./src/H5Tconv.c
./src/H5Tprivate.h
	Fixed O(log N) conversion bugs.
1999-02-15 12:38:04 -05:00