Commit Graph

6763 Commits

Author SHA1 Message Date
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
Binh-Minh Ribler
625e6ad9aa [svn-r9696] Purpose: Clean up tests
Description:
    Replaced cout's with cerr's.
    Replaced macro VERIFY with template function verify_val to
        verify read data/info.
    Cleanup various places in the tests to make them more consistent.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-12-20 15:01:46 -05:00
Albert Cheng
e793077523 [svn-r9692] Purpose:
feature.

Description:
Added the configure feature of deploy.

Platforms tested:
Hand tested in heping.
2004-12-18 17:47:29 -05:00
Albert Cheng
bf9c37e071 [svn-r9691] Description:
mpich 1.2.6 does not like the tweaking of using -O2 flag.
Comment out the Tweaking since it caused problems to mpich1.2.6.
Need to investigate the reasons and effects to tweak.


Platforms tested:
Tested in heping using mpich 1.2.6 and in eirene uisng mpich 1.2.6.
2004-12-18 15:34:25 -05:00
Albert Cheng
988b2d8e45 [svn-r9689] Purpose:
Changed the wording of enable-hl option to better wording.

Platforms tested:
"h5committested"
2004-12-18 14:02:05 -05:00
John Mainzer
5c415042a3 [svn-r9687] Purpose:
Modify the cache code (H5C) to support automatic cache resizing to
adapt to the work load at run time.


Description:

   Different applications require different sized caches to maintain
an acceptable hit rate.  This set of changes attempts to provide the
ability to adjust to circumstances automatically.


Solution:

   Added highly configurable code to allow the user to either set a
fixed cache size, or allow the cache to grow and shrink according to
conditions.

   If enabled, cache size increases are triggered when the hit rate
drops below a user specified threshold in a user specified interval.

   Cache size reductions (if enabled) are triggered when either the
hit rate exceeds some user specified threshold over a user specified
interval, when the cache contains "enough" entries that haven't been
accessed for a user specified interval, or some mix of the above.

   See the header comments on the H5C_auto_size_ctl_t structure in
H5Cprivate.h for further details.

   At present, the cache resize configuration options are not
accessible via the user API.  Must add this.


Platforms tested:

   h5committested, heping (serial), and copper (parallel)


Misc. update:
2004-12-17 20:30:34 -05:00
John Mainzer
c8645048e2 [svn-r9686] Purpose:
Modify the cache code (H5C) to support automatic cache resizing to
adapt to the work load at run time.


Description:

   Different applications require different sized caches to maintain
an acceptable hit rate.  This set of changes attempts to provide the
ability to adjust to circumstances automatically.


Solution:

   Added highly configurable code to allow the user to either set a
fixed cache size, or allow the cache to grow and shrink according to
conditions.

   If enabled, cache size increases are triggered when the hit rate
drops below a user specified threshold in a user specified interval.

   Cache size reductions (if enabled) are triggered when either the
hit rate exceeds some user specified threshold over a user specified
interval, when the cache contains "enough" entries that haven't been
accessed for a user specified interval, or some mix of the above.

   See the header comments on the H5C_auto_size_ctl_t structure in
H5Cprivate.h for further details.

   At present, the cache resize configuration options are not
accessible via the user API.  Must add this.


Platforms tested:

   h5committested, hepingi (serial), and copper (parallel)


Misc. update:
2004-12-17 20:27:30 -05:00
Xuan Bai
589c2ea1bf [svn-r9685] Purpose:
Update.

Description:
Update HDF5 Windows installation documentation to include recently added HDF5 high level library and tests information.

Solution:

Platforms tested:
Not necessary.

Misc. update:
2004-12-17 11:13:45 -05:00
Quincey Koziol
5387f65eef [svn-r9684] Purpose:
Port

Description:
    Initial work for supporting GNU FORTRAN/F95 on FreeBSD.  I think I've
got things mostly set up correctly, but I'm getting an internal compiler
error on one of the FORTRAN sources, so I'm not going to add this configuration
to the daily tests yet.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/GNU FORTRAN
    Not tested in h5committest
