Commit Graph

8226 Commits

Author SHA1 Message Date
MuQun Yang
9d7b250371 [svn-r11325] Purpose:
Update scaleoffset filter.

Description:
1. Using enum type to describe scale offset type(int, Dscale or Escale)
2. Changing some macro names
3. Fixing some minor bugs

Solution:

Platforms tested:
sol 2.8, linux 2.4, aix 5.1(32-bit and 64-bit)

Misc. update:
2005-08-31 17:08:21 -05:00
MuQun Yang
6265941e76 [svn-r11324] Purpose:
update dsets.c for scale-offset filter.

Description:
H5Psetscaleoffset has changed parameters.
Solution:


Platforms tested:
sol 2.7, Linux 2.4, AIX 6.4(32-bit and 64-bit)

Misc. update:
2005-08-31 17:04:55 -05:00
Albert Cheng
6d3715e537 [svn-r11323] Purpose:
tidy up.

Description:
MPE option created *.clog file whenever it is executed in MPI.
The cleanup of *.clog files were done in individual Makefile.in.
Often, it is forgotten.

Solution:
Moved the cleaning of *.clog files to CHECK_CLEANFILES in commence.am
so that it is applied whenever check-clean is called.

Platforms tested:
heping pp using MPE.
2005-08-31 15:03:52 -05:00
MuQun Yang
ab4127629f [svn-r11322]
Purpose:

Add the known problem for IRIX6.5 C version >7.4.
Description:
Somehow SGI's MPI implementation doesn't free MPI_TYPE_entries,
So for large application to use MPI derived datatype, environment
variable MPI_TYPE_MAX needs to be reset.
Solution:

Platforms tested:

Misc. update:
2005-08-31 11:05:40 -05:00
MuQun Yang
f1179bc82c [svn-r11321]
Purpose:
Add some comments and error checking codes for collective chunk IO code.
Description:

Solution:

Platforms tested:
AIX 5.1(copper), too minor to test at other platforms.

Misc. update:
2005-08-31 10:54:32 -05:00
Raymond Lu
ddaa96bc5a [svn-r11320] Purpose: Test
Description: made --disable-dconv-accuracy default to let daily test
check every systems.  Will change it back to --enable-dconv-accuracy
afterwards.


Platforms tested: h5committest
2005-08-31 10:39:55 -05:00
James Laird
66af6dce17 [svn-r11319] Purpose:
Bug fixes

Description:
This checkin fixes an occasional error on kelgia on sol during distclean.
It also causes test scripts to depend properly on the programs they're
supposed to be testing.

Solution:
The kelgia bug was due to some files being cleaned by automake and manually.
Removed the manual cleaning in src/Makefile.am.
Test script dependencies now need to be specified manually, since the
makefile can't guess what they test from their name.  Currently all test
scripts in a given directory have a single list of dependencies--this was
easy and seems to be sufficient.
These dependencies are listed in the SCRIPT_DEPEND variable in the Makefile.am.

Platforms tested:
heping, mir, modi4, sol

Misc. update:
2005-08-30 18:42:39 -05:00
Raymond Lu
70ddbda208 [svn-r11318] Purpose: Test
Description:  made --disable-dconv-exception default for configuration
to let daily test run on every system.  The default was
--enable-dconv-exception.


Platforms tested: h5committest and fuss.
2005-08-30 14:58:55 -05:00
Raymond Lu
581ba3d6f0 [svn-r11317] Purpose: Minor change to macro names
Description:  Changed the names of the interim macros for data conversion
checked in yesterday from the SOURCE_DESTINATION style (like FP_FP or
LDOUBLE_LLONG) to the H5T_CONV_INTERIM_SOURCE_DESTINATION style (like
H5T_CONV_INTERIM_FP_FP OR H5T_CONV_INTERIM_LDOUBLE_LLONG), to be more
descriptive.  These macros are defined in H5Tpkg.h and used in H5Tconv.c
and H5T.c for interim purpose.


Platforms tested: fuss - simple change.
2005-08-30 13:49:41 -05:00
MuQun Yang
1e7062e6b2 [svn-r11316]
Purpose:
bug fix for collective chunk IO
Description:
When using calloc to allocate an MPI datatype, one should use sizeof(MPI datatype) instead of sizeof(equalivent non-MPI datatype) to assign the value, this causes the problem at 64-bit platforms such IRIX65 and AIX 5.1.
Solution:
Correct it.

Platforms tested:
AIX 5.1 and IRIX6.5(at NCAR).

