Commit Graph

1226 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
59d5e5c6fb [svn-r12490]
commented h5copy calls that are failing with mpicc compiler
2006-07-21 13:33:17 -05:00
Pedro Vicente Nunes
29cd766ae0 [svn-r12489] removed some whitespace 2006-07-21 11:03:13 -05:00
Pedro Vicente Nunes
2b65473c85 [svn-r12487]
updated some comments
2006-07-20 16:33:25 -05:00
Pedro Vicente Nunes
9ddb68e9f3 [svn-r12486] added some tests to the h5copy shell script
tested: shanti, mir
2006-07-20 14:24:48 -05:00
Pedro Vicente Nunes
01c58f7fe9 [svn-r12483] Removed some white space from h5copy.c
his line, and those below, will be ignored--

M    h5copy/h5copy.c
2006-07-19 17:12:06 -05:00
Pedro Vicente Nunes
5d8a9053c7 [svn-r12482] new tool h5copy
it uses the API function H5Gcopy to copy groups and datasets from file
to file, read from a command line

note: the test script is not finished yet
tested on heping, copper, shanti
2006-07-19 16:47:33 -05:00
Quincey Koziol
e9d6c992d6 [svn-r12474]
Clean up some compiler warnings.

Tested on:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-07-15 14:49:04 -05:00
MuQun Yang
a23147fff2 [svn-r12467] Rename h5stat output file to avoid lower/upper-case filename clash on Windows 2006-07-14 15:23:43 -05:00
Quincey Koziol
ae0bd80fff [svn-r12456] Mark dumper output file as binary, missed during CVS conversion 2006-07-07 12:53:06 -05:00
James Laird
801ca2f9cb [svn-r12452] Purpose:
Feature

Description:
Revised Link APIs.

Solution:
New link APIs use H5L*
H5*create_expand do not create links to the objects created; this must
be done manually with H5Llink.
Added APIs to link an object given its ID (H5Llink), to copy links (H5Lcopy),
and changed creation APIs (H5Lcreate_hard and H5Lcreate_soft) and query
API (H5Lget_linkinfo instead of H5Gget_objinfo).
All old APIs are still supported in H5Gdeprec.c .

Platforms tested:
sol, mir, copper

Misc. update:
Forgot to update MANIFEST and release docs.  Will do after checkin.
2006-07-05 14:01:50 -05:00
Pedro Vicente Nunes
7637b67933 [svn-r12444] Purpose:
new feature

Description:

added support for h5dump to dump binary data using the file type format
added one test to the test script that tests this


Solution:

Platforms tested:
mir
shanti
copper


Misc. update:
2006-06-28 14:34:08 -05:00
Quincey Koziol
7be3afb278 [svn-r12440] Purpose:
Code cleanup

Description:
    Trim trailing whitespace in Makefile.am and C/C++ source files to make
diffing changes easier.

Platforms tested:
    None necessary, whitespace only change
2006-06-27 09:45:06 -05:00
Pedro Vicente Nunes
785938ace1 [svn-r12438] Purpose:
updated some comments

Description:

Solution:

Platforms tested:

Misc. update:
2006-06-26 11:05:32 -05:00
Pedro Vicente Nunes
8846157e59 [svn-r12437] Purpose:
new feature. h5dump output of binary data

Description:
a new switch -b FILE_NAME that dumps the contents of memory data to file FILE_NAME in binary form

new program binread.c that reads the contents of this file and outputs it to stdout

added a test for the h5dump shell script that does a run of -b
the binread.c program reads the data used in this run, usage is ./binread FILE_NAME


Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-06-26 09:41:59 -05:00
James Laird
64b5d95251 [svn-r12431] Purpose:
Configuration feature

Description:
'make install' now tests both static and shared libraries if both are installed.

Solution:
Previously, shared libraries were only tested when static libraries were not installed.
Also cleaned up line in commence.am that was including HL library in all Makefiles.

Platforms tested:
mir (Makefile change only)
2006-06-21 18:15:08 -05:00
Elena Pourmal
26e2b6fefb [svn-r12419] Purpose: Maintenance/new feature
Description: Added new tests for the h5stat tool; added --version flag
             to display library version information and updated expected
             output files.

Solution:

Platforms tested: heping, shanti

Misc. update:
2006-06-18 12:43:02 -05:00
Elena Pourmal
09aa1fa82c [svn-r12418] Purpose: Maintenance/new feature
Description: Added new tests for the h5stat tool; added --version flag
             to the h5stat tool to display library version information

