Compare commits

...

32 Commits

Author SHA1 Message Date
Mike McGreevy
c14457b8b8 [svn-r21758] Release HDF5 1.8.8:
- Update version number to HDF5 1.8.8
  - Run bin/release to generate release tarball
    and to mark source docs as 'released'.
2011-11-15 09:47:24 -05:00
Mike McGreevy
f064c0ab45 [svn-r21757] Purpose:
Formatting changes to RELEASE.txt
      - Clean up initials, date, and JIRA ID info for all items.
      - Remove fixed / inapplicable known issues.
      - Re-order items to adhere to reverse chronological order.

Tested:

    None needed; release documentation only.
2011-11-14 15:10:19 -05:00
Mike McGreevy
be74742cf2 [svn-r21755] Purpose:
Revert part of r21421 (F2003 merge to 1.8) which unintentionally
    removed a line from configure.in that sets FC=no when fortran
    is not enabled. This ensures that configure doesn't run
    compiler checks on a fortran compiler when it won't be used.
    (and can cause failures in configure when no fortran compiler is
    present as well as issues with the resulting src/Makefile when
    building DLLs on Cygwin)

Tested:

    h5committest; manually on jam & bangan (Cygwin).
2011-11-14 11:47:13 -05:00
Scot Breitenfeld
8619b7f89b [svn-r21751] Merged r21731 from 1.8 branch which *should* fix the
race condition found with make test, specifically
the test dataset test. *Seems* to have fixed the problem
in trunk and 1.8.

Tested: jam (gfortran), trivial file name change.
2011-11-14 09:55:35 -05:00
Albert Cheng
a85036c2ac [svn-r21750] Corrected information for the Blue Gene entries. 2011-11-14 01:53:29 -05:00
Albert Cheng
aeb38bee25 [svn-r21749] Updated with information of LLNL linux cluseter, Aztec, and Blue Gene/P
cluster, uDawn.
2011-11-14 01:30:58 -05:00
Albert Cheng
b46aa64eb0 [svn-r21737] Updated with INL Icestorm and Fission machine information. 2011-11-10 17:49:48 -05:00
Albert Cheng
9a4197b774 [svn-r21735] Updated with AIX 5.3 release information. 2011-11-10 14:51:59 -05:00
Mike McGreevy
1d3a167a80 [svn-r21733] RELEASE.txt change:
Updated compiler and tested configuration info for
NCSA's ember, and added NCSA's forge to the list of
tested machines as well.

Tested:
Doc change only; none needed.
2011-11-08 13:14:02 -05:00
Allen Byrne
70fd407131 [svn-r21732] Update popular linux versions (debian, fedora, ubuntu, suse) 2011-11-08 09:01:25 -05:00
Dana Robinson
4cb32055a6 [svn-r21729] *** Post-code freeze change approved by Mike McGreevy ***
Removed linking to the BSD compatibility library (-lbsd-compat) on linux.
Linking to said library breaks the big test on CentOS 4.6 with gcc 4.6.2.
Although this is an unsual combination of OS and compiler, we're reverting
to the original behavior while we investigate the effect of the feature
macros.

Tested on jam and koala, incl. parallel and threadsafe.
2011-11-07 11:32:49 -05:00
Albert Cheng
f94c5adfdd [svn-r21727] Bug HDFFV-2511: h5repack: failed in -q32 AIX due to memory
Description: removed the temporary patch of
RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
and similaryly for RUNPARALLEL since the h5repack test failure
was fixed and this patch is no longer needed.  (IBM also advices
not to hardset MAXDATA if possible.)

Tested: NASA G-ADA AIX machine, both 32 and 64 bits modes.
(No parallel test because not able to build or run MPI executables yet.)
2011-11-07 08:51:02 -05:00
Scot Breitenfeld
d6c0865f9d [svn-r21724] Description: Brought r21719 from the trunk to the branch which removed using INT() on an already INTEGER variable for the input arguments to the verify routine. This caused an error in verifying results for the two integers on fred and tejeda when compiled in production mode with --enable-fortran2003.
Tested: fred (gnu)
2011-11-06 19:07:38 -05:00
Raymond Lu
5aae6bdad9 [svn-r21714] I updated the compiler information for Solaris 5.10 (linew).
No test needed.
2011-11-04 11:58:06 -05:00
Mark Evans
2676e84bc0 [svn-r21711] _ Edited file for language. 2011-11-03 16:53:40 -05:00
Raymond Lu
41f8327858 [svn-r21709] I made more update for the test commands.
Not tested yet.
2011-11-03 15:34:23 -05:00
Raymond Lu
8be272e6b3 [svn-r21707] I changed the some file names from "textXXXX.conf" to "txtXXXX.conf".
Not tested yet.
2011-11-03 14:46:25 -05:00
Raymond Lu
27b4da506a [svn-r21704] I corrected a capital option with a quotation.
Not tested yet.
2011-11-02 14:05:49 -05:00
Raymond Lu
52b18f2da0 [svn-r21700] I changed the file name tnofilename-with-packed-bits.ddl to tnofilename.ddl according to h5dump script file for C.
Not tested yet.
2011-11-01 17:28:22 -05:00
Raymond Lu
1ba2fbdeea [svn-r21699] I updated the information for Mac OS (64-bit and 32-bit) and Solaris systems. 2011-11-01 17:02:31 -05:00
Scot Breitenfeld
93853852d9 [svn-r21698] Brought r21693 from 1_8 branch, which:
Removed a not needed test in fortranlib_test_F03.f90 and 
made fortranlib_test_1_8.f90 standard compliant.

tested: jam (gnu compiler)
2011-11-01 16:45:41 -05:00
Raymond Lu
abe8e2fa18 [svn-r21697] I took out the space_overflow.c test because it creates data file.
Tested on VMS.
2011-11-01 13:00:04 -05:00
Mohamad Chaarawi
0161788cb6 [svn-r21695] add hopper and franklin to the platforms tested 2011-10-31 16:01:00 -05:00
Raymond Lu
925e17affe [svn-r21681] I took out space_overflow.c because it's only for creating a data file.
Not tested yet.
2011-10-28 12:04:56 -05:00
Quincey Koziol
bcc486d444 [svn-r21679] Description:
Don't check dataset storage size for compressed datasets with region
reference datatypes.  (The address of the region reference type in the file
varies and affects the compressed size)

Tested on:
    Mac OS X/32 10.7.2 (amazon) w/debug & production + check-vfd
2011-10-26 10:34:15 -05:00
Raymond Lu
75e3efda6b [svn-r21678] I commented out three test cases where the format of the printed output was slightly different from the standard. Allen said he refactored the code for the tools. It may fix this problem after he commits the change.
Not tested yet.
2011-10-26 10:27:26 -05:00
Allen Byrne
13d49bef93 [svn-r21666] Remove extra letter from OPTION name 2011-10-25 09:46:49 -05:00
Jonathan Kim
fe77ae85aa [svn-r21661] Purpose:
HDFFV-7770 - h5diff segmentation fault on JPSS files

Description:
    Fixed segfault over non-comparable attribute with different dimention or
    rank, along with '-c' option to display details.
    Merged from HDF5 1.8 r21660.

Tested:
 jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), Cmake (jam)
2011-10-24 17:39:51 -05:00
Raymond Lu
7759125cc5 [svn-r21657] I updated H5_SIZEOF_OFF_T from 4 to 8.
Tested on vms.
2011-10-24 14:49:30 -05:00
Allen Byrne
213b65ad83 [svn-r21645] remove spurious " from batch file 2011-10-21 14:09:58 -05:00
Mike McGreevy
540f56b835 [svn-r21640] Change default mode from 'development' to 'production'.
Tested on jam.
2011-10-21 11:12:49 -05:00
Mike McGreevy
ded6801bd9 [svn-r21637] Update version to 1.8.8-pre1 2011-10-21 10:52:32 -05:00
28 changed files with 435 additions and 393 deletions

View File

@@ -1,4 +1,4 @@
HDF5 version 1.8.8-snap19 currently under development
HDF5 version 1.8.8 released on 2011-11-15
Please refer to the release_docs/INSTALL file for installation instructions.
------------------------------------------------------------------------------

View File

@@ -36,10 +36,7 @@ fi
# Ask for more memory so that "make check" will pass. Not necessary for -q64
# mode but it does no harm.
if test "X-$enable_parallel" = "X-yes" -o X-$CC_BASENAME = X-mpcc_r; then
RUNPARALLEL=${RUNPARALLEL="env LDR_CNTRL=MAXDATA=0x20000000@DSA MP_PROCS=\$\${NPROCS:=6} MP_TASKS_PER_NODE=\$\${NPROCS:=6} poe"}
RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA MP_PROCS=1 MP_TASKS_PER_NODE=1 poe"}
else
RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
RUNPARALLEL=${RUNPARALLEL="env MP_PROCS=\$\${NPROCS:=6} MP_TASKS_PER_NODE=\$\${NPROCS:=6} poe"}
fi

33
configure vendored
View File

