Commit Graph

6763 Commits

Author SHA1 Message Date
James Laird
ed8685acd2 [svn-r9915] Purpose:
Bug fix

Description:
Configuration files' timestamps were incorrect.

Solution:
Update Makefiles.in.  Also added correct paths to autotools on heping,
so heping build should be able to re-generate configuration files even
if they are still broken.

Platforms tested:
sleipnir
2005-02-02 11:00:36 -05:00
Pedro Vicente Nunes
c6f4cab48c [svn-r9913] Purpose:
DS new function

Description:
added the H5DSiterate_scales function with 2 operator functions and its tests

Solution:

Platforms tested:
linux
solaris
aix
windows

Misc. update:
2005-02-01 17:10:16 -05:00
James Laird
e3dacb31be [svn-r9912] Purpose:
Bug fix

Description:
Dependencies between configure files (aclocal, configure.in, configure,
Makefiles.am and .in) are still causing Makefiles to try to run autotools
during build.

Solution:
Committed all Makefiles.in to update their timestamps.
As a temporary measure, forcibly prevented automake from running
autotools during build by redefining the variables it uses.

Platforms tested:
sleipnir (No changes to Makefile content)
2005-02-01 16:05:33 -05:00
Pedro Vicente Nunes
da0e046dce [svn-r9911] Purpose:
bug fix

Description:
added the test_ds to the makefile


Solution:

Platforms tested:
linux

Misc. update:
2005-02-01 15:44:39 -05:00
Raymond Lu
ae02f3f80a [svn-r9909] Purpose: Bug fix for test
Description:  To avoid randomly generating NaN for "long double" during
conversion test, decrease the exponent by 1 if all exponent bits are set
1s.


Platforms tested:  eirene(production) and fuss.
2005-02-01 13:48:27 -05:00
James Laird
7268977fb1 [svn-r9908] Purpose:
Bug fix

Description:
Dependencies for aclocal.m4 seemed to be confused.  This was causing
make to try to re-generate a bunch of configuration files.

Solution:
Updated and re-ran reconfigure.sh script.

Platforms tested:
sleipnir, copper, sol
2005-02-01 12:55:29 -05:00
James Laird
30bfb1e0ea [svn-r9907] Purpose:
Bug fix

Description:
Different compilers use different flags to include Fortran module files

Solution:
Changed boilerplate to use configure variable rather than hardcoded -M flag.

Platforms tested:
sleipnir, sol, copper
2005-02-01 10:27:37 -05:00
James Laird
f1278ad78f [svn-r9906] Purpose:
Bug fix

Description:
Two files in the bin directory didn't make it into CVS.

Solution:
Added depcomp and compile to CVS repository.

Platforms tested:
Already testsed with these files.
2005-02-01 08:15:51 -05:00
Albert Cheng
1db4cc2596 [svn-r9905] Purpose:
fix bugs.

Description:
The three variables, g_nTasks, outBuff, and outBuffOffset, were
declared in ph5diff.h.  That means they are declared in various
*.c files that include it, thus having the appearance of multiple
defined.  Most C compilers are forgiving of this error but
the g++ rejects this practice.

Solution:
Make it only an extern declaration in ph5diff.h but really
defined them in h5diff_util.c

Platforms tested:
sleipnir using g++ since this only failed in Daily test.
Also testes in heping, serial and parallel modes.
2005-01-31 23:13:42 -05:00
James Laird
7e28ae7b47 [svn-r9904] Purpose:
Configuration update

Description:
HDF5 now uses automake

Solution:
Ditto to previous checkin
2005-01-31 22:20:11 -05:00
James Laird
1157fb4eb3 [svn-r9903] Purpose:
Configuration update

Description:
HDF5 now uses automake

Solution:
Ditto to previous checkin.
2005-01-31 22:19:33 -05:00
James Laird
26303241fe [svn-r9902] Purpose:
Configuration feature

Description:
HDF5 now uses automake to generate Makefiles

Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh

Platforms tested:
Many
2005-01-31 22:17:02 -05:00
Quincey Koziol
9f17319144 [svn-r9899] Purpose:
Code cleanup

Description:
    Clean up some leftover testfiles...

Platforms tested:
    Too minor to require h5committest...
2005-01-31 20:50:00 -05:00
Raymond Lu
593d0c490a [svn-r9898] Purpose: Bug fix for test program
Description:
For Intel machines, the size of "long double" is 12 byte, precision
is 80 bits, mantissa size is 64 bits, and no normalization.  So the
most significant bit of mantissa is always 1 unless the floating number
has special value.  This step tries to compensate this case by turning
on the most significant bit of mantissa if the mantissa bits aren't
all 0s.


Solution:
Tries to compensate this case by turning on the most significant bit of
mantissa if the mantissa bits aren't all 0s.

Platforms tested: eirene and fuss(production enabled).  Small change for
production only.
2005-01-31 17:08:09 -05:00
Xiaowen Wu
3926845f87 [svn-r9895] Purpose:
Add test cases of nbit filter, tests are now turned on

Description:
Six test cases are added for testing the nbit filter with different
datatypes including int, float, double, array datatype, a simple
compound datatype and a complex compound datatype. Improvements are
made to testing of int and floating point.

Solution:

