Commit Graph

6684 Commits

Author SHA1 Message Date
Xuan Bai
0edafcc36e [svn-r9793] Purpose:
Bug fix.

Description:
Remove 2 redundant files from all.zip.

Solution:
Remove explorer.lnk and desktop.ini from all.zip.
(I do not know why these 2 files were included in all.zip, but these 2 files are not related to HDF5 and should be removed.)

Platforms tested:
Windows 2000/XP.

Misc. update:
2005-01-10 16:36:25 -05:00
Xuan Bai
873b02160c [svn-r9791] Purpose:
Update.

Description:
Update HDF5 windows projects as some source codes had been removed.

Solution:
1. Remove H5TB.c and H5TBprivate.h from hdf5 and hdf5dll projects.
2. Remove ttbbt.c from testhdf5 and testhdf5dll projects.
3. Add libtest and libtestD to dsets_cpp and dsets_cppdll projects.

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

Misc. update:
2005-01-10 15:58:18 -05:00
John Mainzer
7092659dfa [svn-r9790] Purpose:
Reduce run time of daily tests.


Description:

cache, the test program for the metadata cache has been taking a while
to execute.


Solution:

As a short term "fix", I have commented out all but one of the long
running test functions.  Of course that means that we aren't running
these tests at present.  I'm not sure that this is a good idea.


Platforms tested:

Serial on Heping.


Misc. update:
2005-01-10 12:41:36 -05:00
Binh-Minh Ribler
e5797d173b [svn-r9789] Purpose: Tests cleanup
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.

Platforms tested:
    Linux 2.4 (eirene)
    Windows 2000
2005-01-09 23:40:51 -05:00
Binh-Minh Ribler
35ae0442fa [svn-r9788] Purpose: Fix bugzilla #293
Description:
    Added libtest and libtestD to projects dsets_cpp and dsets_cppdll
    to get rid of the "Unresolved symbol: GetTestVerbosity..." errors.

Platforms tested:
    Windows 2000
2005-01-09 16:09:37 -05:00
Albert Cheng
c3e6571ea5 [svn-r9786] Purpose:
bug fix and document.

Description:
Unix and probably other systems too, has a small exit value range
such as 1 byte.  So, exit(256) may end up the same as exit(1).
Added caution message to the exit wrappers and changed test programs
to exit(1) when errors detected.

Platforms tested:
tested in copper.  verified here that exit(256) was treated just like
exit(0).
2005-01-09 01:19:16 -05:00
Albert Cheng
d7f580b7cc [svn-r9784] Purpose:
slight improvement

Description:
Added a time stamp when a host is not reachable.
Added a pause to let timekeeper to complete.

Platforms tested:
It should work.
2005-01-08 16:25:18 -05:00
Raymond Lu
7faa297ea6 [svn-r9783] Purpose: Bug fix
Description: For HP-UX 11.00, the compiler generates 'floating exception'
when converting 'long double' to most of integer types.

Solution: Define a macro for all other systems except HP-UX 11.00.  Hard set
this macro to 'no' in config/hpux11.00 to skip this test for HP-UX 11.00.

Platforms tested:  modi4, kelgia, fuss
2005-01-08 15:56:12 -05:00
Xiaowen Wu
19efec650d [svn-r9782] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-01-08 13:23:57 -05:00
Quincey Koziol
0977cfecd9 [svn-r9780] Purpose:
Bug fix

Description:
    Print the thread ID in a little more portable of a fashion, disallowing
negative thread IDs.

Platforms tested:
    Linux 2.4 (heping) w/threadsafe
    Too Minor to require h5committest
2005-01-08 10:26:31 -05:00
Quincey Koziol
3e582deaae [svn-r9778] Purpose:
Remove feature

Description:
    Retire threaded, balanced binary tree code from HDF5 use.  Requiescat in
    pace...

    Also, regenerate dependencies files.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require full h5committesting  (the code is already
    disconnected from everything except its tests)