Solution:

Platforms tested: heping, shanti

Misc. update:
2006-06-18 12:41:58 -05:00
Elena Pourmal
b7beca9770 [svn-r12416] Purpose: Maintenance
Description: Added test script and two test files in the tools/misc/testfiles
             directory for testing h5stat tool; modified Makefile.am in tools/misc
             and configure.in files to run the new test script; reran bin/recofigure
             to update relevant configuration files; updated MANIFEST

Solution:

Platforms tested: heping with in place and srcdir builds; will do more testing
                  after the checkin.

Misc. update:
2006-06-17 13:16:05 -05:00
James Laird
a31e264f89 [svn-r12411] Purpose:
Bug fix - bugzilla #552

Description:
On Cray X1, trying to use : as an argument confused the system.

Solution:
Added a test in configure to see if : as an argument is bad.
If so, skipped the test.

Platforms tested:
mir, Cray X1 (change to configure only)
2006-06-13 16:21:14 -05:00
Elena Pourmal
f5a16e9bfa [svn-r12402] Purpose: New features
Description: I am checking in changes for the h5stat tool:
               - updated Makefile.am to use tools library
               - regenerated Makefile.in
               - added command flags to display selected information
               - added support for external files and filters
               - small output formatting changes

             For more information about current features and output see
             updated h5stat RFC http://hdf.ncsa.uiuc.edu/RFC/h5stat/h5stat-spec.pdf

Solution:

Platforms tested: mir, heping, shanti, copper 64-bit, copper 32-bit parallel
                  using files from tools/testfiles directory and some NASA files
                  from our Web site.

Misc. update:
2006-06-04 17:28:06 -05:00
Albert Cheng
56c0a0f993 [svn-r12358] Purpose:
Bug fix.

Description:
The ${TR}, though avoid the error, is inconvenient.  It is needed
because configure.in use the char range in the style of 'a-z'.
The other style of '[a-z]' is more commonly accepted by all tr
but autoconf tends to strip away [], making the syntax rather
clumsy.

Solution:
Learned from autoconf that it avoids the use of character range
by just spell all the letters out.  Changed our tr commands to
use those variables defined by autoconf.  Also removed the
definition of ${TR} since it will cause inconsistancy when
autoconf also use plain 'tr' in its generated code.

The Makefile.in are changed because the elimination of ${TR} from
configure triggered its removal from all Makefil.in.  That is okay
because ${TR} is not used at all in Makefile.

Platforms tested:
h5committested. (sol failed to connected). also tested in shanti
using both /usr/ucb/tr and /bin/tr (the bad one before.)

Misc. update:
Updated both INSTALL and RELEASE files.
2006-05-19 07:22:07 -05:00
Quincey Koziol
7b6db1046b [svn-r12349] Purpose:
Code checkpoint

Description:
    Checkpoint fractal heap improvements, as well as move the free space
manager code that it's using into a separate package.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4/64 (mir) w/C++ & FORTRAN
    Linux 2.4/32 (heping)
    Solaris 2.9 (shanti)
    AIX 5.? (copper) w/FORTRAN & parallel
2006-05-14 23:35:53 -05:00
Pedro Vicente Nunes
3c4e460d39 [svn-r12304] Purpose:
bug fix

Description:
the diff region output was done in verbose mode

Solution:
avoid it in verbose

Platforms tested:
linux

Misc. update:
2006-04-26 11:02:58 -05:00
Pedro Vicente Nunes
c5dc74de15 [svn-r12303] Purpose:
new feature

Description:
modified the test case for region points, so that there is not an ordered sequence of points that differ, but one with gaps

Solution:

Platforms tested:
linux

Misc. update:
2006-04-26 10:42:14 -05:00
Pedro Vicente Nunes
6573bf4974 [svn-r12298] Purpose:
one more test file forgotten in the last check in

Description:

Solution:

Platforms tested:

Misc. update:
2006-04-25 13:20:52 -05:00
Pedro Vicente Nunes
50c9a23725 [svn-r12297] Purpose:
new feature

Description:
added support for the printout of dataset region references differences
added a new test for this
merged the h5diff generator of test files into a single file

Solution:

Platforms tested:
linux 32, 64
solaris

Misc. update:
2006-04-25 13:19:40 -05:00
James Laird
91e56dc68d [svn-r12295] Purpose:
Several bug fixes

