Commit Graph

3425 Commits

Author SHA1 Message Date
Quincey Koziol
5f1b9d1e7d [svn-r4490] Purpose:
Document bug fix
Description:
    Mention the edge detection chunking bug fix.
2001-09-28 14:02:40 -05:00
Quincey Koziol
ebb5d3a90d [svn-r4489] Purpose:
Bug Fix
Description:
    When writing (or reading) the entire dataset to a chunked dataset, there
    was a boundary case where the code to generate the description of the
    piece of the dataset to read into the buffer for data conversion would
    attempt to read off the boundary of the dataset.  This was occuring because
    the code to detect the edge of the dataset was not propagating the change
    up through the remaining dimensions when an edge in a fast changing
    dimension was detected.
Solution:
    Propagate edge detection up through slower changing dimensions properly.
Platforms tested:
    Linux 2.2.18smp (eirene)
2001-09-28 14:00:43 -05:00
Quincey Koziol
efbadc2165 [svn-r4488] Purpose:
Fix on Kludge
Description:
    Forgot another chunk of parallel I/O code that needed to change for the
    generic property list kludge... :-/
Platforms tested:
    Parallel Linux 2.2.18smp (eirene)
2001-09-28 08:56:22 -05:00
Bill Wendling
4b13ea4572 [svn-r4487]
Purpose:
    Bug Fix
Description:
    Some platforms don't handle echo -n correctly.
Solution:
    Copied some code from the configure which determines which flag to
    give echo.
Platforms tested:
    Linux
2001-09-27 18:05:16 -05:00
Quincey Koziol
6f754d0c57 [svn-r4485] Purpose:
Kludge addition
Description:
    Forgot to patch the parallel test files in yesterday's kludge checkin.
Platforms tested:
    Linix 2.2.18smp (eirene)
2001-09-27 11:22:40 -05:00
Quincey Koziol
7a96b1a0d2 [svn-r4482] Purpose:
Kludge
Description:
    Since we're only about halfway through converting the internal use of
    property lists from the "old way" to the generic property lists, we turned
    off snapshots to avoid exposing lots of API changes to users, until the
    APIs settled down.

    Getting the snapshots rolling again seems to have become a priority, so
    some changes are going to have to be made now that were going to be
    postponed until we were completely finished with the conversion.  This
    requires that the old API functions be able to deal with both the old
    and new property lists smoothly.

Solution:
    Kludge together the property list code so that they can transparently handle
    dealing with both the old and new property lists

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-26 15:29:35 -05:00
Albert Cheng
e09ac06d96 [svn-r4476] Updated with changes of H5Pset_split and the new test of configure. 2001-09-26 00:45:18 -05:00
Albert Cheng
1ee381c552 [svn-r4475] Updated with newly added file. 2001-09-26 00:39:48 -05:00
Albert Cheng
2612814874 [svn-r4474] Purpose:
New feature.
Description:
    Added a test to verify the correctness of information provided by
    configure in H5config.h.  Some information, such as SIZEOF some
    types can be hardcoded by config/<machine>.  This test verified
    the information is indeed correct.
    Currenly, only size of C language types are verified.
Platforms tested:
    Eirene, regular, arabica.
2001-09-26 00:37:15 -05:00
Quincey Koziol
ed663577a5 [svn-r4473] Purpose:
Code cleanup for better compatibility with C++ compilers
Description:
    C++ compilers are choking on our C code, for various reasons:
        we used our UNUSED macro incorrectly when referring to pointer types
        we used various C++ keywords as variables, etc.
        we incremented enum's with the ++ operator.
Solution:
    Changed variables, etc.to avoid C++ keywords (new, class, typename, typeid,
        template)

    Fixed usage of UNUSED macro from this:
        char UNUSED *c
    to this:
        char * UNUSED c

    Switched the enums from x++ to x=x+1
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-25 12:46:32 -05:00
Bill Wendling
a6036953db [svn-r4472]
Purpose:
    Refix
Description:
    Changed
       if test -d $1; then
         :
       else

    to

       if test ! -d $1; then

    since "test ! -d" should work on all platforms and is a much cleaner
    solution than the original.
Platforms tested:
    Linux
2001-09-24 15:55:05 -05:00
Bill Wendling
0a8e7a6357 [svn-r4471]
Purpose:
    Feature add
Description:
    Changed the "make install" thingy to "make install-all" in the
    quick-setup guide. Also, changed the version number of HDF5 in the
    examples from 1.4.0 and 1.2.0 to 1.5.x
