Commit Graph

6734 Commits

Author SHA1 Message Date
Binh-Minh Ribler
3cbd8ed917 [svn-r9874] Purpose: Update for C++ library
Description:
    Added a note about the temporary workaround of using flag
    --instantiate=local for pgCC.
2005-01-26 22:52:19 -05:00
Albert Cheng
743cddcd9d [svn-r9873] Updated with newly added file. 2005-01-26 18:05:12 -05:00
Albert Cheng
42754e6246 [svn-r9872] Purpose:
New feature.

Description:
Added new tool ph5diff. (Code done by Leon Arber.)
Code is changed but test is not working yet. For now,
it skipped all tests.

Platforms tested:
Tested in heping, serial and parallel modes.
2005-01-26 18:03:29 -05:00
Leon Arber
3cb812ae8a [svn-r9871] Purpose:
Feature additions:
    script has support for all sorts of interesting plots.
    fix axis scaling

Description:
Added support for 2-d and 3-d plots of the data.  Command-line options are also added to customize these plots.
Axis tick labels are now much improved and match the data and are logically spaced.

Platforms tested:
heping (gnuplot must be installed to do the plots)

Misc. update:
2005-01-26 15:04:56 -05:00
Quincey Koziol
5695ffc13d [svn-r9869] Purpose:
Bug fix

Description:
    In an earlier bug-fix, I inadvertently inverted the meaning of the
"% utilization" in h5ls.

Solution:
    De-invert it. :-)

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2005-01-25 08:18:37 -05:00
John Mainzer
866b37b337 [svn-r9868] Purpose:
Reduce the run time of the cache tests.


Description:

Some of the cache tests run for quite a while, which has been
causing problems with our daily build and test.  In my last
modification to cache.c, I added code to skip these stress
tests unless we were building in production mode.  Since
things go faster in production mode, the extra tests are not
a major problem here.

However, this means that the stress tests are only run once
or twice a week.


Solution:

To try to deal with this, I modified the four longest tests
to throttle depending on whether NDEBUG is defined.  When
NDEBUG is not defined, runtime for the cache tests should
be about 1/5th its regular run time.  We will see if this
is enough of a reduction to avoid problems.

There is some doubt in my mind as to just how much good the
throttled tests do, but they should be better than nothing.
As mentioned before, the correct solution is to build some
proper, random test code.


Platforms tested:

h5committested
production and debug builds on heping.


Misc. update:
2005-01-24 16:02:48 -05:00
Albert Cheng
0fbfc1f7ed [svn-r9867] Purpose:
Bug fixes (provided by Leon Arber).

Description:
gen_report spewed many messages and could not report speeds that are
less than 100MB/s.

Solution:
Removed -w which prints warning messages.
Fixed code to recognize speeds under 100MB/s.

Platforms tested:
Eirene.
2005-01-24 15:02:52 -05:00
Quincey Koziol
24c134e28b [svn-r9865] Purpose:
Bug fix

Description:
    Catch another way that vsnprintf() can fail (this time on the HP) and
deal with that.

Platforms tested:
    HP/UX 11.x (kelgia)
    Doesn't affect other platforms
2005-01-24 13:50:31 -05:00
Xuan Bai
68e5b3e014 [svn-r9864] Purpose:
Update.

Description:
Update hdf5/src/H5Tinit.c as PABLO was removed from the source.

Solution:
Remove the following codes from H5Tinit.c:
#define PABLO_MASK      H5T_init_mask

Platforms tested:
Visual C++ 6.0 on Windows XP/2000.

Misc. update:
Remove the following empty directories in all.zip:
hdf5\src\zlib\
hdf5\src\zlib\dll\
hdf5\test\ragged\
hdf5\test\raggeddll\

These folders were generated by Winzip to save path information for files from recursed folder.  We need to manually removed these empty folders.
2005-01-24 13:05:33 -05:00
Quincey Koziol
0d5a2ed80a [svn-r9862] Purpose:
Code cleanup

Description:
    Add new test file to 'distclean' target

Platforms tested:
    None, very minor...
2005-01-23 22:51:27 -05:00
Quincey Koziol
563a8dd140 [svn-r9861] Purpose:
Bug fix

Description:
    Add detect vasprintf() routine and use it instead of vsnprintf() when
formatting error descriptions if it's available.

    Added configure test to detect "broken" vsnprintf() implementations which
