Commit Graph

5927 Commits

Author SHA1 Message Date
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
Raymond Lu
e0a446b479 [svn-r8315] *** empty log message *** 2004-04-06 15:08:26 -05:00
Raymond Lu
be7efff2b7 [svn-r8314] Purpose: Progressive check-in
Description:  NULL dataspace.  This step is mainly for dataspace header
message and a test.

Solution:  The test mainly checks NULL dataspace features.  Backward compatibility
is tested in the fill value test.

Platforms tested: h5committest
2004-04-06 15:08:20 -05:00
Quincey Koziol
b230f3eb22 [svn-r8312] Purpose:
Code optimization

Description:
    Eliminate unnecessary allocation and point at existing data structure
instead.

Platforms tested:
    Solaris 2.7 (arabica)
    too minor to require h5committest
2004-04-06 13:51:26 -05:00
Pedro Vicente Nunes
45878f9a8a [svn-r8311] Purpose:
cleaned some comments and printfs

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-04-06 13:30:30 -05:00
Quincey Koziol
fde9bbabc4 [svn-r8309] Purpose:
Code optimization

Description:
    Fix H5S_select_hyperslab to use arrays on the stack instead of dynamically
allocating them each time.

Platforms tested:
    Solaris 2.7 (arabica)
    too small to require h5committest
2004-04-06 11:57:30 -05:00
Quincey Koziol
5bace59b99 [svn-r8307] Purpose:
Code optimization

Description:
    Fix H5S_select_copy so it doesn't call calloc() for allocating memory that
will be immediately overwritten.

Platforms tested:
    Solaris 2.7 (arabica)
    too small to require h5committest
2004-04-06 11:38:00 -05:00
Quincey Koziol
1a867ef2db [svn-r8305] Purpose:
Code optimization

Description:
    Minor tweaks on the optimized offset/length sequence generator to improve
performance by reducing the number of 64-bit multiplies and calls to memcpy().

Platforms tested:
    Solaris 2.7 (arabica)
    too minor to require h5committest
2004-04-06 11:14:12 -05:00
Quincey Koziol
394dace97b [svn-r8303] Purpose:
Code optimization

Description:
    Compute the size of a chunk once, when the layout information is set,
instead of each time I/O is performed on the chunk.

Platforms tested:
    h5committest
    Solaris 2.7 (arabica)
2004-04-06 08:37:18 -05:00
Quincey Koziol
43d3a9bfe8 [svn-r8301] Purpose:
Code optimization

Description:
    Move handling for free list arrays that have no maximum size to separate
set of routines and optimize computations for free list arrays with maximum
size to avoid re-computing sizes all the time.

Platforms tested:
    h5committest
    Solaris 2.7 (arabica)
2004-04-06 08:11:45 -05:00
Albert Cheng
4c8f0b2463 [svn-r8298] Purpose:
Code cleanup

Description:
Added SetTest() to handle test controls.

Platforms tested:
h5committested.
2004-04-03 16:35:01 -05:00
Pedro Vicente Nunes
6705762081 [svn-r8297] Purpose:
bug fix

Description:
the synntax of the input of h5repack conatined double quotes and spaces, which
were causing problems on the parsing in AIX paralell

Solution:
replaced the spaces by =
that is, instead of -f "GZIP 6"
we have now
-f GZIP=6

Platforms tested:
linux
solaris
AIX paralell


Misc. update:
2004-04-02 10:52:24 -05:00
Albert Cheng
9a04849fdb [svn-r8296] Purpose:
updated with h5repack.sh fix.
2004-04-02 09:37:44 -05:00
Albert Cheng
5d91eb8a80 [svn-r8295] Purpose:
Bug fix.

Description:
nerror was not updated when errors were detected.
Added the nerror update and print a message at
the end if all is well.

Platforms tested:
Tested in copper, both parallel and serial.
2004-04-02 09:34:01 -05:00
Albert Cheng
3756af13c7 [svn-r8294] Purpose:
feature

Description:
Change testphdf5 to use the common test program syntax.
Needed to change the protocols of all test programs to
fit the requirement of the common test syntax.

Platforms tested:
"h5committested".
Also tested in sol with PP mode.
2004-04-01 18:00:13 -05:00
Albert Cheng
fbbd2b9cd2 [svn-r8292] Purpose:
Feature.