2001-09-24 15:17:52 -05:00
Bill Wendling
de93207053 [svn-r4469]
Purpose:
    Bug Fix
Description:
    Some systems can't handle a test like:

        if ! test -d "foo"; then

Solution:
    Removed the "!" and made a success a "nop".
2001-09-23 04:01:30 -05:00
Bill Wendling
7059a12450 [svn-r4467]
Purpose:
    Small Bug Fix
Description:
    Made 'install-all' its own Makefile rule.
Platforms tested:
    Linux
2001-09-21 18:52:37 -05:00
Bill Wendling
5e834c4cbc [svn-r4466]
Purpose:
    Feature Add
Description:
    Added "install-example" and "install-all" to the Makefile system.
    The behaviour of the "make install*" options:

        make install          - Installs binaries, libraries, include
                                files, and example programs.
        make install-examples - Installs only the example programs.
                                The directories are:

                            ${prefix}/doc/hdf5/examples/{c,c++,fortran}

        make install-all      - Install the binaries, libraries, include
                                files, example programs, and
                                documentation. The whole kit-n'-caboodle.
        make uninstall-examples - Get rid of those example files (but not
                                  the ${prefix}/doc/hdf5/examples/...
                                  directories)

    There's a new bin/ program which helps create directories which are
    deeply nested called "mkdirs". It's a simple shell script.
Platforms tested:
    Linux
2001-09-21 18:50:15 -05:00
MuQun Yang
813dfea514 [svn-r4465]
Purpose:
    fix a bug
Description:
    In precondition 3, winzip will unzip hdf5xxx.zip into the directory
    hdf5xxx and users should rename hdf5xxx into hdf5 to correctly build
    HDF5 library.
Solution:
    correct the sentence in precondition 3.
Platforms tested:
    windows 2000
2001-09-21 10:12:52 -05:00
Bill Wendling
09f30c6f45 [svn-r4464]
Purpose:
    Bug Fix
Description:
    The error codes checked for were hardcoded into the program.
Solution:
    Used the "enum" names instead.
Platforms tested:
    Linux
2001-09-18 15:12:37 -05:00
MuQun Yang
dab3f0ad01 [svn-r4462]
Purpose:
 1. rearrange project settings to be consistent with UNIX platforms
 2. fix bugs on H5Tinit.c and h5pubconf.h windows version.

Description:
 1. overhead, iopipe and chunk testings are moved to perform directory on UNIX platforms
    rearrange windows project settings to reflect the changes
 2. H5_HAVE_SYS_TIMEB_H is defined in h5pubconf.h, it is only used in the iopipe test.
    In iopipe.c, H5_HAVE_SYS_TIMEB is used to get the current time before opening HDF5 file.
    This constant is never defined at h5pubconf.h. So iopipe test failed on windows.
 3.  intn is still used in windows version H5Tinit.c.
 4.  redefine H5_inline at h5pubconf.h. That will generate warnings like:
    ..\..\src\H5private.h(150) : warning C4005: 'H5_inline' : macro redefinition         ..\..\src\h5pubconf.h(8) : see previous definition of 'H5_inline'

Solution:
 1. Rearrange chunk.c,iopipe.c and overhead.c files in project setting.
 2. In order not to affect other platform(linux also defines H5_HAVE_SYS_TIMEB_H).
    in windows version h5pubconf.h change H5_HAVE_SYS_TIMEB_H into H5_HAVE_SYS_TIMEB.
    Now H5_HAVE_SYS_TIMEB is only used by windows platform, iopipe test runs okay.
 3. change intn into int.
 4. undefine H5_inline on windows version of h5pubconf.h
Platforms tested:
    windows 2000(NT5.0) and windows 98.
2001-09-18 14:58:32 -05:00
Bill Wendling
45519075e4 [svn-r4461]
Purpose:
    Oops
Description:
    Left a debug print in...
Solution:
    Removed
Platforms tested:
    Linux
2001-09-18 14:30:21 -05:00
Bill Wendling
bd52f6e529 [svn-r4460]
Purpose:
    feature update
Description:
    Changed the way the summary was printed (the order, mostly).
Platforms tested:
    Linux
2001-09-18 14:26:46 -05:00
Bill Wendling
be9c42c7b1 [svn-r4456]
Purpose:
    Bug Fix
Description:
    Some so-called "operating systems" (*cough*Windows*cough*) can't
    handle large string sizes.
Solution:
    Replace the Usage string with individual strings which all call
    fprintf() themselves.
Platforms tested:
    Linux
2001-09-18 11:58:27 -05:00
Bill Wendling
d10d58c0c3 [svn-r4455]
Purpose:
    Warning Removal
