Commit Graph

5955 Commits

Author SHA1 Message Date
MuQun Yang
01d12a0e02 [svn-r8395] Purpose:
Windows update including project update, H5Tinit.c update.

Description:
H5detect.c has been changed in UNIX, H5Tinit.c needs to be updated.
Several test files have been re-arranged.



Solution:
Fix them

Platforms tested:
windows xp

Misc. update:
2004-04-19 16:31:11 -05:00
Quincey Koziol
92413789bf [svn-r8393] Purpose:
Code optimization

Description:
    Avoid clearing the error stack unless necessary.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-19 15:23:04 -05:00
John Mainzer
60206e959e [svn-r8392] Purpose:
Bug fix.

Description:
The data verification code didn't work.  Also numerous minor bugs.

Solution:
Re-wrote data write and verification code.  In particular, I
modified the verification code so it actually verifies data.

In the future, this test should be modified so it exercises
object deletes and chunk I/O.

Platforms tested:
h5committested
2004-04-19 12:54:07 -05:00
John Mainzer
4a85877fdc [svn-r8391] Purpose:
Checkpoint checkin of FP bug fixes.  FP is still quite
buggy, but I must go deal with other matters.


Description:

Fixed two major bugs:

1) H5FPserver.c was clobbering meta data in its care.

2) H5FPserver.c was allocating the same space multiple
   times, causing both data and meta data corruption.

Also made minor fixes, added debugging code, and familiarized
myself with the FP code.

All development work with FP enabled was done on Eirene.
On this platform, FP now passes its test reliably with
up to 9 processes.  At 10 processes it seg faults every
time.  I haven't looked into this issue.

There are also several known locking bugs which have to
be fixed.  However, they are of sufficiently low probability
that I didn't bother with them on this pass.

FP has not been tested with deletions -- this should be
done.

Also, need to test FP chunked I/O.


Solution:

1) Modified cache in H5FPserver.c to merge changes correctly.
   Found and fixed a bug in H5TB.c in passing.

2) Multiple space allocation was caused by a race condition
   with set eoa requests.

   Most of these eoa requests appeared to be superfluous, so
   I deleted them.

   Those issued during the superblock read seemed necessary,
   so I inserted a barrier at the end of the superblock read,
   to prevent races with allocations.

Platforms tested:
h5committested
2004-04-19 12:42:34 -05:00
Pedro Vicente Nunes
55a64a7359 [svn-r8390] Purpose:
bug fix

Description:
the "all" project did not include h5repack

Solution:

Platforms tested:

Misc. update:
2004-04-19 12:30:41 -05:00
John Mainzer
9937495a33 [svn-r8389] Purpose: Bug fix and warning
Description:
Fixed bug in H5TB_less().  It was returning the next largest node,
instead of the next smallest as advertised.

Added comments warning that H5TB_rem()s will occasionally delete a
node other than the one provided in its argument list.

Solution:
It was sufficient t invert two comparisons in H5TB_less().

Platforms tested:
h5committested
2004-04-19 11:24:48 -05:00
Albert Cheng
d8a499cd87 [svn-r8386] Purpose:
Bug fix.

Description:
LOGFILE was showing both hostname and srcdirname when srcdirname is used.
Fixed it.

Platforms tested:
Tested in LANL QSC.
2004-04-18 23:04:16 -05:00
HDF Admin
4e65894845 [svn-r8385] Snapshot version 1.7 release 22 2004-04-18 04:10:08 -05:00
Quincey Koziol
0a29514b9d [svn-r8383] Purpose:
Code cleanup

Description:
    Clean up lots of warnings based on those reported from the SGI compilers
as well as gcc.