don't return the correct number of character for strings that are too long to
fit into the buffer provided (currently a problem on the SGIs and probably the
HP).

    Re-wrote error formatting code in H5Epush_stack() to handle broken
vsnprintf() implementations, etc.

Platforms tested:
    IRIX64 6.5 (modi4)
    h5committest
2005-01-23 22:26:37 -05:00
Quincey Koziol
d363f95d6d [svn-r9858] Purpose:
Code cleanup

Description:
    Clean up a few rements from the Pablo removal

Platforms tested:
    None, very minor
2005-01-22 08:38:49 -05:00
Elena Pourmal
c1df1b3ea4 [svn-r9857] Purpose: Maintenance
Description: Removed PABLO from the source

Solution:

Platforms tested: arabica with 64-bit, copper with parallel,
                  heping with GNU C and C++ and PGI fortran (but
                  I disabled hl, there is some weird problem only
                  on heping: F9XMODFLAG is not
                  propagated to the Makefile files

Misc. update:
2005-01-21 20:16:57 -05:00
Xiaowen Wu
631394faa8 [svn-r9855] Purpose:
Adding N-bit testing source code into CVS tree.
This is for debugging purpose only. N-bit filter won't be included in the daily test.

Description:
Integer, Float, Array datatype and Compound datatype tests are included.
More comprehensive tests need to be done.

Solution:

Platforms tested:
copper(AIX 5.1) and heping(Linux 2.4).

Misc. update:
2005-01-21 13:19:51 -05:00
Xiaowen Wu
78cfc78d18 [svn-r9854] Purpose:
For N-bit filter,
Adding parameter mappings from HDF5 compound datatype, array datatype and atomic datatype
to cd_values inside HDF5 library.
N-bit filter should work with these datatypes(string and variable length datatype haven't been
considered) in the near future.

Description:
This is for debugging purpose, N-bit filter won't be tested in the daily test.

Solution:

Platforms tested:
AIX 5.1 and Linux 2.4. Arabica is too slow. Hopefully shanti can be used soon.

Misc. update:
2005-01-21 13:13:49 -05:00
Raymond Lu
e5a161ffda [svn-r9853] Purpose: Minor Bug fix
Description:  A very minor bug fix and some minor changes to reduce the warning messages during
compiling.


Platforms tested: sleipnir and fuss
2005-01-21 10:01:32 -05:00
John Mainzer
3b90c189ca [svn-r9850] Purpose:
1) Provide facilities in cache to allow us to avoid a potential cache
   consistency bug in the parallel case.

2) Clean up a off by one sanity checking bug.

3) Turn off execution of long running tests in debug mode.


Description:

1) In the parallel case, all writes to metadata must be collective,
   but reads may not be.  In pricipal, this allows us to different
   contents in different caches.  This isn't a problem as long as the
   correct data is always on disk, but unless we can force certain
   writes immediately, that need not be the case.

2) & 3) should need no further explanation.


Solution:

1) Add code allowing us to mark cache entries, and then force
   these entries to be flushed at a later time.

   Note that to actually avoid the bug, we will have to modify
   existing code to use these new features.

2) & 3) should need no further explanation.


Platforms tested:

heping (serial debug and production)

committest (copper, sol, and heping).  test failed on heping in the
c++ portion of the build, but at Quincey's siggestion, I am proceeding
with the checkin.


Misc. update:
2005-01-20 17:40:37 -05:00
Raymond Lu
3d83546b36 [svn-r9849] Purpose: New test and a few bug fix
Description:  Test conversion from native integer to derived floating-point type and convert back;
test conversion from derived floating-point to derived floating-point types and convert back.  Fixed
a few minor bugs related to type conversion in the library.


Platforms tested: h5committest and fuss
2005-01-20 17:19:13 -05:00
Xuan Bai
ea2dd2a44a [svn-r9844] Purpose:
Bug fix.

Description:
Function _flushall() is not available on Cygwin.  So a Cgywin macro is added so the compiler will not call this function when building HDF5 on Cygwin.

Solution:
Change the following codes:

#ifdef H5_HAVE_SYSTEM
#ifdefined WIN32
	_flushall();
#else
    HDsystem ("sync");
    HDsystem ("df >/dev/null");
#endif

to:

#ifdef H5_HAVE_SYSTEM
#if defined(WIN32) && ! defined(__CYGWIN__)
	_flushall();
#else
    HDsystem ("sync");
    HDsystem ("df >/dev/null");
#endif



