Commit Graph

11911 Commits

Author SHA1 Message Date
Allen Byrne
9fc29cdd1c [svn-r18925] Updated install of fortran mod files
Tested: local linux
2010-05-28 16:29:01 -05:00
Vailin Choi
9957d5f8e9 [svn-r18922] Fix for failures for test/mf.c on windows:
1. H5FD_stdio_truncate() windows code: need to do a rewind
2. Make sure fsinfo.fs_addr is initialized before creating the message.
2010-05-28 10:46:33 -05:00
Quincey Koziol
9f90e06bd0 [svn-r18917] Description:
Bring r18911 (plus some adaptions to match the code on the trunk)
from the metadata journaling "merging" branch to the trunk:

	More general changes to align trunk with eventual changes from
metadata journaling branch.

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 (amani) 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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
        Mac OS X/32 10.6.3 (amazon) in debug mode
        Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-05-27 15:27:13 -05:00
Quincey Koziol
2f5164b104 [svn-r18915] Description:
Clean up a couple of compiler warnings (in Windows).

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor to require h5committest)
2010-05-27 14:20:58 -05:00
Allen Byrne
006aa82452 [svn-r18914] Added fortran library to list of library links.
Tested: Windows, local linux
2010-05-27 12:54:24 -05:00
Allen Byrne
652a1c649f [svn-r18908] Corrected name of cstub libraries (needed to be lowercase) 2010-05-26 13:59:40 -05:00
Allen Byrne
203133e3e8 [svn-r18906] Updated with new name of CMake.txt 2010-05-26 11:55:43 -05:00
Allen Byrne
d314b58010 [svn-r18903] Renamed Cmake specific document, making more general for all platforms. Updated references in other files. 2010-05-26 11:47:12 -05:00
Allen Byrne
60790e6092 [svn-r18898] Added fortran /dbglibs option to fortran compile flags for windows intel fortran case.
Duplicated windows intel fortran flag block for hl/fortran
2010-05-25 16:20:23 -05:00
Neil Fortner
3f837fc323 [svn-r18894] Purpose: Improve allocation performance of filtered datasets with non-default VL
fill values.

Description:
Previously, H5D_chunk_allocate would, if a dataset were filtered and had a non-default VL fill value, allocate a new buffer for every chunk.  Changed
H5D_chunk_allocate to reuse the existing buffer if possible.  Also other
miscellaneous cleanup.

Tested: jam, linew, amani (h5committest)
2010-05-25 15:39:52 -05:00
Allen Byrne
ef292895e9 [svn-r18890] Update CMake fortran configure/build with changes from community.
- Add an install rule to copy compiled fortran module files
- Only build the xlatefile utility if testing and tools are enabled
- Don't do MPI HAVE_XXX checks until MPI_FOUND is true
- Install needs H5version.h & H5overflow.h to be copied
- Add debug information flags to debug compile and link lines for win32 Intel compiler
2010-05-25 11:00:56 -05:00
Allen Byrne
9f5a4ed901 [svn-r18885] Add -C {Debug | Release} to ctest command line 2010-05-24 08:38:53 -05:00
Elena Pourmal
2ed80b2784 [svn-r18882] Maintenance: fixed a typo in email address 2010-05-22 13:07:47 -05:00
Elena Pourmal
3df3fc6176 [svn-r18881] Maintenance: Fixed a typo in the bug number (should be 1851 instead of 1855) 2010-05-22 12:49:58 -05:00
Elena Pourmal
18ae0c6e6d [svn-r18880] Bug fix:
Fixed a bug (1855) in H5DSattach_scale, H5DSis_attached and H5DSdetach_scale
    caused by using H5Tget_native_type function to determine the native
    type for reading REFERENCE_LIST attribute. The bug was exposed on Mac PPC.

Platforms tested: juniper (Mac PPC), jam, amani, linew
2010-05-22 12:30:45 -05:00
Allen Byrne
00d38d62f7 [svn-r18877] Update testh5diff.bat for --follow-symlinks change
Tested:  windows
2010-05-21 16:46:36 -05:00
Jonathan Kim
a5ca9e6ba9 [svn-r18873] Purpose:
Rename '--follow-links' to '--follow-symlinks' 

Description:
    The '--follow-links' option is to follow symbolic links (soft and external).
    Make the name more intuitive and specific to the feature.

Tested:
    jam, amani and linew
