Commit Graph

10665 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
f2bdeee898 [svn-r16003] h5import: TEXTFPE (scientific format) was deprecated. Use TEXTFP
+            instead (PVN - 2008/10/30)
2008-10-30 14:36:47 -05:00
Pedro Vicente Nunes
148f0787ad [svn-r16002] h5diff: return 1 for file differences when both file graphs differ by any object.
+            Error return code was changed to 2 from -1. (PVN - 2008/10/30)
2008-10-30 14:30:34 -05:00
Pedro Vicente Nunes
209f3a4504 [svn-r15999] h5dump: binary default to NATIVE. 2008-10-30 14:16:04 -05:00
Binh-Minh Ribler
2cfa680366 [svn-r15998] Description:
Fixed various comments/headers to update the C++ reference manual.

Platforms tested:
    Linux 2.6 (kagiso) - to make certain no typo introduced
2008-10-30 14:05:47 -05:00
Pedro Vicente Nunes
b3e7158c54 [svn-r15996] Added a definition of HDftruncate for windows to compile with VC6 and later versions
Tested: windows
2008-10-30 11:11:21 -05:00
Pedro Vicente Nunes
37bff127f5 [svn-r15995] remove mention to h5diff -c 2008-10-30 10:37:19 -05:00
Pedro Vicente Nunes
8de58b40f5 [svn-r15985] reorganized the code to deal with deprecated -i -o for in/out files to avoid duplicated code
tested: windows, linu

x
2008-10-28 20:32:42 -05:00
Quincey Koziol
d851c3ba6c [svn-r15982] Description:
Remove redundant check for 1.6 default API.

Tested on:
    Eyeballed - very trivial
2008-10-28 18:42:20 -05:00
Pedro Vicente Nunes
9dd196f146 [svn-r15981] added the version from rev 15974, this AM, before any changes made today 2008-10-28 15:53:09 -05:00
Pedro Vicente Nunes
dd0b3ce4a8 [svn-r15980] add mention to h5diff long double 2008-10-28 15:02:52 -05:00
Pedro Vicente Nunes
5f376374db [svn-r15976] remove mention to h5diff -c 2008-10-28 11:11:25 -05:00
Elena Pourmal
98bac0cfc0 [svn-r15974] Bug fix:
Compilation on all daily test platforms fails due to missing "(";
	fixed.

Platforms tested:
	co-login
	kagiso with --with-default-api-version=v16 and  
        --with-default-api-version=v16 --disable-deprecated-symbols
        compilation flags.
2008-10-27 22:19:31 -05:00
Pedro Vicente Nunes
a8e59673c0 [svn-r15973] make -b accept both MEMORY and NATIVE
tested: windows, linux
2008-10-27 21:02:12 -05:00
Scott Wegner
a2501c41bd [svn-r15970] Purpose: Update Windows h5dump test script
Description:
The h5dump test script was recently updated to add the new -b syntax.  This update also adds and modifies the neccessary tests for Windows.

Tested:
VS2005 on WinXP
2008-10-27 15:39:28 -05:00
Pedro Vicente Nunes
f08f9340a7 [svn-r15969]
Introduced a new feature in the tools library regarding command line parsing
In the definition of arguments, an "*" means that the switch can or can not have an optional argument. This "*" is put in the code regarding the letter definition, and it is transparent to the user (e.g b* instead of the previous b: ), where ":" notes a required argument after the letter (and no ":" or "*" notes no argument, mandatory)
Used for the h5dump binary option -b
It can be now
1)	-b (defaults to NATIVE)
2)	- b NATIVE
3)	- b FILE
4)	-b LE
5)	-b BE
Note: the keyword NATIVE replaces MEMORY
This feature (-b with no argument) was tested with the sequence of h5dump to binary (NATIVE) then h5import to generate an HDF5 file from the binary file and h5diff to compare the 2 HDF5 files
Tested: windows, linux
2008-10-27 15:06:28 -05:00
Pedro Vicente Nunes
64e96385de [svn-r15967] regarding the return value of h5diff (0, no difference in files, 1 difference )
objects with the same name must be of the same type