Misc. update:
2005-08-30 11:39:00 -05:00
Raymond Lu
336716e427 [svn-r11315] Purpose: Minor change on feature.
Description:  Changed the configuration options --enable-exception and
--enable-accuracy checked in yesterday to --enable-dconv-exception and
--enable-dconv-accuracy to be more descriptive.


Platforms tested: fuss - simple change.
2005-08-30 10:11:08 -05:00
Albert Cheng
ec65db7972 [svn-r11314] Purpose:
Bug #281

Description:
A dataset created in serial mode with H5D_ALLOC_TIME_INCR allocation setting
was not extendible, either explicitly by H5Dextend or implicitly by writing
to unallocated chunks.  This was because parallel mode expects the allocation
mode be H5D_ALLOC_TIME_INCR only.

Solution:
Modified library to allocate more space when needed or directed if the
file is opened by parallel mode, independent of what the dataset allocation
mode is.

Platforms tested:
Heping pp.
2005-08-29 23:47:57 -05:00
Albert Cheng
e9d0931e45 [svn-r11313] Purpose:
updated.
2005-08-29 23:46:46 -05:00
Albert Cheng
3182a8a040 [svn-r11312] Purpose:
Bug #281

Description:
A dataset created in serial mode with H5D_ALLOC_TIME_INCR allocation setting
was not extendible, either explicitly by H5Dextend or implicitly by writing
to unallocated chunks.  This was because parallel mode expects the allocation
mode be H5D_ALLOC_TIME_INCR only.

Solution:
Modified library to allocate more space when needed or directed if the
file is opened by parallel mode, independent of what the dataset allocation
mode is.

Platforms tested:
Heping pp.
2005-08-29 23:35:17 -05:00
Raymond Lu
bd4312d049 [svn-r11311] Purpose: New features.
Description:  Added 2 new configure options, --enable-exception and --enable-accuracy.

--enable-exception lets the library check whether user's exception handling
functions are present during compiler data conversions and use them if they are.
When it's disabled, this step is skipped to improve conversion speed.  This
step isn't implemented yet for soft conversions because there would be little
gain in speed.

--enable-accuracy guarantees data accuracy during data conversions.  It means
the library will choose compiler conversions only if the accurate data is
secured.  Otherwise, the library will go for the library's own conversions.  If
this option is disabled, the library uses compiler conversions in favor of
their speed as long as they work even if data can be incorrect.


Platforms tested: h5committest and fuss.  Some systems may fail after this
checkin.
2005-08-29 10:21:58 -05:00
Albert Cheng
636b5829a9 [svn-r11309] Purpose:
Bug fix.

Description:
Error encountered in the clean command was not passed back to calling
command.  Fixed it.

Platforms tested:
heping (where clean has no error) and sol (where clean has error).
2005-08-29 10:01:20 -05:00
Quincey Koziol
e1747e456c [svn-r11307] Purpose:
Code cleanup

Description:
    Clean up internals of group creation & iteration code.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OS X (nile)
    Too minor to require h5committest
2005-08-29 00:36:16 -05:00
Quincey Koziol
fefbe61aca [svn-r11304] Purpose:
Code cleanup (sorta)

Description:
    Adjust H5G_stat_t to prepare for eventual "external link" information.
This also puts the information for regular objects and soft links into more
obviously separate places.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2005-08-27 08:34:28 -05:00
Albert Cheng
538d37a1bc [svn-r11303] Purpose:
minor tidy up.

Description:
Changed both test programs and test scripts to use the same suffixes
(.chkexe and .chklog).  Changed from .log to .chklog to avoid running
into potential conflicts by other "things" (e.g., config.log).

Tested:
Heping.
2005-08-26 17:24:27 -05:00
Quincey Koziol
a8b272ac25 [svn-r11300] Purpose:
Code cleanup

Description:
    Prevent memory leak when too many links are traversed.  Also add test to
traverse too many links.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2005-08-25 16:49:31 -05:00
Fang Guo
5a1bb020a3 [svn-r11299] Purpose:
Improvement for Windows
Description:
thread number can not be printed out on windows. Add a special
macro for WIN32 to print out some helpful  messages
Solution:

Platforms tested:
Heping and MSVS 6.0 on Windows XP
Misc. update:
2005-08-25 15:49:21 -05:00
Quincey Koziol
a4329aaa47 [svn-r11297] Purpose:
Code cleanup & speedup

Description:
    Refactor h5dump & related code to be considerably cleaner & faster for
files with large #'s of objects.

Platforms tested:
    FreeBS 4.11 (sleipnir)
    Linux 2.4