Platforms tested:
Cygwin 1.5.11, VC 6.0 on XP.
Linux 2.4 (heping)
Solaris 2.7 (arabica)

Misc. update:
2005-01-20 15:46:33 -05:00
Xuan Bai
2ef27d6564 [svn-r9843] Purpose:
A new configuration file hdf5/config/i686-pc-cygwin is add for HDF5 on Cygwin.  So MANIFEST should be updated to include this file.

Description:

Solution:

Platforms tested:

Misc. update:
2005-01-20 15:38:32 -05:00
Xuan Bai
4f79e35b33 [svn-r9842] Purpose:
Add a new configure shell script under /config to support configuration for cygwin.

Description:

Solution:

Platforms tested:
cygwin 1.5.11, VS 6.0 on windows xp, Linux 2.4 and sol 2.7.

Misc. update:
2005-01-20 15:31:31 -05:00
Raymond Lu
72df6506b4 [svn-r9841] Purpose: Minor correction in comments
Platforms tested:  No test needed.
2005-01-20 14:53:56 -05:00
Raymond Lu
dad89387a3 [svn-r9840] Purpose: Bug fix and new test
Description:  The functions for user-define floating-point type, like
H5Tset_fields, H5Tset_offset, H5Tset_precision, H5Tset_size, have some
minor bugs.  For error checking, the library didn't include offset value
somehow.

Solution:  Corrected those bugs.

Platforms tested: h5committest and fuss

Misc. update:
2005-01-20 12:32:06 -05:00
Quincey Koziol
fda3252166 [svn-r9839] Purpose:
Bug fix

Description:
    Don't print very long description, check that it's correct internally.

Platforms tested:
    Linux 2.4 (heping)
    Solaris 2.7 (arabica)
2005-01-19 15:15:26 -05:00
Quincey Koziol
fabb06712b [svn-r9838] Purpose:
Bug fix

Description:
    Correctly retire the H5E_LEN setting, now that the FORTRAN and C++ APIs
have been corrected to not use it either.

Solution:
    Pass in the string buffer length for FORTRAN

    In the C++ API, call H5Eget_msg() in a manner similar to the way
H5Fget_name() is called.

Platforms tested:
    Linux 2.4 (heping) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN & C++
2005-01-18 21:51:12 -05:00
Quincey Koziol
b8f7cdc48d [svn-r9837] Purpose:
Bug fix

Description:
    Calling HDvsnprintf() several times (should be twice) is incorrect
without calling va_end() and va_start() again.

Solution:
    Call va_end() and va_start() before calling HDvsnprintf() again.

Platforms tested:
    Linux 2.4/x86_64 (mir)
    Too minor to require h5committest
2005-01-18 21:43:04 -05:00
Quincey Koziol
7b10edb121 [svn-r9836] Purpose:
Bug fix

Description:
    Fix detection of C++ compiler version number.

Platforms tested:
    Solaris 2.7 (arabica) w/C++
    Solaris 2.8 (sol) w/C++
    Does not require h5committest
2005-01-18 21:37:16 -05:00
Elena Pourmal
a067f22345 [svn-r9835] Purpose: Bug fix/enhancement
Description: Fortran module search directories included ../src and
             ../../fortran/src directories; this was defined in
             acsite.m4 file in order for fortran and HL fortran tests
             to compile. Those flags were included in h5fc and h5pfc scripts.

Solution: Removed those directories from acsite.m4 file and updated
          Makefile.in files.

Platforms tested: sequential on arabica and parallel on copper
                  including HL Fortran

Misc. update:
2005-01-18 20:57:44 -05:00
Elena Pourmal
d6c70331d7 [svn-r9834] Purpose: Bug fix
Description: h5c++ couldn't create object files

Solution: Brought changes from 1.6 to 1.7

Platforms tested: arabica

Misc. update:
2005-01-18 18:53:34 -05:00
Elena Pourmal
f94c6a56ec [svn-r9833] Purpose: Bug fix
Description: h5fc couldn't create object files

Solution: Brought fixes from 1.6 to 1.7

Platforms tested: arabica

Misc. update:
2005-01-18 18:52:17 -05:00
Albert Cheng
fe1fe98f62 [svn-r9830] Purpose:
Bug fix

Description:
Fortran and C++ API failed to compile because they need to use
H5E_LEN which was removed.

Solution:
Restored the H5E_LEN definition.
A permenant solution is still needed.