tested: windows, linux
2008-10-27 11:18:06 -05:00
Scott Wegner
30675b0c4a [svn-r15964] Purpose: Mention Windows bugfix in release document
Description:
In June, we discovered a bug in Windows which only affected specific timezones with the mtime test.  This bug was promptly fixed, but never documented.  This checkin adds a note to the release document.
2008-10-27 09:56:48 -05:00
Scott Wegner
2d567669cd [svn-r15963] Purpose: Minor h5repack test update
Description:
Change the Windows h5repack test script so that the h5diff format matches the latest changes.  In particular, don't send the -c option.

Tested:
None, very minor
2008-10-27 09:32:57 -05:00
Binh-Minh Ribler
9e9c74f7c0 [svn-r15962] Description:
Fixed some typos and replaced free/HDfree and malloc/HDmalloc.

Platforms tested:
    Linux 2.6 (kagiso) - very minor
2008-10-27 08:49:25 -05:00
Binh-Minh Ribler
9924714992 [svn-r15960] Description:
Oops, I accidentally only did "svn commit" instead of "svn commit -m" as
    instructed.
    "ported revisions 15958 to 15959 (Added missing wrappers for H5Rdereference)
    from trunk."
2008-10-26 22:02:39 -05:00
HDF Tester
c16cadef00 [svn-r15958] Snapshot version 1.8 release 1 (snap7) 2008-10-26 17:40:34 -05:00
Christian Chilan
aaf4e0bda5 [svn-r15956] Revised the help page of h5perf.
Tested on kagiso.
2008-10-26 16:19:31 -05:00
Albert Cheng
d55acefa0f [svn-r15951] Fix Bug 1300.
Removed duplicated information due to previous incompleted changes.
Also rearranged the entries to a more logical combinations.

Tested: h5committest.
2008-10-25 20:43:40 -05:00
Mike McGreevy
5e1af503a6 [svn-r15949] Purpose: Documentation
Description: Updating RELEASE.txt with changes for release.

Tested: docwork only, none needed
2008-10-24 16:37:45 -05:00
Mike McGreevy
1c0b652994 [svn-r15948] Purpose: Bug Fix
Description: Adding the SZIP path to LD_LIBRARY_PATH within configure was
             inadvertently blowing away anything already in LD_LIBRARY_PATH. This
             fixes that, which solves, among other things, the problem where
             configure failed to learn how to print 'long long' on cobalt.

Tested: full make check install: kagiso, smirom
        configure / make / h5ls test only : cobalt, linew
