Commit Graph

6637 Commits

Author SHA1 Message Date
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
MuQun Yang
fc01012cd5 [svn-r9658] Purpose:
Check in testing code for irregular hyperslab selection with multiple chunks.

Description:
For debugging only, will not be tested by h5committest.

Solution:

Platforms tested:
Linux 2.4 (mpich 1.2.6)

Misc. update:
2004-12-13 12:00:57 -05:00
MuQun Yang
b06deb5322 [svn-r9657] Purpose:
small bug fix

Description:
When checking whether the current chunk covers the irregular hyperslab,
the ending point of the chunk is not updated.
This will cause the wrong checking output and fail for some irregular hyperslab
selection.

Solution:
Updating the ending point of the chunk.

Platforms tested:
Linux 2.4 + parallel (too small to use h5committest)

Misc. update:
2004-12-13 11:59:10 -05:00
HDF Admin
d15fc28874 [svn-r9655] Snapshot version 1.7 release 44 2004-12-12 03:43:51 -05:00
Raymond Lu
f558ddfb18 [svn-r9654] Purpose:
Description:  In file H5FDsec2.c and H5FDlog.c, there's statements like
     H5_ASSIGN_OVERFLOW(file->eof,sb.st_size,off_t,haddr_t);
It assumes sb.st_size from h5_stat_t is of type off_t.  But on Windows, it
has type __int64.  So the H5_ASSIGN_OVERFLOW statement may cause problem.
Instead of trying to do switch between Windows and other systems in H5FDsec2.c
and H5FDlog.c, define a substituting type in H5private.h to fix the problem.
On Windows, this type is __int64; on other systems, it is off_t.


Platforms tested:  fuss.  Simple fix.  Already did h5committest for v1.6.
2004-12-10 17:08:12 -05:00
Pedro Vicente Nunes
b1df0a57aa [svn-r9650] Purpose:
added support for the hl library int the c++ examples

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-12-10 16:20:00 -05:00
MuQun Yang
e7e76b6876 [svn-r9649] Purpose:
Adding routines to test irrgular hyperslab selection inside one chunk.

Description:
For debugging purpose, tests are turned off now.

Solution:

Platforms tested:

AIX 5.1 and Linux 2.4 with parallel enabled.
Misc. update:
2004-12-08 18:33:40 -05:00
MuQun Yang
14f88c168f [svn-r9648] Purpose:
bug fix

Description:
The irregular hyperslab span_tree implementation inside
H5S_hyper_add_span_element_helper updating the high bound of the span, but forget updating the number of element of the span.
New routine obtain_derived_datatype catches the bug.

Solution:
Updating the number of element of the span as well.


Platforms tested:
Linux 2.4 and AIX 5.1, both with parallel enabled.


Misc. update:
2004-12-08 18:30:40 -05:00
Xuan Bai
2ea000bacf [svn-r9646] Purpose:
Update.

Description:
Update Windows projects settins as Quincey added several new source code files into HDF5.

Solution:
1. Add H5SL.c and H5SLprivate.h under hdf5\src directory into hdf5 and hdf5dll Windows projects.
2. Add tskiplist.c under hdf5\test directory into testhdf5 and testhdf5dll Windows projects.

Platforms tested:
Microsoft Visual Studio 6.0 in Windows XP/2000.

Misc. update:
2004-12-08 18:10:06 -05:00
Pedro Vicente Nunes
2fb49109c4 [svn-r9645] Purpose:
bug fix

Description:
the makefile was not using the $(srcdir) on some library path

Solution:

Platforms tested:

Misc. update:
2004-12-08 15:50:25 -05:00
Pedro Vicente Nunes
dd7c794469 [svn-r9644] Purpose:
add hl fortran

Description:

Solution:

Platforms tested:
linux (absfot and pgf90)
solaris (32 and 64 bit)
AIX

note : HP gives a compiling error , to be fixed in the future