Description:
Added GetTestParameters() to provide Test Parameters to
individual test programs.

Platforms tested:
"h5committested"
2004-04-01 17:51:47 -05:00
Albert Cheng
d7a5f94d66 [svn-r8289] Purpose:
Feature

Description:
Added to AddTest() a generic parameters pointer argument to
allow some extra parameters for some tests.  E.g., test file
names can be customized during runtime and passed into the
test routines.

Platforms tested:
"h5committested".
Also run compat test in eirene.
2004-03-30 18:35:16 -05:00
Quincey Koziol
c3d9b510b4 [svn-r8287] Purpose:
Bug fix/code cleanup

Description:
    Copy Robb's feature in SSlib that checks that the name of the function
used in the FUNC_ENTER macro is actually the name of function.

    Fixed a bunch of typos & copy-n-pasto's for functions with incorrect names.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    too minor to require h5committest
2004-03-30 15:41:45 -05:00
Pedro Vicente Nunes
8eb5f818ba [svn-r8286] Purpose:
bug fix continuation

Description:
the atof return value on a hexadecimal input is different
 on some systems; before checking for the atof return value
 do  a character check for the first 2 characters of the string input



Solution:

Platforms tested:
linux
solaris

Misc. update:
2004-03-29 11:53:52 -05:00
Pedro Vicente Nunes
fb37f831bc [svn-r8285] Purpose:
new file in /test/gen_filters.c

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-26 11:32:33 -05:00
Pedro Vicente Nunes
69b83ce9a3 [svn-r8284] Purpose:
add a "generator" program for the test files that are used in the "test_filter_endianess"
of the dsets  test

Description:

Solution:

Platforms tested:
windows

Misc. update:
2004-03-26 11:29:45 -05:00
Pedro Vicente Nunes
2e44c48936 [svn-r8283] Purpose:
bug fix (sort of)

Description:
apparently linux and other systems (solaris) return a different value from atof if the
argument is in  hexadecimal .
this return value was used to test if the argument to -p and -d was a valid floating point
number
for now , commented the calls in the script with -p <hexa> until we find a portable solution

Solution:

Platforms tested:
linux
solaris
windows

Misc. update:
2004-03-26 11:20:48 -05:00
Pedro Vicente Nunes
1b008c03aa [svn-r8282] Purpose:
bug fix

Description:
the -p option was not parsing correctly if the input was in the exponential format

Solution:
add a new parse test for floating point numbers

Platforms tested:
linux

Misc. update:
2004-03-25 15:27:47 -05:00
Pedro Vicente Nunes
9c79ce84ee [svn-r8281] Purpose:
code clean, change test script

Description:
removed soem debugging messages
changed the chunking command line call to a non square dimensionality

Solution:

Platforms tested:
linux

Misc. update:
2004-03-25 14:31:42 -05:00
Quincey Koziol
e0fee4d7c9 [svn-r8279] Purpose:
Clarify note about the --with-pthread flag.
2004-03-24 21:53:33 -05:00
Quincey Koziol
2f48948213 [svn-r8277] Purpose:
Update flags necessary for compiling the library with thread-safety
turned on.
2004-03-24 21:46:24 -05:00
Raymond Lu
370a4f930f [svn-r8276] *** empty log message *** 2004-03-24 16:03:52 -05:00
Raymond Lu
7d709797fc [svn-r8275] Purpose: New feature
Description:  a new dataspace, null dataspace.

Solution:  it's a dataspace without any element.  This is a staged check-in.
After daily test succeeds, will add a test.

Platforms tested: h5committest

Misc. update:  RELEASE.txt
2004-03-24 16:03:34 -05:00
Albert Cheng
b45703bf89 [svn-r8274] Purpose:
Code cleanup.

Description:
The routines residing in testframe.c was defined in testhdf5.h due to
historical reason.  It really belongs to h5test.h because those routines
reside in libh55test.a.

Solution:
Moved them to the right place.  Also removed the duplicated occurance
of testframe.c in the TEST_SRC.

Platforms tested:
Tested in o2 (SGI) parallel.
2004-03-22 23:43:12 -05:00