Platforms tested:
AIX 5.1 and Linux 2.4.

Misc. update:
2005-01-31 10:14:01 -05:00
Xiaowen Wu
5e057c32bd [svn-r9894] Purpose:
Tests modification and improvements of nbit filter.

Description:
Add dynamic allocation of array storing nbit parameters and check if
the number of parameters exceeds what cd_values[] can store; change
function prototypes to improve poratability; minor modification to
improve efficiency of the nbit algorithm.

Platforms tested:
AIX 5.1 and Linux 2.4.

Misc. update:
2005-01-31 10:03:48 -05:00
Albert Cheng
9a0ecd6f74 [svn-r9893] Purpose:
Temporary daily tests fix.

Description:
The newly added ph5diff is not quite compatible with the h5repack tool.
Disabled the ph5diff build (reverted back to building serial h5diff)
to allow daily tests to work while ph5diff is fixed.

Platforms tested:
Tested in heping both serial and parallel modes.

Misc. update:
2005-01-31 00:04:19 -05:00
Binh-Minh Ribler
31a5ef7b22 [svn-r9890] Purpose: Clean up tests
Description:
    + C tests' macro VERIFY casts values to 'long' for all cases.  Since
      there are no operator<< for 'long long' or int64 in VS C++ ostream,
      I casted the hsize_t/hssize_t values passed to verify_val to 'long'
      as well.  If problems arise later, this may have to be specificly
      handled with an overload - th5s.cpp
    + Added the use of InvalidActionException for when an action
      should cause an exception but didn't - th5s.cpp and tfile.cpp
    + Small changes to improve failure reports

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2005-01-30 23:03:36 -05:00
Binh-Minh Ribler
d388057d0d [svn-r9888] Purpose: Fixed bug
Description:
    H5PredType copy constructor was made "protected" accidentally.

Solution:
    Moved it back into "public" section.

Platforms tested:
    Linux 2.4 (eirene)
    Very minor and already tested on two platforms in 1.6 branch.
2005-01-29 23:11:28 -05:00
Raymond Lu
c078598b6e [svn-r9886] Purpose: New test
Description:  Added a test of data type conversion between user-defined integer
types.


Platforms tested: h5committest and fuss
2005-01-29 16:08:01 -05:00
Pedro Vicente Nunes
bfec21e5fd [svn-r9885] Purpose:
bug fix

Description:
calling h5diff from the h5repack test script running mpicc , the path of one of the files was not found

Solution:
inserted the full path in the script

Platforms tested:
linux (with mpicc and gcc)

Misc. update:
2005-01-29 15:22:54 -05:00
Pedro Vicente Nunes
8adc1e143c [svn-r9884] Purpose:
bug fix
I forgot to add one file to cvs


Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-01-29 01:13:35 -05:00
Pedro Vicente Nunes
f9ad232b42 [svn-r9883] Purpose:
added a first batch of dimension scales
fix some small bubgs in lite (a close function was not being called )

Description:

this batch contains the basic API functions described in the RFC and a minimal test file


Solution:

Platforms tested:
linux
solaris 64
AIX
windows


Misc. update:
2005-01-29 00:41:35 -05:00
Pedro Vicente Nunes
82e29e9369 [svn-r9882] Purpose:
bug fix
I forgot to change the name to "H5TB.h" in this file


Description:

Solution:

Platforms tested:
none

Misc. update:
2005-01-29 00:38:27 -05:00
Pedro Vicente Nunes
1df1c1ba6d [svn-r9881] Purpose:
changed the name of the hl table files back to H5TB.c and H5TB.h

this can be done now because the H5TB.c (threaded binary trees) file was removed from the hdf5 library


Description:

Solution:

Platforms tested:
linux


Misc. update:
2005-01-28 13:55:20 -05:00
Pedro Vicente Nunes
792e19e6b8 [svn-r9880] Purpose: bug fix
Description:
the print_paralell h5diff function had a call to  vsnprintf.
this causes a linking error on Windows

Solution:
replaced with  HDvsnprintf

Platforms tested:
windows (vs6)
linux

Misc. update:
2005-01-28 13:38:54 -05:00
Quincey Koziol
aea13bdb44 [svn-r9878] Purpose:
New tests

Description:
    Add some tests for H5Fis_hdf5() routine.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2005-01-28 12:32:44 -05:00
Leon Arber
839f1092da [svn-r9877] Purpose:
Bug fix: Temporary fix for h5repack failures in all parallel builds.

Description:
The parallel additions to h5diff interfered with h5repack.

Solution:
Added a second set of "parallel" functions to h5diff.c.  h5repack uses the serial versions, whereas h5diff will use the parallel versions.

Also, h5diff will now be smart about when to enter parallel mode.  If is run with mpirun with more than 1 task, it will enter parallel mode.  Otherwise, it will stay in serial mode as before.

Platforms tested:
heping (serial and parallel)

Misc. update:
2005-01-27 18:21:05 -05:00
Leon Arber
046fe35568 [svn-r9876] Purpose:
Added ability to select which io performance types to graph

Description:
Originally, POSIX, MPIO, and PHDF5 were all graphed.  Now, any subset of these can be graphed individually via the io_type command-line param.

Platforms tested:
heping

Misc. update:
2005-01-27 16:59:34 -05:00
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