2010-05-21 15:12:22 -05:00
Quincey Koziol
ff334a5952 [svn-r18871] Description:
Clean up compiler warnings (on Windows, I hope) by marking some routines
as taking 'volatile' parameters.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor for h5committest)
2010-05-21 13:53:42 -05:00
Neil Fortner
2db0e8ecf3 [svn-r18868] Purpose: Fix bug in dataset shrinking algorithm
Description:
Previously, it was possible for a chunk to be flushed due to chunk operations in
the callback from H5B_iterate in H5D_chunk_prune_by_extent.  Because flushing
the chunk can force it to be reallocated if it is filtered, this can change the
contents of the chunk b-tree in the middle of H5B_iterate.  Because H5B_iterate
uses a locally cached copy of the b-tree, this causes subsequent operations
to be passed incorrect data.  Rewrote H5D_chunk_prune_by_extent to avoid
H5B_iterate entirely.

Also fixed a bug in the dataset expand algorithm that could cause extra chunks
to be created.

Tested: jam, linew, smirom (h5committest)
2010-05-20 16:55:55 -05:00
Quincey Koziol
00aa7f1d8a [svn-r18864] Description:
General cleanups to align metadata journaling branch and trunk

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 (amani) 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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
        Mac OS X/32 10.6.3 (amazon) in debug mode
        Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-05-20 07:27:02 -05:00
Allen Byrne
d41b5be368 [svn-r18859] pull r18858 from 185;
Cange allocation of buffer to use the specified dimensions to calculate the size of a data buffer. Also removed any initialized values.
2010-05-19 17:12:50 -05:00
Allen Byrne
80e6dfe3ba [svn-r18856] Added CPack commands for installtion program
Tested: local linux and Windows
2010-05-19 15:11:00 -05:00
Quincey Koziol
2fc65cf787 [svn-r18837] Description:
Remove the size parameter from H5[A]C_unprotect() and the
H5[A]C__SIZE_CHANGED_FLAG, switching all clients & tests over to using
H5[A]C_resize_entry appropriately.

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 (amani) 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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.3 (amazon) in debug mode
        Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-05-18 07:14:44 -05:00
Quincey Koziol
ef8cfc3e9f [svn-r18834] Description:
Correct function enter macro and add 'done' label, for routine that is
only invoked when configured with --enable-debug=all.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug & production
    (too minor to require h5committest)
2010-05-17 16:18:04 -05:00
Quincey Koziol
8d6ec653bd [svn-r18832] Description:
Correct error where variable didn't always get initialized correctly.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug & prod
    Windows w/debug & prod
2010-05-17 16:08:22 -05:00
Jonathan Kim
6413372648 [svn-r18831] Purpose:
Resolve build issue on Windows due to the location of variable definition.

Tested:
    jam
2010-05-17 15:11:35 -05:00
Quincey Koziol
9ef21822f5 [svn-r18827] Description:
Correct error where variable didn't always get initialized correctly.

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug & prod
    Windows w/debug & prod
2010-05-17 14:29:01 -05:00
HDF Tester
49a6f7174d [svn-r18823] Snapshot version 1.9 release 69 2010-05-16 09:55:25 -05:00
Elena Pourmal
e870eca72e [svn-r18819] Maintenance: fixed typo in a comment line and formatting.
Platforms tested: jam (minor fix)
2010-05-14 23:23:44 -05:00
Elena Pourmal
d7a89d6c7b [svn-r18818] Bug fix:
Fixed a bug in the H5DSdetach_scale function when 0 bytes
     were allocated after the last reference to a dim. scale
     was removed from the list of references in a VL element of the
     DIMENSION_LIST attribute; modified the function to comply
     with the Spec: DIMENSION_LIST attribute is deleted now when no
     dimension scales left attached.

Platforms tested: jam with electric fence, amani amd linew
2010-05-14 23:10:53 -05:00
Allen Byrne
a6698e571c [svn-r18816] Move progname and d_status functions from h5tools to h5tools_util
Tested:
    linux and windows
2010-05-14 16:54:59 -05:00
Jonathan Kim
f336441f7c [svn-r18813] Purpose:
Add bug fixes for Tools.

Description:
    Added list:
    1726 - NPOESS: h5repack loses attributes for datasets of type H5T_REFERENCE
    1814 - NPOESS: h5repack doesn't handle references to the groups as an 
                   element of a dataset
    1817 - h5copy fail to copy dangling link by specifying link path directly
    1793 - h5ls on a non-existent file gives 0 return code

Tested:
    no, just text update.
2010-05-14 16:37:27 -05:00
Allen Byrne
9564c48990 [svn-r18811] Removed references to packedbits files 2010-05-14 16:10:38 -05:00
Mike McGreevy
88de0e02f0 [svn-r18808] Purpose:
Fixed file cleanup during make distclean / make check.