2005-08-25 15:16:40 -05:00
Quincey Koziol
ab6656c52c [svn-r11295] Purpose:
Bug fix

Description:
    Fix "strong" file closing to handle a dangling dataset which uses a
dangling named datatype.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor too require h5committest
2005-08-25 12:16:02 -05:00
MuQun Yang
4a6e1b6ba9 [svn-r11294] Purpose:
bug fix

Description:
The previous version always tests with mpi-IO driver even when mpi-posix driver is set.

Solution:
Add the option to test mpi-posix driver for the first round collective chunk IO test.

Platforms tested:
IRIX64, AIX 5.1, Linux 2.4

Misc. update:
2005-08-24 21:45:25 -05:00
Albert Cheng
0f03c5590a [svn-r11293] Purpose:
updated with the change of t_mpi.
2005-08-23 17:45:26 -05:00
Albert Cheng
9c4dd70e36 [svn-r11292] Purpose:
"bug fix"

Description:
The test_mpio_derived_dtype() often hangs when fails.  So it was
not run by default to avoid hanging the daily tests or confusing
users.  But then new system or new codes in collective chunk fails
while one can't tell for sure if it is because of the complicated
derived type failures or something else.

Solution:
Changed the logic so it is skipped only if it is known that
the complicated MPI derived type does not work.  (This is
indicated by macro H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS NOT
defined.

Platforms tested:
heping pp (where it is tested by default).
Modi4 pp (where it is SKIPPED by default.)
I also forced modi4 to test it and modi4 said it actually
is working and should change the setting of
H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS to working?!!

Misc. update:
2005-08-23 17:41:42 -05:00
Albert Cheng
208436bfc4 [svn-r11291] Purpose:
Code cleaning.

Description:
The block of code that is conditioned by the H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS
and manipulates the return code of test_mpio_derived_dtype, does not really
belong in main.  If return code of test_mpio_derived_dtype needs to be
adjusted, it should be done in test_mpio_derived_dtype.

Solution:
Moved that block of code test_mpio_derived_dtype.

Platforms tested:
heping PP.

Misc. update:
2005-08-23 17:19:57 -05:00
Fang Guo
afe48303a9 [svn-r11290] Purpose:
Maintenance on Windows
Description:
Add how to build hdf5 with thread-safe feature on windows into the
document
Solution:

Platforms tested:

Misc. update:
2005-08-23 16:17:29 -05:00
Albert Cheng
827ba4f4e8 [svn-r11289] Purpose:
cleanup

Description:
Changed the conditional definitions of HDvsnrintf and HDsnprint be
dependent on TFLOPS being defined so that these are consistent with
the condition in H5.c in which the two functions are coded.

Platforms tested:
heping.

Misc. update:
2005-08-22 15:58:58 -05:00
Fang Guo
16dd775f8f [svn-r11288] Purpose:
Maintenance on Windows
Description:
Move Win32 Macros(snprintf and vsnprintf) to the right places
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
heping
Misc. update:
2005-08-22 14:03:00 -05:00
Fang Guo
7cd3b94df2 [svn-r11287] Purpose:
Maintenance on Windows
Description:
Fix typoes
H5_HAVE__SNPRINTF should be H5_HAVE_SNPRINTF
Solution:

Platforms tested:

Misc. update:
2005-08-22 13:57:50 -05:00
Albert Cheng
80a9a3df0c [svn-r11286] Purpose:
bug fix

Description:
The set of h5diffdebugN macros that printed nothing did not have
the proper number of parameters.  Some compilers (gcc) did not
like it.

Solution:
Fixed them to have the matching number of parameters.

Platforms tested:
heping pp (using both mpich-icc and mpich-gcc), modi4 pp.
2005-08-22 10:55:54 -05:00
Quincey Koziol
b7d43b0cf0 [svn-r11283] Purpose:
Code cleanup

Description:
    Clean up code somewhat:
        - Move from HDmemset() -> H5G_ent_reset() to clear out group entry info
        - Simplify H5G_unlink() call
        - Use portability macros instead of direct system calls in more places
        - Improve readbility by neatening whitespace, etc.
        - Move some macros into source code module instead of header files

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2005-08-20 14:28:40 -05:00
Quincey Koziol
96b3c145b7 [svn-r11282] Purpose:
New debugging feature

Description:
    Add some code to track where memory from the internal free list allocator
is allocated within the library.  It's not quite ready for "prime time" yet,
but it's close enough to be useful.

    This is disabled by default and requires the H5FL_TRACK macro in
src/H5FLprivate.h to be uncommented to activate during debugging.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Too minor to require full h5committest
2005-08-20 13:09:28 -05:00
Quincey Koziol
d29082f165 [svn-r11280] Purpose:
Code cleanup

Description:
    Clean up unused variables & use portability macros better

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-20 12:49:41 -05:00
Quincey Koziol
a0530d368b [svn-r11277] Purpose:
Bug fix

Description:
    Fix core dump when checking whether to invalidate the name of an object
when unlinking an object in a group opened through an object reference.

Solution:
    Check if names of various objects are valid before comparing them, etc.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-20 11:32:55 -05:00
Quincey Koziol
eec442a8f6 [svn-r11276] Purpose:
Code cleanup/bug fix

Description:
    Add missing files to manifest

    Remove C++ style single-line comment from recent checkin and also re-indent
in a few places.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/thread-safe
    Not configured w/h5committest
2005-08-20 10:45:13 -05:00
Albert Cheng
20c9e7bc06 [svn-r11275] Purpose:
cleanup

Description:
Disable the debug printout.

Platforms tested:
heping pp.

Misc. update:
2005-08-20 10:15:25 -05:00
Binh-Minh Ribler
96e92e0a4c [svn-r11274] Purpose: Additional code improvement
Description:
    Forgot to modify the examples for the "using" declaration changes
    in the library.  Added "using" declaration appropriately.

Platforms tested:
    Linux 2.4 (heping) - very minor
2005-08-19 17:12:22 -05:00
Fang Guo
3ca7a17507 [svn-r11273] Purpose:
Maintenance
Description:
Update workspace and solution file
Solution:

Platforms tested:
MSVS 6.0 on windows
Misc. update:
2005-08-19 15:28:28 -05:00
Fang Guo
0436e6bc45 [svn-r11272] Purpose:
Improvement
Description:
Documentation for installing HDF5 on Cywin
Solution:

Platforms tested:

Misc. update:
2005-08-19 15:15:36 -05:00
Fang Guo
a1e557eae3 [svn-r11271] Purpose:
Maintenance
Description:
Add some comments for future thread safe use on windows
Solution:

Platforms tested:

Misc. update:
2005-08-19 15:12:22 -05:00
Fang Guo
1e0b7c4021 [svn-r11270] Purpose:
Improvement on windows
Description:
Add Thread safe project file with pthread-win32 on Windows
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-08-19 15:08:23 -05:00
Fang Guo
1cc00ac662 [svn-r11269] Purpose:
Improvement
Description:
ttsafe cancel failed on Windows because pthread mutex and cond are not initialized
Add some assertion statements to locate the errors when they happen
Solution:

Initialize pthread mutex and cond to the default attributes.

Platforms tested:
MSVS 6.0 on windows XP and heping(with pthread)
Misc. update:
2005-08-19 15:06:26 -05:00
Fang Guo
6b181e28a8 [svn-r11268] Purpose:
Improvement
Description:
Add some assertion statements to locate the errors when they happen
Solution:

Platforms tested:
MSVS 6.0 on windows and heping(with pthread)
Misc. update:
2005-08-19 15:01:41 -05:00
Fang Guo
9498eb1770 [svn-r11267] Purpose:
Improvement
Description:
Add some assertion statements to locate the error when errors happen
Solution:

Platforms tested:
MSVS 6.0 on windows XP and heping(enable threadsafe with pthread)
Misc. update:
2005-08-19 15:00:17 -05:00
MuQun Yang
8efd4418b0 [svn-r11266] Purpose:
Add more comments for collective chunk IO supports.
Description:
On some platforms that use mpich library internally, we have no way to check mpich version number. We have to manually turn off the collective IO supports.
One example is Altix(cobalt). Just put a comment there so that we won't forget about this.

Solution:

Platforms tested:

Misc. update:
2005-08-19 14:39:30 -05:00
Albert Cheng
592cd4d723 [svn-r11265] Purpose:
New feature

Description:
All datasets were 1D only before.  Added -g to use 2D datasets such
that it allows more options in testing various access patterns.

Platforms tested:
heping pp.

Misc. update:
2005-08-19 09:24:21 -05:00
Binh-Minh Ribler
6496413284 [svn-r11264] Purpose: Additional code improvement
Description:
    Used "using" declaration and directive better to reduce namespace
    pollution.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
2005-08-18 17:16:56 -05:00
Albert Cheng
f27f7c7821 [svn-r11263] Purpose:
Bug fix.

Description:
Fixed ph5diff Bugs that hanged the last test.

Tested in heping and copper in pp mode.
2005-08-18 14:37:32 -05:00