Commit Graph

799 Commits

Author SHA1 Message Date
Quincey Koziol
3bc05bfd24 [svn-r7539] Purpose:
Bug fixes and code cleanup

Description:
    Re-worked ohdr test to use modification time messages instead of symbol
        table messages, now that the library correctly tries deleting the
        local heap and B-trees for the symbol tables (which didn't exist and
        caused the test to fail).

    Added tests for using named datatypes in attributes to verify that the
        reference counts are being tracked correctly, etc.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:14:40 -05:00
Quincey Koziol
c58d85f10e [svn-r7527] Purpose:
Code cleanup

Description:
    Clean up a few loose ends and warnings for the 1.6 compatibility changes
to the error API.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-09-30 11:20:46 -05:00
Raymond Lu
52f44b8877 [svn-r7524] *** empty log message *** 2003-09-29 15:35:07 -05:00
Raymond Lu
72aed6fded [svn-r7523] Purpose: bug fix
Description:  Standard output of Error API test has some non-standard information

Solution:  use sed to remove non-standard information

Platforms tested: h5committest
2003-09-29 15:35:00 -05:00
Raymond Lu
9db7c79487 [svn-r7522] *** empty log message *** 2003-09-29 15:19:02 -05:00
Raymond Lu
cb99b28251 [svn-r7520] Purpose: bug fix
Description: add backward compatibility for thread safety


Platforms tested: RH 8(fuss)

Misc. update:
2003-09-29 11:24:56 -05:00
Raymond Lu
21ffbeda9e [svn-r7513] Purpose: Disable Error API test
Description: The error test script compares the error messages to the standard
    output.  The file names and line numbers in the messages can be different
    for users.

Solution: Temporarily disable the test until find a good solution.

Platforms tested: None.  Disabling a test.
2003-09-25 10:16:03 -05:00
Raymond Lu
5fd4e706cc [svn-r7508] Purpose: shell script file to compare error test output with standard one. 2003-09-24 14:35:48 -05:00
Raymond Lu
7e79a8d71e [svn-r7507] *** empty log message *** 2003-09-24 14:26:50 -05:00
Bill Wendling
1440f2c2db [svn-r7490] Purpose:
Update

Description:
    Removed the call to H5HL_peek

Platforms tested:
    Modi4 (paralle, Fortran)
    Sol (Fortran)
    Linux (C++, Fortran)
    Copper (Parallel, Fortran)

Misc. update:
2003-09-18 14:27:45 -05:00
Raymond Lu
6953e9a010 [svn-r7474] Purpose: Add more test
Description: test fixed-length strings in two ways: array of strings and
    array of character.


Platforms tested: h5committest
2003-09-15 15:06:55 -05:00
Quincey Koziol
965a4cd7c9 [svn-r7468] Purpose:
Code cleanup, etc.

Description:
    Generalize Ray's datatype fixes to handle packing compound datatypes which
are the base type of an array or variable-length type, etc.

    Also track "packedness" of a compound datatype from it's creation, instead
of only setting the 'packed' flag after the datatype was explicitly packed.

    Updated docs to reflect that a compound datatype is allowed to grow (but
not shrink).

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-11 23:35:48 -05:00
Raymond Lu
36230c93ba [svn-r7462] *** empty log message *** 2003-09-10 17:59:17 -05:00
Quincey Koziol
6a9188f0cb [svn-r7457] Purpose:
Bug fix.

Description:
    Correct bug where a file opened twice, once with read-write permission
and once with read-only permission would cause closing the file with the
read-only file ID to fail because it was trying to flush information out
of the file.

Solution:
    Check the permissions on file IDs that are being closed and only flush
when the particular file ID was opened with write permission.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest

Misc. update:
2003-09-10 13:32:28 -05:00
Quincey Koziol
303d35202a [svn-r7441] Purpose:
Bug fix

Description:
    The VFL driver ID in a file's access proprty list wasn't being reference
counted correctly, causing the VFL driver to get prematurely closed after
several calls to "H5Pget_access_plist->H5Pclose".

Solution:
    Increment VFL driver ID reference count when copy of file's access property
list is made in H5Pget_access_plist()

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-03 21:04:45 -05:00
Quincey Koziol
4bc1eccf9a [svn-r7439] Purpose:
Code cleanup

Description:
    Clear up a couple of minor issues with compiling the library with a C++