Description:
Added config file for Cray X1 (previous file was misnamed)
Simplified some code in hyperslab.c test that seemed to have been
confusing compiler on Cray X1.
Fixed typo in config/commence.am
Cleaned up hl/src/Makefile.am

Solution:
All four fixes should be straightforward.  The failure on Cray was
very difficult to debug, but involved arithmetic errors.
This change seems to fix it.

Platforms tested:
heping, copper, sol, some Cray X1 (more testing when system comes back up)
2006-04-21 14:21:24 -05:00
Quincey Koziol
2521c4084c [svn-r12254] Purpose:
Anti-feature

Description:
    Revert changes to H5G_stat_t struct, to make it compatible with the 1.6.x
branch again.  The information that was added to the H5G_stat_t struct will
be reported through other API routines.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & Fortran
    Solaris 2.9 (shanti)
2006-04-14 17:21:54 -05:00
Pedro Vicente Nunes
bc66efc788 [svn-r12229] Purpose:
new feature

Description:
1) separated the HL library into "public" and "private" header files, with the same caracteristics as the basic library
2) added the public headers to hdf5.h (with a conditional include macro, defined in configure.in)
3) added the path to HL in all Makefile.am 's , because of the inclusion in hdf5.h

Solution:

Platforms tested:
linux 32, 64
AIX
solaris
with fortran and c++

(one packet table example fails)

Misc. update:
2006-04-12 16:21:38 -05:00
Quincey Koziol
5a2c6b0ae1 [svn-r12221] Purpose:
"Hide" file format changes (for now)

Description:
    Add ifdef's (controlled by the --enable-group-revision configure flag)
to disable group revision changes to the file format, in order to allow alpha
release to go ahead without releasing an unsupported version into the wild.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 32-bit (heping)
    Linux 2.4 64-bit (mir)
    Solaris 2.9 (shanti)
2006-04-09 22:03:30 -05:00
Quincey Koziol
aab7fd598f [svn-r12218] Purpose:
Code cleanup

Description:
    Remove remnents of references to unimplemented H5S_COMPLEX dataspace.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 32-bit (heping)
    Linux 2.4 64-bit (mir)
    Solaris 2.9 (shanti)
2006-04-09 21:51:05 -05:00
Pedro Vicente Nunes
8ba0c76fe5 [svn-r12211] Purpose:
new feature

Description
some more check in related to the print of compression ratios: print warning messages after the print of the dataset name and compression:

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-04-07 12:45:40 -05:00
Pedro Vicente Nunes
e6310e0869 [svn-r12208] Purpose:
new feature

Description:
some more formatting for the new printout of compression ratios

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-04-06 16:14:01 -05:00
Pedro Vicente Nunes
aabcaea388 [svn-r12207] Purpose:
new feature

Description:
some more formatting of the output for the new compression ratio printout

Solution:

Platforms tested:
linux
solaris
AIX


Misc. update:
2006-04-06 14:18:22 -05:00
Pedro Vicente Nunes
843f369468 [svn-r12206] Purpose:
new feature

Description:
added some alignment for the printout of attributes, so that is formatted with the new printout of datasets compression

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-04-06 13:49:36 -05:00
Pedro Vicente Nunes
9d01b26a93 [svn-r12205] Purpose:
new feature

Description:
added the printout of the compression ratio for filters in h5repack, after the filter name, obtained with H5Dget_storage_size, before and after applying the filter

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-04-06 13:29:53 -05:00
Pedro Vicente Nunes
12f01d9cd4 [svn-r12199] Purpose:
bug fix

Description:
the percent error calculation in h5diff using double precision floating point were causing different results
on the release and debug versions of Visual Studio version 6, due to a compiler bug

Solution:
used single precision (float)

Platforms tested:
windows
linux
solaris
AIX

Misc. update:
2006-04-04 16:54:48 -05:00
Pedro Vicente Nunes
723e738e04 [svn-r12196] Purpose:
bug fix

Description:
h5ls was not printing root group attributes

Solution:

Platforms tested:
linux 32, 64
solaris

Misc. update:
2006-04-03 15:08:15 -05:00
Pedro Vicente Nunes
cd25a7690a [svn-r12171] Purpose:
bug fixes

Description:
h5dump/h5ls were not displaying long doubles correctly

Solution:
1) the print datatype functions were incorrectly testing for the valid return value from H5Tequal,
   (TRUE), causing the display of an incorrect name of a dataype in error cases from H5Tequal
