Commit Graph

5900 Commits

Author SHA1 Message Date
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
Pedro Vicente Nunes
5ca8720063 [svn-r8251] Purpose:
bug fix

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

Solution:
replaced with a buffer of 1 byte type

Platforms tested:
linux
solaris
solaris 64 bit
AIX
windows

Misc. update:
2004-03-10 19:23:55 -05:00
Pedro Vicente Nunes
c131cf3125 [svn-r8247] Purpose:
added the 2 binary files to list

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-10 16:48:29 -05:00
Pedro Vicente Nunes
27aeb2fff4 [svn-r8246] Purpose:
added 2 binary files to be used in a new test (dsets test)

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-10 16:45:30 -05:00
Frank Baker
77068a23d3 [svn-r8245]
Purpose:
    Bugfix: Bugzilla #66

Solution:
    H5Pset_szip -- Corrected the plist parameter description.
        Since this property can be set only in the dataset
        creation property list, changed the parameter description
        from
            Dataset creation or dataset transfer property list identifier.
        to
            Dataset creation property list identifier.
        Fixes Bugzilla bug #66.

Platforms tested:
    IE 5
2004-03-10 14:27:21 -05:00
Frank Baker
3b3598e446 [svn-r8242]
Purpose:
    Bugfix -- Bugzilla #67

Solution:
    Removed the numeric notations from the datatype listing
        in h5iget_type_f.
    Fixes Bugzilla #67.

Platforms tested:
    IE 5
2004-03-10 13:31:55 -05:00
Elena Pourmal
66c858c269 [svn-r8241] Purpose: Bug fix (#71 in Bugzilla DB)
Description: C++ comment was used. That caused a problem for a user (see
             bug description)

Solution: Changed comment to C type

Platforms tested: eirene

Misc. update:
2004-03-09 16:15:24 -05:00
Elena Pourmal
6f0be2df0d [svn-r8239] Purpose: Brought back changes from 1.6 branch (small bug fix)
Description: Wrong datatype was used to calculate the size of data buffer


Solution: Used correct the datatype

Platforms tested: partially h5comittested (sol and verbena);
                  tested manually for sequential version on copper

Misc. update:
2004-03-08 15:09:52 -05:00
Quincey Koziol
73b756fe33 [svn-r8235] Purpose:
Bug fix

Description:
    Fix build on sparc64 platform for FreeBSD by modifying the config/gnu-flags
to not insert '-march=i686' on non-Intel platforms.  (This change allows HDF5
to run correctly on all five of the main FreeBSD platforms... :-)

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest not run since it's a FreeBSD-specific fix.
2004-03-06 21:26:31 -05:00
Quincey Koziol
51ecb0ecea [svn-r8233] Purpose:
Bug fix/code update

Description:
    Upgrade to latest version of config.guess & config.sub, which work
    correctly on Cray X1 (and may help on NEC SX-6).

    NOTE: This upgrade has _nothing_ to do with autoconf or libtool, these
    shell scripts are _not_ tied to any particular version of those tools.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
    Cray X1
2004-03-05 16:32:59 -05:00
Pedro Vicente Nunes
2a93f99317 [svn-r8232] Purpose:
new feature

Description:
added a check for the return value of the tools h5repack and h5diff
in the run script.
the return value is used to print PASSED (tool returns 0) or FAILED

Solution:

Platforms tested:
linux

Misc. update:
2004-03-04 11:55:07 -05:00
Pedro Vicente Nunes
931efcb5eb [svn-r8229] Purpose:
1) new function  for tools library
2) new test script for h5repack


Description:
1) currently all the tools (h5dump, h5diff, etc)  do not check if a filter is available
for reading some dataset that might have a filter not available on the current configuration (the behaviour
of the tools until now was to trigger a library error, saying that the dataset cannot be read
due to the lack of the filter)


Solution:
1) added a new function h5tools_canreadf that checks if a dataset can be read
depending on the availability of filters.
this function was added in calls for h5diff and h5repack.
instead of triggering the library error, a message is printed, saying that the dataset
cannot be read (the print is optional, it is on on verbose mode)

2) added a shell script that tests the commannd line tool behaviour of h5repack
the script does a series of runs of h5repack  with several options on the same file (this file test4.h5
was added to the testfiles dir).
then, it runs the h5diff tool, with the input and output files , in each run.
the goal of the test is also to check item 1) . the binary file was saved with filters
that might not be available on other configurations


Platforms tested:
linux (all filters enabled)
linux (some filters disabled)
solaris (some filters disabled)
AIX (some filters disabled)
windows (all filters on and off )


Misc. update:
2004-03-02 13:12:25 -05:00