Commit Graph

8753 Commits

Author SHA1 Message Date
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
James Laird
b4e2d8d79a [svn-r12430] Purpose:
testing feature

Description:
HDF5 Test Express change; now accepts values 0 to 3.

Solution:
As explained in the RFC and documented in the code, there are now four
levels of "express-ness", 0 (no limit) to 3 (1 min limit).
It is now up to test writers to take advantage of the various levels
to tune their tests' run times.

Platforms tested:
mir (minor change)
2006-06-21 17:44:45 -05:00
Elena Pourmal
9884f21700 [svn-r12429] Purpose: Alpha Open VMS port
Description: Added a command file for testing tools; it has a framework
             to do exactly (almost) what UNIX tools test scripts do:
              - run test tool and save output
              - compare output with expected result
              - figure out the difference and
              - print PASSED /*FAILED* in a manner similar to the UNIX output
             It needs to be populated with more tests and reused for other tools.

Solution:

Platforms tested: VMS server

Misc. update:
2006-06-21 16:41:30 -05:00
James Laird
b634cbbcc4 [svn-r12428] Purpose:
Bug fix

Description:
Added hl fortran example to Makefile


Platforms tested:
mir only
2006-06-20 17:34:45 -05:00
Pedro Vicente Nunes
e6221448b9 [svn-r12427] Purpose:
new file with HL fortran exampleA

Description:

Solution:

Platforms tested:

Misc. update:
2006-06-20 16:46:09 -05:00
Pedro Vicente Nunes
66ffd7157e [svn-r12426] Purpose:
added an example for HL fortran

Description:

Solution:

Platforms tested:

Misc. update:
2006-06-20 16:45:21 -05:00
Raymond Lu
823fbd0e88 [svn-r12425] Purpose: Bug fix
Description: Data conversion from long double to (unsigned) long long
returns some incorrect values on Mac OS 10.4 and SGI IRIX64 6.5.  The
conversions start to go wrong when the long double is
20041683600089727.779961 (0x4351ccf385ebc8a0bfcc2a...).  If adjusting
the values higher by assigning 0x...c8a0cf... or 0x...c8a0df..., the
converted values go wild.

Solution: Detect this error in configure.in and disable compiler
conversions from long double to (unsigned) long long for Mac OS 10.4
and IRIX64 6.5.

Platforms tested: h5committest, Mac OS 10.4, and IRIX64 6.5.
2006-06-20 09:45:37 -05:00
Quincey Koziol
9db9e82cd1 [svn-r12424] Purpose:
Code checkpoint

Description:
    Add in more new features for the fractal heap code, mostly bringing in
more ability for deleting objects (which isn't completely working yet).

    Also, checkpoint free space manager code, which is essentially complete
(although it needs some more work after the metadata cache has some additional
features)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    h5committest
2006-06-19 05:06:10 -05:00
Quincey Koziol
54e2de04d3 [svn-r12423] Purpose:
New feature

Description:
    Add '%t' format for HDfprintf() to print htri_t (and hbool_t) values.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    h5committest
2006-06-19 05:00:18 -05:00
Quincey Koziol
b246f9d5ed [svn-r12422] Purpose:
Bug fix

Description:
    Don't attempt to merge object header messages when a file is opened
read-only.

    Mark the object header dirty when messages are merged, as well as the
particular message affected.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-06-18 21:13:26 -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
b73313b3d4 [svn-r12417] Purpose: Maintenance
Description: I added new tests/files for the h5stat tool. MANIFEST was updated
             accordingly.

Solution:

Platforms tested: heping, shanti

Misc. update:
2006-06-18 12:40:38 -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
Quincey Koziol
abce343da8 [svn-r12414] Purpose:
Bug fix

Description:
    Fix bug which could lead to files with incorrect count of messages in the
header for an object.  The exact sequence of operations is complicated and
is described in the release notes.

Solution:
    Mark merged null header messages as dirty.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (chicago)
    Mac OS/X (amazon)
2006-06-17 13:05:03 -05:00
James Laird
59336d339b [svn-r12413] Purpose:
Bug fix

Description:
Changed the semantics of --enable-stream-vfd and --enable-shared.
Both are now disabled by default when parallel HDF5 is being built.

Solution:
Both shared and stream-vfd are disabled by default in parallel, but can
be enabled explicitly if the user chooses.
Before, shared was always enabled by default and stream-vfd was
always disabled in parallel.

Platforms tested:
heping, mir (configuration change only)
2006-06-14 15:16:27 -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
MuQun Yang
984bc9d952 [svn-r12410] Purpose:
Update HDF5 Fortran90 type definition file on windows to
reflect the changes in Linux.

Description:
INT has been changed to Fortran_INTEGER in the file.

Solution:
Make the change.

Platforms tested:
Visual fortran 6.6c with MSVS 6.0
Only affects windows.


Misc. update:
2006-06-12 16:53:20 -05:00
Albert Cheng
bb2b806485 [svn-r12407] Purpose:
slight cleanup.

Description:
Changed the name of write type from write to write_pattern.

Platforms tested:
h5committested.
2006-06-06 10:24:38 -05:00
Albert Cheng
fbb0267346 [svn-r12405] Purpose:
Bug fix.

Description:
It failed when only 1 is used to test.

Solution:
Cleanup the code a little so that it works for any number
of processes to invoke it.

Platforms tested:
h5committested,
2006-06-06 01:55:26 -05:00
Binh-Minh Ribler
32d3e6f04f [svn-r12404] Purpose: Fix typos/formats
Description:
    Fixed typos and re-arranged some functions to be in sync with 1.6.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.9 (shanti)
    AIX 5.1 (copper)
2006-06-05 11:17:36 -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
MuQun Yang
681d0a964c [svn-r12401] Purpose:
Some collective chunk IO macro names are confusing, change them to more meaningful
names.

Description:
H5Pset_dxpl_mpio_chunk_opt will set a flag so that the library can do one linked IO or mul
ti-chunk IO with collective in chunking storage directly. That is, the library won't do an
alyses to determine this.

The flags for the enum type we used before are:
H5FD_MPIO_OPT_ONE_IO
H5FD_MPIO_OPT_MULTI_IO

They are not good names because of the following two reasons:

1. It doesn't reflect chunking storage
2. OPT is kind of redundant and misleading,
Solution:
We change the names to
H5FD_MPIO_CHUNK_ONE_IO
H5FD_MPIO_CHUNK_MULTI_IO

Platforms tested:
Since only macro names are changed, no need to test with h5committest.
Misc. update:
2006-06-03 13:40:47 -05:00
MuQun Yang
42ae237370 [svn-r12400] Purpose:
Some collective chunk IO macro names are confusing, change them to more meaningful
names.

Description:
H5Pset_dxpl_mpio_chunk_opt will set a flag so that the library can do one linked IO or multi-chunk IO with collective in chunking storage directly. That is, the library won't do analyses to determine this.

The flags for the enum type we used before are:
H5FD_MPIO_OPT_ONE_IO
H5FD_MPIO_OPT_MULTI_IO

They are not good names because of the following two reasons:

1. It doesn't reflect chunking storage
2. OPT is kind of redundant and misleading,


Solution:
We change the names to
H5FD_MPIO_CHUNK_ONE_IO
H5FD_MPIO_CHUNK_MULTI_IO

Platforms tested:
Since only macro names are changed, no need to test with h5committest.

heping(mpich 1.2.6)

Misc. update:
2006-06-03 13:39:09 -05:00
Quincey Koziol
dececc7313 [svn-r12399] Purpose:
Bug fix

Description:
    Disable this file generator unless the group revision flag is enabled.

Platforms tested:
    None, just eyeballed - very minor change
2006-06-02 14:03:01 -05:00
Albert Cheng
849a6c299d [svn-r12396] Purpose:
Bug fix.

Description:
Sometimes the parallel prefix is given in the form of nfs:/mnt/pfs which
if given to a non-MPIO VFD like the default H5Fcreate, it would fail.
Called h5_rmprefix which would return the non-prefix component
part of the file name which would be okay for the default H5Fcreate and
such.

Platforms tested:
Tested in heping parallel.
2006-06-01 17:57:29 -05:00
Albert Cheng
cca4e8351b [svn-r12395] Purpose:
Feature

Description:
Sometimes the parallel prefix is given in the form of nfs:/mnt/pfs which
if given to a non-MPIO VFD like the default H5Fcreate, it would fail.
Added a new routine h5_rmprefix which would return the non-prefix component
part of the file name which would be okay for the default H5Fcreate and
such.

Platforms tested:
Tested in heping parallel.
2006-06-01 17:56:50 -05:00
Elena Pourmal
b599f6bee0 [svn-r12394] Purpose: Maintenance
Description: Ran /bin/h5vers to change suffix to alpha4 after creating hdf5-1.8.0-alpha3
             tar ball and tagging the release with hdf5_1_8_0_alpha3 tag

Solution:

Platforms tested:

Misc. update:
2006-06-01 17:39:56 -05:00
Elena Pourmal
7a91d952cc [svn-r12392] Purpose: Maintenance
Description: Checking in files modifed by the bin/release script before
             tagging hdf5-1.8.0-alpha3

Solution:

Platforms tested:

Misc. update:
2006-06-01 17:15:07 -05:00
Raymond Lu
99a8afe17b [svn-r12391] Purpose: Update.
Misc. update: Document some errors in test/dt_arith.c when converting data from
long double to (unsigned) long long and from (unsigned) long long to long double.
2006-06-01 14:39:46 -05:00
Elena Pourmal
39ebe8cf68 [svn-r12390] Purpose: Maintenance
Description: Updated VMS installation instructions to reflect support
             for the deflate filter; documented scale+offset test failures
             when G_FLOAT is used (not IEEE double)

Solution:

Platforms tested:

Misc. update:
2006-06-01 14:25:01 -05:00
Raymond Lu
b1f5c03c79 [svn-r12389] Purpose: Bug fix
Description: There was some logical confusion about the value of the macro
H5_HW_FP_TO_LLONG_NOT_WORKS.  It's supposed to be true for Windows, but false
for Unix machines.

Solution: Corrected.

Platforms tested: fuss(Linux) and amazon(MacOS 10.4) - simple change.
2006-06-01 13:34:32 -05:00
Elena Pourmal
30d130b7b5 [svn-r12388] Purpose: Maintenance
Description: dsets and objcopy tests were missing from the command files

Solution: Added appropriate commands to compile and run tests

Platforms tested: VMS server with native float

Misc. update:
2006-05-31 17:49:07 -05:00
Raymond Lu
a4c993cf24 [svn-r12387] Purpose: Bug fix.
Description: Windows doesn't recognize "long long" but "long_long".

Solution:  The library defined a more general type "long_long".  Use
it instead.

Platforms tested: fuss - simple change.
2006-05-31 15:59:48 -05:00
Albert Cheng
3fcb63545d [svn-r12386] Purpose:
Added Exress Test mode.

Description:
The test takes a long time to run.  It tempted developers to skip the
h5committest.


Solution:
Added Express Test mode to allow tester an option to run it in express
mode (shorter time.)  There are already encoded QAK macro which skips
many tests.  Follow that pattern to skip tests when HDF5TestExpress is
set.

Platforms tested:
Tested in heping, both serial and parallel.
2006-05-30 22:51:34 -05:00
Albert Cheng
c21fd488e5 [svn-r12384] Purpose:
feature.

Description:
Added the option of -64 which is similar to -n32.  This is needed by
Atlantia which has the ABI as -n32.

Platforms tested:
Pretty straight forward but not testable by h5committest.
Will be tested when daily tests run.
2006-05-29 16:46:11 -05:00
Albert Cheng
8698c5ce5e [svn-r12380] Purpose:
Feature
(Code and tests are done by Christian.  I just committed the code.)

Description:
Rewrote the purpose of this test. Now it tests these three cases,
/*
 * Test following possible scenarios,
 * Case 1:
 * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY and large
 * size, no write, close, reopen in parallel, read to verify all return
 * the fill value.
 * Case 2:
 * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY but small
 * size, no write, close, reopen in parallel, extend to large size, then close,
 * then reopen in parallel and read to verify all return the fill value.
 * Case 3:
 * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY and large
 * size, write just a small part of the dataset (second to the last), close,
 * then reopen in parallel, read to verify all return the fill value except
 * those small portion that has been written.  Without closing it, writes
 * all parts of the dataset in a interleave pattern, close it, and reopen
 * it, read to verify all data are as written.
 */

