Commit Graph

11405 Commits

Author SHA1 Message Date
Mike McGreevy
f736e4ca18 [svn-r17775] Purpose:
h5cc link-line reordering

Description:

    Re-ordered flags in h5cc such that LDFLAGS appears after hdf5 library 
    include path. This is to ensure third party library locations don't 
    interfere with locating the correct version of hdf5 library.

Tested:

    passed daily tests in 1.8 branch (as verified by Larry just now).
2009-10-28 15:35:13 -05:00
Neil Fortner
2f423f0a47 [svn-r17771] Add bug number to note in RELEASE.txt. 2009-10-28 10:10:10 -05:00
Albert Cheng
b95a2981f2 [svn-r17770] Bug 1264 fixed.
Tests to verify the bug fixed are installed.

Test: v1.8.4 passed all tests on
Jam (default and with --disable-depreacted-symbol), Amani (v16API),
Linew (default).
This should be good for trunk version too.
2009-10-28 02:26:27 -05:00
Neil Fortner
529eb825c2 [svn-r17764] Purpose: Fix bug 1483
Description:
H5HG_load made improper assumptions about the ordering of object indices, namely
that they are in order.  Not only is this not guaranteed by the file format
spec, but this condition can be violated if id's "wrap around" which can happen
when overwriting VL data.  H5HG_load has been fixed to handle any order of
indices.  Also fixed some other bugs involving allocation of global heaps in
memory.

Tested: jam, linew, amani (h5committest)
2009-10-27 21:52:05 -05:00
Neil Fortner
8552aed7bb [svn-r17763] Minor formatting change in RELEASE.txt. 2009-10-27 17:52:05 -05:00
Neil Fortner
376a788840 [svn-r17760] Purpose: Fix problem with H5TB API
Description:
The H5TB API makes some improper assumptions about the order of compound
datatype members.  Namely, it assumes that members remain in the order in which
they were inserted.  Unfortunately, this assumption is inherent in the design of
the interface.  The library has been patched so that this assumption holds in
situations relevant to H5TB.

Tested: jam, linew, amani (h5committest)
2009-10-27 17:23:49 -05:00
Allen Byrne
597739142f [svn-r17758] Remove .NET references from windows text files and batch files 2009-10-27 16:37:26 -05:00
Neil Fortner
3df83b192d [svn-r17755] Purpose: Fix assertion failure caused by H5Tcommit1/2
Description:
Calling H5Tcommit_anon on a file with read only access would cause an
assertion failure.  Added a check to H5T_commit to return a failure in
this case.  Removed redundant check in H5T_commit_named.

Tested: Fedora 11 (very minor change)
2009-10-27 16:29:54 -05:00
Neil Fortner
34c8292e76 [svn-r17751] Purpose: Fix assertion failure caused by H5Tcommit1/2
Description:
Calling H5Tcommit1 or H5Tcommit2 on a file with read only access would cause an
assertion failure.  Added a check to H5T_commit_named to return a failure in
this case.  Also a minor fix in the link_filters test.

Tested: Fedora 11 (very minor change)
2009-10-27 15:56:54 -05:00
Quincey Koziol
ab3f3e0219 [svn-r17749] Description:
Refactor v2 B-tree code to bring it further in line with how the fractal
heap code works, to make forthcoming modificaions easier.  Also minor tweaks to
the fractal heap code to clean it up a bit more also.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2009-10-27 14:18:45 -05:00
HDF Tester
4af649f03d [svn-r17742] Snapshot version 1.9 release 50 2009-10-25 01:45:59 -05:00
Quincey Koziol
f985e7d22f [svn-r17740] Description:
Refactor v2 B-tree code to take creation parameters to H5B2_create() as
a struct (instead of individual arguments), call the client's class "cls"
instead of "type" internally, and add client class name to client class struct.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.1 (amazon) in debug mode
        Mac OS X/32 10.6.1 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-10-24 14:16:06 -05:00
Quincey Koziol
1059b74282 [svn-r17737] Description:
Fix error in dataset's chunk index v1 B-tree debugging code to correctly
pass userdata down to B-tree cache load routine.

Tested on:
    Linux 2.4/64 (chicago1)
    (too minor to require h5committest)
