Commit Graph

760 Commits

Author SHA1 Message Date
HDF Tester
5ab3c53745 [svn-r14864] Snapshot version 1.9 release 4 2008-04-27 06:18:36 -05:00
HDF Tester
a0136eda8d [svn-r14849] Snapshot version 1.9 release 3 2008-04-20 06:32:00 -05:00
HDF Tester
0d68a748cc [svn-r14832] Snapshot version 1.9 release 2 2008-04-13 06:56:56 -05:00
Albert Cheng
6e9d2f8099 [svn-r14812] Description:
The development branch was changed to default enable-production for the
v1.8 release but had not switched back to default development mode.

Solution:
Changed it back to --disable-production (aka development) as the default.
Also ran bin/reconfigure to update configure.

Tested:
Smirom only.  No h5committest since the change is trivial and if it works
at smirom, it should work everywhere else.
2008-04-08 11:30:43 -05:00
HDF Tester
584b7f16d6 [svn-r14799] Snapshot version 1.9 release 1 2008-04-06 05:05:45 -05:00
Vailin Choi
04c174bde0 [svn-r14789] Add handling for external link:
1. src/H5F.c, src/H5system.c: formulate path for mainfile
2. src/H5Lexternal.c: add search for target file
3. configure.in: add H5_HAVE_WINDOW_PATH
4. test/links.c: add tests for external link
2008-04-02 13:29:17 -05:00
HDF Tester
18646cdfc6 [svn-r14759] Snapshot version 1.9 release 0 2008-03-20 05:22:22 -05:00
Scott Wegner
a61407161d [svn-r14723] Purpose: Fix typo in our configure CYGWIN patch
Description:
Previously, we created a patch for Cygwin to skip checking for the timezone variable.  We made this change in both the trunk and hdf5_1_8 branch.  However, in the branch version, we seemed to have used wrong quotes in our check ('uname' rather than `uname`).  This corrects the typo

Tested:
Cygwin on WinXP
2008-03-12 09:48:45 -05:00
Scott Wegner
ff9a968785 [svn-r14607] Purpose: Apply Cygwin patch to trunk
Description:
This is the same patch that Mike McGreevy helped me with on the 1.8 branch.  The latest cygwin DLL has trouble with the global timezone variable.  Now in configure, we target CYGWIN with a case statement, and avoid the problem.

Tested:
Cygwin on WinXP
2008-02-19 08:32:19 -05:00
Elena Pourmal
349702f97d [svn-r14547] Maintenance: Changed version number to 1.9.0 as we agreed on the HDF5 developers meeting
on February 8, 2008; modified docs files to point to the documentation snapshots.
2008-02-11 14:09:52 -05:00
Elena Pourmal
2b51b8a74b [svn-r14526] Maintenance: Changed version number in the trunk to be 1.9.0-snap0 2008-02-06 21:26:45 -05:00
Elena Pourmal
d5ef396e1d [svn-r14484] Maintenance: Changed version number to 1.8.0 in preparation for the release. 2008-02-01 12:23:58 -05:00
Elena Pourmal
7ec36c4a3d [svn-r14460] Maintenance: Created rc2 tar ball and released to the ftp server;
Changed version number to hdf501.8.0-rc3 using bin/h5vers script
2008-01-27 11:41:14 -05:00
Elena Pourmal
c96f1e9f34 [svn-r14448] Maintenance: Released version hdf5-1.8.0-rc1 to the public fTP server and changed
the version to hdf5-1.8.0-rc2 using bin/h5vers script.

Platforms tested: ran test for hdf5-1.8.0-rc1 source on kagiso after craeting public tar ball.
2008-01-21 12:15:43 -05:00
Albert Cheng
1feea1cfc1 [svn-r14415] Changed default to enable-production to prepare for formal release.
Tested: kagiso only.  Not need for h5committest since it is a configure simple
change.  If it works correct in kagiso, it should work the same for all other
machines.
2008-01-15 09:32:19 -05:00
Quincey Koziol
d6e767c21d [svn-r14402] Description:
Add work-around to allow reading files that were produced with a buggy
earlier version of the library, which could create objects with the wrong
object header message count.  There is now a configure flag
"--enable-strict-format-checks" which triggers a failure on reading a file
with this sort of corruption (when enabled) and allows the object to be read
(when disabled).  The default value for the "strict-format-checks" flag is
yes when the "debug" flag is enabled and no when the "debug" flag is disabled.

	Note that if strict format checks are disabled (allowing objects with
this particular kind of corruption to be read) and the file is opened with
write access, the library will re-write the object header for the corrupt
object with the correct # of object header messages.

	This closes bugzilla bug #1010.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-01-13 00:37:00 -05:00
Elena Pourmal
081a7cccf6 [svn-r14290] Maintenance after beta5 release: changed version number to 1.8.0-rc1 (stands for
1.8.0 release candidate # 1)

Platforms tested: none, minor change with the known script.
2007-11-26 12:31:24 -05:00
Elena Pourmal
a8261deceb [svn-r14288] Maintenance for beta5 release: vesrion number was changed to 1.8.0-beta5 by running
bin/h5vers script

Platforms tested: kagiso (minor change)
2007-11-26 12:09:46 -05:00
Albert Cheng
b4f4670c81 [svn-r14270] Description:
Removed the stream-vfd from the basic library code.
(The stream-vfd source files are not removed yet but the MANIFEST has been
updated to NOT release those stream-vfd source files.)

Platforms tested:
Kagiso and smirom.
Then test the release tar ball in kagiso.
2007-11-19 22:43:58 -05:00
Elena Pourmal
fad8e0440d [svn-r14215] Maintenance after 1.8.0-beta4: changed version number to 1.8.0-beta4post1 2007-10-21 17:18:13 -05:00
Elena Pourmal
deaf99ab7f [svn-r14213] Maintenance for beta4 release: changed version number to be 1.8.0-beta4
Platforms tested: kagiso only (trivial change using bin/h5vers script)
2007-10-21 17:11:17 -05:00
Quincey Koziol
cf56cd041d [svn-r14211] Description:
Remove --enable-hdfv1_6 configure flag, now that all dependencies on it
have been removed and new --with-default-api-version=[v16|v18] and
--disable-deprecated-symbols flags have taken its place.

	Update types in bin/trace so that bin/reconfigure runs cleanly.

	Run bin/reconfigure to regenerate configure script, along with
other associated files, etc.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
2007-10-18 13:57:08 -05:00
Quincey Koziol
cdd4606430 [svn-r14097] Description:
First real use of API versioning code, H5E routines switched to use
new API versioning scheme.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-21 16:08:27 -05:00
Raymond Lu
6262a14f2e [svn-r14096] There're 3 changes in this checkin as below:
1. In H5Dwrite and H5Dread, let the data buffer point to a fake address if the application passes
     in an empty buffer.  This is mainly for MPIO programs that some processes may not have any 
     data to write or read but still participate the I/O.  This solution solves some MPI's problem
     like the ChaMPIon on tungsten which doesn't support empty buffer.
  2. The ChaMPIon on tungsten doesn't support complex derived MPI data type correctly and collective
     I/O when some processes don't have any data to write or read correctly.  Detect the compiler
     "cmpicc" in the system-specific config file and set the variables for these two cases to false.
     The PHDF5 library already has set up a way to switch collective chunked I/O to independent 
     under these two cases.
  3. A bug fix - During the work of the optimization for compound data I/O, the case for switching
     collective chunked I/O to independent I/O was leftout.  Fixed it by adding I/O caching to it in
     H5D_multi_chunk_collective_io in H5Dmpio.c.

Tested on tungsten, cobalt, and kagiso for parallel; on linew and smirom for serial.
2007-08-20 16:55:38 -05:00
Mike McGreevy
85ae38b380 [svn-r14061] Purpose: Removing --disable-hsizet flag from configure.
Description: This flag causes problems for users and is difficult to
             support in the library. It has been removed. (see Bug 708).

Tested: kagiso, linew
2007-08-09 14:46:44 -05:00
Mike McGreevy
753a60f184 [svn-r14047] Purpose: Adding H5_HAVE_SIGLONGJMP macro to configure.
Description: Configure will now detect the presence of the 'siglongjmp' function. If present,
             the macro H5_HAVE_SIGLONGJMP will be defined in src/H5pubconf.h.

Tested: kagiso, smirom, linew
2007-08-07 16:01:15 -05:00
Elena Pourmal
565e1904fb [svn-r14027] Maintenance: changed version number to 1.8.0-beta3post1 using bin/h5vers script 2007-07-30 14:59:05 -05:00
Elena Pourmal
2a4c252386 [svn-r14025] Maintenance: Changed version number to 1.8.0-beta3, put warning into INSTALL file for the 1.8.0-beta* releases
Tested: Release tar ball is available on the frp server, It was tested on kagiso with the PGI compilers.
2007-07-30 14:55:28 -05:00
Vailin Choi
d65d8084ff [svn-r14023] Purpose:
reorganization.

Description:
move the h5stat tool into its own directory.

Platform tested:
kagiso.
2007-07-27 12:36:36 -05:00
Quincey Koziol
4a5b97b930 [svn-r14022] Description:
Remove stray reference to "group revision" configure flag

    Remove Windows-specific EOL characters from src/H5FDwindows.c

    Add some missing types to bin/trace

    Re-run bin/reconfigure script to regenerate information after changes above.

Tested on:
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (linux)
    Solaris/32 2.10 (linew)
2007-07-26 16:33:10 -05:00
Quincey Koziol
b566d21649 [svn-r13972] Description:
Add --with-default-api-version configure flag.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 21:42:17 -05:00
Quincey Koziol
b4e029c70b [svn-r13971] Description:
Add --enable-deprecated-symbols configure option, to allow users to
remove deprecated public API symbols at configure time.

	Add bin/make_vers script to bin/reconfigure actions.

	Run bin/reconfigure to regenerate autotool components.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 17:01:35 -05:00
Mike McGreevy
1d7e8f9dee [svn-r13928] Purpose: 1) Moving H5_CXX_HAVE_OFFSETOF macro to src/H5pubconf.h file.
2) Removing configuration of c++/src/H5cxx_pubconf.h file.

Reasoning: the additional pubconf file caused compilation complications, this is cleaner.

Tested:  kagiso, smirom
2007-06-29 15:52:56 -05:00
Mike McGreevy
58467956ba [svn-r13925] Purpose: intermediate checkin for offsetof fix for PGI compiler.
Description: added new configuration to generate a pubconf file
             in the c++/src directory, H5cxx_pubconf.h. When C++
             compiler recognizes 'offsetof', the macro 
             H5_CXX_HAVE_OFFSETOF is defined in the new
             pubconf file.

tested: kagiso, smirom
2007-06-28 15:36:08 -05:00
Elena Pourmal
fc42567dbe [svn-r13913] Maintenance after beta2 release: used bin/h5vers script to change version number to 1.8.0-beta2poat1 2007-06-25 17:42:04 -05:00
Elena Pourmal
3854a37d83 [svn-r13909] Mainetnance before createing beta2 tar ball
Changed version number to 1.8.0-beta2
2007-06-25 17:11:24 -05:00
Elena Pourmal
2bdd81b3a2 [svn-r13893] Maintenance: Bump up version to beta2pre2 after creating a tar ball for remote testing 2007-06-20 11:58:55 -05:00
Elena Pourmal
08ce1e920d [svn-r13892] Maintenance: Changed library version to beta2pre1 in preparation for remote testing
for the HDF5 1.8.0-beta2 release
Platforms tested: kagiso (small change done by bin/h5vers script)
2007-06-20 11:07:48 -05:00
Mike McGreevy
9238d327a3 [svn-r13865] Purpose: Adding a new macro, H5_HAVE_OFFSETOF.
Description: When the compiler has the __offsetof__ extension, the
             H5_HAVE_OFFSETOF macro will be defined. When the compiler
             does not have the extension, the macro will remain undefined.

