Commit Graph

5911 Commits

Author SHA1 Message Date
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
Albert Cheng
5f7cc58755 [svn-r8272] Purpose:
bug fix.

Description:
H5FD_mpio_init was calling the public API version of H5Iget_type()
which would clear the error stack, thus cleared away error messages
prematurely.

Solution:
Changed it to call the private version of H5I_get_type() which
does not clear the error stack.

Platforms tested:
o2 (SGI) parallel.
2004-03-22 23:39:37 -05:00
Raymond Lu
3c9420c967 [svn-r8270] Purpose: code cleanup
Description:  took out function of older algorithm(H5T_bit_neg2).


Platforms tested: fuss
2004-03-22 09:20:38 -05:00
Binh-Minh Ribler
9e3178fedf [svn-r8269] Purpose:
Cleaning up warnings

Description:
    Many exception constructors have warnings about reference to temporary
    location because of the parameter initialization, for example,
    "const string& var = 0."

Solution:
    Changed "string&" parameters to pass by value for these constructors.
    Consequently, passing string by value also takes care of char pointers
    so the overloaded constructors for char pointers are then removed.
    Also, instead of setting Exception::detailMessage to null string, I
    set it to DEFAULT_MSG ("No detailed information provided") by default.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    IA-64 (titan)
2004-03-21 21:56:59 -05:00
Raymond Lu
7fb0362eed [svn-r8266] Purpose: Internal function change
Description: The algorithm of H5T_bit_neg wasn't general enough.

Solution:  Changed it to handle arbitory starting position and size
in a bit sequence.

Platforms tested: h5committest.
2004-03-19 14:55:42 -05:00
Raymond Lu
e45e85190b [svn-r8265] Purpose: Code cleanup
Description:  Some printing commands left there for debugging.

Solution:  Took them out.

Platforms tested:  fuss(RH8).  Simple change
2004-03-18 13:48:02 -05:00
Raymond Lu
a8ec063090 [svn-r8264] Purpose: Internal algorithm change
Description:  The H5T_bit_dec algorithm wasn't general enough.

Solution:  Changed it to handle bit sequence starting at any position
and of any length.

Platforms tested: h5committest
2004-03-17 12:36:34 -05:00
HDF Admin
19d0f85444 [svn-r8263] Snapshot version 1.7 release 20 2004-03-17 08:16:26 -05:00
Raymond Lu
d9d34b46e3 [svn-r8262] Purpose: Avoid bug in some systems.
Description:  unsigned long or unsigned long long failed to be converted to
float or double during software conversion on some systems.  It's believed
there are bugs on those systems(modi4, premium, o2, arabica).

Solution:  temporarily disable these tests.

Platforms tested:  Simply comment out.  No need to do test.
2004-03-16 14:55:18 -05:00
Pedro Vicente Nunes
f217777cdb [svn-r8261] Purpose:
bug fix

Description:
the test that reads a pre-saved file with filters must only be run
when that filter is available on the current configuration,
otherwise the library trigers a read error

Solution:
added a #ifdef for the filter, that prints -SKIP- in case we do not have the filter

Platforms tested:
linux

Misc. update:
2004-03-15 13:33:51 -05:00
Quincey Koziol
18ea372959 [svn-r8260] Purpose:
Code cleanup

Description:
    Remove small debugging block

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2004-03-13 15:04:24 -05:00
Raymond Lu
95dc09ab4b [svn-r8259] *** empty log message *** 2004-03-13 12:39:41 -05:00
Raymond Lu
f0ac5a6420 [svn-r8258] Purpose: new feature
Description: integer-float software conversion.  There are some
print commands left in the source code.  Will clean them up once
no problem is found in test.


Platforms tested: h5committest.

Misc. update: RELEASE.txt
2004-03-13 12:39:24 -05:00
Frank Baker
5224b9e21a [svn-r8257]
Purpose:
    Add one tag for HTMLdoc that affects the first page of the
    next file's output (Tools).

Platforms tested:
    IE 5, HTMLdoc
2004-03-12 15:36:43 -05:00
Pedro Vicente Nunes
7de24aa706 [svn-r8255] Purpose:
bug fix

Description:
the added binary files to read did not have the construction of the "srcdir" path

Solution:
add it

Platforms tested:
linux

Misc. update:
2004-03-11 22:43:23 -05:00
Frank Baker
4c0ffcb814 [svn-r8254]
Purpose:
    Clean up RM formatting.
    Modify RM HTML code to facilitate automated generation of PDF version.
    Minor edits.

Description:
    Reworked format of "Options" and "Parameters" sections.
    Added HTML tags (and pseudo-HTML tags) used by HTMLdoc to
        generate PDF files.
    Other minor copy edits.

Platforms tested:
    IE 5
2004-03-11 15:18:23 -05:00
Pedro Vicente Nunes
472394a0e9 [svn-r8252] Purpose:
bug fix
new test

Description:
the fletcher filter used a temporary  2 byte word buffer to compute the checksum.
this is non portable between big-endian/little endian.

added a test that reads 2  pre-saved files (one LE, other BE) with that filter enabled

Solution:
replaced with a buffer of 1 byte type

Platforms tested:
linux
solaris
solaris 64 bit
AIX
windows

Misc. update:
2004-03-10 19:25:31 -05:00