2009-10-23 13:25:31 -05:00
Allen Byrne
deddcad6ba [svn-r17736] mf.c test commented out. Assert hangs daily tests. 2009-10-23 10:59:37 -05:00
Allen Byrne
e7b01f7ff2 [svn-r17731] Correct batch file typo 2009-10-23 08:55:29 -05:00
Allen Byrne
5d27012937 [svn-r17726] Updated the errorlevel checking for better error handling in the windows batch files. 2009-10-22 16:23:59 -05:00
Larry Knox
3916f4ef4d [svn-r17724] Merge change from 1.8 branch to trunk that removes -D_POSIX_SOURCE from CPPFLAGS in h5cc.
Tested:  amani, jam, linew (h5committest).
2009-10-22 13:38:21 -05:00
Albert Cheng
db13a048a8 [svn-r17723] Bug fix:
The file failed to compiled in AIX which flags syntax error.
Fixed by making the statements more explicitly compare with NULL
and added a missing trailing semi-colon.

Tested:
Tested in AIX (Up at LLNL) only. The changes are trivial and should
be portable to all platforms.
2009-10-22 11:56:21 -05:00
Allen Byrne
e8f801f91b [svn-r17722] Added tcheckversion windows project files 2009-10-22 10:05:38 -05:00
Allen Byrne
23acbc49d5 [svn-r17721] Added new files:
tlinks.cpp, tcheck_version.c
   and tcheckversion projects
2009-10-22 10:04:46 -05:00
Albert Cheng
f747b55895 [svn-r17716] Cosmetic change to use exit(EXIT_FAILURE) instead of exit(1).
Tested: jam-pp.
2009-10-21 13:55:45 -05:00
Albert Cheng
c8f1cdae1d [svn-r17715] Fixed to exit failure if no command option is given.
Tested: Jam
2009-10-21 13:19:38 -05:00
Albert Cheng
e0b41d0b01 [svn-r17703] Bug fix: (1192)
Changed exit(1) to exit(EXIT_FAILURE) and exit(0) to exit(EXIT_SUCCESS) for
better coding.

Tested: jam.
2009-10-20 19:34:06 -05:00
Albert Cheng
bb5633b566 [svn-r17700] Bug fix: (1192)
Comment says Error exit code is -1 but actual code use 1.
Changed it to EXIT_FAILURE (1) and exit(0) to exit(EXIT_SUCCESS) for
better coding.

Tested: jam.
2009-10-20 19:04:39 -05:00
Albert Cheng
bb281b23e9 [svn-r17697] Bug fix: (1192)
Error exit code of -1 is illegal (exit code is unsigned).
Changed it to EXIT_FAILURE (1).
Also changed exit(0) to exit(EXIT_SUCCESS) for better coding.

Tested: jam.
2009-10-20 18:46:13 -05:00
Albert Cheng
fd6545ba5c [svn-r17693] Removed the erroneous test of using v16 API.
The error started out as an erroneous test of using v16 API via
source code. (See bug 1264).  It was implemented as:

#include "hdf5.h"
#define H5_USE_16_API

That was incorrect and generated warnings in Linux but error in AIX
for redefining macro H5_USE_16_API.

I corrected it yesterday to pass AIX by moving H5_USE_16_API up as:

#define H5_USE_16_API
#include "hdf5.h"

This is the proper way to turn on v16API and it passes all normal
tests.  I knew it would not work if somehow v16API is disabled
but hoping it can be fixed later.  Well, it broke last night
under --disable-deprecated-symbols.

Removed the #define H5_USE_16_API and let Raymond fix it after
the release.
2009-10-20 14:42:31 -05:00
Binh-Minh Ribler
2ba5f82790 [svn-r17692] Description:
Added c++/test/tlinks.cpp
2009-10-20 13:37:51 -05:00
Binh-Minh Ribler
fa406155ab [svn-r17690] Purpose: Code improvement
Description:
    Fixed CommonFG::getComment and CommonFG::getLinkval to provide
    default values for buffer size to improve usability.

    Added test file tlinks.cpp, which only contains test for getLinkval
    and will expand when C++ wrappers for H5L functions are implemented.

Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2009-10-20 13:14:34 -05:00
Larry Knox
a99a73d20e [svn-r17688] Merge make local copy of svn test data files for write access from v1.8 to trunk.
Tested:
	amani, jam, linew (h5committest).