2004-12-16 21:27:41 -05:00
Quincey Koziol
1205c57531 [svn-r9682] Purpose:
Bug fix

Description:
    Add @COMMENCE@ to makefile, so that all our predefined macros are included,
which makes 'make distclean' work

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-12-16 21:22:27 -05:00
Albert Cheng
ca7bcc616e [svn-r9678] Purpose:
Updated with added bin/deploy entry
2004-12-16 08:25:25 -05:00
Albert Cheng
42ce61f4d7 [svn-r9677] Purpose:
New feature to deploy the binary.

Platforms tested:
Hand tested in heping.
2004-12-15 23:52:06 -05:00
Albert Cheng
2661085bd1 [svn-r9676] Purpose:
New feature

Description:
Added the deploy optin.

Platforms tested:
Tested by hand in heping.
2004-12-15 23:44:11 -05:00
Albert Cheng
d00c88a8b7 [svn-r9675] Purpose:
Updated with the new entry of data transform report.
2004-12-15 18:40:20 -05:00
Albert Cheng
bf1f6a8e0e [svn-r9674] Purpose:
Updated with the new entry of Data Transform Report.
2004-12-15 18:38:07 -05:00
Albert Cheng
5d4de8159a [svn-r9673] Purpose:
Updated with Data transform entries.
2004-12-15 18:31:27 -05:00
Albert Cheng
5106d9643f [svn-r9672] Purpose:
New document committed.

Description:
Report of the Data Transform work.
2004-12-15 18:21:23 -05:00
Albert Cheng
83d2a92bea [svn-r9670] Corrected a typo. 2004-12-15 17:45:19 -05:00
Quincey Koziol
ac051f825f [svn-r9665] Purpose:
Fix whitespace

Description:
    Clean up whitespace a bit

Platforms tested:
    None, just eyeballed, very minor
2004-12-13 23:25:50 -05:00
Xuan Bai
61e10be667 [svn-r9663] Purpose:
New feature.

Description:
Add HDF high level into Windows.

Solution:
1. Add hdf5_hl and hdf5_hl_fortran projects under hdf5/project directory, which will be used to generate HDF5 high level C and Fortran libraries.
2. Add hl_test_lite, hl_test_image, and hl_test_table projects under hdf5/hl/test directory, which will be used for HDF5 high level C lite, image, and table tests.
3. Add hl_test_lite_fortran, hl_test_image_fortran, and hl_test_table_fortran projects under hdf5/hl/fortran/test directory, which will be used for HDF5 high level Fortran lite, image, and table tests.
4. Add HDF5 high level C lite, image, and table testing batch files test_hdf5_hl.bat under hdf5/hl/test directory.
5. Add HDF5 high level Fortran lite, image, and table testing batch files test_hdf5_hl.bat under hdf5/hl/fortran/test directory.
6. Update HDF5 library installation batch file installhdf5lib.bat to install HDF5 high level libraries and header files.
7. Add hdf5_hl, hl_test_lite, hl_test_image, and hl_test_table projects to the dependencies of "all" projects.  So HDF5 high level C library and tools will be built by default.
8. Update hdf5build.bat to build HDF5 high level Fortran libraries and tools when using enablefortran or enableall options.
9. Update hdf5check.bat to test HDF5 high level Fortran tools when using enablefortran or enableall options.

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

Tested with/without Fortran.

Misc. update:
2004-12-13 20:56:47 -05:00
Albert Cheng
2d2522f666 [svn-r9662] Purpose:
Bug fix.

Description:
MIPSpro Compiler 7.4.x starts to support C99 features
but stdint.h has a "guard" in it that will #error if
cc is invoked without asking for C99 standard.  But it
does not result with a non-zero compiler exit code, thus
configure thought it is okay to use header file stdint.h.
This causes problems later.

Solution:
Default to use the C99 compiler if available.

Platforms tested:
Tested in Sandia tesla machine which is a new SGI machine.
2004-12-13 17:29:45 -05:00
Pedro Vicente Nunes
f61ad85565 [svn-r9659] Purpose:
added support for the hl library in the fortran h5fc script

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-12-13 12:07:22 -05:00