Platforms tested:
Tested in copper, tg-ncsa and heping, all in parallel mode.
2006-05-26 17:11:00 -05:00
James Laird
e3dce488c9 [svn-r12379] Purpose:
Bug fix

Description:
tg-login was having an error about H5match_types.Tpo being missing.

Solution:
tg-login was trying to build H5_match_types twice at the same time and
becoming confused as a result.
Massaged the dependencies in the Makefile.am to prevent this.

Platforms tested:
mir, sol, tg-login
2006-05-26 09:44:12 -05:00
Elena Pourmal
6ffdaca016 [svn-r12378] Purpose: Maintenance
Description: Added location of the zlib library compiled with /float=ieee_float
             flag

Solution:

Platforms tested: VMS server

Misc. update:
2006-05-25 11:44:39 -05:00
Elena Pourmal
5f7e54737e [svn-r12377] Purpose: Maintenance
Description: Brought up VMS make files up to date

Solution:

Platforms tested: VMS server with native floating number and ZLIB enabled

Misc. update:
2006-05-25 11:19:11 -05:00
Raymond Lu
d777615dfa [svn-r12375] Purpose: Update
Solution:


Misc. update: added hl/test/dtype_file_readable.txt
2006-05-24 09:42:00 -05:00
John Mainzer
a415cc6b17 [svn-r12374] Purpose:
1) Check in potential fix to unreproduceable bug in t_cache observed on
   Cobalt