@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in Id: configure.in 21559 2011-10-14 05:05:28Z brtnfld .
# From configure.in Id: configure.in 21755 2011-11-14 17:47:13Z mamcgree .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for HDF5 1.8.8-snap19.
# Generated by GNU Autoconf 2.68 for HDF5 1.8.8.
#
# Report bugs to <help@hdfgroup.org>.
#
@@ -571,8 +571,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='HDF5'
PACKAGE_TARNAME='hdf5'
PACKAGE_VERSION='1.8.8-snap19'
PACKAGE_STRING='HDF5 1.8.8-snap19'
PACKAGE_VERSION='1.8.8'
PACKAGE_STRING='HDF5 1.8.8'
PACKAGE_BUGREPORT='help@hdfgroup.org'
PACKAGE_URL=''
@@ -1464,7 +1464,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures HDF5 1.8.8-snap19 to adapt to many kinds of systems.
\`configure' configures HDF5 1.8.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1534,7 +1534,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of HDF5 1.8.8-snap19:";;
short | recursive ) echo "Configuration of HDF5 1.8.8:";;
esac
cat <<\_ACEOF
@@ -1730,7 +1730,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
HDF5 configure 1.8.8-snap19
HDF5 configure 1.8.8
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2819,7 +2819,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by HDF5 $as_me 1.8.8-snap19, which was
It was created by HDF5 $as_me 1.8.8, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -3639,7 +3639,7 @@ fi
# Define the identity of the package.
PACKAGE='hdf5'
VERSION='1.8.8-snap19'
VERSION='1.8.8'
cat >>confdefs.h <<_ACEOF
@@ -6373,6 +6373,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
fi
else
FC="no"
fi
ac_ext=c
@@ -21735,7 +21737,7 @@ fi
case "X-$enable_production" in
X-yes)
X-|X-yes)
enable_production="yes"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: production" >&5
$as_echo "production" >&6; }
@@ -21745,7 +21747,7 @@ $as_echo "production" >&6; }
H5_CXXFLAGS="$H5_CXXFLAGS $PROD_CXXFLAGS"
H5_FCFLAGS="$H5_FCFLAGS $PROD_FCFLAGS"
;;
X-|X-no)
X-no)
enable_production="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: development" >&5
$as_echo "development" >&6; }
@@ -22691,8 +22693,7 @@ case "$host_cpu-$host_vendor-$host_os" in
H5_CPPFLAGS="-D_POSIX_C_SOURCE=199506L $H5_CPPFLAGS"
AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS"
AM_LDFLAGS="-lbsd-compat $AM_LDFLAGS"
AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS"
;;
esac
@@ -30644,7 +30645,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by HDF5 $as_me 1.8.8-snap19, which was
This file was extended by HDF5 $as_me 1.8.8, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -30710,7 +30711,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
HDF5 config.status 1.8.8-snap19
HDF5 config.status 1.8.8
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
@@ -33504,7 +33505,7 @@ Usage: $0 [OPTIONS]
Report bugs to <bug-libtool@gnu.org>."
lt_cl_version="\
HDF5 config.lt 1.8.8-snap19
HDF5 config.lt 1.8.8
configured by $0, generated by GNU Autoconf 2.68.
Copyright (C) 2010 Free Software Foundation, Inc.

View File

@@ -26,7 +26,7 @@ dnl
dnl NOTE: Don't forget to change the version number here when we do a
dnl release!!!
dnl
AC_INIT([HDF5], [1.8.8-snap19], [help@hdfgroup.org])
AC_INIT([HDF5], [1.8.8], [help@hdfgroup.org])
AC_CONFIG_SRCDIR([src/H5.c])
AM_CONFIG_HEADER([src/H5config.h])
@@ -552,6 +552,8 @@ if test "X$HDF_FORTRAN" = "Xyes"; then
fi
fi
else
FC="no"
fi
dnl Change back to the C language
@@ -1226,7 +1228,7 @@ AC_ARG_ENABLE(production,
[Determines how to run the compiler.])])
case "X-$enable_production" in
X-yes)
X-|X-yes)
enable_production="yes"
AC_MSG_RESULT([production])
CONFIG_MODE=production
@@ -1235,7 +1237,7 @@ case "X-$enable_production" in
H5_CXXFLAGS="$H5_CXXFLAGS $PROD_CXXFLAGS"
H5_FCFLAGS="$H5_FCFLAGS $PROD_FCFLAGS"
;;
X-|X-no)
X-no)
enable_production="no"
AC_MSG_RESULT([development])
CONFIG_MODE=development
@@ -1494,8 +1496,9 @@ case "$host_cpu-$host_vendor-$host_os" in
dnl correctly in <stdio.h>
dnl Linking to the bsd-compat library is required as per the gcc manual:
dnl http://www.gnu.org/s/libc/manual/html_node/Feature-Test-Macros.html
dnl though we do not do this as it breaks the big test on older versions
dnl of linux (CentOS 4.6) using newer versions of gcc (4.6.2).
AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS"
AM_LDFLAGS="-lbsd-compat $AM_LDFLAGS"
;;
esac

View File

@@ -614,7 +614,7 @@ SUBROUTINE test_scaleoffset(cleanup, total_error )
CALL CHECK(" H5Pset_scaleoffset_f", error, total_error)
! Create the dataset
CALL H5Dcreate_f(file, "scaleoffset_int", datatype, &
CALL H5Dcreate_f(file, "scaleoffset_int", datatype, &
space, dataset, error, dc)
CALL CHECK(" H5Dcreate_f", error, total_error)
@@ -639,7 +639,7 @@ SUBROUTINE test_scaleoffset(cleanup, total_error )
DO j = 1, dims(2)
CALL RANDOM_NUMBER(x)
orig_data(1,j) = INT(x*10000.)
IF(MOD(j,2).EQ.0)THEN
IF(MOD(j,2_size_t).EQ.0)THEN
orig_data(1,j) = - orig_data(1,j)
ENDIF
ENDDO

View File

@@ -116,14 +116,6 @@ PROGRAM fortranlibtest_F03
CALL write_test_status(ret_total_error, &
' Testing filling functions', &
total_error)
!DEC$ if defined(H5_VMS)
GOTO 8
!DEC$ else
ret_total_error = 0
CALL file_close(cleanup, ret_total_error)
CALL write_test_status(ret_total_error, ' File open/close test', total_error)
!DEC$ endif
8 CONTINUE
ret_total_error = 0
CALL test_h5kind_to_type(total_error)

View File

@@ -286,27 +286,27 @@ SUBROUTINE test_genprop_class_callback(total_error)
f6 = C_LOC(cls_cb_struct)
!/* Create a new generic class, derived from the root of the class hierarchy */
CALL H5Pcreate_class_f(H5P_ROOT_F,CLASS1_NAME, cid1, error, f1, f2, c_null_funptr, c_null_ptr, f5, f6)
CALL check("H5Pcreate_class_f", error, total_error)
CALL h5pcreate_class_f(h5p_ROOT_F,CLASS1_NAME, cid1, error, f1, f2, c_null_funptr, c_null_ptr, f5, f6)
CALL check("h5pcreate_class_f", error, total_error)
!/* Insert first property into class (with no callbacks) */
CALL H5Pregister_f(cid1, PROP1_NAME, PROP1_SIZE, PROP1_DEF_VALUE, error)
CALL check("H5Pregister_f", error, total_error)
CALL h5pregister_f(cid1, PROP1_NAME, PROP1_SIZE, PROP1_DEF_VALUE, error)
CALL check("h5pregister_f", error, total_error)
!/* Insert second property into class (with no callbacks) */
CALL H5Pregister_f(cid1, PROP2_NAME, PROP2_SIZE, PROP2_DEF_VALUE, error)
CALL check("H5Pregister_f", error, total_error)
CALL h5pregister_f(cid1, PROP2_NAME, PROP2_SIZE, PROP2_DEF_VALUE, error)
CALL check("h5pregister_f", error, total_error)
!/* Insert third property into class (with no callbacks) */
CALL H5Pregister_f(cid1, PROP3_NAME, PROP3_SIZE, PROP3_DEF_VALUE, error)
CALL check("H5Pregister_f", error, total_error)
CALL h5pregister_f(cid1, PROP3_NAME, PROP3_SIZE, PROP3_DEF_VALUE, error)
CALL check("h5pregister_f", error, total_error)
!/* Insert fourth property into class (with no callbacks) */
CALL H5Pregister_f(cid1, PROP4_NAME, PROP4_SIZE, PROP4_DEF_VALUE, error)
CALL check("H5Pregister_f", error, total_error)
CALL h5pregister_f(cid1, PROP4_NAME, PROP4_SIZE, PROP4_DEF_VALUE, error)
CALL check("h5pregister_f", error, total_error)
! /* Check the number of properties in class */
CALL H5Pget_nprops_f(cid1, nprops, error)
CALL check("H5Pget_nprops_f", error, total_error)
CALL VERIFY("H5Pget_nprops_f", INT(nprops), 4, total_error)
CALL h5pget_nprops_f(cid1, nprops, error)
CALL check("h5pget_nprops_f", error, total_error)
CALL VERIFY("h5pget_nprops_f", INT(nprops), 4, total_error)
! /* Initialize class callback structs */
@@ -316,49 +316,49 @@ SUBROUTINE test_genprop_class_callback(total_error)
cls_cb_struct%id = -1
!/* Create a property list from the class */
CALL H5Pcreate_f(cid1, lid1, error)
CALL check("H5Pcreate", error, total_error)
CALL h5pcreate_f(cid1, lid1, error)
CALL check("h5pcreate_f", error, total_error)
!/* Verify that the creation callback occurred */
CALL VERIFY("H5Pcreate", INT(crt_cb_struct%count), 1, total_error)
CALL VERIFY("H5Pcreate", INT(crt_cb_struct%id), INT(lid1), total_error)
CALL VERIFY("h5pcreate_f", crt_cb_struct%count, 1, total_error)
CALL VERIFY("h5pcreate_f", INT(crt_cb_struct%id), INT(lid1), total_error)
! /* Check the number of properties in list */
CALL H5Pget_nprops_f(lid1,nprops, error)
CALL check("H5Pget_nprops_f", error, total_error)
CALL VERIFY("H5Pget_nprops_f", INT(nprops), 4, total_error)
CALL h5pget_nprops_f(lid1,nprops, error)
CALL check("h5pget_nprops_f", error, total_error)
CALL VERIFY("h5pget_nprops_f", INT(nprops), 4, total_error)
! /* Create another property list from the class */
CALL H5Pcreate_f(cid1, lid2, error)
CALL check("H5Pcreate", error, total_error)
CALL h5pcreate_f(cid1, lid2, error)
CALL check("h5pcreate_f", error, total_error)
! /* Verify that the creation callback occurred */
CALL VERIFY("H5Pcreate", INT(crt_cb_struct%count), 2, total_error)
CALL VERIFY("H5Pcreate", INT(crt_cb_struct%id), INT(lid2), total_error)
CALL VERIFY("h5pcreate_f", crt_cb_struct%count, 2, total_error)
CALL VERIFY("h5pcreate_f", INT(crt_cb_struct%id), INT(lid2), total_error)
! /* Check the number of properties in list */
CALL H5Pget_nprops_f(lid2,nprops, error)
CALL check("H5Pget_nprops_f", error, total_error)
CALL VERIFY("H5Pget_nprops_f", INT(nprops), 4, total_error)
CALL h5pget_nprops_f(lid2,nprops, error)
CALL check("h5pget_nprops_f", error, total_error)
CALL VERIFY("h5pget_nprops_f", INT(nprops), 4, total_error)
! /* Close first list */
CALL H5Pclose_f(lid1, error);
CALL check("h5pclose", error, total_error)
CALL h5pclose_f(lid1, error);
CALL check("h5pclose_f", error, total_error)
!/* Verify that the close callback occurred */
CALL VERIFY("H5Pcreate", INT(cls_cb_struct%count), 1, total_error)
CALL VERIFY("H5Pcreate", INT(cls_cb_struct%id), INT(lid1), total_error)
CALL VERIFY("h5pcreate_f", cls_cb_struct%count, 1, total_error)
CALL VERIFY("h5pcreate_f", INT(cls_cb_struct%id), INT(lid1), total_error)
!/* Close second list */
CALL H5Pclose_f(lid2, error);
CALL check("h5pclose", error, total_error)
CALL h5pclose_f(lid2, error);
CALL check("h5pclose_f", error, total_error)
!/* Verify that the close callback occurred */
CALL VERIFY("H5Pcreate", INT(cls_cb_struct%count), 2, total_error)
CALL VERIFY("H5Pcreate", INT(cls_cb_struct%id), INT(lid2), total_error)
CALL VERIFY("h5pcreate_f", cls_cb_struct%count, 2, total_error)
CALL VERIFY("h5pcreate_f", INT(cls_cb_struct%id), INT(lid2), total_error)
!/* Close class */
CALL H5Pclose_class_f(cid1, error)
CALL check("H5Pclose_class_f", error, total_error)
CALL h5pclose_class_f(cid1, error)
CALL check("h5pclose_class_f", error, total_error)
END SUBROUTINE test_genprop_class_callback

View File

@@ -1031,7 +1031,7 @@ END SUBROUTINE test_array_compound_atomic
INTEGER, PARAMETER :: real_kind_7 = SELECTED_REAL_KIND(Fortran_REAL_4) !should map to REAL*4 on most modern processors
INTEGER, PARAMETER :: real_kind_15 = SELECTED_REAL_KIND(Fortran_REAL_8) !should map to REAL*8 on most modern processors
CHARACTER(LEN=8), PARAMETER :: filename = "dsetf.h5" ! File name
CHARACTER(LEN=12), PARAMETER :: filename = "dsetf_F03.h5" ! File name
CHARACTER(LEN=5), PARAMETER :: dsetname1 = "dset1" ! Dataset name
CHARACTER(LEN=5), PARAMETER :: dsetname2 = "dset2" ! Dataset name
CHARACTER(LEN=5), PARAMETER :: dsetname4 = "dset4" ! Dataset name

View File

@@ -286,7 +286,7 @@ OPTION (HDF5_BUILD_EXAMPLES "Build HDF5 Library Examples" OFF)
OPTION (HDF5_BUILD_CPP_LIB "Build HDF5 C++ Library" OFF)
OPTION (HDF5_BUILD_TOOLS "Build HDF5 Tools" OFF)
OPTION (HDF5_BUILD_HL_LIB "Build HIGH Level HDF5 Library" OFF)
OPTION (DHDF5_NO_PACKAGES "Do not include CPack Packaging" OFF)
OPTION (HDF5_NO_PACKAGES "Do not include CPack Packaging" OFF)
************************************************************************

View File

@@ -1,12 +1,12 @@
HDF5 version 1.8.8-snap19 currently under development
HDF5 version 1.8.8 released on 2011-11-15
================================================================================
INTRODUCTION
============
This document describes the differences between HDF5-1.8.7 and
HDF5 1.8.8-*, and contains information on the platforms tested and
known problems in HDF5-1.8.8-*.
HDF5 1.8.8, and contains information on the platforms tested and
known problems in HDF5-1.8.8.
For more details, see the files HISTORY-1_0-1_8_0_rc3.txt
and HISTORY-1_8.txt in the release_docs/ directory of the HDF5 source.
@@ -56,10 +56,10 @@ New Features
Configuration
-------------
- Added --enable-fortran2003 flag to enable Fortran2003 support
- Added the --enable-fortran2003 flag to enable Fortran2003 support
in the HDF5 Fortran library. The flag should be used along with the
--enable-fortran flag and takes affect only when Fortran compiler
is Fortran2003 compliant. (EIP - 2011/11/14)
--enable-fortran flag and takes affect only when the Fortran compiler
is Fortran2003 compliant. (EIP - 2011/11/14)
- Added checks for clock_gettime and mach/mach_time.h to both configure and
CMake. This will support the move from gettimeofday to clock_gettime's
monotonic timer in the profiling code in a future release.
@@ -67,23 +67,21 @@ New Features
Library
-------
- H5Tcreate now supports string type (fixed-length and variable-length).
(SLU - 2011/05/20)
- The Windows VFD code has been removed with the exception of the functions
which set it (H5Pset_fapl_windows, for example). Setting the Windows
VFD now really sets the SEC2 VFD. The WINDOWS_MAX_BUF and
WINDOWS_USE_STDIO configuration options and #defines have also been
removed. See HDFFV-7740 and 7744.
NOTE: Since the Windows VFD was a clone of the SEC2 VFD, this change
should be transparent to users.
(DER - 2011/10/12)
removed. NOTE: Since the Windows VFD was a clone of the SEC2 VFD, this
change should be transparent to users.
(DER - 2011/10/12 - HDFFV-7740, HDFFV-7744)
- H5Tcreate now supports the string type (fixed-length and variable-
length). (SLU - 2011/05/20)
Parallel Library
----------------
- Added new H5Pget_mpio_actual_chunk_opt_mode and
H5Pget_mpio_actual_io_mode API routines for querying whether/how
a collective I/O operation completed. (QAK - 2011/10/12)
H5Pget_mpio_actual_io_mode API routines for querying whether/how
a collective I/O operation completed. (QAK - 2011/10/12)
Tools
-----
@@ -91,55 +89,53 @@ New Features
High-Level APIs
---------------
- Added Fortran wrappers for Dimension Scale APIs. (HDFFV-3797)
h5dsset_scale_f
h5dsattach_scale_f
h5dsdetach_scale_f
h5dsis_attached_f
h5dsis_scale_f
h5dsset_label_f
h5dsget_label_f
h5dsget_scale_name_f
h5dsget_num_scales_f
(EIP for SB - 2011/10/13)
- Added the following Fortran wrappers for the Dimension Scale APIs:
h5dsset_scale_f
h5dsattach_scale_f
h5dsdetach_scale_f
h5dsis_attached_f
h5dsis_scale_f
h5dsset_label_f
h5dsget_label_f
h5dsget_scale_name_f
h5dsget_num_scales_f
(EIP for SB - 2011/10/13 - HDFFV-3797)
Fortran API
-----------
HDF5 Fortran library was enhanced to support Fortran 2003 standard.
The following features are available when the HDF5 library is configured
using --enable-fortran --enable-fortran2003 configure flags AND
if fortran compiler is Fortran2003 compliant:
- The HDF5 Fortran library was enhanced to support the Fortran 2003 standard.
The following features are available when the HDF5 library is configured
using the --enable-fortran and --enable-fortran2003 configure flags AND
if the Fortran compiler is Fortran 2003 compliant:
- Subroutines overloaded with the C_PTR derived type:
h5pget_f
h5pget_fill_value_f
h5pinsert_f
h5pregister_f
h5pset_f
h5pset_fill_value_f
h5rcreate_f
h5rderefrence_f
h5rget_name_f
h5rget_obj_type_f
- Subroutines overloaded with the C_PTR derived type
and simplified signatures:
h5aread_f
h5awrite_f
h5dread_f
h5dwrite_f
- New subroutines
h5dvlen_reclaim_f
h5literate_by_name_f
h5literate_f
h5ovisit_f
h5tconvert_f
h5pset_nbit_f
h5pset_scaleoffset_f
- Subroutines with additional optional parameters:
h5pcreate_class_f
(EIP - 2011/10/14)
- Subroutines overloaded with the C_PTR derived type:
h5pget_f
h5pget_fill_value_f
h5pinsert_f
h5pregister_f
h5pset_f
h5pset_fill_value_f
h5rcreate_f
h5rderefrence_f
h5rget_name_f
h5rget_obj_type_f
- Subroutines overloaded with the C_PTR derived type
and simplified signatures:
h5aread_f
h5awrite_f
h5dread_f
h5dwrite_f
- New subroutines
h5dvlen_reclaim_f
h5literate_by_name_f
h5literate_f
h5ovisit_f
h5tconvert_f
h5pset_nbit_f
h5pset_scaleoffset_f
- Subroutines with additional optional parameters:
h5pcreate_class_f
(EIP - 2011/10/14)
C++ API
-------
@@ -155,76 +151,72 @@ Bug Fixes since HDF5-1.8.7
Configuration
-------------
- The --enable-h5dump-packed-bits configure option has been removed.
The h5dump code that this option conditionally enabled is now always
compiled into h5dump. Please refer to the h5dump reference manual for
usage of the packed bits feature. (MAM - 2011/06/23)
- Configure now uses the same flags and symbols in its tests that are
used to build the library. (DER - 2011/05/24)
- On linux we now link to the bsd_compat library, as per the gcc
manual, since we define _BSD_SOURCE. (DER - 2011/05/24)
- Changed the size of H5_SIZEOF_OFF_T to 4 bytes (was 8) in the VMS
h5pubconf.h based on the output of a test program. (DER - 2011/10/12)
- The Windows and VMS versions of H5pubconf.h were brought into sync with
the linux/posix version. (DER - 2011/10/12)
- Fixed a bug in the bin/trace Perl script where API functions
that take a variable number of arguments were not processed for
trace statement fixup. (DER - 2011/08/25)
- The Windows and VMS versions of H5pubconf.h were brought into sync with
the linux/posix version. (DER - 2011/10/12)
- Changed the size of H5_SIZEOF_OFF_T to 4 bytes (was 8) in the VMS
h5pubconf.h based on the output of a test program. (DER - 2011/10/12)
- The --enable-h5dump-packed-bits configure option has been removed.
The h5dump code that this option conditionally enabled is now always
compiled into h5dump. Please refer to the h5dump reference manual for
usage of the packed bits feature. (MAM - 2011/06/23 - HDFFV-7592)
- Configure now uses the same flags and symbols in its tests that are
used to build the library. (DER - 2011/05/24)
Library
-------
- Correct error when copying attributes between files which are using
different versions of the file format. This addresses Jira issue #7718.
(QAK - 2011/10/20)
- Corrected error when loading local heaps from the file, which could
- Corrected the error when copying attributes between files which are using
different versions of the file format. (QAK - 2011/10/20 - HDFFV-7718)
- Corrected the error when loading local heaps from the file, which could
cause the size of the local heap's data block to increase dramatically.
This addresses Jira issue #7767. (QAK - 2011/10/14)
- The first part fix for HDFFV-7640: does not need to do
H5O_move_msgs_forward() when writing attributes.
Tests are checked into the performance suite.
(VC - 2011/10/13)
(QAK - 2011/10/14 - HDFFV-7767)
- An application does not need to do H5O_move_msgs_forward() when writing
attributes. Tests were checked into the performance suite.
(VC - 2011/10/13 - HDFFV-7640)
- Fixed a bug that occurred when using H5Ocopy on a committed datatype
containing an attribute using that committed datatype.
(NAF - 2011/10/13 - Issue 5854)
(NAF - 2011/10/13 - HDFFV-5854)
- Added generic VFD I/O types to the SEC2 and log VFDs to ensure correct
I/O sizes (and remove compiler warnings) between Windows and true POSIX
systems. (DER - 2011/10/12)
- Corrected some Windows behavior in the SEC2 and log VFDs. This mainly
involved datatype correctness fixes, Windows API call error checks,
and adding the volume serial number to the VFD cmp functions.
(DER - 2011/10/12)
- Converted post-checks for the appropriate POSIX I/O sizes to pre-checks
in order to avoid platform-specific or undefined behavior.
(DER - 2011/10/12)
- #ifdef _WIN32 instances have been changed to #ifdef H5_HAVE_WIN32_API.
H5_HAVE_VISUAL_STUDIO checks have been added where necessary. This is in
CMake only as configure never sets _WIN32. (ADB - 2011/09/12)
- CLANG compiler with the options -fcatch-undefined-behavior and -ftrapv
discovered 3 problems in tests and tools' library (Issue 7674):
discovered 3 problems in tests and tools' library:
1. In dsets.c, left shifting an unsigned int for 32 bits or more
caused undefined behavior.
2. In dt_arith.c, the INIT_INTEGER macro definition has an overflow
when the value is a negative minimal and is being subtracted from one.
3. In tools/lib/h5tools_str.c, right shifting an int value for 32 bits
or more caused undefined behavior.
All the problems have been corrected. (SLU - 2011/9/2)
All the problems have been corrected. (SLU - 2011/09/02 - HDFFV-7674)
- H5Epush2() now has the correct trace functionality (this is related to the
bin/trace Perl script bug noted in the configure section).
(DER - 2011/08/25)
- Corrected mismatched function name typo of h5pget_dxpl_mpio_c and
h5pfill_value_defined_c. HDFFV-7641 (AKC 2011/08/22)
h5pfill_value_defined_c. (AKC - 2011/08/22 - HDFFV-7641)
- Corrected an internal error in the library where objects that use committed
(named) datatypes and were accessed from two different file IDs could confuse
the two and cause erroneous failures. This addresses Jira issue #7638.
(QAK - 2011/07/18)
the two and cause erroneous failures. (QAK - 2011/07/18 - HDFFV-7638)
- In v1.6 of the library, there was an EOA for the whole MULTI file saved in the
super block. We took it out in v1.8 of the library because it's meaningless
for the MULTI file. v1.8 of the library saves the EOA for the metadata file
instead, but this caused a backward compatibility problem.
A v1.8 library couldn't open the file created with the v1.6 library. We
fixed the problem by checking the EOA value to detect the file
created with v1.6 library. (SLU - 2011/6/22)
created with v1.6 library. (SLU - 2011/06/22)
- When a dataset had filters and reading data failed, the error message
didn't say which filter wasn't registered. It's fixed now. (SLU - 2011/6/3)
- H5Epush2() now has the correct trace functionality (this is related to the
bin/trace Perl script bug noted in the configure section).
(DER 2011/08/25)
- Converted post-checks for appropriate POSIX I/O sizes to pre-checks in
order to avoid platform-specific/undefined behavior. (DER - 2011/10/12)
- Corrected some Windows behavior in the SEC2 and log VFDs. This mainly
involved data type correctness fixes, Windows API call error checks and
adding the volume serial number to the VFD cmp functions.
(DER 2011/10/12)
- Added generic VFD I/O types to the SEC2 and log VFDs to ensure correct
I/O sizes (and remove compiler warnings) between Windows and true POSIX
systems. (DER - 2011/10/12)
didn't say which filter wasn't registered. It's fixed now. (SLU - 2011/06/03)
Parallel Library
----------------
@@ -233,27 +225,33 @@ Bug Fixes since HDF5-1.8.7
conditionally enabled in the library by configure. They are always
enabled in order to take advantage of performance boosts from these
behaviors. Older MPI implementations that do not allow for these
functionalities can no longer by used by HDF5. (MAM - 2011/07/08).
functionalities can no longer by used by HDF5.
(MAM - 2011/07/08 - HDFFV-7639).
Tools
-----
- h5diff: fixed segfault over non-comparable attribute with different
dimention or rank, along with '-c' option to display details.
(JKM - 2011/10/24 - HDFFV-7770)
- Fixed h5diff to display all the comparable objects and attributes
regardless of detecting non-comparables. HDFFV-7693 (JKM 09/16/2011)
regardless of detecting non-comparables. (JKM - 2011/09/16 - HDFFV-7693)
- Fixed h5repack to update the values of references(object and region) of
attributes in h5repack for 1) references, 2) arrays of references,
3) variable-length references, and 4) compound references.
HDFFV-5932. (PC -2011/09/14)
(PC - 2011/09/14 - HDFFV-5932)
- h5diff: fixed a segfault over a dataset with container types
array and variable-length (vlen) along with multiple nested compound types.
Example: compound->array->compound, compound->vlen->compound.
HDFFV-7712. (JKM 09/01/2011)
(JKM - 2011/09/01 - HDFFV-7712)
- h5repack: added macro to handle a failure in H5Dread/write when memory
allocation failed inside the library. (PC - 2011/08/19)
- Fixed h5jam to not to allow the specifying of an HDF5 formatted file as
an input file for the -u (user block file) option. The original HDF5 file
would not be accessible if this behavior was allowed.
HDFFV-5941 (JKM 08/19/2011)
(JKM - 2011/08/19 - HDFFV-5941)
- Revised the command help pages of h5jam and h5unjam. The descriptions
were not up to date and some were missing.
HDFFV-7515 (JKM 08/15/2011)
(JKM - 2011/08/15 - HDFFV-7515)
- Fixed h5dump to correct the schema location:
<hdf5:HDF5-File
xmlns:hdf5="http://hdfgroup.org/HDF5/XML/schema/HDF5-File"
@@ -262,43 +260,42 @@ Bug Fixes since HDF5-1.8.7
http://www.hdfgroup.org/HDF5/XML/schema/HDF5-File.xsd">
(ADB - 2011/08/10)
- h5repack: h5repack failed to copy a dataset if the layout is changed
from chunked with unlimited dimensions to contiguous. HDFFV-7649
(PC -- 2011/07/15)
from chunked with unlimited dimensions to contiguous.
(PC - 2011/07/15 - HDFFV-7649)
- Fixed h5diff: the "--delta" option considers two NaN of the same type
are different. This is wrong based on the h5diff description in the
Reference Manual. HDFFV-7656 (PC -- 2011/07/15)
Reference Manual. (PC - 2011/07/15 - HDFFV-7656)
- Fixed h5diff to display an instructive error message and exit with
an instructive error message when mutually exclusive options
(-d, -p and --use-system-epsilon) are used together.
HDFFV-7600 (JKM 07/07/2011)
(JKM - 2011/07/07 - HDFFV-7600)
- Fixed h5dump so that it displays the first line of each element in correct
position for multiple dimention array types. Before this fix,
the first line of each element in an array was
displayed after the last line of previous element without
moving to the next line (+indentation).
HDFFV-5878 (JKM 06/15/2011)
(JKM - 2011/06/15 - HDFFV-5878)
- Fixed h5dump so that it will display the correct value for
H5T_STD_I8LE datasets on the Blue-gene system (ppc64, linux, Big-Endian,
clustering). HDFFV-7594 (AKC & JKM 05/12/2011)
clustering). (AKC & JKM - 2011/05/12 - HDFFV-7594)
- Fixed h5diff to compare a file to itself correctly. Previously h5diff
reported either the files were different or not compatible in certain
cases even when comparing a file to itself. This fix also improves
performance when comparing the same target objects through verifying
the object and file addresses before comparing the details
in the objects. Examples of details are datasets and attributes.
HDFFV-5928. (XCAO & JKM 05/06/2011)
- h5repack: added macro to handle a failure in H5Dread/write when memory
allocation failed inside the library. (PC -- 2011/08/19)
(XCAO & JKM - 2011/05/06 - HDFFV-5928)
F90 API
-------
- Modified the h5open_f and h5close_f subroutines to not to call H5open and
H5close correspodningly. While the H5open call just adds overhead, the H5close
call called by an Fortran application shuts down the HDF5 library making
it unaccessible to the application. HDFFV-915 (EIP & SB - 2011/10/13)
- Fixed h5tget_tag_f where the length of the C string was used to repack the C
string into the fortran string leading to memory corruption in the calling
program. (SB -- 2011/7/26)
- Modified the h5open_f and h5close_f subroutines to not to call H5open
and H5close correspondingly. While the H5open call just adds overhead,
the H5close call called by a Fortran application shuts down the HDF5
library. This makes the library inaccessible to the application.
(EIP & SB - 2011/10/13 - HDFFV-915)
- Fixed h5tget_tag_f where the length of the C string was used to
repack the C string into the Fortran string. This lead to memory
corruption in the calling program. (SB - 2011/07/26)
- Added defined constants:
H5T_ORDER_MIXED_F (HDFFV-2767)
H5Z_SO_FLOAT_DSCALE_F
@@ -317,13 +314,14 @@ Bug Fixes since HDF5-1.8.7
High-Level APIs:
------
- Fixed dimscale bug where if you create a dimscale, attach two datasets to it,
and then unattach them, you get an error if they are unattached in order,
but no error if you unattach them in reverse order. HDFFV-7605 (SB - 2011/6/7)
- Fixed H5DSset_label seg faulting when retrieving the length of a dimension label
that was not set. HDFFV-7673 (SB -- 2011/8/7)
- Fixed the H5LTdtype_to_text function. It had some memory problems when
dealing with some complicated data types. HDFFVI-7701 (SLU - 2011/10/19)
dealing with some complicated data types. (SLU - 2011/10/19 - HDFFV-7701)
- Fixed H5DSset_label seg faulting when retrieving the length of a
dimension label that was not set. (SB - 2011/08/07 - HDFFV-7673)
- Fixed a dimension scale bug where if you create a dimscale, attach two
datasets to it, and then unattach them, you get an error if they are
unattached in order, but no error if you unattach them in reverse order.
(SB - 2011/06/07 - HDFFV-7605)
Fortran High-Level APIs:
------
@@ -334,11 +332,9 @@ Platforms Tested
================
The following platforms and compilers have been tested for this release.
AIX 6.1 xlc 11.1.0.3
(NCSA BP) xlC 11.1.0.3
xlf90 13.1.0.3
mpcc_r 11.1.0.3
mpxlf90_r 13.1.0.3
AIX 5.3 xlc 10.1.0.5
(NASA G-ADA) xlC 10.1.0.5
xlf90 12.1.0.6
FreeBSD 8.2-STABLE i386 gcc 4.2.1 [FreeBSD] 20070719
(loyalty) g++ 4.2.1 [FreeBSD] 20070719
@@ -352,6 +348,20 @@ The following platforms and compilers have been tested for this release.
g++ 4.6.1 20110422
gfortran 4.6.1 20110422
IBM Blue Gene/P bgxlc 9.0.0.9
(LLNL uDawn) bgxlf90 11.1.0.7
bgxlC 9.0.0.9
Linux 2.6.16.60-0.54.5-smp Intel(R) C, C++, Fortran Compilers
x86_64 Version 11.1 20090630
(INL Icestorm)
Linux 2.6.18-194.el5 x86_64 Intel(R) C, C++, Fortran Compilers
(INL Fission) Version 12.0.2 20110112
Linux 2.6.18-108chaos x86_64 Intel(R) C, C++, Fortran Compilers
(LLNL Aztec) Version 11.1 20090630
Linux 2.6.18-194.3.1.el5PAE gcc (GCC) 4.1.2 and 4.4.2
#1 SMP i686 i686 i386 GNU Fortran (GCC) 4.1.2 20080704
(jam) (Red Hat 4.1.2-48) and 4.4.2
@@ -378,18 +388,20 @@ The following platforms and compilers have been tested for this release.
MPICH mpich2-1.3.1 compiled with
gcc 4.1.2 and gfortran 4.1.2
SGI ProPack 7 Linux Intel(R) C++ Version 11.1 20100806
2.6.32.24-0.2.1.2230.2.PTF- Intel(R) Fortran Version 11.1 20100806
default #1 SMP SGI MPT 2.01
SGI Altix UV
SGI Altix UV Intel(R) C, Fortran Compilers
SGI ProPack 7 Linux Version 11.1 20100806
2.6.32.24-0.2.1.2230.2.PTF- SGI MPT 2.02
default #1 SMP
(NCSA ember)
SunOS 5.10 32- and 64-bit Sun C 5.9 Sun OS_sparc Patch 124867-16
(linew) Sun Fortran 95 8.3 Sun OS_sparc Patch 127000-13
Sun C++ 5.9 Sun OS_sparc Patch 124863-62
Sun C 5.10 SunOS_sparc Patch 141861-07
Sun Fortran 95 8.4 SunOS_sparc Patch 128231-06
Sun C++ 5.10 SunOS_sparc 128228-11
Dell NVIDIA Cluster Intel(R) C, Fortran Compilers
Red Hat Enterprise Linux 6 Version 12.0.4 20110427
2.6.32-131.4.1.el6.x86_64 mvapich2 1.7rc1-intel-12.0.4
(NCSA forge)
SunOS 5.10 32- and 64-bit Sun C 5.11 SunOS_sparc 2010/08/13
Sun Fortran 95 8.5 SunOS_sparc 2010/08/13
Sun C++ 5.11 SunOS_sparc 2010/08/13
Windows XP Visual Studio 2008 w/ Intel Fortran 10.1 (project files)
Visual Studio 2008 w/ Intel Fortran 11.1 (cmake)
@@ -409,54 +421,59 @@ The following platforms and compilers have been tested for this release.
Windows 7 x64 Visual Studio 2008 w/ Intel Fortran 11.1 (cmake)
Mac OS X 10.7.0 (Intel 64-bit) i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1
Darwin Kernel Version 10.7.0 GNU Fortran (GCC) 4.6.0 20101106 (experimental)
Intel C, C++ and Fortran compilers 12.0.1.122 20101110
Mac OS X 10.8.0 (Intel 64-bit) i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Darwin Kernel Version 10.8.0 GNU Fortran (GCC) 4.6.1
Intel C, C++ and Fortran compilers 12.1.0
Mac OS X 10.7.0 (Intel 32-bit) i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Darwin Kernel Version 10.7.0 GNU Fortran (GCC) version 4.4.0 20090123 (experimental)
[trunk revision 143587]
Mac OS X 10.8.0 (Intel 32-bit) i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Darwin Kernel Version 10.8.0 GNU Fortran (GCC) version 4.6.1
Intel C, C++ and Fortran compilers 12.1.0
Fedora 12 2.6.32.16-150.fc12.ppc64 #1 SMP ppc64 GNU/Linux
gcc (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
GNU Fortran (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
Debian6.01 2.6.32-5-686 #1 SMP i686 GNU/Linux
Debian6.0.3 2.6.32-5-686 #1 SMP i686 GNU/Linux
gcc (Debian 4.4.5-8) 4.4.5
GNU Fortran (Debian 4.4.5-8) 4.4.5
Debian6.01 2.6.32-5-amd64 #1 SMP x86_64 GNU/Linux
Debian6.0.3 2.6.32-5-amd64 #1 SMP x86_64 GNU/Linux
gcc (Debian 4.4.5-8) 4.4.5
GNU Fortran (Debian 4.4.5-8) 4.4.5
Fedora14 2.6.35.12-88.fc14.i686.PAE #1 SMP i686 i686 i386 GNU/Linux
gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
GNU Fortran (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
Fedora15 2.6.40.6-0.fc15.i686.PAE #1 SMP i686 i686 i386 GNU/Linux
gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
GNU Fortran (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
Fedora14 2.6.35.12-88.fc14.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
GNU Fortran (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4)
Fedora15 2.6.40.6-0.fc15.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux
gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
GNU Fortran (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9)
SUSE 11.4 2.6.37.1-1.2-desktop #1 SMP PREEMPT i686 i686 i386 GNU/Linux
SUSE 11.4 2.6.37.6-0.7-desktop #1 SMP PREEMPT i686 i686 i386 GNU/Linux
gcc (SUSE Linux) 4.5.1 20101208
GNU Fortran (SUSE Linux) 4.5.1 20101208
SUSE 11.4 2.6.37.1-1.2-desktop #1 SMP PREEMPT x86_64 x86_64 x86_64 GNU/Linux
SUSE 11.4 2.6.37.6-0.7-desktop #1 SMP PREEMPT x86_64 x86_64 x86_64 GNU/Linux
gcc (SUSE Linux) 4.5.1 20101208
GNU Fortran (SUSE Linux) 4.5.1 20101208
Ubuntu 10.10 2.6.35-28-generic #50-Ubuntu SMP i686 GNU/Linux
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
GNU Fortran (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Ubuntu 11.10 3.0.0-12-generic #20-Ubuntu SMP i686 GNU/Linux
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
GNU Fortran (Ubuntu/Linaro 4.6.4-9ubuntu3) 4.6.1
Ubuntu 10.10 2.6.35-28-generic #50-Ubuntu SMP x86_64 GNU/Linux
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
GNU Fortran (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5
Ubuntu 11.10 3.0.0-12-generic #20-Ubuntu SMP x86_64 GNU/Linux
gcc (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
GNU Fortran (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
OpenVMS Alpha 8.3 HP C V7.3-009
HP Fortran V8.2-104679-48H9K
HP C++ V7.3-009
Cray Linux Environment (CLE) PrgEnv-pgi 2.2.74
hopper.nersc.gov pgcc 11.7-0 64-bit target on x86-64 Linux -tp k8e
franklin.nersc.gov pgf90 11.7-0 64-bit target on x86-64 Linux -tp k8e
pgCC 11.7-0 64-bit target on x86-64 Linux -tp k8e
Tested Configuration Features Summary
=====================================
@@ -472,25 +489,28 @@ Tested Configuration Features Summary
Platform C F90 F90 C++ zlib SZIP
parallel parallel
Solaris2.10 32-bit n y n y y y
Solaris2.10 64-bit n y n y y y
Windows XP n y(4) n y y y
Windows XP x64 n y(4) n y y y
Windows Vista n y(4) n y y y
Windows Vista x64 n y(4) n y y y
OpenVMS Alpha n y n y y n
Mac OS X 10.7 Intel 32-bit n y n y y y
Mac OS X 10.7 Intel 64-bit n y n y y y
AIX 6.1 32- and 64-bit y y y y y y
FreeBSD 8.2-STABLE 32&64 bit n x n x y y
CentOS 5.5 Linux 2.6.18-194 i686 GNU (1)W y y(2) y y y y
CentOS 5.5 Linux 2.6.18-194 i686 Intel W n y n y y n
CentOS 5.5 Linux 2.6.18-194 i686 PGI W n y n y y n
CentOS 5.5 Linux 2.6.16 x86_64 GNU (1) W y y(3) y y y y
CentOS 5.5 Linux 2.6.16 x86_64 Intel W n y n y y n
CentOS 5.5 Linux 2.6.16 x86_64 PGI W n y n y y y
Fedora 12 Linux 2.6.32.16-150.fc12.ppc64 n y n y y y
SGI Linux 2.6.32.19 y y y y y y
Solaris2.10 32-bit n y n y y y
Solaris2.10 64-bit n y n y y y
Windows XP n y(4) n y y y
Windows XP x64 n y(4) n y y y
Windows Vista n y(4) n y y y
Windows Vista x64 n y(4) n y y y
OpenVMS Alpha n y n y y n
Mac OS X 10.8 Intel 32-bit n y n y y y
Mac OS X 10.8 Intel 64-bit n y n y y y
AIX 5.3 32- and 64-bit n y n y y y
FreeBSD 8.2-STABLE 32&64 bit n x n x y y
CentOS 5.5 Linux 2.6.18-194 i686 GNU (1)W y y(2) y y y y
CentOS 5.5 Linux 2.6.18-194 i686 Intel W n y n y y n
CentOS 5.5 Linux 2.6.18-194 i686 PGI W n y n y y n
CentOS 5.5 Linux 2.6.16 x86_64 GNU (1) W y y(3) y y y y
CentOS 5.5 Linux 2.6.16 x86_64 Intel W n y n y y n
CentOS 5.5 Linux 2.6.16 x86_64 PGI W n y n y y y
Fedora 12 Linux 2.6.32.16-150.fc12.ppc64 n y n y y y
SGI ProPack 7 Linux 2.6.32.24 y y y y y y
Red Hat Enterprise Linux 6 y y y y y y
CLE hopper.nersc.gov y y(3) y y y n
CLE franklin.nersc.gov y y(3) y y y n
Platform Shared Shared Shared Thread-
@@ -502,9 +522,9 @@ Windows XP x64 y y(4) y n
Windows Vista y y(4) y y
Windows Vista x64 y y(4) y y
OpenVMS Alpha n n n n
Mac OS X 10.7 Intel 32-bit y(5) n y n
Mac OS X 10.7 Intel 64-bit y(5) n y n
AIX 6.1 32- and 64-bit n n n y
Mac OS X 10.8 Intel 32-bit y(5) n y n
Mac OS X 10.8 Intel 64-bit y(5) n y n
AIX 5.3 32- and 64-bit n n n y
FreeBSD 8.2-STABLE 32&64 bit y x x y
CentOS 5.5 Linux 2.6.18-128 i686 GNU (1)W y y(2) y y
CentOS 5.5 Linux 2.6.18-128 i686 Intel W y y y n
@@ -513,7 +533,10 @@ CentOS 5.5 Linux 2.6.16 x86_64 GNU (1) W y y y y
CentOS 5.5 Linux 2.6.16 x86_64 Intel W y y y n
CentOS 5.5 Linux 2.6.16 x86_64 PGI W y y y n
Fedora 12 Linux 2.6.32.16-150.fc12.ppc64 y y y y
SGI Linux 2.6.32.19 y y y y
SGI ProPack 7 Linux 2.6.32.24 y y y n
Red Hat Enterprise Linux 6 y y y n
CLE hopper.nersc.gov n n n n
CLE franklin.nersc.gov n n n n
(1) Fortran compiled with gfortran.
(2) With PGI and Absoft compilers.
@@ -526,13 +549,30 @@ SGI Linux 2.6.32.19 y y y y
Known Problems
==============
* The STDIO VFD does not work on some architectures, possibly due to 32/64
bit or large file issues. The basic STDIO VFD test is known to fail on
64-bit SunOS 5.10 on SPARC when built with -m64 and 32-bit OS X/Darwin
10.7.0. The STDIO VFD test has been disabled while we investigate and
a fix should appear in a future release, possibly 1.8.9.
(DER - 2011/10/14)
* h5diff can report inconsistent results when comparing datasets of enum type
that contain invalid values. This is due to how enum types are handled in
the library and will be addressed in the next release.
(DER - 2011/10/14 - HDFFV-7527)
* The links test can fail under the stdio VFD due to some issues with external
links. This will be investigated and fixed in a future release.
(DER - 2011/10/14 - HDFFV-7768)
* After the shared library support was fixed for some bugs, it was discovered
that "make prefix=XXX install" no longer works for shared libraries. It
still works correctly for static libraries. Therefore, if you want to
install the HDF5 shared libraries in a location such as /usr/local/hdf5,
you need to specify the location via the --prefix option during configure
time. E.g, ./configure --prefix=/usr/local/hdf5 ...
(AKC - 2011/05/07 HDFFV-7583)
(AKC - 2011/05/07 - HDFFV-7583)
* The parallel test, t_shapesame, in testpar/, may run for a long time and may
be terminated by the alarm signal. If that happens, one can increase the
@@ -551,13 +591,7 @@ Known Problems
tests fail. We are looking into the issue. HL and C++ shared libraries
should now be working as intended, however. (MAM - 2011/04/20)
* The --with-mpe configure option does not work with Mpich2. AKC - 2011/03/10
* If parallel gmake (e.g., gmake -j 4) is used, the "gmake clean" command
sometimes fails in the perform directory due to the attempt to remove the
executable of h5perf or h5perf_serial by two "parallel" commands. This error
has no consequence on the functionality of the HDF5 library or install. It
is fixed in the next release. AKC - 2011/01/25
* The --with-mpe configure option does not work with Mpich2. (AKC - 2011/03/10)
* While working on the 1.8.6 release of HDF5, a bug was discovered that can
occur when reading from a dataset in parallel shortly after it has been
@@ -570,12 +604,13 @@ Known Problems
They should be run across multiple nodes with a varying number of processes.
These programs can be found at:
http://www.hdfgroup.org/ftp/HDF5/examples/known_problems/
(NAF - 2011/01/19)
* The library's test dt_arith.c showed a compiler's rounding problem on
Cygwin when converting from unsigned long long to long double. The
library's own conversion works fine. We defined a macro for Cygwin to
skip this test until we can solve the problem. Please see bug #1813.
SLU - 2010/5/5
skip this test until we can solve the problem.
(SLU - 2010/05/05 - HDFFV-1264)
* All the VFL drivers aren't backward compatible. In H5FDpublic.h, the
structure H5FD_class_t changed in 1.8. There is new parameter added to
@@ -585,21 +620,30 @@ Known Problems
for 1.6 and try to plug in 1.8 library. Because there's only one user
complaining about it, we (Elena, Quincey, and I) decided to leave it as
it is (see bug report #1279). Quincey will make a plan for 1.10.
SLU - 2010/2/2
(SLU - 2010/02/02)
* MinGW has a missing libstdc++.dll.a library file and will not successfully link
C++ applications/tests. Do not use the enable-cxx configure option. Read all of
the INSTALL_MINGW.txt file for all restrictions. ADB - 2009/11/11
the INSTALL_MINGW.txt file for all restrictions. (ADB - 2009/11/11)
* The --enable-static-exec configure flag will only statically link libraries
if the static version of that library is present. If only the shared version
of a library exists (i.e., most system libraries on Solaris, AIX, and Mac,
for example, only have shared versions), the flag should still result in a
successful compilation, but note that the installed executables will not be
fully static. Thus, the only guarantee on these systems is that the
executable is statically linked with just the HDF5 library.
(MAM - 2009/11/04)
* The PathScale MPI implementation, accessing a Panasas file system, would
cause H5Fcreate() with H5F_ACC_EXCL to fail even when the file does not
exist. This is due to the MPI_File_open() call failing if the mode has
the MPI_MODE_EXCL bit set. (See bug 1468 for details.) AKC - 2009/8/11
the MPI_MODE_EXCL bit set. (AKC - 2009/08/11 - HDFFV-988)
* Parallel tests failed with 16 processes with data inconsistency at testphdf5
/ dataset_readAll. Parallel tests also failed with 32 and 64 processes with
collective abort of all ranks at t_posix_compliant / allwrite_allread_blocks
with MPI IO. CMC - 2009/04/28
with MPI IO. (CMC - 2009/04/28)
* For Red Storm, a Cray XT3 system, the tools/h5ls/testh5ls.sh and
tools/h5copy/testh5copy.sh will fail some of its sub-tests. These sub-tests
@@ -629,28 +673,13 @@ Known Problems
echo SKIP TOOLTEST_FAIL -i $TESTFILE -o $FILEOUT -vp -s /grp_nested -d /G/H/grp_nested
echo SKIP H5LSTEST $FILEOUT
==================================================
AKC - 2008/11/10
(AKC - 2008/11/10)
* The STDIO VFD does not work on some architectures, possibly due to 32/64
bit or large file issues. The basic STDIO VFD test is known to fail on
64-bit SunOS 5.10 on SPARC when built with -m64 and 32-bit OS X/Darwin
10.7.0. The STDIO VFD test has been disabled while we investigate and
a fix should appear in a future release, possibly 1.8.9.
* The links test can fail under the stdio VFD due to some issues with external
links. This will be investigated and fixed in a future release. See JIRA
issue HDFFV-7768 for more information. DER - 10/14/2011
* h5diff can report inconsistent results when comparing datasets of enum type
that contain invalid values. This is due to how enum types are handled in
the library and will be addressed in the next release. See JIRA issue
HDFFV-7527. DER - 10/14/2011
* For Red Storm, a Cray XT3 system, the yod command sometimes gives the
message, "yod allocation delayed for node recovery". This interferes with
test suites that do not expect to see this message. See the section of "Red
Storm" in file INSTALL_parallel for a way to deal with this problem.
AKC - 2008/05/28
(AKC - 2008/05/28)
* On an Intel 64 Linux cluster (RH 4, Linux 2.6.9) with Intel 10.0 compilers,
use -mp -O1 compilation flags to build the libraries. A higher level of
@@ -669,7 +698,7 @@ Known Problems
However, after fixing the bug, the checksum value was no longer the same as
before on little-endian system. Library releases after 1.6.4 can still read
datasets created or rewritten with an HDF5 library of v1.6.2 or before.
SLU - 2005/6/30
(SLU - 2005/06/30)
* On IBM AIX systems, parallel HDF5 mode will fail some tests with error
messages like "INFO: 0031-XXX ...". This is from the command `poe'.
@@ -683,22 +712,4 @@ Known Problems
These are sockets used by the poe command and left behind due to failed
commands. First, ask your system administrator to clean them out.
Lastly, request IBM to provide a means to run poe without the debug socket.
* The --enable-static-exec configure flag will only statically link libraries
if the static version of that library is present. If only the shared version
of a library exists (i.e., most system libraries on Solaris, AIX, and Mac,
for example, only have shared versions), the flag should still result in a
successful compilation, but note that the installed executables will not be
fully static. Thus, the only guarantee on these systems is that the
executable is statically linked with just the HDF5 library.
* There is also a configure error on Altix machines that incorrectly reports
when a version of Szip without an encoder is being used.
* On cobalt, an SGI Altix SMP ia64 system, Intel compiler version 10.1 (which
is the default on that system) does not work properly and results in
failures during make check (in a static build) and make installcheck (during
a shared build). This appears to be a compiler optimization problem.
Reducing optimization by setting CFLAGS to -O1 or below resolves the issue.
Alternatively, using a newer version of the compiler (11.0) also works as
intended. MAM - 2010/06/01
(AKC - 2004/12/08)