compiler.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too minor to require h5committest
2003-09-03 11:45:48 -05:00
Quincey Koziol
f92d7f73df [svn-r7434] Purpose:
Bug Fix and code cleanup

Description:
    Correct error in H5T_detect_class that was causing nested compound datatypes
with to not detect the datatype class of fields correctly, which caused errors
with fill-values, variable-length datatypes and chunks later on.

    Return the rank of the array datatype from H5Tget_array_dims(), like
H5Sget_dims().

    Lots of cleanups to datatype code, to make the handling of arrays, compound
types, variable-length strings and sequences and enumerated types more
consistent and robust.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-08-30 20:48:01 -05:00
Quincey Koziol
a3888a3b00 [svn-r7426] Purpose:
Bug fix

Description:
    When datasets are deleted from a file, they are removed from the sieve
buffer, but instead of invalidating only the part of the sieve buffer affected,
the sieve buffer code would throw away the entire sieve buffer, potentially
including other raw data in the buffer that hadn't been written to disk yet.

Solution:
    Improve the sieve buffer clearing code to handle partial invalidations.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-28 11:02:21 -05:00
Quincey Koziol
438248d01d [svn-r7412] Purpose:
Bug fix

Description:
    H5Gget_objname_by_idx should allow NULL for the 'name' parameter, to allow
for querying for the name's length.

Solution:
    Allow NULL for the 'name' parameter, the internal functions were already
ready to handle that case.

    Clean up RM information about H5Gget_objname_by_idx and
H5Gget_objtype_by_idx also.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-26 13:35:37 -05:00
Quincey Koziol
57993b61d3 [svn-r7391] Purpose:
Bug fix

Description:
    H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx were
only accepting a group ID, instead of a location ID, as our documentation for
them stated.

Solution:
    Allow them to accept a location ID.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-22 08:50:01 -05:00
Quincey Koziol
c6ed9cbbae [svn-r7383] Purpose:
Bug fix

Description:
    I/O on chunked datasets with a scalar dataspace for the memory dataspace
was not working correctly.