Tested: kagiso
2007-06-14 09:18:46 -05:00
Quincey Koziol
d3a0386d36 [svn-r13850] Description:
Hook "default VFD" configure macros into library.

	Also, make "default VFD" default to sec2 instead of nothing.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Mac OS X/32 10.4.9 (amazon)
2007-06-11 13:51:20 -05:00
Mike McGreevy
b442ea5e78 [svn-r13849] Purpose: adding a --with-default-vfd= flag to configuration.
Description:   this flag will define the macro H5_DEFAULT_VFD in src/pubconf.h
               and set it to be either H5FD_SEC2 or H5FD_STDIO, depending on the
               value set with the configuration flag (either sec2 or stdio).

Tested:        kagiso, smirom, linew
2007-06-11 08:35:43 -05:00
Mike McGreevy
9d5336acb2 [svn-r13846] Purpose: To remove changes from version #13839 (regarding DEFAULT_VFD).
Description: Changes made during this checkin need to be greatly
             modified, so I'm removing them now rather than leaving them
             in and fixing them later.
2007-06-08 08:12:13 -05:00
Mike McGreevy
58c565aee7 [svn-r13839] Purpose: creation of a DEFAULT_VFD macro in the test/Makefile.
Description:   a new configure flag has been created that will now set a macro
               in the test/Makefile. The flag is with-default-vfd=. When set to
               a virtual file driver (e.g. "--with-default-vfd=sec2"), the macro
               DEFAULT_VFD will hold this value.

Tested:        kagiso, smirom, linew
2007-06-07 16:42:40 -05:00
Raymond Lu
1280f90f81 [svn-r13829] Some systems (only SGI Altix ProPack 4 discovered so far) doesn't return correct
file size from MPI_File_get_size.  Bypass this problem by replacing it with
stat.  Add an option --disable-mpi-size in configure to indicate this function
doesn't work properly.  Add a test in testpar/t_mpi.c, too.  If it returns wrong
file size, print out a warning.

Tested on kagiso (parallel) because already tested the same change to v1.6 on 
several platforms (kagiso, cobalt, copper, and sol).
2007-06-02 13:19:36 -05:00
Quincey Koziol
bdcbada3f2 [svn-r13814] Description:
Change back to clearing memory buffers by default, but give users option
to disable this, for performance reasons (--disable-clear-file-buffers).

    Also, add configure option (--enable-using-memchecker) to conveniently
control making the library "play nice" with memory checking tools like valgrind
and purify.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    Linux/32 2.6 (kagiso)
2007-05-29 15:02:34 -05:00
Albert Cheng
83d4f43d04 [svn-r13716] updated the help message of the --enable-debug to reflect its default now depends
on the setting of  --enable-production.
2007-04-30 22:38:52 -05:00
Albert Cheng
2b807f7fdd [svn-r13703] Feature:
Change --enable-debug default to no if producton is enabled.

Platform tested:
kagiso just doing configure with various combinations of option and varified the
output.
2007-04-27 09:56:33 -05:00
HDF Tester
f68c5d9849 [svn-r13692] Snapshot version 1.8 release 0 (beta1post0) 2007-04-23 09:55:02 -05:00
Quincey Koziol
a16b402a6f [svn-r13685] Description:
Update the version string to "1.8.0-beta1post0"
2007-04-18 15:36:56 -05:00
Quincey Koziol
4fee3d360c [svn-r13683] Description:
Change the release string for the beta1 release, so the tag in subversion
is correct.
2007-04-18 15:30:58 -05:00
Albert Cheng
4b716c38b8 [svn-r13633] Purpose
New feature

Description:
Added test scripts to test the compiler scripts (h5cc, h5fc and h5c++)

Tested platform:
Kagiso (serial and pp)
2007-04-11 00:17:13 -05:00
Raymond Lu
3431f74c43 [svn-r13588] A support of files bigger than 2GB for STDIO driver. Configure will
check if fseeko is available.  Using it instead of fseek can support
big files because the offset is of type off_t not long int.  Also 
added the test for STDIO in big.c.
2007-04-04 14:59:00 -05:00
Albert Cheng
c4bbce8be1 [svn-r13523] Description
Switch the default setting for configure from --enable-production/--disable-debug
to --disable-production/--enable-debug.

Platform Tested:
In kagiso with fortran and C++.  No commit test because changes
happened in configure and it is straight forward.
2007-03-16 18:26:30 -05:00
HDF Tester
25bb6f5dd8 [svn-r13476] Snapshot version 1.8 release 0 (alpha6snap2) 2007-03-08 14:09:19 -05:00
Mike McGreevy
2996c917af [svn-r13475] There's a configure issue linking szip's shared libraries when running on kagiso.
The static szip libraries are working as intended, but when shared szip 
libraries are present and intended for use they cannot be opened. A check 
has been implemented to test if shared szip libraries are functional on 
current platform. If they are not, and the user is trying to use them, 
szip is now disbaled and the user is informed.

This issue occurs on kagiso, and the resolution was tested on kagiso.
2007-03-08 11:57:36 -05:00
Raymond Lu
c8ba250a1e [svn-r13432] Changed the detection of alignment requirement for Direct I/O from configuration to run-time
detection in H5FD_direct_open in H5FDdirect.c.
2007-02-28 11:54:50 -05:00
Albert Cheng
55ebd053d4 [svn-r13355] Updated copyright notice to THG version.
Changed support email address to help@hdfgroup.org.

Tested: Just visual verification since they are
2007-02-20 15:31:14 -05:00
HDF Tester
146dc710d8 [svn-r13276] Snapshot version 1.8 release 0 (alpha6snap1) 2007-02-11 00:52:21 -05:00
James Laird
affdaa04b5 [svn-r13247] Replaced /bin/rm in configure with just rm. This should have no effect on any
platform, since configure already uses rm, but it will prevent a bug in the
(bizarre) case that a system has rm somewhere other than /bin.

Tested on smirom and kagiso.
2007-02-06 13:50:04 -05:00
Albert Cheng
0773699692 [svn-r13225] Purpose: bug fix.
Description:
The lone colon test left behind the a.out file.  Added a /bin/rm to clean it up.

Platform tested:
Kagiso only since it is a trivial change.
2007-01-30 16:23:30 -05:00
HDF Tester
55d4ec6ebf [svn-r13216] Snapshot version 1.8 release 0 (alpha6snap0) 2007-01-29 10:58:07 -05:00
Albert Cheng
f94e51f7c1 [svn-r13208] Changed the minor release string to alpha6snap0 for pre-alpha6 snapshot releases. 2007-01-27 11:15:58 -05:00
James Laird
73b8819a42 [svn-r13198] Fiddled with the syntax of the configure test for srcdir="foo", which should
hopefully fix problems on copper and duty.

Tested on copper, duty, kagiso, Cygwin.
2007-01-25 10:30:53 -05:00
HDF Tester
dcd346df62 [svn-r13195] Snapshot version 1.8 release 0 (alpha5snap0) 2007-01-25 02:35:44 -05:00
Albert Cheng
b6461fc56e [svn-r13184] Changed release version to alpha5snap0 to restart snapshot release.
Platforms tested:
Eyeballed the svn diff output.  Looked good.
2007-01-23 17:57:33 -05:00
James Laird
59eccdaf69 [svn-r13181] Added a configure check to prevent a failure on Cygwin.
It seems that while Cygwin supports the time command, it has trouble with
the syntax
srcdir="../../hdf5/test" time ./testhdf5
and complains.
The solution is to test the above case in configure and not to use the time
command if it fails; Cygwin is fine with
srcdir="../../hdf5/test"  ./testhdf5

Tested on Cygwin and kagiso.  This feature shouldn't be a major compatibility
problem since every platform but Cygwin is already fine with the current
syntax.
2007-01-23 12:29:45 -05:00
Quincey Koziol
7072d7103d [svn-r13138] Description:
Auto-detect the support for the posix_memalign routine and disable
the direct I/O VFD if posix_memalign is not supported.  This should allow
direct I/O to be auto-detected and disabled on FreeBSD.  (Direct I/O itself
works fine, but doesn't have the alignment requirements on FreeBSD that it
has on Linux, so the code would have to be re-worked to not use posix_memalign
and we don't need to support that right now).

Tested on:
	FreeBSD/32 6.1 (duty)
	Linux/32 2.4 (kagiso)
2007-01-12 14:32:34 -05:00
Elena Pourmal
6b156d43a9 [svn-r13080] Description:
Maintenance for the HPUX 11.23 platform.

Problem:
	C++ shared libraries are not supported for the 64bit mode (+DD64 compiler flag)

Solution:
	Disable shared C++ library when +DD64 flag is detected.

Platforms tested:
	sirius (HPUX 11.23 at UMKC) and kagiso
2006-12-20 10:22:54 -05:00
James Laird
6b5a918b1e [svn-r12929] Hopefully this really is a fix for the tg-login errors.
The version of libtool used by HDF5 isn't directly affected by the reconfigure
script; instead, libtoolize --force must be used by hand.  Libtool was the
source of the problem, so rolling its version back to 1.5.14 should solve the
issue (at least temporarily).

Reconfigure should still work on both heping and kagiso.

Tested on heping, kagiso, and tg-login3.
2006-11-16 15:44:35 -05:00
James Laird
911e79b273 [svn-r12887] A fix for linking issues.
Should disable linking against shared libraries in Fortran for compilers that
don't support shared libraries.

Should also fix problem when the wrong Fortran file extension was specified.

If these changes don't solve the Daily Test issues, I'll look at backing out
the autotool version change until I have time to fix them.

Tested on heping, kagiso, juniper.
2006-11-10 14:56:04 -05:00
James Laird
227a79d551 [svn-r12886] Fix (hopefully) for last night's failures on tg-login3.
It seems that the latest version of libtool is linking against shared versions
of the szip libraries in Fortran, rather than the static versions.  ifort
doesn't support shared libraries at all.

To solve the problem, we avoid shared libraries entirely unless we're
building shared Fortran libraries ourselves.

If libtool always behaves like this now, it may cause similar problems on
other machines.  If you notice that a machine is breaking when it links against
a shared library, let me know.

Tested on kagiso; nothing new is broken.  If Albert has time this afternoon
I'll ask him to test on tg-login3 as well.
2006-11-09 12:39:33 -05:00
Raymond Lu
8e0a4a03c0 [svn-r12870] Add a new macro H5_HAVE_DIRECT_ALIGN in configure.in. Some systems like copper and sleipnir
doesn't require alignment for Direct I/O.  If this's true, write or read data just like sec2
does.
2006-11-06 17:17:46 -05:00
James Laird
de383a7edf [svn-r12741] Added support for direct I/O to check-vfd. The direct VFD is only tested
if it is enabled.

Added Direct VFD status to the configure summary.

Removed a line left over from pablo support.  Oops!
2006-10-10 15:47:24 -05:00
Raymond Lu
65d30cc9c3 [svn-r12739] Added Direct I/O driver to VFD. It's only supported by SGI Altix (cobalt). There's a configure
option --enable-direct-vfd/--disable-direct-vfd to enable/disable Direct I/O support.  The default
is enabled.  There's a small test in test/vfd.c.  Another way to test it is to set environment
variable HDF5_DRIVER to "direct" and run "make check" in the test/ directory.  There'll be some
further improvement in the following checkin including allowing user to provide memory boundary
value, file block size, and copying buffer size.
2006-10-10 15:07:16 -05:00
James Laird
e5f0444b3a [svn-r12715] Incorporated a user-submitted patch to better detect the 'tr' utility
and quote its arguments.  Also checks for the 'socket' library on
Solaris.

If this patch passes the Daily Tests and makes the user happy, I'll
port it back to the 1.6 branch.

Tested on mir and sol.
2006-10-03 17:41:34 -05:00
Quincey Koziol
a6f6462541 [svn-r12700] Alert:
File format is not stable, don't keep files produced!

Description:
    First stage of checkins modifying the format of groups to support creation
order.  Implement "dense" storage for links in groups.

    Try to clarify some of the symbols for the H5L API.

    Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest
file format options (including "dense" link storage in groups)

    Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation
order tracking in groups (although no index on creation order yet).

    Remove --enable-group-revision configure flag, as file format issues are
now handled in a backwardly/forwardly compatible way.

    Clean up lots of compiler warnings and other minor formatting issues.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-v1.6 compa
    Mac OSX/32 10.4.8 (amazon)
    AIX 5.3 (copper) w/parallel & FORTRAN
2006-10-02 05:24:03 -05:00
HDF Admin
d5d664a56c [svn-r12670] Snapshot version 1.8 release 0 (alpha5) 2006-09-16 15:38:42 -05:00
Quincey Koziol
b047710a95 [svn-r12669] Description:
Use a slightly less efficient method of computing the log2() on SGI IRIX64,
in order to avoid a compiler bug when optimizations are turned on.

Tested on:
    SGI IRIX64 6.5 (atlantia)
2006-09-15 15:20:39 -05:00
Quincey Koziol
0e539a1cbc [svn-r12566] Description:
Removed free space manager from "enable-debug=all" list of flags, it's
not really designed for "user level" debugging.

Tested on:
    FreeBSD 4.11 (sleipnir)
2006-08-11 21:57:07 -05:00
Quincey Koziol
58ed885d13 [svn-r12491] Description:
Refactored object deletion code for fractal heap to fix scaling problems.
Passing all previous tests again now.

Tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OS X (amazon)
2006-07-21 20:55:14 -05:00
Pedro Vicente Nunes
5d8a9053c7 [svn-r12482] new tool h5copy
it uses the API function H5Gcopy to copy groups and datasets from file
to file, read from a command line

note: the test script is not finished yet
tested on heping, copper, shanti
2006-07-19 16:47:33 -05:00
Elena Pourmal
b0379795d5 [svn-r12478] Changed version number to 1.8.0-alpha5 after tagging hdf5-1.8.0-alpha4 release
with "hdf5_1_8_0_alpha4" tag.
2006-07-16 21:59:54 -05:00
John Mainzer
801b5b09f2 [svn-r12462] Committed a variety of metadata cache related changes:
1) Added trace file support to the metadata cache.  This allows capture
   of all metadata cache calls in trace files for purposes of optimization
   and debuging.