2) h5tools_print_str did not have a case for native long double
3) added a file generator for a long double dataset
4) added one script test for the long double data (commented , some sytems don't have a native long double match, and the output differs)
5) added a vms file and h5dump script test


Platforms tested:
linux 32, 64
solaris
AIX

Misc. update:
2006-03-28 16:25:10 -05:00
Pedro Vicente Nunes
26e1b18a57 [svn-r12159] Purpose:
bug fix

Description:
h5repack was not dealing with family files

Solution:
use the toolslib function h5tools_open to open the file instead of H5Fopen in h5repack

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-03-27 15:09:01 -05:00
Pedro Vicente Nunes
983e043587 [svn-r12158] Purpose:
bug fix

Description:
h5dump was not printing attributes for the named datatype cases

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-03-27 13:22:55 -05:00
Pedro Vicente Nunes
4c0b3c3d5a [svn-r12157] Purpose:
bug fix

Description:
regenerate a binary file. the previous one was not being open on the scale offeset filter dataset, probably due to a solved bug with the corresponding binary file not being updated

Solution:

Platforms tested:
linux

Misc. update:
2006-03-27 10:25:41 -05:00
James Laird
93aa12407f [svn-r12149] Purpose:
Bug fix

Description:
Previous checkin did a bad thing; 'make clean' failed in example directories.

Solution:
Fixed commence.am so that examples no longer break, and fixed a mistake
in conclude.am.

Platforms tested:
heping (minor makefile change)

Misc. update:
2006-03-23 16:26:17 -05:00
Pedro Vicente Nunes
61b46d4b54 [svn-r12146] Purpose:
bug fix

Description:
percent relative error was done using integer arythmetic; use floating point instead
added the case for unsigned long long integer to float conversion

Solution:

Platforms tested:
linux (32,64)
AIX
solaris

Misc. update:
2006-03-23 14:27:17 -05:00
James Laird
524d25498f [svn-r12143] Purpose:
Bug fix

Description:
make check-clean didn't clean results of example tests

Solution:
Fixed Makefiles so that check-clean recurses into example directories.
Also a little Makefile cleanup.

Platforms tested:
mir, modi4, heping, copper
2006-03-23 09:22:34 -05:00
MuQun Yang
d80639dda8 [svn-r12140] Purpose:
portable issue on windows

Description:
setvbuf on visual studio 2005 needs the size to be greater or equal to 2.
<description of setvbuf from msdn library>
Buffer size in bytes. Allowable range: 2 <= size <=
INT_MAX (2147483647). Internally, the value supplied
for size is rounded down to the nearest multiple of 2.

h5import used linebuffer option of setvbuf for stderr and stdout and the size is
0 by default. This causes core dump with visual 2005 on windows 64-bit.



Solution:

1. Use HDsetvbuf inside h5import.c,
2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around
   the core dump of h5import test. This is probably a bug inside visual studio 2005.

Platforms tested:
h5committest( shanti refuses to be connected)
windows 6.0 at XP
visual 2005 at XP-64bit
Misc. update:
2006-03-22 21:25:10 -05:00
Pedro Vicente Nunes
b269dbf0ae [svn-r12134] Purpose:
bug fix

Description:
1) added a more explainative usage message
2) the percent relative error for the integer type (division) was being done using integer arythmetic; use floating point arythmetic instead
3) added a new test for integer percent

Solution:

Platforms tested:
linux (32,64)
AIX
solaris

Misc. update:
2006-03-22 15:53:05 -05:00
Quincey Koziol
3424f9f5d1 [svn-r12128] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings (esp. those flagged on Windows builds)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-03-22 13:11:24 -05:00
Pedro Vicente Nunes
bd73819e26 [svn-r12126] Purpose:
bug fix

Description:
the compare check for the datatype sign was not done in the correct place, causing invalid
comparisons to be made

Solution:
put it on the correct place

Platforms tested:
linux 32, 64
AIX

Misc. update:
2006-03-21 11:01:42 -05:00
Pedro Vicente Nunes
a2f9ebb3ab [svn-r12124] Purpose:
bug fix

Description:
1) the compare flag test was not being put in a correct place, making comparisons attempts that were not supposed to be done
2) some duplicate warnings were being made

Solution:
eliminate the duplicate warnings, put the if compare flag on the correct place

Platforms tested:
linux 32, 64
solaris

Misc. update:
2006-03-20 14:39:46 -05:00