Misc. update:
2004-12-08 15:31:25 -05:00
Albert Cheng
38eedcb94c [svn-r9642] Purpose:
Updated known problems with the AIX poe verbose messages and socket in
use error.
2004-12-08 09:01:09 -05:00
Albert Cheng
055784e0ed [svn-r9640] Purpose:
Bug fix.

Description:
Got the list of configure files wrong.  Fixed it.

Platforms tested:
Tested in eirene by hand.
2004-12-07 17:59:42 -05:00
Albert Cheng
49cb864ba3 [svn-r9639] Updated with the newly added file. 2004-12-07 16:31:08 -05:00
Albert Cheng
0cc7fe6c64 [svn-r9635] Purpose:
New feature

Description:
Check if files generated by autoconfigure tools are done by the
corret version of software.

Platforms tested:
Heping by hand.
2004-12-07 16:28:15 -05:00
Pedro Vicente Nunes
f64162eb91 [svn-r9634] Purpose:
bug fix

Description:
added a condition that checks if the hl library is enabled to add it to the list of linking libraries

Solution:

Platforms tested:
linux

Misc. update:
2004-12-07 14:35:51 -05:00
Albert Cheng
bdc10cce53 [svn-r9631] Purpose:
Improvement

Description:
Added strip option to PROD_CFLAGS to remove symbols for smaller
production file size.

Solution:

Platforms tested:

Misc. update:
2004-12-07 13:25:43 -05:00
Albert Cheng
2735166820 [svn-r9629] Purpose:
Bug fix.

Description:
Last commit would impose $arch even if user has provided his own
$CFLAGS.  Fixed it.
Removed the wording of gnu-flags inherited from the copy.

Platforms tested:
Tested in tg-ncsa.

Misc. update:
2004-12-07 12:12:18 -05:00
Pedro Vicente Nunes
9f45ccfae3 [svn-r9628] Purpose:
modified h5cc to link with the high level library (libhdf5_hl)

Description:
added libhdf5_hl.a to the list of libarries to link with

Solution:

Platforms tested:
linux

Misc. update:
2004-12-07 10:40:44 -05:00
Quincey Koziol
4954609870 [svn-r9625] Purpose:
Code cleanup

Description:
    Clean/fix up compiler flags to be more consistent after recent changes.

Platforms tested:
    None - eyeballed - very minor
2004-12-07 09:55:40 -05:00
Albert Cheng
f640fbff8c [svn-r9624] Purpose:
Bug fix.

Description:
Cache the gettimeofday_tz as yes.
Patches for conversion problems of Long Long, float, bottom bits, etc.

Platforms tested:
Tested in tflops only.

Misc. update:
2004-12-07 09:06:06 -05:00
Albert Cheng
33cb85337a [svn-r9623] Purpose:
Bug fix.

Description:
Restored correct setting of compilers (-Wall etc for debug flags
only, c99 by default,...) that were wiped out by the commits before.

Platforms tested:
Tested in TG-NCSA, both production and development mode.
(Still need to figure out the proper flag to use for Profile.)
2004-12-06 18:20:49 -05:00
Albert Cheng
1379cedf50 [svn-r9621] Purpose:
updated with Intel v8 changes.
2004-12-06 17:23:33 -05:00
Albert Cheng
c6ea65a67e [svn-r9619] Purpose:
Bug fix.

Description:
v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2.

Platforms tested:
Only tested in TG-NCSA, use both default and --disable-production options.
2004-12-06 17:18:11 -05:00
HDF Admin
4f8b4ba111 [svn-r9617] Snapshot version 1.7 release 43 2004-12-05 03:53:14 -05:00
Quincey Koziol
aa87029f12 [svn-r9615] Purpose:
New feature

Description:
    Add callback iteration routine to skip lists.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-12-03 22:36:08 -05:00
Pedro Vicente Nunes
3da8287af6 [svn-r9614] Purpose:
new feature

Description:
when requesting a filter for all datasets and the filter cannot be applied for one dataset
use the original dcpl withou filter and print a warning
this check was done previously with buit in functions for szip that are now in the library

Solution:

Platforms tested:
linux
solaris
aix

Misc. update:
2004-12-03 16:08:57 -05:00