2) Check in code supporting added pinned entry features in the metadata
   cache.


Description:

1) Elena encountered a bug in t_cache when running on Cobalt.  On
   investigation I found a potential race condition in t_cache that
   could explain her observation.

2) Quincey requested additions to the metadata cache allowing renaming
   of pinned entryies, and marking of pinned or protected entries as
   dirty.


Solution:

1) Modified t_cache.c to prevent the potential race condition.  Elena
   was unable to reproduce the bug on Cobalt, so we don't know if my
   fix actually addressed the problem.

2) Added code supporting the requested functions.  The changes were
   relatively trivial, but required substantial new test code.


Platforms tested:

h5committest, serial test on heping, parallel test on phoenix.


Misc. update:
2006-05-24 02:36:28 -05:00
Raymond Lu
5f4234fabf [svn-r12373] Purpose: Add debug information.
Description: dtype_file.txt is a text file for testing complicated compound type
for H5LTtext_to_dtype().  dtype_file_readable.txt is just a human-readable version
of dtype_file.txt for debugging purpose.


Platforms tested: No test.
2006-05-23 17:02:29 -05:00
James Laird
7ad4792c50 [svn-r12372] Purpose:
Makefile cleanup

Description:
Cleaned up where files were distcleaned


Platforms tested:
mir (change only affects distclean)
2006-05-23 16:10:23 -05:00
Raymond Lu
804b85f80e [svn-r12371] Purpose: Recommit
Description: Copyright was missing from last commit.
2006-05-23 15:56:33 -05:00
Raymond Lu
ab9ac4264e [svn-r12370] Purpose: Bug fix.
Description:  The current code in Yacc parser doesn't handle big-endian
machine for enum type correctly.