Platforms tested:
    SGI O3900, IRIX64 6.5 (Cheryl's SGI machine)
    FreeBSD 4.9 (sleipnir) w/ & w/o parallel
    h5committest
2004-04-17 23:10:09 -05:00
Quincey Koziol
432f394cbb [svn-r8378] Purpose:
Code cleanup

Description:
    Regenerated with older version of dataspace information, since these files
don't contain null dataspaces.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:32:30 -05:00
Quincey Koziol
76d71de747 [svn-r8377] Purpose:
Code cleanup

Description:
    Added more tests

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:32:01 -05:00
Quincey Koziol
880d8357bf [svn-r8376] Purpose:
Code cleanup

Description:
    Update null dataspace changes to try to write older version of dataspace
information whenever possible.

    Refactor common code to only one location.

    Allow I/O operations to succeed on null dataspaces.


Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2004-04-17 15:31:50 -05:00
Quincey Koziol
7456a9293d [svn-r8375] Purpose:
Bug fix.

Description:
    Allow the recent changes to support correct srcdir operation to also work
when building in place.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest

Misc. update:
2004-04-17 15:29:01 -05:00
Quincey Koziol
d08090ff29 [svn-r8374] Purpose:
Code optimization

Description:
    Instead of re-initializing the default stride & block arrays to have values
of '1' in each position each time we perform a hyperslab selection, create
static constant arrays with '1's in them.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 14:22:15 -05:00
Quincey Koziol
dd0480cd30 [svn-r8372] Purpose:
Code optimization

Description:
    Don't copy hyperslab span information as much.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 13:25:56 -05:00
Albert Cheng
e4d5623692 [svn-r8370] Purpose:
Bug fix.

Description:
Not all machines (like Sun and AIX) support fabsl() and fabsf() used
in test/dtypes.c.  Changed the coding to use macro names HDfabsl and
HDfabsf.  Also set the two macros to use ABS for now so that they will
work for all machines. (need more portable fixes which would involve
configure.)

Platforms tested:
h5committested. (also tested in LANL QSC and Theta).
2004-04-17 12:17:32 -05:00
Quincey Koziol
9e859565e4 [svn-r8368] Purpose:
Code optimization

Description:
    Compute value for array instead of using memset(), since we are looping
through the array indices anyway.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 11:06:34 -05:00
Quincey Koziol
3f7b3c752d [svn-r8366] Purpose:
Code optimization

Description:
    Eliminate memset() calls to clear structures that we completely initialize

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 11:05:20 -05:00
Quincey Koziol
fd03553851 [svn-r8364] Purpose:
Code optimization

Description:
    Remove redundant function call by re-using value we already know.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-17 11:04:11 -05:00
Albert Cheng
3c79ef173d [svn-r8362] Purpose:
Updated with long double to double failure.

Description:

Solution:

Platforms tested:

Misc. update:
2004-04-16 16:33:39 -05:00
Albert Cheng
7f2eb1127a [svn-r8360] Purpose:
bug fix.

Description:
On LANL QSC, test/dtypes "sw long double -> double" had failed when the
long double values were too small, smaller than the minimum double normalized
floating number.  The hw in QSC converts them mostly to 0 but occasionally,
it converts to the some non-zero values which are still <= the minimum
double normalized number.  But the conversion verification did not like
them and flagged them as errors.

Solution:
Added code to check if the src value is already smaller than the minimum
number the float class can hold.  When that happens and if both hw and sw
conversion results are <= the minimum number, then accepts them as okay
because if the src is smaller than the dst minimum number, an underflow
has occured.

Platforms tested:
Tested in LANL QSC and Theta.
2004-04-16 16:26:37 -05:00
Albert Cheng
84960eed3c [svn-r8354] Purpose:
Updated.

Description:

Solution:

Platforms tested:

Misc. update:
2004-04-14 13:22:03 -05:00
Albert Cheng
599adeb080 [svn-r8353] Purpose:
feature

Description:
H5check_version will print warning messages if the version does not
match or if the lib version string is not consistent, even when
$HDF5_DISABLE_VERSION_CHECK is set to 1.  This will mess up
tests that try to match output.

Changed it so that if $HDF5_DISABLE_VERSION_CHECK is set to 2, no
warning about version mismatch is printed.
The lib version string warning is suppressed if $HDF5_DISABLE_VERSION_CHECK
is set to any non-zero value.

Platforms tested:
Tested in sol only but pretty comprehensive to make the warnings do get
suppressed.

Misc. update:
2004-04-14 13:14:40 -05:00
Pedro Vicente Nunes
7d8b8f129d [svn-r8352] Purpose:
bug fix

Description:
the routine for reading the options from a file had the "old" parse syntax

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-04-14 11:41:43 -05:00
Raymond Lu
2fac8dfcbc [svn-r8351] Purpose: Bug fix
Description:  This test script put executable program in hdf5/test/testfiles where
output HDF5 file was created.  It might cause conflict when multiple buildings happen.


Platforms tested: RH 8(fuss)
2004-04-14 10:50:42 -05:00
HDF Admin
cf49b96827 [svn-r8350] Snapshot version 1.7 release 21 2004-04-14 04:48:18 -05:00
Raymond Lu
5fb4b1a71e [svn-r8349] *** empty log message *** 2004-04-13 13:37:14 -05:00
Raymond Lu
6e9faf2337 [svn-r8348] Purpose: More test
Description:  Add more tests for bittests.c to check bit operations like H5S_bit_shift,
H5S_bit_inc, H5S_bit_dec, H5S_bit_neg.


Platforms tested: h5committest
2004-04-13 13:37:06 -05:00
Quincey Koziol
e3e3e9ccf0 [svn-r8347] Purpose:
Code optimization

Description:
    Eliminate memory allocations for I/O vectors when using the default
vector size.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-13 13:30:33 -05:00
Albert Cheng
f441b303f1 [svn-r8345] Purpose:
Bug fix.

Description:
Temporary output files were created in the source directory.
If multiple build/tests using the same source directory occur
at the same time, they would conflict because of the same file
names.

Solution:
Changed it to create temporary output file in the current build
directory.

Platforms tested:
sol.

Misc. update:
2004-04-13 12:08:54 -05:00
Raymond Lu
dfe9639c9b [svn-r8344] Purpose: Internal function change
Description:  H5T_bit_shift wasn't general enough to handle arbitory start, length.

Solution:  Make it be so.

Platforms tested:  h5committest
2004-04-12 15:49:36 -05:00
Pedro Vicente Nunes
7a73740dfd [svn-r8343] Purpose:
update toolslib windows project

Description:

Solution:

Platforms tested:

Misc. update:
2004-04-10 23:27:31 -05:00
Quincey Koziol
a7c2871572 [svn-r8342] Purpose:
Code optimization

Description:
    Remove another dataspace copy, in certain circumstances.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-10 13:02:27 -05:00
Quincey Koziol
793f8cadd3 [svn-r8339] Purpose:
Code optimization

Description:
    Remove a memcpy() from a commonly called routine and replace a multiplication
with a series of additions.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-04-10 12:12:42 -05:00
Quincey Koziol
4f7308af91 [svn-r8337] Purpose:
Code optimization

Description:
    Avoid another extraneous dataspace copy.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-10 11:04:53 -05:00
Quincey Koziol
eb7a675f0a [svn-r8335] Purpose:
Code optimization

Description:
    Change algorithm to directly use coordinates describing a chunk's position
in a dataspace instead of creating a dataspace with the chunk's position
selected.  This reduces the number of copies of dataspaces we need to keep
around.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-10 09:44:58 -05:00
Raymond Lu
48d84a1bbc [svn-r8334] Purpose: Bug fix
Description:  Variable name "class" conflicts with C++ key word.

Solution: changed it to "type"

Platforms tested:  RH 8
2004-04-09 14:42:05 -05:00
Pedro Vicente Nunes
00235dba7e [svn-r8333] Purpose:
new test

Description:
add a test that generates a file with "holes" and then uses h5repack to clean
the empty space. it works

Solution:

Platforms tested:
linux

Misc. update:
2004-04-09 09:20:49 -05:00
Raymond Lu
8c0626ff5b [svn-r8332] Purpose: Last step of check-in for Null dataspace
Description:  Mainly are header message changes for dataspace.  In last round
of check-in, a new header message for dataspace to created, which is not a good
way.  Now, there will be no new message for dataspace, but just add the type of
dataspace in the message while increment its version number.  Backward compatibility
is addressed.  The attribute design is modified accordingly.  Took out Null
dataspace test from tmisc.c and put it in th5s.c.  These files are re-generated
since the header message has been changed.


Platforms tested: h5committest
2004-04-08 16:24:05 -05:00
Raymond Lu
1dad73cae0 [svn-r8331] Purpose: Last step of check-in for Null dataspace
Description:  Mainly are header message changes for dataspace.  In last round
of check-in, a new header message for dataspace to created, which is not a good
way.  Now, there will be no new message for dataspace, but just add the type of
dataspace in the message while increment its version number.  Backward compatibility
is addressed.  The attribute design is modified accordingly.  Took out Null
dataspace test from tmisc.c and put it in th5s.c.


Platforms tested: h5committest
2004-04-08 16:23:19 -05:00
Raymond Lu
270d097bd1 [svn-r8330] Purpose: Last step of check-in for Null dataspace
Description:  Mainly are header message changes for dataspace.  In last round
of check-in, a new header message for dataspace to created, which is not a good
way.  Now, there will be no new message for dataspace, but just add the type of
dataspace in the message while increment its version number.  Backward compatibility
is addressed.  The attribute design is modified accordingly.


Platforms tested: h5committest
2004-04-08 16:22:21 -05:00
Quincey Koziol
aa5e1dc4d2 [svn-r8328] Purpose:
Code optimization

Description:
    Check for only performing I/O on a single chunk and re-use memory dataspace,
instead of re-creating the same dataspace & selection the hard way.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-08 13:19:02 -05:00
Quincey Koziol
b356572029 [svn-r8326] Purpose:
Code optimization

Description:
    Eliminate more dataspace copying, etc.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-04-08 11:59:34 -05:00
Quincey Koziol
ddf73f26c3 [svn-r8324] Purpose:
Correct typo in comment
2004-04-08 11:58:32 -05:00
Pedro Vicente Nunes
1f80ae6a89 [svn-r8323] Purpose:
bug fix, new tests

Description:
added a couple of #ifdefs to check if a specific filter is available for read
added more tests
the h5tools check filters had a mismatched filter variable

Solution:

Platforms tested:
linux, with several filter configurations (all, some , none )

Misc. update:
2004-04-08 10:59:43 -05:00
Quincey Koziol
dffe5b9a2b [svn-r8321] Purpose:
Code optimization

Description:
    Reduce the number of dataspace copies made when performing I/O on chunked
datasets.

Platforms tested:
    Solaris 2.7 (arabica)
    too minor to require h5committest
2004-04-08 09:10:34 -05:00
Pedro Vicente Nunes
698f1af7ce [svn-r8320] Purpose:
new tests for h5repack

Description:
added more tests both to the test program and shell script that test
a variation of different filter converssions

Solution:

Platforms tested:
linux


Misc. update:
2004-04-07 20:44:14 -05:00
Pedro Vicente Nunes
791e811bb5 [svn-r8319] Purpose:
added a new windows  project with the new files for h5repack

Description:

Solution:

Platforms tested:

Misc. update:
2004-04-07 17:09:46 -05:00
Pedro Vicente Nunes
6f711ab4cb [svn-r8318] Purpose:
new tests for h5repack

Description:
added tests that do layout type to layout type conversion in a matrix of 9 between compact, contiguous and chunking

Solution:

Platforms tested:
linux
afs has problems; I could not telnet to sol and copper, arabica is really slow (meaning
waiting 1 minute for a typed character) and the writing of a file gave an error
arabica 181% afs: failed to store file (145)
afs: failed to store file (145)



Misc. update:
2004-04-07 16:36:15 -05:00
Quincey Koziol
42e2d9dd37 [svn-r8316] Purpose:
Code optimization

Description:
    Query the dataset creation and transfer properties less often.

Platforms tested:
    Solaris 2.7 (arabica)
    h5committested
2004-04-07 13:16:22 -05:00