2005-01-07 21:06:46 -05:00
Raymond Lu
9dbf9e9e76 [svn-r9777] Purpose: Bug fix
Description:  Windows .NET 2003 can't handle float(double)->long_long hardware conversion.
While the problem hasn't been determined, we temporarily disable that test by using a
condition macro.  Let Windows define that macro.  Other systems don't have it defined.


Platforms tested:  mir and eirene.
2005-01-07 15:30:23 -05:00
Raymond Lu
9aa2ed3a52 [svn-r9774] Purpose: Bug fix
Description:  integer->long double conversion test failed on some of Linux
systems(mir and eirene) when Intel compiler is used.  I'm not able to repeat
the problem.  So I just made a best guess and fix it.  The problem is minor.
The long double on Linux is 12 bytes long but precision is 10 bytes.  The
unused 2 bytes may have garbage in them causing value comparison wrong.


Platforms tested: mir and eirene with Intel compiler.
2005-01-07 13:40:33 -05:00
Xuan Bai
126657afc7 [svn-r9773] Purpose:
Bug fix.

Description:
Previously, in repacktest.bat, the following script is used to dynamic detection of SZIP encoder:

  testfiles\testh5repack_detect_szip%2\release\testh5repack_detect_szip%2.exe

However, the script does not work if only the debug version of testh5repack_detect_szip.exe is built, for example, in CodeWarrior.

Solution:
Modify above scripts as:

   testfiles\testh5repack_detect_szip%2\%1\testh5repack_detect_szip%2.exe

where %1 is the first input parameter for repacktest, which could be either debug or release

Platforms tested:
Windows XP. (Minor Change)

Misc. update:
2005-01-07 10:44:23 -05:00
MuQun Yang
513a323a24 [svn-r9772] Purpose:
A new file called H5Znbit.c is added in, should be reflected from MANIFEST.

Description:

Solution:

Platforms tested:

Misc. update:
2005-01-07 08:17:07 -05:00
Raymond Lu
78293f94d7 [svn-r9767] Purpose: Bug fix
Description:  2 small things to correct:
1.  the change in H5config.h.in was wept out by a later change.
2.  long long isn't supported on Windows.  It's long_long instead.


Platforms tested:  fuss(linux 2.4)
2005-01-06 18:06:34 -05:00
Quincey Koziol
60316f893a [svn-r9766] Purpose:
Code cleanup

Description:
    Transition FPHDF5 to use skip lists for various internal data structures,
instead of threaded, balanced binary trees.

    Also, simplify some of FPHDF5 code some, etc.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    Too minor to require h5committest
2005-01-06 17:36:42 -05:00
Quincey Koziol
e9109df3f2 [svn-r9764] Purpose:
New feature

Description:
    Add some additional features to the skip list code that was needed to
fully support all the features that the threaded, balanced binary tree code
has.

    Also, updated the property list code to take advantage of a few of the
new features.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2005-01-06 17:30:10 -05:00
Quincey Koziol
4357fccbd3 [svn-r9762] Purpose:
Code cleanup

Description:
    Change pablo mask to conform to the style used by the rest of the library

Platforms tested:
    None needed - very, very minor
2005-01-06 16:21:52 -05:00
Albert Cheng
9dba568fc3 [svn-r9761] Purpose:
Bug fix.

Description:
threadsafe test (ttsafe) would seg-fault if --disable-production --enable-debug
mode is used.  Reason was that the fstack.nused field was not initialized
when created.

Solution:
Init new fstack.nused with 0.

Platforms tested:
Tested in mir, using development/debug mode.
Did not "h5committested" as change is trivial and limited to threadsafe mode.
2005-01-06 16:16:16 -05:00
MuQun Yang
46bfff070f [svn-r9759] Purpose:
To add n-bit implementation inside HDF5.

Description:
This check-in for implementation is for debugging purpose.
N-bit filter should be used for the time being.