Platforms tested:
H5committested. (heping, sol, and copper all compiled fine again but
sol had an error in testerror.sh which seemed to be a different
problem.
Also tested in tg-NSCA.
2005-01-17 13:08:36 -05:00
Binh-Minh Ribler
dfd0b59ae6 [svn-r9829] Purpose: Clean up tests
Description:
    + replaced "goto error" with throw exceptions
    + properly cleanup dynamically allocated memory in failure cases,
        for in some cases, the execution continues on after the failures
        were reported.
    + added test utility class InvalidActionException for when an action
        should cause an exception but doesn't.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)

    Note that there was an error due to the missing symbol H5E_LEN.  To
    be able to test my changes, I temporarily replaced H5E_LEN in c++/src
    with a constant as in the C tests, before the problem can be fixed.
    This value doesn't effect the C++ tests at all, at this time.
2005-01-16 10:23:34 -05:00
Raymond Lu
35985b6dba [svn-r9827] Purpose: Minor correction
Description:  There was a #ifdef statement with logical AND in it.

Solution:  Change it to #if statement.

Platforms tested: sleipnir and eirene.  Simple change
2005-01-14 15:36:32 -05:00
Raymond Lu
105bee4ead [svn-r9826] Purpose: Bug fix
Description:  Intel compiler on Linux has some problem to convert long double to
unsigned int correctly.

Solution:  Detect the problem in configure and define a macro to skip this test
if it happens.

Platforms tested: eirene and fuss.  Simple change.
2005-01-14 15:15:34 -05:00
Quincey Koziol
23130b569c [svn-r9825] Purpose:
Bug fix

Description:
    Fix possible overrun in error description string by allocating large enough
string on the fly.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2005-01-14 14:36:01 -05:00
Elena Pourmal
d00ec8d85a [svn-r9823]
Purpose: Bug fix

Description: Test reported failure because of the wrong
             testing condition when szip didn't have encoder

Solution: Fixed the code

Platforms tested: copper with
                  SZIP not present
                  SZIP encoder/decoder present
                  SZIP decoder present

Misc. update:
2005-01-13 22:06:07 -05:00
Raymond Lu
96cc43235e [svn-r9819] Purpose: Bug fix
Description:  The fix of the loss problem of the last 2 bytes of mantissa on sleipnir has
not been successful.  It happens when converting from unsigned long long to long double.
 The failure has been on and off.

Solution:  Hard set a macro to disable unsigned long long->long double for FreeBSD until
a good solution is found to solve this elusive problem.

Platforms tested: sleipnir and fuss.  Only sleipnir is concerned.

Misc. update:
2005-01-13 17:01:52 -05:00
Xuan Bai
4cd492dbb4 [svn-r9817] Purpose:
Update H5fortran_types.f90.

Description:
As Quincey implemented hobj_ref_t for in Fortran APIs, HDF5 Fortran type definitions should be updated to include HADDR_T in H5fortran_types.f90.

Solution:
Add the following scripts into hdf5/fortran/src/H5fortran_types.f90:

    INTEGER, PARAMETER :: HADDR_T  = SELECTED_INT_KIND(R_LARGE)

Platforms tested:
Visual Fortran 6.0 on Windows 2000.
Visual Fortran 6.6c on Windows XP.

(Notes: As HDF5 Fortran is not supported with .NET on my XP machines, so I did not test on .NET.                                                                                            Also, as H5fortran_types.f90 is included in all.zip, it will only be used for HDF5 on Windows.  It is not necessary to test it on Unix.)

Misc. update:
2005-01-12 19:10:14 -05:00
Albert Cheng
1190d2573e [svn-r9816] Purpose:
cleanup warning messages.

Description:
Compilers complained about local variable shadowed global variables.
The global variables d[], m[], nd, na were having the same names
as local function arguments.  This was a left over when I broke the
original one big chunk of code into separated functions to go around
the Intel Compiler optimization error.

Solution:
Appended the global variables with suffix _g, thus
d[]  =>  d_g[]
m[]  =>  m_g[]
nd   =>  nd_g
na   =>  na_g

This is only an intermediate step.  After the changes tested
out fine by all machines, need to rename the variables to more
meaningful names like dtype_array.

Platforms tested:
Tested in heping by saving the previous generated H5Tinit.c,
regenerated a new H5Tinit.c with the changed code, finally
compared the new and old versions were identical.
2005-01-12 17:55:22 -05:00
Raymond Lu
524830d67e [svn-r9814] Purpose: Bug fix
Description:  the last 2 bytes of mantissa can be lost when converting from unsigned long long
to long double.  In last check-in, a fix was made to ignore that precision loss.  But sometimes,
the last 2 bytes are rounded up to the 3rd last byte.

Solution:  Ignore the 3rd last byte, too, when comparing values.

Platforms tested: sleipnir - only this system is concerned.
2005-01-12 15:40:36 -05:00
Frank Baker
39b18b8e0f [svn-r9813] Purpose:
Added H5Pset/get_data_transform
        These are initial entries; they need technical review.
    Removed several deprecated functions that have been commented out
        through several release cycles (H5Pget_deflate and
        H5Pset/get_compression) and several lines of no-longer-used
        template code.
    Minor formatting changes.

Platforms tested:
    Mozilla
2005-01-12 13:18:43 -05:00
Elena Pourmal
72fcca656a [svn-r9811] Purpose: Bug fix
Description: libh5test_fortran.a(la) files were installed by
             make install

Solution: Brought changes back from 1.6

Platforms tested: mir, eirene

Misc. update:
2005-01-11 20:49:04 -05:00
Raymond Lu
7945e9929e [svn-r9809] Purpose: bug fix
Description:  For HP-UX11.00, compiler's casting from 'long double' to most of
integers.  A macro was hard set in config/hpux11.00 before.

Solution:  Let configure detect this case and set the macro.

Platforms tested:  kelgia, fuss, modi4.  These systems are mainly concerned.
2005-01-11 16:05:21 -05:00
Xuan Bai
7b42f786bd [svn-r9808] Purpose:
Update.

Description:
Add N-bit filter feature into HDF5 and update hdf5\src\H5pubconf.h.

Solution:
1. Add hdf5/src/H5Znbit.c into hdf5 and hdf5dll projects.
2. Add the following scripts into H5pubconf.h

   /* comment the following line out if you are not using N-bit filter*/
   /* #define H5_HAVE_FILTER_NBIT 1*/

   If users want to use N-bit filter, remove the comment marks.

Platforms tested:
Tested without N-bit filter on Visual C++ 6.0 on Windows XP.
(Failed building with N-bit filter, I remember that Kent said N-bit filter had not been fully implemented for the time being.)

Misc. update:
2005-01-11 14:17:27 -05:00
Raymond Lu
a985c4c525 [svn-r9807] Purpose: bug fix
Description: For FreeBSD (sleipnir), when GNU compilers do conversion from
unsigned long long to long double, the last 2 bytes of mantissa are lost.
The impact of precision loss isn't significant.

Solution:  Detect this case on FreeBSD in configure, ignore it in dtypes.c
test instead of return failure.

Platforms tested: sleipnir, fuss, modi4.  These systems are mainly concerned.
2005-01-11 13:17:01 -05:00
Quincey Koziol
76ba1a99d3 [svn-r9805] Purpose:
Code cleanup

Description:
    Remove obsolete support for Watcom C compiler.

Platforms tested:
    None - too minor to require any.
2005-01-11 10:43:13 -05:00
Elena Pourmal
2fcaf3e0f3 [svn-r9803] Purpose: Bug fix
Description: Fortran szip test had a wrong logic; as a result
             wrong return values were reported in the absence of
             the SZIP library, and it was skipped when encoder was
             disable

Solution: Fixed the test
          Now SZIP fortran test should report "SKIP" only
          when SZIP is not configured in.

Platforms tested: tg-login in parallel mode, copper,
                  mir with new PGI compilers and shared
                  SZIP libraries. All platforms were tested with
                  SZIP not available
                  SZIP with encoder/decoder
                  SZIP with decoder only

Misc. update:
2005-01-10 20:37:00 -05:00
Quincey Koziol
c04b612eb4 [svn-r9801] Purpose:
Bug fix

Description:
    Belatedly chase change of hobj_ref_t in C APIs.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/backward compatibility turned on
    IRIX64 6.5 (modi4) w/FORTRAN
    h5committest
2005-01-10 17:56:20 -05:00
Frank Baker
4eb3251a2c [svn-r9800] Purpose:
Add 2005 to list of copyright dates.
2005-01-10 17:33:46 -05:00
Frank Baker
5451662962 [svn-r9799] Purpose:
Add 2005 to the list of copyright dates.
2005-01-10 17:32:36 -05:00