2009-10-20 10:08:56 -05:00
Albert Cheng
4feddbbbcc [svn-r17685] Bug fix:
#define H5_USE_16_API
was inserted AFTER #include <hdf5.>, too late was it to take
effect. Instead, it caused a macro redefinition, flagged as an error
by AIX.

Fixed by moving it before the <hdf5.h>.

Tested: Jam.
2009-10-20 00:07:04 -05:00
Peter Cao
a8aa10bd21 [svn-r17680] Use absolute comparison for use-system-epsilon and default option. 2009-10-19 09:50:02 -05:00
Mike McGreevy
b7e61c869b [svn-r17675] Purpose:
Configure Cleanup

Description:

    Make all AM_CFLAGS visible in CFLAGS during configure so all checks
    have full visibility of any set flags.

Tested:

    h5committest
2009-10-18 22:05:25 -05:00
Albert Cheng
5ef5f8c3a6 [svn-r17671] Removed these two options from the fortran flags:
-qmoddir=. because -qmoddir defaults to current directory already.
   -static because it is not mentioned in "man xlf". Don't know it was a typo
    or just an obsoleted option.
Removing both of them produced no ill or visible effects.

Tested: Up of LLNL
2009-10-18 17:53:59 -05:00
Larry Knox
27a68642f1 [svn-r17670] Snapshot version 1.9 release 49 2009-10-18 11:40:34 -05:00
Albert Cheng
a7db9a67b5 [svn-r17667] Bug 1656 fix:
added a signal handler to the tcheck_version to intercept the abort signal from
H5check_version.  Some systems would prints extra messages and/or core dump if
the abort signal is not handled. This eliminates those unwanted side effect.

Tested: h5committested.
2009-10-17 23:51:20 -05:00
Mike McGreevy
dfb22d02b0 [svn-r17663] Purpose:
configure cleanup

Description

    1. Removed check that disables shared libraries when pgcc is used. Apparently
       they previously did not work with libtool 1.5.14 and on mir, neither of
       which is in use anymore. Testing on jam and amani appear fine, so this
       check is unnecessary.

    2. Removed check that disables shared C++ libraries when -xarch is used to
       enable 64 bit mode. We now use m64 flag to build 64 bit binaries, so 
       we shouldn't explicitly disable shared C++ libraries if -xarch is 
       discovered.

    3. Removed old configure output summary section from configure.in, since
       we now use the libhdf5.settings file.

    4. Updated powerpc-ibm-aix5.x config file to once again put c99 flag into
       H5_CFLAGS (and thus NOT get into h5cc), as decided in our dev meeting.

Tested:

    h5committest
    full build with pgcc on jam / amani
2009-10-16 15:16:00 -05:00
Albert Cheng
091fb5951c [svn-r17659] Changed the default fortran compilers from xlf and mpxlf_r to
xlf90 and mpxlf90_r respectively. The fortran 90 compilers support
free format source files. This allows the removal of -k so that
the default compiler command is cleaner.

Tested: AIX Up at LLNL.
(Note: mpxlf90_r does not work but this could have been an undetected
old problem.)
2009-10-15 19:17:03 -05:00
Quincey Koziol
0753ed302a [svn-r17658] Description:
Rename 'H5B2_t' -> 'H5B2_hdr_t' and 'bt2' -> 'hdr' in preparation for
make v2 B-tree open/close routines library private (instead of static).

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.1 (amazon) in debug mode
        Mac OS X/32 10.6.1 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-10-15 18:16:43 -05:00
Quincey Koziol
3dd3756ea1 [svn-r17657] Description:
Refactor the v2 B-tree code to use an open & close call internally, in
preparation for making those part of the library private APIs for dealing with
v2 B-trees.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.1 (amazon) in debug mode
        Mac OS X/32 10.6.1 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-10-15 17:26:46 -05:00
Mike McGreevy
21518fd05a [svn-r17654] Purpose:
Configure cache-val cleanup

Description:

    Corrected some misnamed cache values in configure / config files.

Tested:

    h5committest