Solution:

Platforms tested:
sol 2.7, Linux 2.4, Aix 5.1

Misc. update:
2005-01-06 14:08:14 -05:00
MuQun Yang
ad633eafcc [svn-r9758] Purpose:
Adding framework of N-bit filter

Description:
N-bit filter is required for NetCDF project.
To add N-bit filter, configure.in configure, Makefile.in under src and other
filter-related source code needs to be updated.
Currently, N-bit tests are turned off from the library. So the change will affect daily test.

Solution:

Platforms tested:
sol 2.7, linux 2.4, aix 5.1

Misc. update:
2005-01-06 14:04:15 -05:00
Xiaowen Wu
48822308a7 [svn-r9757] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-01-06 13:48:49 -05:00
Xiaowen Wu
a43bce5d04 [svn-r9756]
Purpose:
For debugging N-bit filter; it will not affect the library.

Description:
Adding N-bit tests, the library will not run those tests.

Solution:

Platforms tested:

heping(Linux 2.4), copper(AIX 5.1),arabica(sol 2.7)
Misc. update:
2005-01-06 13:27:26 -05:00
Raymond Lu
82f6a72ec9 [svn-r9755] Purpose: New feature
Description:  Start to support software conversion between long double and
all integers.

Solution:  No major changes to the algorithm.  Changes to configure is to
exclude SGI for long double to integers test because there're too many problems
in their compiler.

Platforms tested:  h5committest, modi4, fuss, Teragrid, arabica

Misc. update:  RELEASE.txt
2005-01-06 13:17:59 -05:00
Quincey Koziol
03edfaa6e9 [svn-r9753] Purpose:
Small bug fix

Description:
    Patch szip_can_encode() test routine to return a value for all code paths.

Platforms tested:
    None - very, very minor
2005-01-06 12:20:14 -05:00
Xuan Bai
2198c67ab7 [svn-r9748] Purpose:
Update.

Description:
Update HDF5 windows project settings and testing batch files to catch up recent updates on Unix.

Solution:
1. Add toolslib to the dependency of h5dumptst project. (as h5tools_can_encode() is used).
2. Add link to szlibdll.lib for dsetsdll project. (as SZ_encoder_enabled() is used).
3. Update dumptest.bat.

Platforms tested:
Visual C++ 6.0 on Windows XP/2000.
.NET on Windows XP.
(Tested with SZIP-with-encoder and SZIP-without-encoder).

Misc. update:
2005-01-05 11:47:50 -05:00
Xuan Bai
d248aa2ac6 [svn-r9747] Purpose:
Bug fix.

Description:
When building h5dumpgentest.c with Visual C++ 6.0, I got the following warning message:
h5dumpgentest.c(4528) : warning C4013: 'h5tools_can_encode' undefined; assuming extern returning int

Solution:
Add the header file h5tools.h into h5dumpgentest.c.

Platforms tested:
Heping (Linux)
Visual C++ 6.0 on Windows XP/2000.
.NET on Windows XP.
(Tested with SZIP-with-encoder and SZIP-without-encoder).

Misc. update:
2005-01-05 11:39:48 -05:00
Xuan Bai
4707b280f8 [svn-r9746] Purpose:
Bug fix.

Description:
creat(name, (mode_t)0777) is used to create a new file.  However, creat() is not available in Visual Studio.

Solution:
Use a Win32 macro so _creat() will be used on Windows and creat() will be used on Unix.

	#ifdef WIN32
	fd = _creat(name, _S_IREAD | _S_IWRITE);
	#else /* WIN32 */
	fd = creat(name,(mode_t)0777);
	#endif /* WIN32 */

(Note: At first, I tried to define HDcreat() as _creat() for WIN32 and creat() for other platforms in H5private.h.  But _creat() and creat() use different parameters for file permission settings.  So, I added the WIN32 macro in h5jamgentest.c.)