2008-10-24 16:30:49 -05:00
Raymond Lu
5f16ae281c [svn-r15946] A follow-up checkin for the last-round commit(r15936). Added a test in this script file to
check whether the macros H5_USE_16_API works properly.  There used to be a problem to compile
if H5_USE_16_API is defined in the application program (see bug #1264).

Tested on kagiso - simple change.
2008-10-24 14:48:57 -05:00
Pedro Vicente Nunes
07baa2bd02 [svn-r15945] redo the
use of
H5_PRINTF_LL_WIDTH
in the definition of 
#define HSIZE_T_FORMAT   "%"H5_PRINTF_LL_WIDTH"u"

the printing of "unknow u" in tg-login3.
for unsigned long long was a  configure bug fixed by rev 15942

tested: tg-login3
2008-10-24 14:38:53 -05:00
Neil Fortner
d58e55cc92 [svn-r15940] Purpose: Close bug 1305.
Description: Added a new function, H5O_alloc_shrink_chunk, which removes all
null messages from a chunk and shrinks the chunk appropriately.  Modified
H5O_merge_null to call this function when a null message is created with a size
>= 64k.  Tests added for this functionality.

Tested: kagiso, linew, smirom (h5committest)
2008-10-23 20:04:28 -05:00
Quincey Koziol
2245e77948 [svn-r15939] Description:
Bring r15937 back from trunk to 1.8 branch:

	Correct error in metadata accumulator code which wasn't expanding the
metadata accumulator when adjoining (but not overlapping) I/O writes occurred.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/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 production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-10-23 17:59:12 -05:00
Pedro Vicente Nunes
1b6981c062 [svn-r15938]
for some reason , the use of H5_PRINTF_LL_WIDTH to convert to a unsigned long long format, is not working in ia64 linux (tg-login3)
extra characters are printed, this time in h5ls
hardcoded the format defined in HSIZE_T_FORMAT to "%llu"

tested: windows, linux (kagiso), solaris, ia64 linux (tg-login3)
2008-10-23 16:29:21 -05:00
Raymond Lu
caa9e0c055 [svn-r15936] Changed the library's macros H5_USE_16_API to H5_USE_16_API_DEFAULT avoid possible conflict with user's definition of H5_USE_16_API. The H5_USE_16_API_DEFAULT is defined through
configure with the flag --with-default-api-version=v16.

Tested with h5committest.
2008-10-23 14:48:45 -05:00
Pedro Vicente Nunes
b694ad6c87 [svn-r15933] for some reason , the use of H5_PRINTF_LL_WIDTH to convert to a unsigned long long format
is not working in ia64 linux (tg-login3)
hardcoded the format to "%llu"

tested: windows, linux (kagiso), solaris, ia64 linux (tg-login3)
2008-10-22 17:33:58 -05:00
Pedro Vicente Nunes
83abc3a4e4 [svn-r15923] The printf call with the format "%"H5_PRINTF_LL_WIDTH"u" prints some garbage in linux ia64 unless we pass to the function a temporary pointer variable
Tested: windows, linux (kagiso), solaris, linux ia64 (tg-login3)
2008-10-21 14:25:29 -05:00
Albert Cheng
00b0378cd3 [svn-r15919] Updated with the information of the removal of libhdf5_fortran.settings. 2008-10-21 11:12:58 -05:00
Albert Cheng
16801096c7 [svn-r15917] Bug fix: #933
This file is no longer needed since it is not installed any more.

Tested: kagiso with fortran and C++.
2008-10-21 11:02:56 -05:00
Albert Cheng
fdabaa3330 [svn-r15912] Bug fix: #933
The information of libhdf5_fortran.settings are all included in
libhdf5.settings now. Remove it from the source.

Tested: kagiso with fortran and C++.
2008-10-20 23:10:17 -05:00
Scott Wegner
7f758bceb0 [svn-r15909] Purpose: Various Windows test script updates
Description:
This checkin includes updates to Windows test scripts for h5copy, h5diff, and h5dump tools.  Each represents minor changes to syntax which emulates the updates made to the general-platform test scripts.

Tested:
VS2005 on WinXP
2008-10-20 11:06:48 -05:00
Pedro Vicente Nunes
3a6ad02916 [svn-r15901] undo some changes in the list of parameters of parse_command_line (forgot that this function is called both on serial and parallel)
tested: linux
2008-10-17 22:01:34 -05:00
Pedro Vicente Nunes
1e1bcb801c [svn-r15900] Make the h5copy test that renames a group to return 1 on the h5diff call and assume 1 is the correct result
Drop the -c flag for h5diff

Tested: linux
2008-10-17 18:45:32 -05:00
Pedro Vicente Nunes
6c262bfc93 [svn-r15899] Extend the -c flag for ignore graph differences to ignore different group names
This is used in the h5copy test that compares renaming of groups

Tested: linux
2008-10-17 17:26:14 -05:00
Mike McGreevy
1b86e5a529 [svn-r15898] Purpose: Bug Fix
Description: Libtool wasn't working on linew because the script was
             not working with the Solaris Bourne shell. Libtool has built-
             in detection to ensure that it uses an appropriate shell,
             but our config/commence.am was hard coding this shell to be
             /bin/sh. Removing this line allows the shell to be picked up
             by configure, thus allowing libtool to use the correct shell
             on linew (bash). This was initially added to correct for a problem
             on an old machine (janus), so shoudn't be needed for machines
             we currently support.

Tested:      full make check install on kagiso and linew, compile only
             on smirom, duty, and liberty.
2008-10-17 10:48:23 -05:00
Pedro Vicente Nunes
924ba14474 [svn-r15896] Introduced a -c flag to ignore file contents differences in the return value (return 0 id -c is present)
Introduced for h5copy validation

Tested: windows, linux
2008-10-16 18:24:18 -05:00
Pedro Vicente Nunes
208777ec89 [svn-r15891]
Make the h5diff call compare only the source and destination objects, otherwise if we attempt to compare the all file, h5diff returns 1 for differences

Tested: linux
-This line, and those below, will be ignored--

M    tools/h5copy/testh5copy.sh
2008-10-16 14:00:18 -05:00
Pedro Vicente Nunes
12e3697d79 [svn-r15889] When comparing individual objects the file graph is not currently compared, so make h5diff return 0 (no diffrences)
Tested: windows, linux
2008-10-16 11:00:37 -05:00
Neil Fortner
b195e33d3f [svn-r15887] Purpose: Close bug 1332
Description: Improved external link traversal of h5dump.  h5dump will now
    properly avoid all cycles, even those spanning multiple files.  Improvement
    to the output of committed datatypes.  Committed datatypes are now checked
    for uniqueness (like other objects).  Tests added for these cases.

Tested: kagiso, linew, smirom (h5committest)
2008-10-15 22:54:19 -05:00
Mike McGreevy
97cced22b6 [svn-r15881] Purpose: Bug Fixes, Libtool Upgrade
Description:

  1) configure now sets LD_LIBRARY_PATH before checking for presence of 
     SZIP encoder, so user does not need to set this. The path is then
     saved and sent to Makefiles, and used when "make check-install" is
     invoked, so user doesn't need to set this manually. 

  2) Upgraded libtool to version 2.2.6a

  3) Rearranged tools build order as h5dump depends on existence of h5diff
     and h5import. Since h5dump is a sister directory as opposed to a parent
     of either, it doesn't know about the build rules of these tools, so 
     setting any sort of explicit dependency confuses automake as it won't
     know how to build the tools. Instead, setting CONFIG = ordered forces
     an in-order traversal of each tools subdirectory. (without it will also
     traverse in order by default, but this should prevent gmake's -j option
     from jumping ahead as well). 'make check install' should now be able to 
     be invoked after 'configure' without causing a dependency failure.

  4) Removed H5_HAVE_LARGE_HSIZET macro from vms/src/h5pubconf.h, as this macro
     has now been out of the code for some time. (vms pubconf needs to be 
     updated manually, which is why it was still hanging around).