Solution:  Depending on the super type of enum, use appropriate integer
type to pass in enum value.

Platforms tested:  h5committest and fuss.
2006-05-23 15:51:37 -05:00
Binh-Minh Ribler
51c7d9eb39 [svn-r12369] Purpose: Fixed bug
Description:
    Shanti compiler destroy unnamed objects later than others, which caused
    some reference counting test fail.  Revised the test so that destructors
    are called at the same time, regardless the differences of compiler
    implementation.

    Revised some constructors, close, operator=, and destructors to make
    sure that all the object ids are handled properly.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.9 (shanti)
    HPUX 11.00 (kelgia)
    AIX 5.1 (copper)
2006-05-23 13:14:24 -05:00
Binh-Minh Ribler
deec486732 [svn-r12368] Purpose: Fixed bug
Description:
    Shanti compiler destroy unnamed objects later than others, which caused
    some reference counting test fail.  Revised the test so that destructors
    are called at the same time, regardless the differences of compiler
    implementation.

    Revised some constructors, close, operator=, and destructors to make
    sure that all the object ids are handled properly.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.9 (shanti)
    HPUX 11.00 (kelgia)
    AIX 5.1 (copper)
2006-05-23 12:59:40 -05:00
Albert Cheng
d0f565c5c0 [svn-r12366] Purpose:
fix.

Description:
More machines stop supporting "rsh machine command".
Worse yet, it hangs the "rsh machine command" process.

Solution:
Switch the order of testing remote execution to use
ssh first, then rsh.

Platforms tested:
no h5committest since it does not test this command.
Change is trivial and will monitor Daily test tonight.
2006-05-23 10:06:23 -05:00
Quincey Koziol
daa4f9af6c [svn-r12365] Purpose:
Code checkpoint

Description:
    Add a few minor tweaks & corrections to the fractal heap code.

Platforms tested:
    Linux 2.4 (chicago)
    Too minor to require h5committest
2006-05-22 20:24:26 -05:00