2) Added an expunge entry function.  This allows an entry to be deleteded
   from the cache without writing it to disk even if it is dirty.

3) Added a function call to resize pinned entries.

4) Added code to deal with entries that are dirty on load.  This is
   needed in support of a bug fix which can alter object headers on
   load to repair files.

5) Added progress reporting code to the "MDC API smoke check" test in
   cache_api.c.  To enable the progress reporting, set report_progress
   to TRUE in mdc_api_call_smoke_check().

Tested with h5committest, and a parallel test on phoenix (dual athelon
linux box).
2006-07-13 12:59:39 -05:00
Raymond Lu
4dfad81062 [svn-r12435] Purpose: Bug fix
Description: Mac OS 10.4 on PowerPC chip has some errors to convert (unsigned)
long long to long double.  When the bit sequences are 0x003ff..., 0x007fff...,
0x00ffff..., 0x01ffff..., 0x7fffff..., the converted values are twice as big
as they should be.

Solution: Detect the error in configure and disable the compiler conversion
and test case.

Platforms tested: h5committest, Mac OS 10.4, and fuss.
2006-06-23 17:11:12 -05:00
James Laird
64b5d95251 [svn-r12431] Purpose:
Configuration feature

Description:
'make install' now tests both static and shared libraries if both are installed.

Solution:
Previously, shared libraries were only tested when static libraries were not installed.
Also cleaned up line in commence.am that was including HL library in all Makefiles.

Platforms tested:
mir (Makefile change only)
2006-06-21 18:15:08 -05:00
Raymond Lu
823fbd0e88 [svn-r12425] Purpose: Bug fix
Description: Data conversion from long double to (unsigned) long long
returns some incorrect values on Mac OS 10.4 and SGI IRIX64 6.5.  The
conversions start to go wrong when the long double is
20041683600089727.779961 (0x4351ccf385ebc8a0bfcc2a...).  If adjusting
the values higher by assigning 0x...c8a0cf... or 0x...c8a0df..., the
converted values go wild.

Solution: Detect this error in configure.in and disable compiler
conversions from long double to (unsigned) long long for Mac OS 10.4
and IRIX64 6.5.

Platforms tested: h5committest, Mac OS 10.4, and IRIX64 6.5.
2006-06-20 09:45:37 -05:00
Elena Pourmal
b7beca9770 [svn-r12416] Purpose: Maintenance
Description: Added test script and two test files in the tools/misc/testfiles
             directory for testing h5stat tool; modified Makefile.am in tools/misc
             and configure.in files to run the new test script; reran bin/recofigure
             to update relevant configuration files; updated MANIFEST

Solution:

Platforms tested: heping with in place and srcdir builds; will do more testing
                  after the checkin.

Misc. update:
2006-06-17 13:16:05 -05:00
James Laird
59336d339b [svn-r12413] Purpose:
Bug fix

Description:
Changed the semantics of --enable-stream-vfd and --enable-shared.
Both are now disabled by default when parallel HDF5 is being built.

Solution:
Both shared and stream-vfd are disabled by default in parallel, but can
be enabled explicitly if the user chooses.
Before, shared was always enabled by default and stream-vfd was
always disabled in parallel.

Platforms tested:
heping, mir (configuration change only)
2006-06-14 15:16:27 -05:00
James Laird
a31e264f89 [svn-r12411] Purpose:
Bug fix - bugzilla #552

Description:
On Cray X1, trying to use : as an argument confused the system.

Solution:
Added a test in configure to see if : as an argument is bad.
If so, skipped the test.

Platforms tested:
mir, Cray X1 (change to configure only)
2006-06-13 16:21:14 -05:00
Elena Pourmal
b599f6bee0 [svn-r12394] Purpose: Maintenance
Description: Ran /bin/h5vers to change suffix to alpha4 after creating hdf5-1.8.0-alpha3
             tar ball and tagging the release with hdf5_1_8_0_alpha3 tag

Solution:

Platforms tested:

Misc. update:
2006-06-01 17:39:56 -05:00
Raymond Lu
b1f5c03c79 [svn-r12389] Purpose: Bug fix
Description: There was some logical confusion about the value of the macro
H5_HW_FP_TO_LLONG_NOT_WORKS.  It's supposed to be true for Windows, but false
for Unix machines.

Solution: Corrected.

Platforms tested: fuss(Linux) and amazon(MacOS 10.4) - simple change.
2006-06-01 13:34:32 -05:00
Albert Cheng
56c0a0f993 [svn-r12358] Purpose:
Bug fix.

Description:
The ${TR}, though avoid the error, is inconvenient.  It is needed
because configure.in use the char range in the style of 'a-z'.
The other style of '[a-z]' is more commonly accepted by all tr
but autoconf tends to strip away [], making the syntax rather
clumsy.

Solution:
Learned from autoconf that it avoids the use of character range
by just spell all the letters out.  Changed our tr commands to
use those variables defined by autoconf.  Also removed the
definition of ${TR} since it will cause inconsistancy when
autoconf also use plain 'tr' in its generated code.

The Makefile.in are changed because the elimination of ${TR} from
configure triggered its removal from all Makefil.in.  That is okay
because ${TR} is not used at all in Makefile.

Platforms tested:
h5committested. (sol failed to connected). also tested in shanti
using both /usr/ucb/tr and /bin/tr (the bad one before.)

Misc. update:
Updated both INSTALL and RELEASE files.
2006-05-19 07:22:07 -05:00
Albert Cheng
84b03a51c7 [svn-r12348] Purpose:
Bug fix.

Description:
Some machines (e.g., HPUX) will have off64_t defined but no support
for stat64 unless certain LargeFile macro is turned on.  This caused
the last fix on H5private not quite right which caused compiling failures.

Solution:
Added stat64 and fstat64 tests and then will use them only if they
are supported.

Platforms tested:
Tested on kelgia, copper and heping (pll).
(Compiling alright but tests for kelgia and heping are not done.
expect no problems.)
2006-05-14 00:09:25 -05:00
Albert Cheng
b415a49c9e [svn-r12342] Purpose:
bug fix.

Description:
Previous H5private.h would attempt to use the off64_t/stat64/etc
by checking just sizeof __INT64 being 8.  This caused errors in
some machines like alpha cluster which is a 64bit machine.  Its
compiler supports the type __int64 but it does not support
off64_t since its off_t is already 64bits big.  The above code
casued the compiler to complain about the unknown off64_t and
such.

Solution:
H5private.h:
Changed the code to use the pseudo standard of off64_t/stat64/etc
only if sizeof(off_t) is not 64 bits AND sizeof(off64_t) exists
and is 64 bits.  This assumes if off64_t is defined, all those
stat64, fstat64, etc are supported too.

configure.in:
configure:
Added the testing of sizeof(off64_t) to support the above solution.

Platforms tested:
h5committested.  Also tested at LANL QSC.
2006-05-10 17:29:25 -05:00
Elena Pourmal
e33df58ec5 [svn-r12339] Purpose: Maintenance after hdf5-1.8.0-alpha2 release
Description: Changed version suffix to alpha3

Solution: ran bin/h5vers script

Platforms tested:

Misc. update:
2006-05-06 11:32:29 -05:00
Quincey Koziol
c6e532afb9 [svn-r12320] Purpose:
code cleanup

Description:
    Finish H5FS->H5CS internal API name changes...

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/ & w/o --enable-codestack
2006-05-01 22:17:49 -05:00
James Laird
ab2c2e643c [svn-r12306] Purpose:
Bug fix

Description:
Removed some extra compiler flags that were being added in configure

Solution:
After my previous changes, some of autoconf's macros were realizing that
we had no CFLAGS defined and were helpfully supplying some to us, which
were causing errors on some platforms.
Initializing all of the *FLAGS variables prevented this from happening.

Platforms tested:
mir (minor change)
2006-04-26 16:19:21 -05:00
James Laird
5740dd95a4 [svn-r12301] Purpose:
H5_CFLAGS change

Description:
Converted a few platforms to use H5_CFLAGS to "test the waters"