Solution:
    Translate the scalar dataspace into a n-dimensional (where n is the number
of dimensions of the file's dataspace) dataspace of dimensions 1x1x1...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest (modulo modi4 which is not working correctly)
2003-08-19 07:18:37 -05:00
Quincey Koziol
4105dfedb9 [svn-r7379] Purpose:
Code cleanup

Description:
    Changed version #'s returned from H5Pget_version from 'int *' to
'unsigned *' since we are never going to be using negative version #'s... :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-18 11:29:33 -05:00
Quincey Koziol
d99164a9ed [svn-r7377] Purpose:
Bug fix

Description:
    Linking and unlinking objects with multiple internal and/or trailing '/'s
was not handled well in the library.

Solution:
    "Normalize" strings by removing trailing '/'s and collapsing multiple
internal '/'s down into just one '/' before operating on the name.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-16 13:54:40 -05:00
Quincey Koziol
f29e3e1097 [svn-r7362] Purpose:
Bug fix

Description:
    Allow a user block to be "inserted" in front of a file (probably by
writing a validly-sized userblock to a new file and then appending another
HDF5 file to the new file).

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-14 07:18:34 -05:00
Quincey Koziol
7f119036d3 [svn-r7352] Purpose:
Updated dependencies

Platforms tested:
    h5committested
2003-08-12 20:50:11 -05:00
Quincey Koziol
9a2f9731bd [svn-r7347] Purpose:
Code cleanup & bug fix

Description:
    Clean up code, adding error checking where appropriate

    Fix a number of routines which were clearing the default error stack
before checking some information about that stack.

    Set the version # of the library correctly when it is registered.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-12 08:29:41 -05:00
Quincey Koziol
95bf191857 [svn-r7320] Purpose:
Refactored code

Description:
    Chase changes for the 'fileno' and 'objno' fields in H5G_stat_t

Platforms tested:
    h5committested
2003-08-08 14:25:18 -05:00
Quincey Koziol
8d120c4d02 [svn-r7311] Purpose:
Bug fix

Description:
    Corrected thread-safe error checking tests to use per-thread 'automatic
    error' callbacks.

    Also, minor code cleanups

Platforms tested:
    h5committested
2003-08-08 14:06:29 -05:00
Quincey Koziol
6f26af4580 [svn-r7310] Purpose:
Code cleanup

Description:
    Chase error API revision by passing H5E_DEFAULT to H5Eclear()

Platforms tested:
    h5committested
2003-08-08 14:05:05 -05:00
Quincey Koziol
eaad7b0f21 [svn-r7309] Purpose:
Enable test

Description:
    Re-enabled error API testing

Platforms tested:
    h5committested
2003-08-08 14:04:26 -05:00
Quincey Koziol
92f5e443f8 [svn-r7308] Purpose:
Code cleanup

Description:
    Made automatic error printing routine, h5_errors(), static.

    Passed along error stack in h5_errors()

Platforms tested:
    h5committested
2003-08-08 14:03:43 -05:00
Quincey Koziol
8daa13f3cd [svn-r7307] Purpose:
Code cleanup/bug fix

Description:
    Chase error API by including error class in calls to H5Epush()

    Corrected bugs with automatic error printing routine checking

    Enabled some commented out tests.

Platforms tested:
    h5committested
2003-08-08 14:02:26 -05:00
Robert E. McGrath
a02e07921e [svn-r7285] Purpose:
Tweak the 'errors.c' test to print 'PASSED'.

Description:

Solution:

Platforms tested:

Misc. update:
2003-08-04 15:38:55 -05:00
Bill Wendling
4bb5eef01c [svn-r7275] Purpose:
Update

Description:
    Regenerated Dependencies file.
2003-07-29 14:24:32 -05:00
Raymond Lu
0d22a663df [svn-r7265] *** empty log message *** 2003-07-25 21:55:47 -05:00
Quincey Koziol
b0e350c2d6 [svn-r7259] Purpose:
Bug fix

Description:
    I/O on chunked datasets with point selections was not working correctly.

Solution:
    Re-wrote some parts of raw data I/O routines that build the selections for
    each chunk to correctly handle point selections.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-23 16:18:40 -05:00
Raymond Lu
b06dd8c824 [svn-r7245] *** empty log message *** 2003-07-21 20:32:27 -05:00
Quincey Koziol
b7dbfc3796 [svn-r7243] Purpose:
Bug fix

Description:
    Fix bug with combination of fill-values, chunked datasets and
    variable-length strings.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-21 08:54:23 -05:00
Raymond Lu
8dadcdb101 [svn-r7241] Purpose: Gradual checkin for error API
Platforms tested: h5committest, RH 8

Misc. update:
2003-07-17 20:46:40 -05:00
Quincey Koziol
e9cc951e03 [svn-r7232] Purpose:
Bug fix

Description:
    When a non-default indexed storage B-tree internal 'K' value is set by the
user, the chunked datasets created in that file (until it is closed) use the
user's 'K' value and the data can be accessed correctly, but the 'K' value is
not stored in the file.
    However, once the file is closed and re-opened, the non-default 'K' value
is lost and the data in the chunked datasets will not be able to be accessed
correctly.

Solution:
    Store the indexed storage B-tree internal 'K' value in the superblock.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-16 09:56:58 -05:00
Raymond Lu
840ce9f8b5 [svn-r7228] Purpose: Gradual checkin for error API
Platforms tested: RH 8
2003-07-15 17:17:09 -05:00
Raymond Lu
cda7a6e054 [svn-r7227] *** empty log message *** 2003-07-15 10:49:36 -05:00
Raymond Lu
8a98abf66f [svn-r7225] Purpose: error API gradual checkin
Platforms tested: RH 8; c and c++
2003-07-14 15:08:27 -05:00
Raymond Lu
344eb1c83c [svn-r7212] Purpose: New error API design is being checked gradually.
Platforms tested: RH 8
2003-07-11 16:04:38 -05:00
Raymond Lu
1d937c2c71 [svn-r7207] Purpose: Add a new test: errors.c
Description: It tests new error API.  At this moment, it uses the current error API.


Platforms tested: RH 8.
2003-07-10 15:15:46 -05:00
Raymond Lu
2a5bb6c896 [svn-r7206] Purpose: Update for new error test program
Description: added new error test.


Platforms tested: RH 8.
2003-07-10 15:08:37 -05:00
Quincey Koziol
932101bb80 [svn-r7201] Purpose:
Code cleanup

Description:
    Finish converting the B-tree 'K' values to use unsigned integers, rather
than signed ones, since negative amounts of entries in a B-tree node aren't
meaningful.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-10 14:39:04 -05:00
Quincey Koziol
4e23c80758 [svn-r7181] Purpose:
Version update

Description:
    Removed 1.4 compatibility code in the library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-07 14:02:46 -05:00
Quincey Koziol
70db25c561 [svn-r7126] Purpose:
Code cleanup

Description:
    Add in rest of szip "options mask" macros that were missing.  Also made
"raw" options mask set by the library, instead of requiring users to always set
it.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Minor tweaks too small fo h5committest
2003-06-30 14:47:40 -05:00
Quincey Koziol
2629b6e4d3 [svn-r7109] Purpose:
Code cleanup

Description:
    Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-25 21:10:33 -05:00
Quincey Koziol
a2ffe933e6 [svn-r7098] Purpose:
Improve test a bit

Description:
    Add a small bit of testing for the array field in a compound datatype.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
    Cray SV1 (wind)
    Cray T3E (hubble)
    Cray T90 (gypsy)
2003-06-24 15:12:08 -05:00
Quincey Koziol
1db8cb828e [svn-r7095] Purpose:
Code cleanup

Description:
    Include roughed-in, but commented out code for performing I/O on time
datatypes.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
    Cray SV1 (wind)
    Cray T3E (hubble)
    Cray T90 (gypsy)
2003-06-24 15:06:37 -05:00
Quincey Koziol
8cb471ae99 [svn-r7081] Purpose:
Bug fix (backward compatibility)

Description:
    Changes we've made during development of the 1.5.x branch had broken the
    feature of allowing user's callbacks to H5Giterate to return a value
    through the library back to the application which called H5Giterate.

Solution:
    Better testing for this feature.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-23 08:25:06 -05:00
Quincey Koziol
17eb14fe72 [svn-r7073] Purpose:
Expand test

Description:
    Expanded # of dangling objects from 2 to 1000, to stress ID cleanup code
in library more.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-20 10:22:37 -05:00
Quincey Koziol
1aeaa7fbb1 [svn-r7059] Purpose:
Refactoring

Description:
    Track changes to H5Fget_obj_<foo> API functions.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:52:54 -05:00
Quincey Koziol
4a4962dfef [svn-r7056] Purpose:
More tests

Description:
    Added tests to make certain that failed dataset, group, named datatype and
attribute creations clean up the file space they allocated before failing.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:45:26 -05:00
Quincey Koziol
ed1e28ac6a [svn-r7055] Purpose:
Refactored code

Description:
    Moved duplicated "get_file_size()" function from a couple of tests into a
central location.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:43:39 -05:00
Quincey Koziol
f15b2278d6 [svn-r7054] Purpose:
Improved tests

Description:
    Added test for dangling attributes.

    Also added code to test with weak, semi & strong file close degrees for
all tests.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:42:39 -05:00
Quincey Koziol
300e769567 [svn-r7038] Purpose:
Test bug fix

Description:
    The fill time in a dataset with no fill value information created with an
older version of the library was getting set to H5D_FILL_TIME_ALLOC instead of
the new default H5D_FILL_TIME_IFSET and was causing H5Dcreate() calls with that
dataset creation property list to fail now.

Solution:
    Set the new default in the fill time initialization for missing fill value
information.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:35:24 -05:00
Quincey Koziol
4196708248 [svn-r7035] Purpose:
Driver error

Description:
    The tmtimeo.h5 file was supposed to have been generated from gen_old_mtime.c
which was compiled with a pre-1.5.x version of the library, however it appears
to have been created with a newer version of the library and did not contain
the older form of the mtime object header information that was being tested for.

Solution:
    Run a version of gen_old_mtime that was compiled & linked against an older
version of the library to generate the tmtimeo.h5 file.

    Had to update the modification time used for testing in the mtime.c file
also.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:30:43 -05:00
Quincey Koziol
b8632ce735 [svn-r7029] Purpose:
New feature/Bug fix

Description:
    Add new fill time value - H5D_FILL_TIME_IFSET which writes the fill value
to a dataset if the user has defined one, otherwise not writing the fill value
to the dataset.

Platforms tested:
    FreeBSD 4.8 (sleipnir) serial & parallel
    h5committest
2003-06-11 22:40:34 -05:00
Raymond Lu
67449f5c65 [svn-r7021] Purpose: bug fix
Description: H5Tget_native_type fails for multiple kinds of datatype on Cray; it fails
             fix-length string type, too.


Platforms tested: Cray, h5committest
2003-06-10 16:04:58 -05:00
Quincey Koziol
8181306481 [svn-r7017] Purpose:
Test bug fix

Description:
    Chunked datasets with early space allocation and unlimited dimensions were
running into problems where the dataset's "layout" message was marked as
constant too early, preventing the dataset's dimensions from being extended.

Solution:
    Change logic for marking the layout message constant to wait a bit longer.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committest
2003-06-10 13:44:29 -05:00
Quincey Koziol
3fcef502ea [svn-r7001] Purpose:
Code cleanup

Description:
    Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:16:59 -05:00
Quincey Koziol
bdf3620e62 [svn-r6962] Purpose:
Code cleanup

Description:
    Update dependencies and tracing information

Platforms tested:
    h5committested
2003-06-04 15:25:43 -05:00
Quincey Koziol
ab28d2c820 [svn-r6961] Purpose:
Bug fix

Description:
    An earlier checkin changed some of the assumptions about single block
hyperslabs, causing them to fail in odd ways.

Solution:
    Fix errors with single block hyperslabs by keying off of count==1 instead
of stride==1.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-04 13:42:20 -05:00
Quincey Koziol
4d8f148d09 [svn-r6957] Purpose:
Code cleanup & performance improvements

Description:
    Optimize hyperslabs that are built to detect situations where "regular"
hyperslabs can be recovered from span tree descriptions.

    Also, improve "same shape" routine to correctly work with all the different
combinations of selections.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-04 10:45:11 -05:00
Quincey Koziol
99f66946f1 [svn-r6954] Purpose:
Code cleanup

Description:
    Wrap macro parameters with parantheses to avoid errors in expanding them.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-04 10:32:05 -05:00
Quincey Koziol
b56429d086 [svn-r6951] Purpose:
Code cleanup

Description:
    Clean up various warnings & comment out unused code.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-04 10:25:23 -05:00
Quincey Koziol
bb042d83c7 [svn-r6950] Purpose:
API tweak.

Description:
    The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving
the 'start' and 'end' coordinates, which is counter to the rest of the dataspace
API.

Solution:
    Change the arrays to be hssize_t instead.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested

Misc. update:
    Updated all docs for this change.

    Added 1.4 compatibility #ifdef's
2003-06-04 10:22:23 -05:00
Quincey Koziol
862520b80e [svn-r6941] Purpose:
Code cleanup

Description:
    Clean up older settings for strides of hyperslabs

Platforms tested:
    h5committestted (although Fortran tests failed for some reason)
2003-05-31 11:20:03 -05:00
Quincey Koziol
263ff3e4fd [svn-r6940] Purpose:
Code cleanup

Description:
    Call srand(time(NULL)) before performing tests, to better randomize numbers
chosen for testing.

Platforms tested:
    h5committestted (although Fortran tests failed for some reason)
2003-05-31 11:19:28 -05:00
Quincey Koziol
8f205256f2 [svn-r6939] Purpose:
Code cleanup

Description:
    Free malloc'ed buffer of 0 bytes when H5_MALLOC_WORKS is defined, to make
purify happier.

Platforms tested:
    h5committestted (although Fortran tests failed for some reason)
2003-05-31 11:18:06 -05:00
Quincey Koziol
3ad545c7ae [svn-r6938] Purpose:
Code cleanup

Description:
    Remove redundant "Testing" from test output.

Platforms tested:
    h5committestted (although Fortran tests failed for some reason)
2003-05-31 11:17:23 -05:00
Quincey Koziol
f81b42e76a [svn-r6937] Purpose:
Bug fix

Description:
    Failed tests were not being reported correctly to main test routine, so
they were not stopping a 'make check'

Solution:
    Changed '1' to '-1' for failures.

Platforms tested:
    h5committestted (although Fortran tests failed for some reason)
2003-05-31 11:16:52 -05:00
Raymond Lu
591902a623 [svn-r6921] Purpose: bug fix
Description: it didn't handle special platforms like cray well


Platforms tested: h5committest
2003-05-28 09:53:21 -05:00
Elena Pourmal
064be7e1f8 [svn-r6914]
Purpose: Maintenance and bug fixes and test of latest szip library..

Description:  Recently Quincey enabled MEDIUM test for istore. That caused
              daily tests to fail on verbena. It looks like that test
              creates a pretty big file, and afs write fails. Test passes
              when run in /tmp.

Solution: Disable MEDIUM test and filed bug report to investigate the problem
          little bit more carefully.

Platforms tested: verbena, arabica, arabica-64 (since I also tested newest szip)

Misc. update:
2003-05-22 17:38:31 -05:00
Albert Cheng
4e36f49a2d [svn-r6901] Purpose:
Small feature.

Description:
Change the wording for the use of HDF5_PARAPREFIX from Remark to hint.
Also made process 0 be the only one printing the hint rather all
processes duplicating the same hints.

Platforms tested:
Copper, both serial and parallel.
Did not do h5commit test since this is very localized and the above
tests covered both cases already.

Misc. update:
2003-05-19 14:27:41 -05:00
Quincey Koziol
d41a6634fc [svn-r6899] Purpose:
Code cleanup

Description:
    Remove debugging information and match bug-fix changes to szip filter
    code.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest not needed.
2003-05-19 14:19:18 -05:00
Quincey Koziol
c88826a3d4 [svn-r6892] Purpose:
Code cleanup

Description:
    Uncomment tests that we previously commented out with my "Uncomment tests!"
note.

Platforms tested:
    h5committested
2003-05-17 16:51:57 -05:00
Raymond Lu
3edbf40ed2 [svn-r6884] Purpose: bug fix
Description: H5Tget_native_type didn't handle special platform like Cray properly.

Solution: modify algorithm and test

Platforms tested: h5committest
2003-05-16 10:18:10 -05:00
Quincey Koziol
b496ac1482 [svn-r6878] Purpose:
Code cleanup

Description:
    Limit the scope on more function prototypes/macros/typedefs.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest not necessary.
2003-05-15 14:22:33 -05:00
Quincey Koziol
f3999dd430 [svn-r6870] Purpose:
New test

Description:
    Added test to check for dangling objects being handled correctly by the
library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-05-13 15:07:05 -05:00
Quincey Koziol
904d7ec777 [svn-r6866] Purpose:
Clean up comments.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-05-13 15:00:18 -05:00
Quincey Koziol
460a897e0e [svn-r6861] Purpose:
Bug fix

Description:
    Iterating over the attributes of an object without any attributes was
returning FAIL instead of 0 as the RM states.

Solution:
    Changed return value of H5Aiterate for objects without attributes to be 0
and added regression tests for this.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest not needed.
2003-05-13 13:54:25 -05:00
Raymond Lu
27c6327973 [svn-r6857] Purpose: bug fix
Description: when a datatype element size is bigger than I/O datatype
    conversion buffer(1MB), library reports failure.

Solution: adjust conversion buffer to be at least equal to one element size

Platforms tested: h5committest
2003-05-13 11:49:38 -05:00
MuQun Yang
b0264f0c05 [svn-r6852] Purpose:
Add windows specified macro H5_TESTDLL for test routines.

Description:
See the previous CVS message.

Solution:

Platforms tested:
windows2000(will not affect other platforms)

Misc. update:
2003-05-13 09:28:09 -05:00
Quincey Koziol
7d9c86097a [svn-r6843] Purpose:
Code cleanup

Description:
    Clean up warnings exposed by compiling on O2K.  Also, revert some of Bill
and my changes to the H5S_mpi_opt_types_g, etc. and settle them back into their
original location.

Platforms tested:
    h5committested.
2003-05-09 13:18:21 -05:00
Raymond Lu
224fae1bb2 [svn-r6839] Purpose: feature protection
Description: H5Sselect_hyperslab and H5Sselect_elements didn't check scalar
    dataspaces.

Solution: put error detection in those functions.

Platforms tested: eirene(simple change).
2003-05-08 16:12:32 -05:00
Albert Cheng
4d9ea22570 [svn-r6834] Purpose:
Feature change

Description:
HDF5_PARAPREFIX has been default to various values like /tmp,
/var/tmp, ... None of these solve all problems and all of them
created new problems.  For LLNL GPFS, '.' is more appropriate since
they can do the build right inside gpfs.  Same for NCSA Copper.
The special setting for Janus is still retained since that is a
one of a kind machine and the uses could use all the help.

Platforms tested:
h5committested (using sol instead of arabica) plus eirene(pp).

Misc. update:
2003-05-08 13:50:14 -05:00
Quincey Koziol
43e3b45021 [svn-r6825] Purpose:
New feature/enhancement

Description:
    Chunked datasets are handled poorly in several circumstances involving
certain selections and chunks that are too large for the chunk cache and/or
chunks with filters, causing the chunk to be read from disk multiple times.

Solution:
    Rearrange raw data I/O infrastructure to handle chunked datasets in a much
more friendly way by creating a selection in memory and on disk for each chunk
in a chunked dataset and performing all of the I/O on that chunk at one time.

    There are still some scalability (the current code attempts to
create a selection for all the chunks in the dataset, instead of just the
chunks that are accessed, requiring portions of the istore.c and fillval.c
tests to be commented out) and performance issues, but checking this in will
allow the changes to be tested by a much wider audience while I address the
remaining issues.


Platforms tested:
    h5committested, FreeBSD 4.8 (sleipnir) serial & parallel, Linux 2.4 (eirene)
2003-05-07 16:52:24 -05:00
Elena Pourmal
96061d1be7 [svn-r6821]
Purpose: Cray T3E maintenance with Raymond's help

Description: fillval test failed for compact dataset since the
             size of the dataset was bigger than 64K.

Solution:  Reduced the dataspace of the compact dataset to 1024 elements.


Platforms tested: T3E; it was also tested with semi-manual h5committest.
                  (I had to built and test manually on modi4 parallel because
                  of some weird failure of h5committest on modi4)
Misc. update:
2003-05-06 18:24:07 -05:00
Pedro Vicente Nunes
ba8fd7feb2 [svn-r6808] Purpose:
code warrior fix

Description:
eliminate the CW failure on getname.c
restrict the H5_NO_FILE_SHARING just to the test file_close of testhdf5 test

Solution:
the CW failure on getname.c  can be eliminated if a unmount of the file is made before closing it
on tfile.c the failure is due to the file sharing flag of CW, and the test is maintained as before

Platforms tested:
Windows 2000 (octopus)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
2003-05-06 14:38:35 -05:00
Quincey Koziol
3e982207dd [svn-r6805] Purpose:
Revert last change (at least temporarily)

Description:
    Revert last "NO_SHARED_WRITING" ifdefs after reviewing the tests that were
ifdef'ed out.  I don't think that these tests should cause a problem, so I
would like them reviewed again to see if there is a file handle leak in the
library (or test).

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Triple check not needed.
2003-05-06 09:26:27 -05:00
Quincey Koziol
d6bacf6304 [svn-r6804] Purpose:
Code restructure.

Description:
    Restructured tests so they shouldn't depend on shared open()'s and can be
    tested with CodeWarrior

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Triple check not needed.
2003-05-06 09:21:42 -05:00
Pedro Vicente Nunes
1d06baa334 [svn-r6798] Purpose:
code warrior port

Description:
added a flag H5_NO_SHARED_WRITING, it is defined only for CW in the H5pubconf.h
this avoids doing some tests for CW that fail on shared writing

Solution:

Platforms tested:
windows (cw and ms)
Linux 2.4 (rockaway)
SunOS 5.7 (arabica)
IRIX 6.5 (modi4)


Misc. update:
2003-05-05 17:04:14 -05:00
Elena Pourmal
8bb8876923 [svn-r6791]
Purpase:   Fortran Windows DLL support

Description: Fortran test uses functions h5_fixname and h5_cleanup from h5test.c.
             Those were not exported, and Fortran could not link while using DLLs.


Solution: Added H5_DLL to functions prototype to export them from C DLL.

Platforms tested: Windows, h5committested.

Misc. update:
2003-05-01 15:27:03 -05:00
Raymond Lu
11fe5b0657 [svn-r6780] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:49 -05:00
Raymond Lu
b58192dfe7 [svn-r6779] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:48 -05:00
Pedro Vicente Nunes
6c21457720 [svn-r6776] Purpose:
removed and change comments

Description:
removed the modification  comment about the while loop, it is not sufficiently important to be there
changed the "Id to name" comment in the test description, it was incorrecly about other thing

Solution:

Platforms tested:
none , just comments

Misc. update:
2003-04-29 12:30:16 -05:00