View File

@@ -76,9 +76,9 @@ extern "C" {
#define H5_VERS_MAJOR 1 /* For major interface/format changes */
#define H5_VERS_MINOR 8 /* For minor interface/format changes */
#define H5_VERS_RELEASE 8 /* For tweaks, bug-fixes, or development */
#define H5_VERS_SUBRELEASE "snap19" /* For pre-releases like snap0 */
#define H5_VERS_SUBRELEASE "" /* For pre-releases like snap0 */
/* Empty string for real releases. */
#define H5_VERS_INFO "HDF5 library version: 1.8.8-snap19" /* Full version string */
#define H5_VERS_INFO "HDF5 library version: 1.8.8" /* Full version string */
#define H5check() H5check_version(H5_VERS_MAJOR,H5_VERS_MINOR, \
H5_VERS_RELEASE)

View File

@@ -1236,7 +1236,8 @@ compare_datasets(hid_t did, hid_t did2, hid_t pid, const void *wbuf)
* data in each dataset will (probably) be different and the storage
* size will thus vary)
*/
if(!(nfilters > 0 && H5Tdetect_class(tid, H5T_VLEN))) {
if(!(nfilters > 0 && (H5Tdetect_class(tid, H5T_VLEN) ||
(H5Tdetect_class(tid, H5T_REFERENCE) && H5Tequal(tid, H5T_STD_REF_DSETREG))))) {
hsize_t storage_size = H5Dget_storage_size(did); /* Dataset's raw data storage size */
hsize_t storage_size2 = H5Dget_storage_size(did2); /* 2nd Dataset's raw data storage size */

View File

@@ -1129,6 +1129,7 @@ ADD_H5_TEST (h5diff_208 0 -c ${FILE19} ${FILE20})
ADD_H5_TEST (h5diff_220 1 -c non_comparables1.h5 non_comparables2.h5 /g1)
# comparable dataset with non-comparable attribute and other comparable attributes.
# Also test non-compatible attributes with different type, dimention, rank.
# All the rest comparables should display differences.
ADD_H5_TEST (h5diff_221 1 -c non_comparables1.h5 non_comparables2.h5 /g2)

View File

@@ -4700,9 +4700,14 @@ static void test_non_comparables (const char * fname, int make_diffs)
hid_t sid1=0;
hid_t tid_dset1=0;
hid_t tid_attr1=0;
hsize_t dims1[1] = {DIM_ARRY};
hsize_t dims1_1[1] = {DIM_ARRY};
hsize_t dims1_2[1] = {DIM_ARRY+1};
hsize_t dims2[2] = {DIM_ARRY, 1};
int data1[DIM_ARRY] = {0,0,0};
int data2[DIM_ARRY] = {1,1,1};
int data3[DIM_ARRY+1] = {1,1,1,1};
int data1_dim2[DIM_ARRY][1] = {0,0,0};
int rank_attr;
char data1_str[DIM_ARRY][STR_SIZE]= {"ab","cd","ef"};
herr_t status = SUCCEED;
int i;
@@ -4712,6 +4717,9 @@ static void test_non_comparables (const char * fname, int make_diffs)
void *attr_data_ptr1=NULL;
void *attr_data_ptr2=NULL;
void *attr_data_ptr3=NULL;
void *attr_data_ptr4=NULL;
void *attr2_dim_ptr=NULL;
void *attr3_dim_ptr=NULL;
/* init */
tid_dset1=H5Tcopy(H5T_NATIVE_INT);
@@ -4721,6 +4729,10 @@ static void test_non_comparables (const char * fname, int make_diffs)
tid_attr1=H5Tcopy(H5T_NATIVE_INT);
attr_data_ptr1=(int*)&data1;
attr_data_ptr3=(int*)&data1;
attr_data_ptr4=(int*)&data1;
attr2_dim_ptr=(hsize_t*)&dims1_1;
attr3_dim_ptr=(hsize_t*)&dims1_1;
rank_attr=1;
if (make_diffs)
{
@@ -4736,12 +4748,22 @@ static void test_non_comparables (const char * fname, int make_diffs)
* group2
*/
dset_data_ptr3=(int*)&data2;
/* attr1 */
/* dset1/attr1 */
tid_attr1=H5Tcopy(H5T_C_S1);
H5Tset_size(tid_attr1, (size_t)STR_SIZE);
attr_data_ptr2=(char*)&data1_str;
/* attr2 */
attr_data_ptr3=(int*)&data2;
/* dset1/attr2 */
attr2_dim_ptr=(hsize_t*)&dims1_2;
/* dset1/attr3 */
attr_data_ptr3=(int*)&data1_dim2;
attr3_dim_ptr=(hsize_t*)&dims2;
rank_attr=2;
/* dset1/attr4 */
attr_data_ptr4=(int*)&data2;
}
@@ -4778,7 +4800,7 @@ static void test_non_comparables (const char * fname, int make_diffs)
/*-----------------------------------------------------------------------
* Datasets in /g1
*------------------------------------------------------------------------*/
if((sid1 = H5Screate_simple(1, dims1, NULL)) < 0)
if((sid1 = H5Screate_simple(1, dims1_1, NULL)) < 0)
goto out;
/* dset1 */
@@ -4795,10 +4817,10 @@ static void test_non_comparables (const char * fname, int make_diffs)
status = FAIL;
goto out;
}
write_attr(did1,1,dims1,"attr", H5T_NATIVE_INT, attr_data_ptr1);
write_attr(did1,1,dims1_1,"attr", H5T_NATIVE_INT, attr_data_ptr1);
/* dset2 */
status = write_dset(gid1, 1, dims1,"dset2", H5T_NATIVE_INT, dset_data_ptr2);
status = write_dset(gid1, 1, dims1_1,"dset2", H5T_NATIVE_INT, dset_data_ptr2);
if (status == FAIL)
{
fprintf(stderr, "Error: %s> write_dset failed\n", fname);
@@ -4808,7 +4830,8 @@ static void test_non_comparables (const char * fname, int make_diffs)
/*-----------------------------------------------------------------------
* Datasets in /g2
*------------------------------------------------------------------------*/
/* dset1 */
/* ---------
* dset1 */
if((did2 = H5Dcreate2(gid2, "dset1", H5T_NATIVE_INT, sid1, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0)
{
fprintf(stderr, "Error: %s> H5Dcreate2 failed.\n", "dset1");
@@ -4822,14 +4845,22 @@ static void test_non_comparables (const char * fname, int make_diffs)
status = FAIL;
goto out;
}
/* attr1 */
write_attr(did2,1,dims1,"attr1", tid_attr1, attr_data_ptr2);
/* attr1 - non-compatible : different type */
write_attr(did2,1,dims1_1,"attr1", tid_attr1, attr_data_ptr2);
/* attr2 */
write_attr(did2,1,dims1,"attr2", H5T_NATIVE_INT, attr_data_ptr3);
/* dset2 */
status = write_dset(gid2, 1, dims1,"dset2", H5T_NATIVE_INT, dset_data_ptr3);
/* attr2 - non-compatible : same rank, different dimention */
write_attr(did2,1, attr2_dim_ptr,"attr2", H5T_NATIVE_INT, data3);
/* attr3 - non-compatible : different rank */
write_attr(did2, rank_attr,attr3_dim_ptr,"attr3", H5T_NATIVE_INT, attr_data_ptr3);
/* attr4 - compatible : different data values */
write_attr(did2,1,dims1_1,"attr4", H5T_NATIVE_INT, attr_data_ptr4);
/*----------
* dset2 */
status = write_dset(gid2, 1, dims1_1,"dset2", H5T_NATIVE_INT, dset_data_ptr3);
if (status == FAIL)
{
fprintf(stderr, "Error: %s> write_dset failed\n", fname);

View File

@@ -1,5 +1,9 @@
Not comparable: <attr1> is of class H5T_INTEGER and <attr1> is of class H5T_STRING
attribute: <attr2 of </g2/dset1>> and <attr2 of </g2/dset1>>
Not comparable: <attr2> has rank 1, dimensions [3], max dimensions [3]
and <attr2> has rank 1, dimensions [4], max dimensions [4]
Not comparable: <attr3> has rank 1, dimensions [3], max dimensions [3]
and <attr3> has rank 2, dimensions [3x1], max dimensions [3x1]
attribute: <attr4 of </g2/dset1>> and <attr4 of </g2/dset1>>
3 differences found
dataset: </g2/dset1> and </g2/dset1>
6 differences found

View File

@@ -6,7 +6,11 @@ dataset: </g1/dset1> and </g1/dset1>
dataset: </g1/dset2> and </g1/dset2>
3 differences found
Not comparable: <attr1> is of class H5T_INTEGER and <attr1> is of class H5T_STRING
attribute: <attr2 of </g2/dset1>> and <attr2 of </g2/dset1>>
Not comparable: <attr2> has rank 1, dimensions [3], max dimensions [3]
and <attr2> has rank 1, dimensions [4], max dimensions [4]
Not comparable: <attr3> has rank 1, dimensions [3], max dimensions [3]
and <attr3> has rank 2, dimensions [3x1], max dimensions [3x1]
attribute: <attr4 of </g2/dset1>> and <attr4 of </g2/dset1>>
3 differences found
dataset: </g2/dset1> and </g2/dset1>
6 differences found

View File

@@ -799,7 +799,8 @@ TOOLTEST h5diff_207.txt -c h5diff_basic2.h5 h5diff_basic2.h5 g2/dset8 g2/dset9
# not comparable in dataspace of zero dimension size
TOOLTEST h5diff_208.txt -c h5diff_dset_zero_dim_size1.h5 h5diff_dset_zero_dim_size2.h5
# non-comparable dataset with comparable attribute, and other comparable datasets.
# non-comparable dataset with comparable attribute, and other comparable datasets.
# Also test non-compatible attributes with different type, dimention, rank.
# All the comparables should display differences.
TOOLTEST h5diff_220.txt -c non_comparables1.h5 non_comparables2.h5 /g1

View File

@@ -380,8 +380,10 @@ hsize_t diff_attr(hid_t loc1_id,
*----------------------------------------------------------------------
*/
/* pass dims1 and dims2 for maxdims as well since attribute's maxdims
* are always same */
if( diff_can_type(ftype1_id, ftype2_id, rank1, rank2, dims1, dims2,
NULL, NULL, name1, name2, options, 0) != 1 )
dims1, dims2, name1, name2, options, 0) != 1 )
{
if(H5Tclose(ftype1_id) < 0)
goto error;

View File

@@ -35,24 +35,27 @@ print_dimensions (int rank, hsize_t *dims)
{
int i;
if ( rank > 0 )
{
parallel_print("[" );
for ( i = 0; i < rank-1; i++)
{
parallel_print(HSIZE_T_FORMAT, dims[i]);
parallel_print("x");
}
parallel_print(HSIZE_T_FORMAT, dims[rank-1]);
parallel_print("]" );
}
else
if ( rank <= 0 )
{
parallel_print("H5S_SCALAR" );
}
else
{
if (!dims)
parallel_print("dimension is NULL");
else
{
parallel_print("[");
for ( i = 0; i < rank-1; i++)
{
parallel_print(HSIZE_T_FORMAT, dims[i]);
parallel_print("x");
}
parallel_print(HSIZE_T_FORMAT, dims[rank-1]);
parallel_print("]" );
}
}
}

View File

@@ -502,7 +502,7 @@
#define H5_PACKAGE_NAME "HDF5"
/* Define to the full name and version of this package. */
#define H5_PACKAGE_STRING "HDF5 1.8.8-snap19"
#define H5_PACKAGE_STRING "HDF5 1.8.8"
/* Define to the one symbol short name of this package. */
#define H5_PACKAGE_TARNAME "hdf5"
@@ -511,7 +511,7 @@
#define H5_PACKAGE_URL ""
/* Define to the version of this package. */
#define H5_PACKAGE_VERSION "1.8.8-snap19"
#define H5_PACKAGE_VERSION "1.8.8"
/* Width for printf() for type `long long' or `__int64', use `ll' */
#define H5_PRINTF_LL_WIDTH "ll"
@@ -577,7 +577,7 @@
#define H5_SIZEOF_OFF64_T 0
/* The size of `off_t', as computed by sizeof. */
#define H5_SIZEOF_OFF_T 4
#define H5_SIZEOF_OFF_T 8
/* The size of `ptrdiff_t', as computed by sizeof. */
#define H5_SIZEOF_PTRDIFF_T 4
@@ -674,7 +674,7 @@
/* #undef H5_USING_MEMCHECKER */
/* Version number of package */
#define H5_VERSION "1.8.8-snap19"
#define H5_VERSION "1.8.8"
/* Define if vsnprintf() returns the correct value for formatted strings that
don't fit into size allowed */

View File

@@ -227,11 +227,6 @@ $ type sys$input
$ run set_extent
$ type sys$input
$ type sys$input
------- Running space_overflow -------
$ run space_overflow
$ type sys$input
$ type sys$input
------- Running stab -------
$ run stab

View File

@@ -296,13 +296,6 @@ $ ccc set_extent
$ link set_extent, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$! a new test
$ type sys$input
Creating space_overflow test
$ ccc space_overflow
$ link space_overflow, -
libh5test.olb/lib,[-.src]hdf5.olb/lib,zlib_dir:libz.olb/lib
$!
$ type sys$input
Creating stab test
$ ccc stab

View File

@@ -42,17 +42,20 @@ $ CALL TOOLTEST packedbits.ddl "packedbits.h5"
$ ! Test for displaying groups
$ CALL TOOLTEST tgroup-1.ddl "tgroup.h5"
$ ! Test for displaying the selected groups
$ CALL TOOLTEST tgroup-2.ddl "--group=/g2 --group / -g /y tgroup.h5"
$ ! Commented out due to the difference of printing format.
$ ! CALL TOOLTEST tgroup-2.ddl "--group=/g2 --group / -g /y tgroup.h5"
$ ! Test for displaying simple space datasets
$ CALL TOOLTEST tdset-1.ddl "tdset.h5"
$ ! Test for displaying selected datasets
$ CALL TOOLTEST tdset-2.ddl "-"""H""" -d dset1 -d /dset2 --dataset=dset3 tdset.h5"
$ ! Commented out due to the difference of printing format.
$ ! CALL TOOLTEST tdset-2.ddl "-"""H""" -d dset1 -d /dset2 --dataset=dset3 tdset.h5"
$ ! Test for displaying attributes
$ CALL TOOLTEST tattr-1.ddl "tattr.h5"
$ ! Test for displaying the selected attributes of string type and scalar space
$ CALL TOOLTEST tattr-2.ddl "-a /attr1 --attribute /attr4 --attribute=/attr5 tattr.h5"
$ ! Test for header and error messages
$ CALL TOOLTEST tattr-3.ddl "--header -a /attr2 --attribute=/attr tattr.h5"
$ ! Commented out due to the difference of printing format.
$ ! CALL TOOLTEST tattr-3.ddl "--header -a /attr2 --attribute=/attr tattr.h5"
$ ! Test for displaying attributes in shared datatype (also in group and dataset)
$ CALL TOOLTEST tnamed_dtype_attr.ddl "tnamed_dtype_attr.h5"
$
@@ -150,7 +153,7 @@ $ CALL TOOLTEST tchar1.ddl "-r tchar.h5"
$
$ ! Test failure handling
$ ! Missing file name
$ CALL TOOLTEST "tnofilename-with-packed-bits.ddl"
$ CALL TOOLTEST "tnofilename.ddl"
$
$ ! rev. 2004
$
@@ -203,7 +206,7 @@ $
$ ! Exceed the dimensions for subsetting
$ CALL TOOLTEST texceedsubstart.ddl "-d 1d -s 1,3 taindices.h5"
$ CALL TOOLTEST texceedsubcount.ddl "-d 1d -c 1,3 taindices.h5"
$ CALL TOOLTEST texceedsubstride.ddl "-d 1d -S 1,3 taindices.h5"
$ CALL TOOLTEST texceedsubstride.ddl "-d 1d -"""S""" 1,3 taindices.h5"
$ CALL TOOLTEST texceedsubblock.ddl "-d 1d -k 1,3 taindices.h5"
$ ! User defined

View File

@@ -46,65 +46,65 @@ $ ! Run h5importtest to create input files
$ !
$ run [.-]h5importtest
$ !
$ type sys$input
$ type sys$input
Testing ASCII I32 rank 3 - Output BE
$ CALL TOOLTEST "in32.txt -c textin32.conf -o" test1.h5
$ CALL TOOLTEST "txtin16.txt -c txtin32.conf -o" txtin32.h5
$ !
$ type sys$input
Testing ASCII I16 rank 3 - Output LE - CHUNKED - extended
$ CALL TOOLTEST "in16.txt -c textin16.conf -o" test2.h5
$ CALL TOOLTEST "txtin16.txt -c txtin16.conf -o" txtin16.h5
$ !
$ type sys$input
Testing ASCII I8 - rank 3 - Output I16 LE-Chunked+Extended+Compressed
$ CALL TOOLTEST "in16.txt -c textin8.conf -o" test3.h5
$ CALL TOOLTEST "txtin16.txt -c txtin8.conf -o" txtin8.h5
$ !
$ type sys$input
Testing ASCII UI32 - rank 3 - Output BE
$ CALL TOOLTEST "in1.txt -c textuin32.conf -o" test4.h5
$ CALL TOOLTEST "txtuin32.txt -c txtuin32.conf -o" txtuin32.h5
$ !
$ type sys$input
Testing ASCII UI16 - rank 2 - Output LE+Chunked+Compressed
$ CALL TOOLTEST "in1.txt -c textuin16.conf -o" test5.h5
$ CALL TOOLTEST "txtuin32.txt -c txtuin16.conf -o" txtuin16.h5
$ !
$ type sys$input
Testing ASCII F32 - rank 3 - Output LE
$ CALL TOOLTEST "fp1.txt -c textfp32.conf -o" test6.h5
$ CALL TOOLTEST "txtfp32.txt -c txtfp32.conf -o" txtfp32.h5
$ !
$ type sys$input
Testing ASCII F64 - rank 3 - Output BE + CHUNKED+Extended+Compressed
$ CALL TOOLTEST "fp2.txt -c textfp64.conf -o" test7.h5
$ !
$ type sys$input
Testing ASCII F64 - rank 1 - INPUT-CLASS TEXTFPE
$ CALL TOOLTEST "in64.txt -c textpfe.conf -o" test15.h5
$ CALL TOOLTEST "txtfp64.txt -c txtfp64.conf -o" txtfp64.h5
$ !
$ type sys$input
Testing BINARY F64 - rank 3 - Output LE+CHUNKED+Extended+Compressed
$ CALL TOOLTEST "binfp64.bin -c binfp64.conf -o" test8.h5
$ CALL TOOLTEST "binfp64.bin -c binfp64.conf -o" binfp64.h5
$ !
$ type sys$input
Testing BINARY I16 - rank 3 - Output order LE + CHUNKED + extended
$ CALL TOOLTEST "binin16.bin -c binin16.conf -o" test9.h5
$ CALL TOOLTEST "binin16.bin -c binin16.conf -o" binin16.h5
$ !
$ type sys$input
Testing BINARY I8 - rank 3 - Output I16LE + Chunked+Extended+Compressed
$ CALL TOOLTEST "binin8.bin -c binin8.conf -o" test10.h5
$ CALL TOOLTEST "binin8.bin -c binin8.conf -o" binin8.h5
$ !
$ type sys$input
Testing BINARY I32 - rank 3 - Output BE + CHUNKED
$ CALL TOOLTEST "binin32.bin -c binin32.conf -o" test11.h5
$ CALL TOOLTEST "binin32.bin -c binin32.conf -o" binin32.h5
$ !
$ type sys$input
Testing BINARY UI16 - rank 3 - Output byte BE + CHUNKED
$ CALL TOOLTEST "binuin16.bin -c binuin16.conf -o" test12.h5
$ CALL TOOLTEST "binuin16.bin -c binuin16.conf -o" binuin16.h5
$ !
$ type sys$input
Testing BINARY UI32 - rank 3 - Output LE + CHUNKED
$ CALL TOOLTEST "binuin32.bin -c binuin32.conf -o" test13.h5
$ CALL TOOLTEST "binuin32.bin -c binuin32.conf -o" binuin32.h5
$ !
$ type sys$input
Testing STR
$ CALL TOOLTEST "str.txt -c textstr.conf -o" test14.h5
$ CALL TOOLTEST "txtstr.txt -c txtstr.conf -o" txtstr.h5
$ !
$ type sys$input
Testing ASCII F64 - rank 1 - INPUT-CLASS TEXTFPE
$ CALL TOOLTEST "textpfe64.txt -c textpfe.conf -o" textpfe.h5
$
$ ! Delete temporary files

View File

@@ -527,7 +527,7 @@
#define H5_PACKAGE_NAME "HDF5"
/* Define to the full name and version of this package. */
#define H5_PACKAGE_STRING "HDF5 1.8.8-snap19"
#define H5_PACKAGE_STRING "HDF5 1.8.8"
/* Define to the one symbol short name of this package. */
#define H5_PACKAGE_TARNAME "hdf5"
@@ -536,7 +536,7 @@
#define H5_PACKAGE_URL ""
/* Define to the version of this package. */
#define H5_PACKAGE_VERSION "1.8.8-snap19"
#define H5_PACKAGE_VERSION "1.8.8"
/* Width for printf() for type `long long' or `__int64', use `ll' */
#define H5_PRINTF_LL_WIDTH "I64"
@@ -707,7 +707,7 @@
/* #undef H5_USING_MEMCHECKER */
/* Version number of package */
#define H5_VERSION "1.8.8-snap19"
#define H5_VERSION "1.8.8"
/* Define if vsnprintf() returns the correct value for formatted strings that
don't fit into size allowed */

View File

@@ -145,7 +145,7 @@ goto main
set testing=STR
call :tooltest %srcdir%\testfiles\txtstr.txt -c %srcdir%\testfiles\txtstr.conf -o txtstr.h5
set testing=BINARY I8 CR LF EOF"
set testing=BINARY I8 CR LF EOF
call :tooltest binin8w.bin -c %srcdir%\testfiles\binin8w.conf -o binin8w.h5
set testing=ASCII F64 - rank 1 - INPUT-CLASS TEXTFPE