Solution:
Modified a few config/* files to use H5_CFLAGS for non-essential
flags.

Platforms tested:
mir, heping
2006-04-25 16:19:14 -05:00
James Laird
91e56dc68d [svn-r12295] Purpose:
Several bug fixes

Description:
Added config file for Cray X1 (previous file was misnamed)
Simplified some code in hyperslab.c test that seemed to have been
confusing compiler on Cray X1.
Fixed typo in config/commence.am
Cleaned up hl/src/Makefile.am

Solution:
All four fixes should be straightforward.  The failure on Cray was
very difficult to debug, but involved arithmetic errors.
This change seems to fix it.

Platforms tested:
heping, copper, sol, some Cray X1 (more testing when system comes back up)
2006-04-21 14:21:24 -05:00
Quincey Koziol
d7573cbc85 [svn-r12292] Purpose:
Code maintenance

Description:
    Remove flexible parallel code

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
    Solaris 2.9 (shanti)
    Linux 2.4/64 (mir)
2006-04-20 18:54:47 -05:00
Albert Cheng
ad790bfa3c [svn-r12289] updated version to 1.8.0-alpha2 2006-04-20 09:13:49 -05:00
Elena Pourmal
3026df8a30 [svn-r12278] Purpose: Maintenance after alpha0 release
Description: Ran bin/h5vers script to change version number to 1.8.0-alpha1

Solution:

Platforms tested: heping

Misc. update:
2006-04-18 00:59:51 -05:00
Elena Pourmal
b0da4a2487 [svn-r12276] Purpose: Maintenance/typo fix/1.8.0-alpha0 release
Description: Here is what I did:

             modified MANIFEST according Quincey's instructions to fix
             the problem exposed by bin/release (compilation fails
             because some header files were not included in the distribution)

             fixed small typo and modified include_HEADERS line in
             src/Makefile.am to address the problem exposed by bin/release

             ran bin/h5vers to change version number to 1.8.0-alpha0

             ran bin/release to release tar ball to the ftp server


Solution:

Platforms tested: mir MANY,MANY,MANY times

Misc. update:
2006-04-18 00:41:45 -05:00
Albert Cheng
014e9630d2 [svn-r12260] Purpose:
Changed to production mode default on, debug mode default off to prepare
for 1.8.0alpha0 release.

Platforms tested:
Tested in heping but only did the configure and compared the output with
previous default output.  The changes were pretty simple.
2006-04-15 18:50:15 -05:00
James Laird
b51ac70ed9 [svn-r12230] Purpose:
Configuration change

Description:
Stream-VFD is now disabled when parallel is enabled.

Solution:
Stream-VFD was causing trouble on some platforms when both it and
parallel HDF5 were being used.  This is a pretty odd use case, so
we now disable stream vfd when parallel is being used.
This required moving the test for the stream vfd after the test
for parallel HDF5 in configure.in.

Platforms tested:
mir, modi4 (configure change only)
2006-04-12 16:28:09 -05:00
Pedro Vicente Nunes
bc66efc788 [svn-r12229] Purpose:
new feature

Description:
1) separated the HL library into "public" and "private" header files, with the same caracteristics as the basic library
2) added the public headers to hdf5.h (with a conditional include macro, defined in configure.in)
3) added the path to HL in all Makefile.am 's , because of the inclusion in hdf5.h

Solution:

Platforms tested:
linux 32, 64
AIX
solaris
with fortran and c++

(one packet table example fails)

Misc. update:
2006-04-12 16:21:38 -05:00
Quincey Koziol
85fc6fab21 [svn-r12215] Purpose:
Code cleanup

Description:
    Add "--enable-group-revision" configure flag (defaulting to off).

    Also, "prettify" the configure summary a bit

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 32-bit (heping)
    Linux 2.4 64-bit (mir)
    Solaris 2.9 (shanti)
2006-04-09 21:44:03 -05:00
James Laird
1c7d12a769 [svn-r12186] Purpose:
Bug fix

Description:
Made parallel fortran configuration happier on modi4

Solution:
The old configure macro, AC_TRY_LINK, added a couple of extra lines to
the Fortran test program which the new macro doesn't.  Added those
lines manually.

Platforms tested:
modi4, copper (change should affect only parallel fortran)
2006-03-31 13:51:49 -05:00
James Laird
6864ebdd6a [svn-r12183] Purpose:
Configure cleanup

Description:
Removed unused macros, migrated to non-depreciated macros.

Solution:
The changes to use standard AC_TRY_LIB macros earlier this week
seem not to have broken anything, so I deleted the local macros in
acsite.m4 (with an eye to eventually deleting the rest of the file and
using only autoconf-supported macros).
Replaced the depreciated AC_TRY_LIB with AC_LIB_IFELSE to shut up
warnings during reconfigure.

Platforms tested:
mir, copper (should be just cleanup)
2006-03-30 18:08:50 -05:00
James Laird
40c79d0602 [svn-r12172] Purpose:
configure refactoring

Description:
Migrated a couple of Fortran macros to standard autoconf macros

Solution:
HDF5 had a couple of macros, AC_TRY_FLINK and AC_CHECK_FLIB, which were
adaptions of standard autoconf macros before those macros supported
F90.
Now Autoconf seems to have better support for f90, so its standard macros
AC_TRY_LINK and AC_CHECK_LIB can do this job (and move the burden of
supporting those macros to autoconf).

Platforms tested:
heping, modi4, copper
2006-03-28 17:13:46 -05:00
Quincey Koziol
4b703ef698 [svn-r12130] Purpose:
Disable debugging feature

Description:
    Disable the "function stack" by default & take out it's dependency on
the "enable-debug" configure flag.  The function stack code can slow things
down quite a bit and shouldn't be enabled for the upcoming alpha testing.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OSX (amazon)
2006-03-22 13:44:55 -05:00
HDF Admin
c619cf0f51 [svn-r12083] Snapshot version 1.7 release 58 2006-03-13 13:38:16 -05:00
Leon Arber
840bcbe9ef [svn-r12019] Purpose:
Bug fix/Feature

Description:
Modify the library to use rand_r, when available, instead of srand.  If
rand_r is not available, it will try to use srandom/random, and then finally
fall back to srand/rand.

Solution:
A couple places in the library use the srand() function to seed the random
number generator.  This can cause problems on certain platforms and could theoretically
cause problems for users who expect a certain sequence of random numbers following their
own call to srand().

Most platforms have an implementation of rand_r, which is identical to rand, except that
it allows for explicit storage of the seed value.  The configure script will now check
for the existence of rand_r to facilitate its use in the library.

Two new functions are added, to replace the macros HDsrand/HDrand.  These functions are HDrand and
HDsrand.  HDrand will call rand_r, if available, or random(), if available, and fall back to rand() if neither
of those is available.  HDsrand will store the seed value locally, if rand_r is available.  Otherwise, it will call
srandom if available, and fall back to srand otherwise.


Platforms tested:
heping, mir.  Really need to test on Red Storm, since that platform motivated this fix, but the machine
is currently not available.

Misc. update:
2006-03-06 23:23:24 -05:00
James Laird
ea9f792cd7 [svn-r12001] Purpose:
Moved gif2h5 tool to hl directory

Description:
Added a tools directory under the hl directory and moved the gif2h5 tool
to that directory.

Solution:
The gif2h5 tool was originally built in the tools directory, but this
introduced dependency issues that required special checks in the
Makefiles.am and required the top-level build order to be changed
because it depended on the HL library.
For simplicity in the Makefiles now and in the future, the gif2h5 tool
was moved to be underneath the hl library.

Platforms tested:
mir, copper, modi4, shanti
2006-03-03 16:49:10 -05:00
MuQun Yang
bac54105f6 [svn-r11939] Purpose:
Supports for collective chunk IO inside parallel HDF5

Description:
Added a macro hdf5_mpi_special_collective_io_works to filter out
          some mpi-io packages that don't support collective IO for no IO
          contributions in some processes.

Solution:
Using AC_CACHE_VAL to do the job.

Platforms tested:
Parallel:

IBM AIX 5.2(copper)
Linux (heping) mpich-1.2.6
SDSC Teragrid mpich-1.2.5
Linux(Tungsten) mpich-1.2.6
Altix(NCSA cobalt)

Seq:
Linux(heping)

Misc. update:
2006-02-16 11:45:42 -05:00
HDF Admin
b09695738a [svn-r11884] Snapshot version 1.7 release 57 2006-01-22 04:54:38 -05:00
HDF Admin
f78ed9a18d [svn-r11880] Snapshot version 1.7 release 56 2006-01-15 04:44:38 -05:00
HDF Admin
63e522aa13 [svn-r11848] Snapshot version 1.7 release 55 2006-01-01 04:12:38 -05:00
HDF Admin
db551ec15e [svn-r11836] Snapshot version 1.7 release 54 2005-12-25 04:10:45 -05:00
HDF Admin
ba606b4fea [svn-r11795] Snapshot version 1.7 release 54 2005-12-14 10:12:03 -05:00
James Laird
b1fd3f5657 [svn-r11780] Purpose:
Added high-level example directories

Description:
Refactored common code out of examples Makefiles.am, added high-level
example directories, added packet table examples.

Solution:
Examples now draw from a common config/examples.am file, which
contains rules for installing, uninstalling, and cleaning examples.
High-level example directories are mostly empty, except for the
C and C++ packet table tests.

Platforms tested:
mir, sleipnir, copper, shanti
2005-12-09 15:59:11 -05:00
Albert Cheng
b10cbe3cc9 [svn-r11768] Purpose:
Feature.

Description:
Removed the entry for tflops which has retired.
Added a special --host entry for redstorm.
This allows "configure --host=redstorm" for building in RedStorm.

Platforms tested:
Red Storm.
2005-12-07 15:45:42 -05:00
Albert Cheng
e969226fc7 [svn-r11761] Purpose:
Unstable format version marker.

Description:
This marks the Check in baseline for compact group revisions,
which radically revises the source code for managing groups and object headers.
Earlier versions (1.7.52 or earlier) have the original format.  This version
and later have the unstable format until further notice.

Platforms tested:
h5committested.
2005-12-05 13:41:27 -05:00
Quincey Koziol
a1708eb023 [svn-r11712] Purpose:
New feature

Description:
    Check in baseline for compact group revisions, which radically revises the
source code for managing groups and object headers.

WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!
WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!

    This initiates the "unstable" phase of the 1.7.x branch, leading up
to the 1.8.0 release.  Please test this code, but do _NOT_ keep files created
with it - the format will change again before the release and you will not
be able to read your old files!!!

WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!
WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!


Solution:
    There's too many changes to really describe them all, but some of them
include:
    - Stop abusing the H5G_entry_t structure and split it into two separate
        structures for non-symbol table node use within the library: H5O_loc_t
        for object locations in a file and H5G_name_t to store the path to
        an opened object.  H5G_entry_t is now only used for storing symbol
        table entries on disk.

    - Retire H5G_namei() in favor of a more general mechanism for traversing
        group paths and issuing callbacks on objects located.  This gets us out
        of the business of hacking H5G_namei() for new features, generally.

    - Revised H5O* routines to take a H5O_loc_t instead of H5G_entry_t

    - Lots more...

Platforms tested:
    h5committested and maybe another dozen configurations.... :-)
2005-11-14 21:55:39 -05:00
James Laird
617522e467 [svn-r11646] Purpose:
Bug fix/feature

Description:
Added support for -shlib in h5fc and h5c++.
Made check-install use -shlib when only shared libraries have been installed.

Solution:
h5fc and h5c++ didn't recognize -shlib.  Stole code from h5cc to link against
shared libraries.
When static libraries are disabled, the examples Makefiles will automatically
use the -shlib option to link against shared libraries.  Thus,
--disable-static and make check-install should work together.

Platforms tested:
heping(disable-static, enable-static, fortran, c++), modi4 (disable-static, fortran, c++, parallel, enable-static)
2005-10-31 16:35:49 -05:00
James Laird
69293e09df [svn-r11602] Purpose:
Bug fix

Description:
Removed detection of pdb from configure.in as a corollary to removal
of pdb2hdf5 tool.


Platforms tested:
mir, modi4
2005-10-24 14:31:06 -05:00
James Laird
87a56d9da2 [svn-r11573] Purpose:
Bug fix

Description:
Changed configure.in to use an environment variable TR to set the path
to the tr utility.

Solution:
There are two kind of tr on Solaris with slightly different syntax.
HDF5's configure relies on the "standard" tr.  Traditionally, HDF5ers
have needed to make sure that the "right" tr was found before the
wrong one in their path; now they can use an environment variable.

Platforms tested:
mir, shanti, sol

Misc. update:
Forgot to update release notes.  Off to do that now.
2005-10-17 16:38:38 -05:00
James Laird
bcf3f797d4 [svn-r11566] Purpose:
Makefile bug fix

Description:
Previously, automake didn't output rules to build perform/mpi-perf or
the test/gen_* programs.
Now these can be built by typing 'make mpi-perf' (or 'make foo') or by
configuring with --enable-build-all.

Solution:
Automake doesn't like having rules for programs it doesn't build.  Tricked
it by having these programs built "sometimes"--whenever the user enables
--build-all.  This should be used mostly for testing and to ensure that
these helper programs compile.

***IMPORTANT***
These programs do *not* currently compile.  When --enable-build-all is used
(not the default), gen_new_fill fails because it uses an old API.  This is
an existing "bug" that has simply been exposed by this checkin.

Platforms tested:
sleipnir, modi4, sol

Misc. update:
2005-10-14 17:52:13 -05:00
James Laird
b101eca9f1 [svn-r11519] Purpose:
Bug fix

Description:
Some platforms complain that tcp.h is present but cannot be compiled.

Solution:
This is because tcp.h needs in.h to be included.
Checked for netinet/in.h and included it when netinet/tcp.h is being
checked.

Platforms tested:
mir, cu11
2005-10-10 15:38:42 -05:00
HDF Admin
c13178a42d [svn-r11489] Snapshot version 1.7 release 51 2005-10-02 04:07:35 -05:00
Albert Cheng
412fbdfad3 [svn-r11476] Purpose:
feature.

Description:
added the recognition of -lmpich as a form of MPI library.

Platforms tested:
Tested in heping. Real test will be in MCR.
2005-09-28 23:57:44 -05:00
Albert Cheng
f9fc749ca2 [svn-r11467] Purpose:
Add the detection of the alarm function.

Platforms tested:
Tested in heping.
2005-09-26 22:26:03 -05:00
James Laird
36ffea6f61 [svn-r11449] Purpose:
Bug fix

Description:
Fixed typo in configure.in.

Platforms tested:
SX6, mir

Misc. update:
2005-09-21 10:07:44 -05:00
James Laird
bd24d226d6 [svn-r11439] Purpose:
Bug fix

Description:
Using the -xarch=v9 flag to specify 64-bit compilation breaks C++ shared
libraries.
Disable shared C++ libraries if this flag is used.

Solution:
Instead of trying to disable compilers which recognize the -xarch flag,
grep for it in CXX, CXXFLAGS, etc.

Platforms tested:
modi4, shanti, sleipnir

Misc. update:
Update to RELEASE and build instructions will be forthcoming once
shared Fortran/C++ libraries are regularly passing the Daily Tests.
2005-09-19 14:38:02 -05:00
James Laird
ae2a313b5b [svn-r11421] Purpose:
Feature

Description:
Added H5_CFLAGS, etc. to 1.7 branch.
Now compilation flags can be put in H5_*FLAGS and they'll be used when
building hdf5 but not in h5cc.


Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-09-16 16:26:17 -05:00
James Laird
b656c90c8a [svn-r11420] Purpose:
Bug fix

Description:
Disabled C++ shared libraries for Sun Workshop compiler.

Solution:
This bug only seems to happen when using the -xarch=v9 flag to compile in
64-bit mode, but disabling shared libraries entirely for this compiler is
an easier fix (I don't know how to detect 64 bit mode from the command line).
The framework for disabling shared libraries for other C++ compilers is
in place.

Platforms tested:
sol, mir, sleipnir, modi4
2005-09-16 16:16:11 -05:00
James Laird
cc8f7d98bf [svn-r11418] Purpose:
Bug fix/feature

Description:
Disabled shared libraries for a number of Fortran compilers that don't
support them.
This allows other compilers to support shared Fortran libraries.

Solution:
Added a conditional, SHARED_FORTRAN_CONDITIONAL, which is true if
Fortran supports shared libraries.  It is set in configure.in.

Platforms tested:
mir, sleipnir, colonelk, heping
2005-09-15 16:30:06 -05:00
James Laird
33beeb7f55 [svn-r11411] Purpose:
Bug fix

Description:
Building with --disable-static seems to have been broken on several platforms.
Fixed this.
Configure will now disable shared libraries automatically when using pgf90
or when building on Cygwin.

Solution:
To avoid errors when using shared libraries with pgf90 (which I had not
realized were compiler-specific), I had manually set convenience libraries
to use the -static linking flag.  Apparently, this is not necessary, and
caused these libraries to be created as empty archives when --disable-static
was used.
Also, some libraries were including other libraries, which was not
necessary.
I also fixed code in configure.in to correctly detect whether shared
or static libraries are enabled, and moved code that disables shared libraries
to before libtool is created (rather than editing libtool after the fact).
Despite repeated warnings that only one shared library can be linked at a
time, I have yet to have shared libraries break the linking of tests on
any system.  We'll see if the Daily Tests turn up anything.

Platforms tested:
mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel),
sol (fortran, C++), cygwin
2005-09-13 17:30:33 -05:00
James Laird
9b1828ffd0 [svn-r11353] Purpose:
Bug fix

Description:
Configure should now throw an error when C++ or threadsafe is enabled
and a parallel compiler is being used.


Platforms tested:
sleipnir and modi4
Tested
--enable-cxx --enable-parallel --disable-cxx
--enable-cxx --disable-parallel
cases in particular.

Misc. update:
2005-09-06 11:57:05 -05:00
Albert Cheng
f0bb265b2e [svn-r11350] Purpose:
Bug fix.

Description:
The incompatibility of enable-parallel and enable-cxx was not correctly
coded.  It would complained even for the case of
    ./configure --enable-cxx --disable-parallel.

Solution:
Changed it to use "$enable_XYZ" = "yes".  Fixed the same for the
enable-threadsafe checking too.

Platforms tested:
tested in heping.

Misc. update:
2005-09-05 23:11:33 -05:00
Quincey Koziol
4aa86e2297 [svn-r11344] Purpose:
Bug fix

Description:
    Allow threadsafe & C++ to be enabled together - its working fine on
sleipnir.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
2005-09-03 08:58:24 -05:00
James Laird
fc90c784e1 [svn-r11336] Purpose:
Bug fix

Description:
A typo made configure throw an error if only C++ was enabled.  Fixed.

Platforms tested:
mir
2005-09-01 16:09:22 -05:00
James Laird
30c61d0f25 [svn-r11335] Purpose:
Bug fix

Description:
configure used 'uname -o' to detect Cygwin.  This command is fine on
Cygwin, but causes errors on some other platforms (sol).
Fixed this.

Solution:
Used 'uname' with no -o option to identify Cygwin.

Platforms tested:
mir, cygwin (on finrod)
2005-09-01 15:38:18 -05:00
James Laird
c7808fa57e [svn-r11334] Purpose:
Feature: checking configure flags (bug #90)

Description:
Some configure flags don't work together.  Configure now exits with
a sensible error message if one of these combinations is specified.

Solution:
The following flags will throw errors:
--enable-cxx and --enable-parallel
--enable-cxx and --enable-threadsafe
--enable-threadsafe and --enable-parallel
--enable-fphdf5 and --enable-fortran

Platforms tested:
mir, modi4, heping

Misc. update:
2005-09-01 15:31:46 -05:00
Raymond Lu
a5f1aa713f [svn-r11333] Purpose: Change configure's default.
Description:  Changed configure's default disable-dconv-exception and
disable-dconv-accuracy back to enable-dconv-exception and
enable-dconv-accuracy.  The test has been finished.


Platforms tested: fuss - tested before.
2005-09-01 13:48:00 -05:00
Raymond Lu
ddaa96bc5a [svn-r11320] Purpose: Test
Description: made --disable-dconv-accuracy default to let daily test
check every systems.  Will change it back to --enable-dconv-accuracy
afterwards.


Platforms tested: h5committest
2005-08-31 10:39:55 -05:00
Raymond Lu
70ddbda208 [svn-r11318] Purpose: Test
Description:  made --disable-dconv-exception default for configuration
to let daily test run on every system.  The default was
--enable-dconv-exception.


Platforms tested: h5committest and fuss.
2005-08-30 14:58:55 -05:00
Raymond Lu
336716e427 [svn-r11315] Purpose: Minor change on feature.
Description:  Changed the configuration options --enable-exception and
--enable-accuracy checked in yesterday to --enable-dconv-exception and
--enable-dconv-accuracy to be more descriptive.


Platforms tested: fuss - simple change.
2005-08-30 10:11:08 -05:00
Raymond Lu
bd4312d049 [svn-r11311] Purpose: New features.
Description:  Added 2 new configure options, --enable-exception and --enable-accuracy.

--enable-exception lets the library check whether user's exception handling
functions are present during compiler data conversions and use them if they are.
When it's disabled, this step is skipped to improve conversion speed.  This
step isn't implemented yet for soft conversions because there would be little
gain in speed.

--enable-accuracy guarantees data accuracy during data conversions.  It means
the library will choose compiler conversions only if the accurate data is
secured.  Otherwise, the library will go for the library's own conversions.  If
this option is disabled, the library uses compiler conversions in favor of
their speed as long as they work even if data can be incorrect.


Platforms tested: h5committest and fuss.  Some systems may fail after this
checkin.
2005-08-29 10:21:58 -05:00
Albert Cheng
7e33c92e6b [svn-r11252] Purpose:
Fixed a typo--osf1 was spelled as osfl.

Platforms tested:
Tflops.
2005-08-16 15:56:59 -05:00
Albert Cheng
70f1a12883 [svn-r11222] Purpose:
feature

Description:
Add the test for tmpfile.  If it does not exist, compile in our own
version (which always returns NULL for now.)
2005-08-09 11:53:43 -05:00
HDF Admin
e49bb1feea [svn-r11204] Snapshot version 1.7 release 50 2005-08-07 03:45:28 -05:00
HDF Admin
3cba75f060 [svn-r11148] Snapshot version 1.7 release 49 2005-07-24 02:58:43 -05:00
Quincey Koziol
34bd25f361 [svn-r11144] Purpose:
New port

Description:
    Elena asked me to check in her NEC SX-6 work, so here it is! :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    NEC SX-6 (by Elena)
2005-07-22 20:55:12 -05:00
Raymond Lu
bd92e1e2a0 [svn-r11087] Purpose: Bug fix.
Description: When converting floating-point numbers to integers and the values of
floating-point number are greater than the maximal value of integer, Cray X1 generates
floating exception.

Solution: Added a test in configure to detect Cray X1's exception.  Set a flag to
indicate the machine that can handle overflow converting all floating-point to all
integer types.  This flag should be set for all machines, except for Cray X1 where
floating exception is generated when the floating-point value is greater than the
maximal integer value.

Platforms tested: Cray X1 and h5committest.
2005-07-19 13:16:33 -05:00
James Laird
e9471222f1 [svn-r11085] Purpose:
Bug fix

Description:
Update Makefiles now that docs are no longer in main hdf5 tree.

Solution:
Changed root-level Makefile.am not to recurse into docs tree.
Removed docs Makefiles from configure.in.
Removed config/commence-doc.am, since it is no longer used.

Platforms tested:
mir (change to Makefiles only)
2005-07-19 12:58:24 -05:00
James Laird
d2e92fd236 [svn-r11083] Purpose:
Bug fixes

Description:
A number of minor changes to Makefiles.  Some files will now be cleaned
properly, some comments are more informative, etc.


Platforms tested:
heping, mir, modi4
2005-07-18 18:30:38 -05:00
HDF Admin
5de418b2b4 [svn-r11081] Snapshot version 1.7 release 48 2005-07-18 16:20:23 -05:00
Raymond Lu
ac75ce4141 [svn-r11019] Purpose: Add detection
Description: pgcc version 6.0x have optimization (-O, -O2, or -O3) problem.
It caused multi driver test to fail.  The problem happened in a macro
definition.

Solution: Detect these versions and add option "-Mx,28,0x8" to the compiler
to avoid the problem if optimization is enable.

Platforms tested: mir and fuss - simple change.
2005-07-05 14:08:58 -05:00
James Laird
22586f84a7 [svn-r10956]
Purpose:
Configuration feature

Description:
Added 'alias' for host names in configure.  Typing ./configure --host=tflops
will now configure with tflops as a host.  Previously, this required typing
./configure --host=i386-intel-osfl.

Solution:
Added a section in configure.in which will replace 'tflops' with
'i386-intel-osfl'.

Platforms tested:
sleipnir, mir, heping

Misc. update:
2005-06-20 12:33:22 -05:00
MuQun Yang
6bf7952de0 [svn-r10879] Purpose:
Removing configuration warnings on cygwin.

Description:
winsock.h cannot be compiled by cygwin and that generates configuration warnings.
Remove checking winsock.h on cygwin.

Solution:

Platforms tested:

Misc. update:
2005-06-08 14:51:26 -05:00
Raymond Lu
7696942940 [svn-r10847] Purpose: Bug fix
Description: See details from Bug #213.  Family member file size wasn't saved
anywhere in file.  When family file is opened, the first member size determine
the member size.

Solution: This is the fourth step of checkin.  A test suit is added for h5repart,
including a program to generate the test files, a script file to run h5repart,
and a program to verify repartitioned files can be opened by the library.

There's a change from the first step of checkin.  Family name template is no
longer saved in the superblock because different pathname can make the name
different.

In the third step of checkin, h5repart has been modified.  If h5repart is used
to change the size of family member file, the new size(actual member size) is saved
in the superblock.

In the second step of checkin, multi driver is checked against the driver
name saved in superblock.  Wrong driver will result in a failure with an error message indicating
multi driver should be used.  This change includes split driver because it's a special case for multi
driver.

In the first step of checkin.  Family member size and name template(unused at this stage) are saved
in file superblock.  When file is reopened,the size passed in thrin superblock.  A different size
will trigger a failure with an error message indicating the right size.  Wrong driver to open family
file will cause a failure, too.


Platforms tested: h5committest and fuss.

Misc. update:  MANIFEST
2005-06-02 16:00:23 -05:00
James Laird
11af4d72c4 [svn-r10802] Purpose:
Configuration feature

Description:
Formerly, bin/reconfigure needed to invoke Automake with the --foreign
flag or it would fail.  It turns out that there is a clever way to
specify this flag inside configure.in so that it doesn't need to
be explicitly invoked.
This should make it easier for people not using machines connected
to AFS (e.g., the netCDF folks) to invoke Automake on HDF5.


Platforms tested:
mir and heping
2005-05-25 17:32:22 -05:00
Raymond Lu
db223e85b2 [svn-r10797] Purpose: A feature
Description:  Cygwin compiler doesn't do rounding correctly when converting
"unsigned long long" to "long double".

Solution: Added test case to variable detection of
"hdf5_cv_ullong_to_ldouble_precision_works".

Platforms tested: sleipnir, fuss, and shanti - mainly to test configuration,
don't need to run h5committest.
2005-05-25 10:59:30 -05:00
James Laird
984f44479c [svn-r10773] Purpose:
Output tweak

Description:
In configure.in, users must link to zlib library, but configure then
informs them that "deflate" filter is enabled.  Changed output slightly
to indicate that these are the same filter.


Platforms tested:
mir (very minor change)
2005-05-20 12:32:49 -05:00
HDF Admin
a4345b9917 [svn-r10744] Snapshot version 1.7 release 47 2005-05-15 04:34:14 -05:00
James Laird
b0e5134171 [svn-r10730] Purpose:
Portability feature

Description:
The random() and srandom() functions are not available on all machines.
Set up the configure script to automatically detect them, rather than
requiring their presence or absence to be hardcoded.

Solution:
Added AC_CHECK_FUNCS macro to configure.in and replaced
#ifdef WIN32 conditionals with #ifdef H5_HAVE_RANDOM conditionals.

Platforms tested:
sleipnir, Windows
2005-05-05 12:38:59 -05:00
Quincey Koziol
8f4b37accf [svn-r10700] Purpose:
Bug fix

Description:
    Kent reminded me that switching the logic wasn't enough, we really needed
to add the definition to the configure script.

Solution:
    Do that.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-29 16:39:05 -05:00
James Laird
a05061f512 [svn-r10657] Purpose:
Configuration feature

Description:
Fortran integer types (not reals) are now automatically detected at
build-time.

Solution:
Two helper programs are used, one to detect what types the Fortran compiler
has access to, and one to generate header files for C and Fortran matching
up types.

Platforms tested:
mir, copper, modi4, pommier (last week)

Misc. update:
MANIFEST updated, H5f90fortran_types.f90 removed from configure.in, since
it is not longer generated by configure.
2005-04-25 14:00:06 -05:00
HDF Admin
183741eff0 [svn-r10632] Snapshot version 1.7 release 46 2005-04-20 04:48:31 -05:00
Elena Pourmal
5279827823 [svn-r10570] Purpose: Maintenance
Description: Removed support for SRB driver

Solution: Removed or modified appropriate files; ran reconfigure
          to regenerate Makefile.in and configure files.

Platforms tested: heping and shanti

Misc. update: ran bin/chkmanifest on heping
2005-04-07 14:41:25 -05:00
James Laird
b296a419c4 [svn-r10534] Purpose:
Configuration feature

Description:
Different Fortran compilers mangle function names in different ways
(upper case, lower case, adding underscores).  To link between
Fortran and C functions, we need to know what a given function's
name is under a given compiler.

Solution:
Use autoconf's FC_WRAPPERS check to determine the Fortran
naming scheme and define the FC_FUNC_ macro to name our
functions (in H5f90proto.h).  Removed references to
our old FNAME macro, as well as flags that indicated whether
function names were upper or lower case.

Platforms tested:
mir, pommier, modi4, copper, more
2005-04-04 16:17:51 -05:00
James Laird
7acf3f1b12 [svn-r10475] Purpose:
Feature - conditional compilation

Description:
SRB file driver and tests are now compiled only when SRB is enabled
(using --with-srb during configure).

Solution:
Added an automake conditional in configure.in, altered Makefiles.am in
src and test directories to depend on that conditional.
This should make a nice example for posterity to add conditionally
compiled sources.

Platforms tested:
heping (only configure change)
2005-03-29 12:38:17 -05:00
James Laird
9452992c09 [svn-r10459]
Purpose:
Added C++ wrapper for Packet Table API.

Description:
Added macro for high-level C++ library (LIBH5CPP_HL), which changes every
Makefile.in.
Added directories for high-level C++ library (though currently only Packet
Table API is supported).
Added both C++ source and tests.

Platforms tested:
sleipnir, mir, modi4

Misc. update:
2005-03-28 11:32:20 -05:00
James Laird
fbcc3e84c0 [svn-r10215] Purpose:
Configure feature

Description:
On some platforms with some compilers, automake's dependency tracking
is silently disabled.  This can be confusing for developers.

Solution:
Set configure to enable dependencies all the time unless the user
explicitly disables them (using the configure flag
--disable-dependency-tracking) or a site file overrides the default
(as is the case on IRIX).

Platforms tested:
sleipnir, mir
2005-03-14 15:35:55 -05:00
MuQun Yang
74efc1e4f5 [svn-r10201] Purpose:
IBM MPI-IO has a bug for MPI derived data type, which is used
to support collective IO. In order to avoid this, we provide
a way to turn off collective IO support for this kind of platform.


Description:
Using a new macro called H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS
to turn off irregular hyperslab collective IO support at such platforms.

Solution:
Hard code such platforms under hdf5/config.
So far only IBM AIX has been found to have such problems.

Platforms tested:

heping (Linux) and copper(Aix). Testing at tungsten now, however, it
took almost an hour to build parallel HDF5 at tungsten, it is still building. Cannot wait. Have tested this feature at Tungsten a week ago.
Misc. update:
2005-03-11 17:11:05 -05:00
James Laird
418968677b [svn-r10179] Purpose:
Automake update cleanup and minor changes

Description:
Removed macros in acsite.m4 that are no longer used.
Switched to using autoconf's AC_LANG_PUSH(Fortran) instead of old
AC_LANG_FORTRAN9X macro.
Switched to using AC_LANG_PUSH() and AC_LANG_POP() (from old AC_LANG_X).
Added ifort to list of Fortran compilers configure will look for.
Added a note about automake change to Release Notes.

Platforms tested:
copper, modi4 (parallel and serial), eirene
2005-03-10 15:52:34 -05:00
James Laird
a46b559c35 [svn-r10171] Purpose:
Bug fix

Description:
The fortran compiler is named FC.  If F9X environment variable is set,
FC should hold the value in F9X.  However, this was overwriting values
written to FC by platform-specific config scripts.
This caused copper to find the wrong fortran when building in parallel, and
may have had other symptoms on other platforms.

Solution:
Assign $F9X to $FC at the beginning of configure, before platform-specific
scripts are run.  Do this assignment only if FC is empty.

Platforms tested:
copper, modi4 (parallel and serial w/c++), verbena.
This change should only affect fortran build.
2005-03-09 13:48:23 -05:00
James Laird
25df1908bc [svn-r10158] Purpose:
Automake version upgrade

Description:
Upgraded automake version from 1.6.2 to 1.9.5.
Changed bin/reconfigure script to use automake 1.9.5.
Changed configure.in and Makefiles to use new FCFLAGS and FC variables
instead of FFLAGS and F9X.
Automake and configure should now do the lion's share of the work
supporting Fortran 9X; macros in acsite.m4 are now mostly unused (will
be cleaned later).
Altered how configure handles pmake; now root-level Makefile.in is
processed by bin/reconfigure to have a .MAKEFLAGS target, since
automake no longer allows us to define unused variables.
Configure now always checks for C++ compiler even if it is not
used, since automake thinks this is the Right Thing To Do and
will break otherwise.

Platforms tested:
Sol, copper, heping, mir, sleipnir, eirene, pommier, kelgia, modi4.
2005-03-07 12:57:27 -05:00
James Laird
965fef45d9 [svn-r10132] Purpose:
Bug fix

Description:
When C flags are passed in using $CC variable, this can confuse test
commands in configure (for instance, CC='pgcc -tp k8-32').

Solution:
Previous solution didn't entirely solve problem.  Wrote a sed snippit
to strip flags from $CC for purposes of test in configure.

Platforms tested:
mir (just a configure bug)
2005-03-03 14:39:10 -05:00
Albert Cheng
69c9a7e3a6 [svn-r10128] Purpose:
Removed GASS from summary printout.

Platforms tested:
Tested in heping.  No h5committest since it was trivial
and involved in configure stage only.
2005-03-03 09:17:32 -05:00
Albert Cheng
0d514907a9 [svn-r10123] Purpose:
Removed GASS configuration and software packages associated with
it.  The following software are no longer configurable.

checking for main in -lcrypto... yes
checking for SSL_get_version in -lssl... yes
checking globus_common.h usability... yes
checking globus_common.h presence... yes
checking for globus_common.h... yes
checking for globus_module_activate in -lglobus_common... yes
checking for main in -lglobus_gass_cache... yes
checking for main in -lglobus_gaa... yes
checking for main in -lglobus_gss... yes
checking for main in -lglobus_gss_assist... yes
checking for main in -lglobus_io... yes
checking for main in -lglobus_gass_transfer_assist... yes
checking for main in -lglobus_gass_transfer... yes
checking for globus_gass_open in -lglobus_gass_file... yes

Platforms tested:
h5committested (but copper was down.) tested in modi4 too.
2005-03-02 15:02:55 -05:00
HDF Admin
6b4752cedd [svn-r10118] Snapshot version 1.7 release 45 2005-03-02 08:34:32 -05:00
James Laird
921d331fc8 [svn-r10114] Purpose:
Bug fix

Description:
Libtool simply doesn't seem to support shared libraries for pgcc, but
tries to build them anyway.

Solution:
Edited configure to disable shared libraries in libtool script when
pgcc is being used.
This is a more drastic fix than the problem requires, but it is
difficult to detect when this problem will occur.  There is
discussion online about shared libraries with pgcc, so hopefully
libtool will support pgcc and this fix will become unneccesary.

Platforms tested:
sol, copper, mir, sleipnir

Misc. update:
2005-03-01 20:01:45 -05:00
James Laird
2f4f7d07b1 [svn-r10112] Purpose:
Bug fix

Description:
A test in configure.in redirected output in a way that made
mir (at least) unhappy (test: too many arguments).

Solution:
Changed the semantics so that mir was happy.  This didn't seem to make any
other platforms unhappy, either.

Platforms tested:
eirene, modi4, copper, mir, sleipnir (only tested configure)
2005-03-01 13:47:23 -05:00
James Laird
08bce1b7d2 [svn-r10106]
Purpose:
Bug fix

Description:
Libtool 1.5.14 added some extra flags that needed to be passed from the compiler
to the linker.  icc did not handle this correctly and complained when it saw
unknown flags.

Solution:
Set the -Wl flag correctly on freebsd so that icc knows to pass flags through
to the linker.

Platforms tested:
sleipnir (gcc, g++, icc, gcc40)
2005-02-28 15:08:54 -05:00
Raymond Lu
b0c346caa2 [svn-r10081] Purpose: Some Kind of Verification
Description:  The library didn't handle incorrect hardware conversion for datatype.  It simply did
convert to incorrect data if any hardware didn't handle correctly.

Solution:  During configuration, incorrect hardware conversion is detected and some macros are
defined.  Use these macros to decide whether to register hardware conversion in H5T.c.  If no hardware
conversion function is registered for certain pair of datatypes, software conversion function will
be used as the conversion path.  Although slower than hardware conversion, we're more confident
software conversion is accurate.

So in one sentence to describe library's behavior, if some hardware conversion doesn't work well,
software conversion will be used instead.

Platforms tested:  h5committest and fuss.

Misc. update:  some changes to configure's comments.
2005-02-24 17:54:05 -05:00
James Laird
081ac87fed [svn-r10064] Purpose:
Bug fix

Description:
This checkin addresses two bugs.
Firstly, I used the wrong semantics when detecting if $MAKE is defined to
the empty string or undefined.
Secondly, pmake on IRIX does not work well with automake's dependency tracking
if the build is not an in-place build.

Solution:
Fixed semantics in configure.in.
Disabled automatic dependency tracking automatically on IRIX.  This is not
the optimal fix, but it should work fine as long as no one is doing HDF5
development on IRIX, and it is much easier than trying to detect the exact
situations in which dependency tracking fails (or than trying to fix dependency
tracking!).

Platforms tested:
heping, modi4 (pmake and gmake)
2005-02-22 12:42:48 -05:00
James Laird
643e9a38bd [svn-r10062] Purpose:
Bug fix

Description:
Discovered two small bugs.
When MAKE is defined as the empty string, a test in configure incorrectly
identifies it as pmake.  Skipped this test if $MAKE is the empty string.
Two .h5 files produced by a test in the hl directory were not cleaned.
Updated the Makefile.am.


Platforms tested:
heping, modi4 (very minor changes)
2005-02-21 16:30:49 -05:00
Xiaowen Wu
9c8836c454 [svn-r10021] Purpose:
New feature.

Description:
Add the scaleoffset internal library filter.

Solution:

Platforms tested:
heping, copper, arabica

Misc. update:
2005-02-16 20:50:42 -05:00
James Laird
8ed95c0011 [svn-r10016]
Purpose:
Bug fix

Description:
modi4 dies during build with strange errors.
The root cause of these is a two-year-old hack in HDF5's libtool
script that only takes effect on IRIX.

Solution:
Edited the libtool hack (by editing ltmain.sh) to correct a bug in
the hack.
Also made sure that compiler-specific DEFAULT_LIBS are used
when linking.

Platforms tested:
sleipnir, copper, modi4, sol
2005-02-16 14:27:27 -05:00
James Laird
3f0a35a4ea [svn-r9988] Purpose:
Bug fix

Description:
pmake (on modi4, for instance) complains about undefined variables
if it is run without the -V flag, which turns those errors to warnings.

Solution:
Added test to configure.in to see if $MAKE will allow Makefiles
with undefined variables.  If not, sets -V flag in AM_MAKEFLAGS.
Ensured that all custom make targets use AM_MAKEFLAGS.
Also defined all variables that caused errors in top-level Makefile.am.
This means that pmake can be used to build hdf5 *from the top level
only*.  To run make from a subdirectory, still need to use -V flag
(or use make or gmake).

Platforms tested:
modi4, heping, copper, sleipnir
2005-02-11 12:40:52 -05:00
James Laird
ab243bf369 [svn-r9920] Purpose:
Bug fix

Description:
Found the permanant fix to automake/CVS dependency problem

Solution:
Added AM_MAINTAINER_MODE macro to configure.in.
Now automake will never try to regenerate Makefiles, Makefiles.in,
configure, H5config.h, etc. when they are out of date, nor will it
print any warnings.
Developers should  be very very careful to use reconfigure script,
and can add --enable-maintainer-mode flag to configure on heping
to regenerate these files correctly.

Platforms tested:
heping sleipnir copper
2005-02-02 15:59:46 -05:00
James Laird
26303241fe [svn-r9902] Purpose:
Configuration feature

Description:
HDF5 now uses automake to generate Makefiles

Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh

Platforms tested:
Many
2005-01-31 22:17:02 -05:00
Quincey Koziol
24c134e28b [svn-r9865] Purpose:
Bug fix

Description:
    Catch another way that vsnprintf() can fail (this time on the HP) and
deal with that.

Platforms tested:
    HP/UX 11.x (kelgia)
    Doesn't affect other platforms
2005-01-24 13:50:31 -05:00
Quincey Koziol
563a8dd140 [svn-r9861] Purpose:
Bug fix

Description:
    Add detect vasprintf() routine and use it instead of vsnprintf() when
formatting error descriptions if it's available.

    Added configure test to detect "broken" vsnprintf() implementations which
don't return the correct number of character for strings that are too long to
fit into the buffer provided (currently a problem on the SGIs and probably the
HP).

    Re-wrote error formatting code in H5Epush_stack() to handle broken
vsnprintf() implementations, etc.

Platforms tested:
    IRIX64 6.5 (modi4)
    h5committest
2005-01-23 22:26:37 -05:00
Elena Pourmal
c1df1b3ea4 [svn-r9857] Purpose: Maintenance
Description: Removed PABLO from the source

Solution:

Platforms tested: arabica with 64-bit, copper with parallel,
                  heping with GNU C and C++ and PGI fortran (but
                  I disabled hl, there is some weird problem only
                  on heping: F9XMODFLAG is not
                  propagated to the Makefile files

Misc. update:
2005-01-21 20:16:57 -05:00
Raymond Lu
105bee4ead [svn-r9826] Purpose: Bug fix
Description:  Intel compiler on Linux has some problem to convert long double to
unsigned int correctly.

Solution:  Detect the problem in configure and define a macro to skip this test
if it happens.

Platforms tested: eirene and fuss.  Simple change.
2005-01-14 15:15:34 -05:00
Raymond Lu
96cc43235e [svn-r9819] Purpose: Bug fix
Description:  The fix of the loss problem of the last 2 bytes of mantissa on sleipnir has
not been successful.  It happens when converting from unsigned long long to long double.
 The failure has been on and off.

Solution:  Hard set a macro to disable unsigned long long->long double for FreeBSD until
a good solution is found to solve this elusive problem.

Platforms tested: sleipnir and fuss.  Only sleipnir is concerned.

Misc. update:
2005-01-13 17:01:52 -05:00
Raymond Lu
7945e9929e [svn-r9809] Purpose: bug fix
Description:  For HP-UX11.00, compiler's casting from 'long double' to most of
integers.  A macro was hard set in config/hpux11.00 before.

Solution:  Let configure detect this case and set the macro.

Platforms tested:  kelgia, fuss, modi4.  These systems are mainly concerned.
2005-01-11 16:05:21 -05:00
Raymond Lu
a985c4c525 [svn-r9807] Purpose: bug fix
Description: For FreeBSD (sleipnir), when GNU compilers do conversion from
unsigned long long to long double, the last 2 bytes of mantissa are lost.
The impact of precision loss isn't significant.

Solution:  Detect this case on FreeBSD in configure, ignore it in dtypes.c
test instead of return failure.

Platforms tested: sleipnir, fuss, modi4.  These systems are mainly concerned.
2005-01-11 13:17:01 -05:00
Quincey Koziol
c04b612eb4 [svn-r9801] Purpose:
Bug fix

Description:
    Belatedly chase change of hobj_ref_t in C APIs.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/backward compatibility turned on
    IRIX64 6.5 (modi4) w/FORTRAN
    h5committest
2005-01-10 17:56:20 -05:00
Raymond Lu
7faa297ea6 [svn-r9783] Purpose: Bug fix
Description: For HP-UX 11.00, the compiler generates 'floating exception'
when converting 'long double' to most of integer types.

Solution: Define a macro for all other systems except HP-UX 11.00.  Hard set
this macro to 'no' in config/hpux11.00 to skip this test for HP-UX 11.00.

Platforms tested:  modi4, kelgia, fuss
2005-01-08 15:56:12 -05:00
Xiaowen Wu
48822308a7 [svn-r9757] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-01-06 13:48:49 -05:00
Raymond Lu
82f6a72ec9 [svn-r9755] Purpose: New feature
Description:  Start to support software conversion between long double and
all integers.

Solution:  No major changes to the algorithm.  Changes to configure is to
exclude SGI for long double to integers test because there're too many problems
in their compiler.

Platforms tested:  h5committest, modi4, fuss, Teragrid, arabica

Misc. update:  RELEASE.txt
2005-01-06 13:17:59 -05:00
Quincey Koziol
427ff7da28 [svn-r9727] Purpose:
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)

Description:
    Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation.  So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.

    I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    FreeBSD 4.10 (sleipnir) w/threadsafe
    FreeBSD 4.10 (sleipnir) w/backward compatibility
    Solaris 2.7 (arabica) w/"purify options"
    Solaris 2.8 (sol) w/FORTRAN & C++
    AIX 5.x (copper) w/parallel & FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN
    Linux 2.4 (heping) w/FORTRAN & C++


Misc. update:
2004-12-29 09:26:20 -05:00
Albert Cheng
988b2d8e45 [svn-r9689] Purpose:
Changed the wording of enable-hl option to better wording.

Platforms tested:
"h5committested"
2004-12-18 14:02:05 -05:00
HDF Admin
d15fc28874 [svn-r9655] Snapshot version 1.7 release 44 2004-12-12 03:43:51 -05:00
Pedro Vicente Nunes
dd7c794469 [svn-r9644] Purpose:
add hl fortran

Description:

Solution:

Platforms tested:
linux (absfot and pgf90)
solaris (32 and 64 bit)
AIX

note : HP gives a compiling error , to be fixed in the future

Misc. update:
2004-12-08 15:31:25 -05:00
HDF Admin
4f8b4ba111 [svn-r9617] Snapshot version 1.7 release 43 2004-12-05 03:53:14 -05:00
Pedro Vicente Nunes
293fe87eee [svn-r9558] Purpose:
insert high level library into main library


Description:
configure.in has a new entry (--enable-hl, disable-hl) it is on by default
the configure message prints info regarding if hl is enabled or not

the tree is
/hl
/hl/src
/hl/test



Solution:

Platforms tested:
linux
solaris
AIX


Misc. update:
2004-11-22 14:17:36 -05:00
HDF Admin
0eb15cd68f [svn-r9527] Snapshot version 1.7 release 42 2004-11-14 05:18:42 -05:00
HDF Admin
ce64c13409 [svn-r9513] Snapshot version 1.7 release 41 2004-11-07 05:19:55 -05:00
Robert E. McGrath
f7c4277bbb [svn-r9493] Purpose:
Fix SZIP filter to dynmically detect encoder.

Description:

Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf

Platforms tested:
verbena, arabica, cobalt.

Note RE testing:
All automatic tests work as before.

The feature is a configuration thing, so the tests are manual.
Tested with the following configs:
  pre-release version of SZIP, with dynamic library,
   1. no SZIP
   2. SZIP, decoder only
   3. SZIP, encoder+decoder
  released (static lib) SZIP
   4. no SZIP
   5. SZIP, decoder only
   6. SZIP, encoder+decoder

  after build, switch szip in LD_LIBRARY_PATH at run time
   7. SZIP decoder
   8. SZIP encoder

Misc. update:
Manifest updated
2004-11-02 14:10:24 -05:00
HDF Admin
39f4b8d0c3 [svn-r9455] Snapshot version 1.7 release 40 2004-10-24 05:22:24 -05:00
Quincey Koziol
d86b3c0205 [svn-r9410] Purpose:
Code cleanup

Description:
    Update FORTRAN configuration test code to be more syntacticly correct
and not generate errors with stricter standards checking in the compiler.

Platforms tested:
    Linux 2.4 (verbena)
    Too minor to require h5committest
2004-10-12 15:49:28 -05:00
Quincey Koziol
bf4f24a497 [svn-r9384] Purpose:
Refactor and update fortran configuration

Description:
    Changed configure.in to include the production, debugging and profiling
flags for FORTRAN in the command line.

    Added '-flags' files for PGI and Intel C compilers

    Added '-fflags' files for PGI and Intel FORTRAN compilers

    Updated 'gnu-flags' file for GNU C compiler to not modify compiler flags
when gcc is not being used.

    Make detection of the correct FORTRAN compiler a bit smarter for Linux
platforms.  (And carried over some of the minor changes to other affected
machines)

Platforms tested:
    Linux 2.4 (tungsten) w/PGI and Intel C & FORTRAN compilers.
    Changes not tested by h5committest
2004-10-08 21:38:50 -05:00
HDF Admin
e2f3ab0ab0 [svn-r9357] Snapshot version 1.7 release 39 2004-10-03 04:03:09 -05:00
HDF Admin
643811be02 [svn-r9321] Snapshot version 1.7 release 38 2004-09-26 04:47:53 -05:00
HDF Admin
147951e4bb [svn-r9243] Snapshot version 1.7 release 37 2004-09-12 04:05:05 -05:00
HDF Admin
cfd312161f [svn-r9209] Snapshot version 1.7 release 36 2004-09-05 04:07:33 -05:00
HDF Admin
93c167f3ff [svn-r9134] Snapshot version 1.7 release 35 2004-08-22 04:06:16 -05:00
HDF Admin
02ae88e353 [svn-r9089] Snapshot version 1.7 release 34 2004-08-15 04:05:47 -05:00
James Laird
a23f1c800d [svn-r9056]
Purpose:
Bug fix

Description:
Fixed gettimeofday configure test to use cache values

Platforms tested:
copper, arabica, verbena, sleipnir

Misc. update:
2004-08-10 11:53:26 -05:00
HDF Admin
51bdf6c34d [svn-r9052] Snapshot version 1.7 release 33 2004-08-08 04:47:51 -05:00
Robert E. McGrath
f53299c0b3 [svn-r9019] Purpose:
Adding new 'jam' utility

Description:
New utility, plus changes to makefiles

Solution:
See http://hdf.ncsa.uiuc.edu/RFC/Jam

Platforms tested:
verbena (fortran,C++), arabica, hirdls (SGI Irix64)

Misc. update:
Manifest will be done in next checkin.
2004-08-05 10:10:39 -05:00
Quincey Koziol
daa96590d3 [svn-r8987] Purpose:
Code cleanup

Description:
    Fix another batch of minor differences between the development and release
branches.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-08-02 12:51:50 -05:00
HDF Admin
e91a21cd3b [svn-r8979] Snapshot version 1.7 release 32 2004-08-01 03:46:18 -05:00
James Laird
375f0745a7 [svn-r8938]
Purpose:
Bug fix

Description:
Modification time test (mtime) would die silently on some systems.  This is
because the code is very system-dependant (it relies on getting the current
time and the timezone from the OS).

Solution:
mtime test now uses TEST_ERROR macro to print "FAILED" and to output where the
failure occurred.  Configure script is a little smarter about whether
gettimeofday() function returns the timezone correctly.
Further bugs will need to be addressed on a system-by-system basis.

Platforms tested:
sleipnir, arabica, verbena, copper, windows (VC7)
2004-07-23 12:29:16 -05:00
Quincey Koziol
ecd9f0a10e [svn-r8932] Purpose:
Code cleanup

Description:
    Clean up collective chunking code a bit.

    Also, add '--enable-instrument' configure flag to have a mechanism for
determining that optimized operations happened correctly in the library (instead
of just the "normal" way) by allowing 'flag' properties to be set outside the
library and set when the "right" thing happens.  This is mainly for debugging
and regression checks, so we make certain we don't break optimized I/O by
accident.  It's enabled by default when --enable-debug is on (which is on by
default in the development branch and off by default in the release branch),
but can also be independently controlled with its own configure flag.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    IBM p690 (copper) w/parallel
2004-07-22 15:46:27 -05:00
Albert Cheng
4e13d7afd5 [svn-r8896] Purpose:
Feature

Description:
Showed the fortran compiler and FFLAGS and CXX compiler and CXXFLAGS
when the corresponding language API is enabled.

Platforms tested:
No h5committest since it is just a simple shell script change.
Tested in Eirene.

Misc. update:
2004-07-19 13:56:41 -05:00
Quincey Koziol
dcd15ba46a [svn-r8888] Purpose:
Bump version # after making snapshot
2004-07-15 22:47:42 -05:00
HDF Admin
ccb208300f [svn-r8858] Snapshot version 1.7 release 30 2004-07-11 03:39:16 -05:00
HDF Admin
3fa118a4b1 [svn-r8803] Snapshot version 1.7 release 29 2004-07-04 03:37:15 -05:00
James Laird
eab58732d8 [svn-r8781]
Purpose:
HDF5 now supports SZIP with no encoder.

Description:
SZIP can be configured to have both encoder and decoder or just to have the decoder.  HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled.

Solution:
Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id.  See SZIP RFC.

Platforms tested:
Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++)

Misc. update:
2004-07-01 12:38:04 -05:00
HDF Admin
b33344a7be [svn-r8672] Snapshot version 1.7 release 28 2004-06-13 03:30:32 -05:00
Quincey Koziol
e81fa063c3 [svn-r8627] Purpose:
Update shell scripts

Description:
    Switch to generating the testh5dump.sh script at configure time, so we can
determine which filters are available to test.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to require h5committest
2004-06-09 08:47:20 -05:00
HDF Admin
95da7ce5c4 [svn-r8620] Snapshot version 1.7 release 27 2004-06-06 03:27:17 -05:00
HDF Admin
229cc3b8c0 [svn-r8531] Snapshot version 1.7 release 26 2004-05-16 09:02:36 -05:00
Raymond Lu
7c354e2d8b [svn-r8516] Purpose: Bug fix
Description:  A new bug is found on HP.  There is float exception during conversion from double to
unsigned long long when the value of double is very big.

Solution:  Try to catch the problem in configure and skip this part of test.

Platforms tested:  kelgia and verbena(mainly these two machines are involved)
2004-05-13 16:16:44 -05:00
Raymond Lu
44cb906eb7 [svn-r8504] Purpose: bug fix
Description:  The HP compiler cannot convert from float-point numbers to unsigned long long
correctly.  It sets the maximal value of unsigned long long as 0x7fffffffffffffff.

Solution:  Skip the conversion test when this happens by testing it during configuration.

Platforms tested:  kelgia(HP-UX 11) and fuss(RH 8)
2004-05-11 15:26:21 -05:00
HDF Admin
e7bfa8ebf7 [svn-r8498] Snapshot version 1.7 release 25 2004-05-09 04:12:21 -05:00
Raymond Lu
4d0c0891c0 [svn-r8491] Purpose: Bug fix
Description:  For certain compiler(PGI we know so far), during conversion
from float or double to unsigned long long, it does round-up when the
fraction part is greater than 0.5, which shouldn't happen.

Solution:  check it during configuration and compensate this offset
during testing in dtypes.

Platforms tested:  verbena and fuss.  verbena is the only machine with
PGI compiler. Ran it on fuss to verify it with other compiler.
2004-05-07 16:58:54 -05:00
HDF Admin
2c16f0510b [svn-r8486] Purpose:
Reset release number back to 1.7.x by removing the fphdf5-alpha1 sub-
release string.
2004-05-06 09:39:23 -05:00
HDF Admin
5be0fa4ef3 [svn-r8485] Snapshot version 1.7 release 24 (fph5_alpha1) 2004-05-06 09:32:52 -05:00
Raymond Lu
b5d14c22a2 [svn-r8480] Purpose: bug fix
Description: Solaris 64-bit machines cannot handle round-up correctly during
conversion between unsigned (long) long and double.

Solution: During configuration, run a program to test if there is any failure
during conversion.  Enable a macro if failures happen and adjust the test/dtypes
for round-up.

Platforms tested: h5committest, arabica 64-bit.
2004-05-04 13:01:09 -05:00
Quincey Koziol
d992a4a387 [svn-r8427] Purpose:
Bug fix (sorta)

Description:
    Add hack to allow the MS Visual Studio 6 compiler to build the library.
It cannot cast unsigned long long values to float or double values.  So, add
another configuration macro to disable this conversion in the library.  Just
the "hardware" conversion is disabled, so the library will still correctly
convert unsigned long long to float and double values, it will just happen
more slowly with the "software" conversion routine.

Platforms tested:
    FreeBSD 4.9 (sleipnir) with "Windows" setting faked
    inappropriate for h5committest
2004-04-28 13:42:25 -05:00
Quincey Koziol
12ba2eed6a [svn-r8425] Purpose:
Bug fix (sorta)

Description:
    The SGI machines have problems accurately (and consistently) converting
unsigned long values to float and double values, so put in a bit of a hack in
the datatype conversion test code to allow them to get "close enough".  This
hack is enabled at configure time by a flag which should only be set on machines
with this problem.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-28 12:02:12 -05:00
HDF Admin
9af04cd41d [svn-r8418] Snapshot version 1.7 release 23 2004-04-25 04:10:35 -05:00
HDF Admin
4e65894845 [svn-r8385] Snapshot version 1.7 release 22 2004-04-18 04:10:08 -05:00