Description:
    Remove some spurious warnings from the compilation.
Platforms tested:
    Linux
2001-09-18 11:57:16 -05:00
Bill Wendling
defaf9ac4f [svn-r4454]
Purpose:
    Feature Fix
Description:
    Reworked the output summary to be clearer and better organized.
Platforms tested:
    Linux
2001-09-18 10:05:42 -05:00
Albert Cheng
a70c5b5a0e [svn-r4450] Updated. 2001-09-18 00:56:34 -05:00
Albert Cheng
93fd360fb1 [svn-r4449] Purpose:
Feature
Description:
    Added an example program showing how to use different virtual
    file drivers.  First example is to show the Split File driver.
Platforms tested:
    eirene.
2001-09-18 00:55:14 -05:00
Bill Wendling
5921ab6be1 [svn-r4448]
Purpose:
    New Feature
Description:
    Added final output for the configure script which shows a summary of
    options people chose while configuring.
Platforms tested:
    Linux
2001-09-17 17:47:02 -05:00
Albert Cheng
c54fa7409f [svn-r4446] Description:
The caution statement in H5Pset_fapl_split was no longer valid.
    Removed it.
Platforms tested:
    IE 5.
2001-09-17 16:39:49 -05:00
Albert Cheng
04ed08e223 [svn-r4445] Purpose:
Feature
Description:
    Updated with the added feature of H5Pset_fapl_split.  Added
    two examples too.
Platforms tested:
    IE 5 plus eyeball.
2001-09-17 16:36:23 -05:00
Albert Cheng
ee0c2bb456 [svn-r4444] Purpose:
Feature
Description:
    The H5Pset_fapl_split() used to assume both meta and raw files
    have the same prefix name.  This prohibited the option to specify
    the two files reside on different file systems.  E.g., having
    meta-file as /user/home/data1.meta and raw-file as /pfs/data1.raw.
Solution:
    Added feature that if the raw or meta extension string contains
    a "%s", it will be substituted by the filename given for H5Fopen
    or H5Fcreate.  This is same as the multi-file syntax.  If no %s
    is found, one is inserted at the beginning.  This is the previous
    behavior.
Platforms tested:
    Modi4 (parallel, serial) and eirene (parallel).
2001-09-17 14:37:15 -05:00
Albert Cheng
ee6a5bf86b [svn-r4443] Purpose:
Bug fix
Description:
    Added the condition that Parallel programs are dependent on
    the hdf5 library too.
Platforms tested:
    eirene (parallel), modi4(serial and parallel).
2001-09-17 11:41:15 -05:00
Bill Wendling
59d67bc3f9 [svn-r4439]
Purpose:
    Feature Add
Description:
    Added description of the H5CC tool.
2001-09-13 12:12:00 -05:00
Bill Wendling
16d12b1471 [svn-r4438]
Purpose:
    Feature Add
Description:
    Added description of the H5CC script.
Platforms tested:
    Mozilla
2001-09-13 12:11:31 -05:00
Quincey Koziol
1e4406f578 [svn-r4437] Purpose:
Adding Feature
Description:
    Added new H5Pcopy_prop function to copy a property (value) from one property
    list or class to another.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-12 13:26:59 -05:00
Albert Cheng
15c3995e05 [svn-r4434] Purpose:
New feature.
Description:
    Test programs were assumed to be serial programs only.
    There was no provision to test parallel programs automatically.
Solution:
    Added $(TEST_PARA_PROGS) to hold parallel test programs and
    added appropriate action entry to test them if defined.
Platforms tested:
    Eirene (parallel).
2001-09-10 23:04:15 -05:00
Albert Cheng
d6f340c9bf [svn-r4433] Purpose:
Bug fix.
Description:
    The default file name used is /foo/test.out that usually
    is not legal.  Changed it to /tmp/test.out.
Platforms tested:
    eirene (parallel).
2001-09-10 23:01:11 -05:00
Albert Cheng
33e8dfc425 [svn-r4432] Purpose:
Bug fix.
Description:
    Did not update the expected strings for result of grand total test
    time.  Causing a false report of test failed to complete.
Solution:
    Update the strings.
Platforms tested:
    Eirene and modi4.
2001-09-09 22:52:17 -05:00
Albert Cheng
1c1343450e [svn-r4430] Description:
Added a feature to print total test time spent in a host in
    addition to individual test time.
Platforms tested:
    eirene, modi4, baldric.
2001-09-08 12:01:24 -05:00
Albert Cheng
544759df32 [svn-r4428] Purpose:
Bug fix
Description:
    The previous coding using sed was not portable for all Unix
    systems.  Much easier to use 'cut' to parse the strings.