2009-10-15 16:14:27 -05:00
Allen Byrne
7e0e1bcc1b [svn-r17653] Add new H5B2hdr.c file to hdf5 project files. 2009-10-15 15:16:25 -05:00
Quincey Koziol
d38b38db5a [svn-r17649] Description:
Refactor v2 B-trees to pin the B-tree header in the cache instead of
using separate reference counted data structure.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.1 (amazon) in debug mode
        Mac OS X/32 10.6.1 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-10-15 13:26:50 -05:00
Elena Pourmal
f7b06c8505 [svn-r17647] Maintenance: Configure didn't cleanup Fortran module file; fixed.
Platforms tested: jam (trivial change)
Note: Most of the Fortran compilers create module files with "mod" extension.
In the past, I believe,  there were systems (Cray?) that used different 
extensions. We should add those to the current fix when we find them.
2009-10-15 13:11:56 -05:00
Vailin Choi
d1bb0c7bb3 [svn-r17646] 1. tools/h5repack/h5repack_main.c: accept string for strategy instead of a number
2. tools/h5stat/h5stat.c: clean up and activate options as stated in usage
3. tools/h5stat/testfiles/*.ddl: modified according to the latest output

-This line, and those below, will be ignored--

M    tools/h5repack/h5repack_main.c
M    tools/h5stat/testfiles/h5stat_newgrat.ddl
M    tools/h5stat/testfiles/h5stat_filters.ddl
M    tools/h5stat/testfiles/h5stat_help1.ddl
M    tools/h5stat/testfiles/h5stat_help2.ddl
M    tools/h5stat/testfiles/h5stat_tsohm.ddl
M    tools/h5stat/testfiles/h5stat_filters-F.ddl
M    tools/h5stat/h5stat.c
2009-10-15 12:43:24 -05:00
Elena Pourmal
7ed7937f96 [svn-r17644] Maintenance: Removed duplicated entry for socket library. It was there
for stream VFD. -lsocket is still used for linking, but it
             is added by libtool and not by us. 
             Set up debug flags for Fortran.

Platforms tested: linew 32 and 64-bit.
2009-10-15 08:27:45 -05:00
Mike McGreevy
dc6898fde2 [svn-r17643] Purpose:
Configure / Config File Fixes

Description:

    1. Made AM_CPPFLAGS assignments in configure a bit safer. (i.e., check to
       ensure include paths exist before adding them to AM_CPPFLAGS).

    2. Change AIX config file to add -D_LARGE_FILES into AM_CXXFLAGS instead
       of H5_CXXFLAGS (same with *_CFLAGS). This will propagate it into 
       h5c++, where it is needed to compile correctly.

    3. Added missing line containing AM_CFLAGS to configure output summary.

Tested:

    h5committest, and uP (AIX machine, via Albert).
2009-10-14 16:43:05 -05:00
Mike McGreevy
4463d9b84c [svn-r17639] Purpose:
Configure Fix

Description:

    uP (AIX Machine) was failing because configure needs to see -k flag in
    FCFLAGS for some checks to behave as intended. Since the config files
    were switched to passing all flags into H5_FCCFLAGS, this broke this
    behavior.

    To allow configure to see this again, FCFLAGS and all other user flags
    are saved before doing anything, and restored at the end of configure,
    so if needed we can set these values in configure and/or the config/ 
    files without (permanently) overriding or changing anything a user sets.

    Also modified the powerpc-ibm-aix5.x config file to once again put -k
    into FCFLAGS in addition to H5_FCFLAGS (the former of which will be
    restored after configure completes the checks).

Tested:

    h5committest (jam and amani finished, linew still running, though
    I wanted to get this in for daily tests since it needs to be run on
    uP for final verification).
2009-10-13 16:55:21 -05:00
Elena Pourmal
93bea90f58 [svn-r17636] Maintenance: Changed default fortran compiler for Mac Intel to gfortran
Cleaned up the file to be inline with other config files
             that use multiple compilers.


Platforms tested:
	     My Mac pahra with gfortran, ifort and g95
2009-10-12 23:57:31 -05:00
Albert Cheng
451f5b1b11 [svn-r17635] Bug 1192:
Added EXIT_SUCEESS and EXIT_FAILURE macro values test.

Tested:
h5committested.
2009-10-12 23:04:21 -05:00
Allen Byrne
b41e7eda19 [svn-r17631] Removed vnet assignments and allow default /vs8 and /ivf91 on command line.
Tested: windows
2009-10-12 15:16:31 -05:00