Tested: kagiso, smirom, liberty

Note: h5diff looks to be causing failures in h5copy and h5dump tools tests,
      though these were present before any of my changes. My changes only 
      affect build order and configuration setup, and shouldn't prevent
      fixes for these failures coming in after this checkin. Other than these,
      tests pass fine.
2008-10-15 16:53:36 -05:00
Pedro Vicente Nunes
b353fb8b5a [svn-r15871] Eliminate -c option and make that behavior the default and return 2 instead of -1 on error status
Tested: windows, linux
2008-10-15 11:10:15 -05:00
Vailin Choi
122b938cbf [svn-r15870] Add description to release doc for the two new public routines and h5stat bug fix. 2008-10-15 09:16:15 -05:00
Quincey Koziol
8f3811e1b1 [svn-r15869] Description:
Bring r15868 from trunk to 1.8 release branch:

	Correct a minor error in file free space allocation which was affecting
the 'multi' VFD and preventing some tests from fully working with it.

	Wholesale revisitation of all the places where tests were disabled
with various VFDs and remove or correct all these so that _only_ the tests
which _really_ can't work with particular VFDs are skipped during a
'make check-vfd' test.


Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/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 production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2008-10-14 22:53:09 -05:00
Pedro Vicente Nunes
c7bc8d9d28 [svn-r15866] add support for long double type
tested: windows, linux (32,64)
2008-10-14 15:38:57 -05:00