Description:

    The h5jam Makefile and the h5importtestutil.sh script both included cleanup
    steps that removed "*.txt" from the directory. This resulted in the new
    CMake specific configuration file, CMakeLists.txt, getting blown away by 
    make distclean (for h5jam) and make check (for h5import).

    I've removed the *.txt from the h5jam Makefile as the directory looks to be
    getting cleaned appropriately without it, and I've modified the h5import
    script h5importtestutil.sh to point to the specific .txt files to clean.

Tested:

    jam
2010-05-14 15:29:57 -05:00
Mike McGreevy
ed4885a485 [svn-r18804] Purpose:
Fix memory leaks

Description

    Added a routine to free memory which addresses a memory leak
    when variable length strings are used as fill values.

Tested:

    h5committest and valgrind (on jam/amani) to confirm freed memory.
2010-05-14 13:44:36 -05:00
Binh-Minh Ribler
3cd3de7612 [svn-r18803] Description:
Added notes about
        + PropList::PropList(id) pclass id/plist id
	+ new DataSet::getInMemDataSize
	+ CommonFG::getLinkval and CommonFG::getComment take default values 
	+ bugzilla 1061
	+ read/write methods of DataSet and Attribute
2010-05-14 10:14:05 -05:00
Quincey Koziol
1b103bc875 [svn-r18799] Description:
Added note about use of volatile for variables.

Tested on:
    None - trivial change to comment.
2010-05-13 18:05:49 -05:00
Allen Byrne
ae06433ab0 [svn-r18793] Add files to support building library with CMake
Tested: Local linux
2010-05-13 11:01:50 -05:00
Quincey Koziol
940931aa85 [svn-r18791] Description:
Correct error in H5C_resize_entry() where protected entry sizes were
not updated if the entry being resized was both pinned and protected.

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 (amani) 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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.3 (amazon) in debug mode
        Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-05-13 10:17:23 -05:00
Allen Byrne
df9d110fd4 [svn-r18788] Added h5tools.h include to h5diff_common.h to fix warnings about the new progname and status functions
Tested: local linux
2010-05-13 09:25:04 -05:00
Quincey Koziol
2b33e7ca2e [svn-r18785] Description:
Fix unterminated comment.

Tested on:
    None - just eyeballed.
2010-05-13 08:14:45 -05:00
Quincey Koziol
bb26d1fe8d [svn-r18768] Description:
Correct a mis-merged patch when marking an entry dirty.

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 (amani) 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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2010-05-11 18:55:48 -05:00
Allen Byrne
33f060108b [svn-r18765] Corrected typo in Fortran CStub DLL section 2010-05-11 16:22:26 -05:00
Allen Byrne
3da997e38f [svn-r18761] File needed to correctly set new H5TOOLS_* export/import attribute 2010-05-11 15:59:55 -05:00
Allen Byrne
68fa42f336 [svn-r18759] pull r18757 from 1.8 branch
Enable tools lib to be built as a dll on windows. Added two get/set functions for progname and d_status.
Also add windows import/export declarations to functions.
Updated error_mesg() and warn_mesg() to remove progname argument and use get functions

Tested:
   Windows, linux
2010-05-11 15:10:25 -05:00
Binh-Minh Ribler
fe49632588 [svn-r18747] Purpose: Fixed bug 1599
Description:
    Fixed operator= to use setId() properly.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2010-05-09 14:50:32 -05:00
Binh-Minh Ribler
1c9e998d0d [svn-r18745] Purpose: Fixed bug 1852
Description:
    When a property class id is given to PropList(id), create new prop list,
    but when a property list id is given, make a copy of it.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2010-05-08 23:14:57 -05:00
Quincey Koziol
5d8a2cca07 [svn-r18740] Description:
Bring r18738 from metadata journaling 'merging' branch to trunk:

	Switch H5AC_resize_pinned_entry() to work on protected entries as well,
and rename to H5AC_resize_entry()

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 (amani) 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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.3 (amazon) in debug mode
        Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-05-06 21:48:15 -05:00
Binh-Minh Ribler
ec7f4dc603 [svn-r18727] Purpose: Fixed bug 1719
Description: Closed a temporarily opened datatype to clean up memory leak,
    in getTypeClass.
Platforms tested:
    Linux/32 2.6 (jam)
    FreeBSD/64 6.3 (liberty)
    SunOS 5.10 (linew)
2010-05-06 11:15:05 -05:00
Quincey Koziol
809a91fad6 [svn-r18725] Description:
Bring r18724 from metadata journaling 'merging' branch to trunk:

	Rename H5[A]C_rename to H5[A]C_move_entry.

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 (amani) 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-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.3 (amazon) in debug mode
        Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2010-05-06 10:00:43 -05:00