Platforms tested:
Heping (Linux)
Visual C++ 6.0 on Windows XP/2000.
.NET on Windows XP.
(Tested with SZIP-with-encoder and SZIP-without-encoder).

Misc. update:
2005-01-05 11:34:04 -05:00
Xuan Bai
63f32322e8 [svn-r9745] Purpose:
Bug fix.

Description:
When building H5Z.c with Visual C++ 6.0, I got the following warning message:
H5Z.c(1241) : warning C4013: 'SZ_encoder_enabled' undefined; assuming extern returning int

Solution:
The header file szlib.h should be included in H5Z.c in order to use SZ_encoder_enabled() function.
Add the following script into H5Z.c:

#ifdef H5_HAVE_SZLIB_H
#   include "szlib.h"
#endif

Platforms tested:
Heping (Linux)
Visual C++ 6.0 on Windows XP/2000.
.NET on Windows XP.
(Tested with SZIP-with-encoder and SZIP-without-encoder).


Misc. update:
2005-01-05 11:22:28 -05:00
Elena Pourmal
fdde90dcb7 [svn-r9743] Purpose: Bug fix (by Binh-Minh)
Description: C++ build failed on kelgia. Binh-Minh fixed
             it for 1.6 branch, I am bringing changes back to
             1.7

Solution:

Platforms tested: kelgia

Misc. update:
2005-01-04 16:44:00 -05:00
Binh-Minh Ribler
b36c5db865 [svn-r9737] Purpose: Clean up tests
Description:
    Corrected a misuse of a variable causing access violation.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2005-01-03 11:04:23 -05:00
Quincey Koziol
7fae6be03c [svn-r9734] Purpose:
Code cleanup

Description:
    Convert chunk iteration code to use skip lists instead of threaded, balanced
binary trees.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & szip
    Too minor to require h5committest
2004-12-30 11:26:45 -05:00
Quincey Koziol
a56a1205d2 [svn-r9732] Purpose:
Bug fix

Description:
    szip tests were failing due to a few "H5_SZIP_CAN_ENCODE" ifdefs still
lying around in the source code.

Solution:
    Eliminate compile time testing by using new SZ_encoder_enabled() routine
at run time.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/szip
2004-12-30 09:52:51 -05:00
Quincey Koziol
11631664fd [svn-r9730] Purpose:
Code cleanup (sorta)

Description:
    Transition the generic property list code from using the threaded, balanced
binary tree code (H5TB<foo>() routines) to use skip lists (H5SL<foo>() routines)
for internal management of properties, etc.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-12-30 09:27:29 -05:00
Quincey Koziol
427ff7da28 [svn-r9727] Purpose:
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)

Description:
    Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation.  So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.

    I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    FreeBSD 4.10 (sleipnir) w/threadsafe
    FreeBSD 4.10 (sleipnir) w/backward compatibility
    Solaris 2.7 (arabica) w/"purify options"
    Solaris 2.8 (sol) w/FORTRAN & C++
    AIX 5.x (copper) w/parallel & FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN
    Linux 2.4 (heping) w/FORTRAN & C++


Misc. update:
2004-12-29 09:26:20 -05:00
Quincey Koziol
9b96fd2003 [svn-r9723] Purpose:
Add new file

Description:
    Add new PC-Lint/Flexelint configuration files
