Commit Graph

493 Commits

Author SHA1 Message Date
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