Platforms tested:
    eirene
2001-09-06 00:27:40 -05:00
Quincey Koziol
efda170169 [svn-r4423] Purpose:
Thread-safety Bug Fixes
Description:
    FreeBSD must use a different layout or mechanism for allocating objects on
    the stack when compiling for thread-safe operation.  Unused bits in 'long
    double' variable are never used ('long double's on FreeBSD are stored in
    12 bytes, but only use 10 bytes for computations), but set to different
    values, causing the endianness permutation testing to generate incorrect
    results and eventually fail an assertion.
Solution:
    Clear the temporary variables used for determining the endianness permutation
    with memset (affecting all 12 bytes) instead of just assigning a 0.0 to them
    (affecting only 10 bytes)
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-04 16:22:29 -05:00
Quincey Koziol
dc5a388f8d [svn-r4422] Purpose:
Portability Bug Fixes
Description:
    FreeBSD wants the -pthread flag on both the compile and link lines.  Also,
    the cipher library is required for certain threading features and needs to
    be linked in.
Solution:
    Add the -pthread to the compile line and the cipher library to the list of
    libraries.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-09-04 16:18:59 -05:00
Albert Cheng
1e3185431d [svn-r4421] Description:
Added a new feature that allows an test configure runs on a certain
    day of the week (Mon, ..., Sun)
Platforms tested:
    eirene.
2001-09-04 13:42:06 -05:00
Bill Wendling
a34af05801 [svn-r4419]
Purpose:
    Bug Fix
Description:
    The table of error messages was updated in H5E.c. The change wasn't
    reflected in this test because, sadly, we use hardcoded numerical
    values for the "error" we want to check for and not the symbols.
Solution:
    Bumped up the error number from 32 to 34 to coincide with the error
    we expect.
Platforms tested:
    Linux
2001-09-04 12:37:10 -05:00
HDF Admin
f0fbd00403 [svn-r4418] Purpose:
Bug fix
Description:
    when a snaptest did not complete, it reported it as a failure
    of the launching host, rather than the testing host.
    Changed it to report the testing host.
2001-08-31 10:10:55 -05:00
Bill Wendling
64db27285f [svn-r4415]
Purpose:
    Bug Fix
Description:
    On some SGI machines (or, rather, it was showing up there), the
    /usr/ncsa/lib directory was being placed before the other directories
    in the linker line. This was causing the linker to link in
    alternative HDF5 libraries than the test library.
Solution:
    Modified my previous hack so that it puts the $rpath macro at the
    end, since those are the ones we're passing into the libtool function
    (in the DYNAMIC_DIRS macro).
Platforms tested:
    Paz
2001-08-28 17:35:03 -05:00
Bill Wendling
780ce8c15f [svn-r4414]
Purpose:
    Updated
Description:
    Wrote description of fixes to the h5dumper vis-a-vis the -v and -i
    options.
Platforms tested:
    Stone Tablets.
2001-08-27 14:31:45 -05:00
HDF Admin
b958ba1a0d [svn-r4410] Purpose:
Improved format of failures reporting.
Platforms tested:
    eirene, premium, modi4.
2001-08-27 11:01:37 -05:00
Bill Wendling
1b89fa3640 [svn-r4408]
Purpose:
	Feature Addition
Description:
	Added support for gcc 3.0.x. GCC 3.0.x supports the C99
	specification. The "-std=c99" gets rid of those annoying "warning
	long long not supported by ANSI standard" messages.
Platforms tested:
	Linux and gcc 3.0.1
2001-08-23 12:14:06 -05:00
Bill Wendling
1a779d0b8a [svn-r4407]
Purpose:
	Bug Fix
Description:
	Was getting warnings about converting pointers to integers
	without a cast.
Solution:
	Changed some of the RETURN ERRORs from returning NULL to
	returning FAIL instead.
Platforms tested:
	Linux
2001-08-22 14:51:05 -05:00
Quincey Koziol
9c33e2d1a2 [svn-r4406] Purpose:
Tweaks
Description:
    Improved the readability of the output and added some time information.
Platforms tested:
    Solaris 2.6 (baldric)
2001-08-22 13:56:49 -05:00
Albert Cheng
2b6e7d2603 [svn-r4405] Purpose:
Feature
Description:
    Changed some output format.
    Improved the CHECK_RSH to better report the result when failed.
Platforms tested:
    eirene with nosuch and shalom. (made sure failures do occur)
2001-08-21 18:41:10 -05:00