2004-12-29 09:09:37 -05:00
Elena Pourmal
ccf1afca9a [svn-r9722] Purpose: Small bug fix (#203 in Bugzilla)
Description: INSTALL file in 1.7 branch had old information about
             the minimum set of header files that should be installed

Solution: Fixed

Platforms tested: N/A

Misc. update:
2004-12-28 11:53:14 -05:00
Albert Cheng
ac59d1115e [svn-r9720] Purpose:
Updated to call timekeeper with minutes.
Also put all timekeeper output to a separated logfile.

Platforms tested:
Did not test since it is hard to test without starting the whole daily test.
The change is trivial too.
2004-12-25 12:18:24 -05:00
Albert Cheng
5972ef28fd [svn-r9718] Purpose:
Change time-limit to be in the unit of minutes which is easier
to use than unit of seconds.

Platforms tested:
Tested in eirene.
2004-12-25 12:09:03 -05:00
Albert Cheng
a1fa6e2aff [svn-r9716] Purpose:
Feature

Description:
Added the deploydir feature.

Platforms tested:
Hand tested.
2004-12-24 00:55:16 -05:00
Albert Cheng
9d241be57f [svn-r9714] Purpose:
bug fix

Description:
Setup the time limit with the wrong unit concept.  300 is only
300 seconds, not 300 minutes.  Set them to the correct values.
2004-12-23 18:42:57 -05:00
Albert Cheng
f381ef7b59 [svn-r9711] Purpose:
Feature

Description:
Added the timekeeper feature.

Platforms tested:
tested by hand.
2004-12-23 15:52:13 -05:00
Albert Cheng
5741076e8e [svn-r9707] Updated with new added timekeeper. 2004-12-23 14:00:08 -05:00
Albert Cheng
ca0ba1098a [svn-r9704] Purpose:
Feature

Description:
# As a time keeper of the remote daily test process launched by runtest.
# It sleeps for a certain time and then wakes up to hangup those processes
# that are still around, assuming they have run too long.

Platforms tested:
hand tested in heping.
2004-12-23 12:59:39 -05:00
Binh-Minh Ribler
09c2b51e71 [svn-r9703] Purpose: Update CXXFLAGS
Description:
    Changed -instances=global to -instances=static to avoid multiple
    copies of template function verify_val.

Platforms tested:
    SunOS 5.7 (arabica)
2004-12-22 23:43:33 -05:00
MuQun Yang
d9effd9873 [svn-r9702] Purpose:
clean up HDF5 fortran project.

Description:
Remove c/c++ headers from pure fortran project since this will cause
compliants from intel 8.1 compiler.

Solution:

Platforms tested:
.Net 2003, VS 6.0

Misc. update:
2004-12-22 18:13:02 -05:00
John Mainzer
2c58126fdd [svn-r9700] Purpose:
Fix a bug in the cache caused by a slightly over active sanity check.


Description:

When the #define H5C_DO_SANITY_CHECKS is TRUE, the macro
H5C__DLL_PRE_INSERT_SC is executed prior to inserting an
entry in the LRU list.  The macro performs a variety of
sanity checks, and flags an error if any of the checks
fail.

Prior to this update, the macro used to check to see if
the target list had length 1 and size <= 0.  The new
epoch marker entries used in the age out cache size
reduction algorithm have size zero -- making it possible
for this sanity check to fail incorrectly.

Note that cache sanity checks are disabled in the CVS
version of the code, so this bug and bug fix should be
invisible unless you are working with the cache, and
turn the sanity checks on.


Solution:

Removed the offending clause in H5C__DLL_PRE_INSERT_SC.  Since
the size used in the macro is typically a size_t and thus
cannot have negative value, there was no point in changing
it to "size < 0".


Platforms tested:

Ran a serial test on heping.

Under the circumstances, I didn't feel the need for further
testing.


Misc. update:
2004-12-22 17:58:00 -05:00
Albert Cheng
c2188b9781 [svn-r9699] Purpose:
Bug fix.

Description:
-e is not a valid condition for /bin/sh in all machines such as SunOS.

Solution:
Rewrote the condition to avoid the need of using "test -e ...".

Platforms tested:
In Sol only.
2004-12-22 00:15:44 -05:00
Binh-Minh Ribler
d091bda690 [svn-r9698] Purpose: Correct typo
Description:
    Accidentally edited this file and removed a couple characters from a
    defined name, thus caused undefined error in daily test.  Fixed!

Platforms tested:
    SunOS 5.7 (arabica)
2004-12-21 09:28:59 -05:00