Commit Graph

8006 Commits

Author SHA1 Message Date
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
Albert Cheng
34ce02937f [svn-r11262] Purpose:
Bug fix.

Description:
Added filtering of h5diff debug output.
Restored the skipped test to be tested again.
2005-08-18 14:36:22 -05:00
Albert Cheng
9baadd2df5 [svn-r11261] Purpose:
Feature and bug patch

Description:
Added the SKIP feature which skips a test.

The latest code will hang the very last test.  Skip that test for now.

Platforms tested:
heping pp.
2005-08-17 23:32:15 -05:00
Raymond Lu
7a30bcece9 [svn-r11260] Purpose: Bug fix
Description: repart_test.c was mistakenly treated as a tool, instead of a test program.

Solution: Took it out of the tool list.

Platforms tested: fuss - simple change.
2005-08-17 15:49:43 -05:00
Albert Cheng
7bbea13711 [svn-r11259] Purpose:
Bug fix

Description:
ph5diff had been hanging in Tflops.  Found out that vsnprintf ph5diff
uses was a local coded that did not limit printing according to the size
argument.  That resulted in buffer overflow and other problems.

Solution:
Added some sort of size checking in the home-grown vsnprintf and
had ph5diff checked for error return of vsnprintf.  Leon also
revamped the ph5diff manager's way of handling communications with
the workers.  That eliminated all but the last case of hanging.

Platforms tested:
Tflops.

Misc. update:
2005-08-17 14:21:36 -05:00
Albert Cheng
918c992dea [svn-r11258] Purpose:
Bug fix.

Description:
Reactivated the code for snprintf and vsnprintf for Tflops but added
the SN_SIZ_MIN as an attempt to require the minimum amount of space needed,
hoping vsnprintf/snprintf do not print larger than it per request.
Also added code to detect overflow and return error (IF overflow has
not crashed the application yet.)  These are all short term patches.

Platforms tested:
Tested at Tflops.
2005-08-17 13:40:41 -05:00
Albert Cheng
e5022d40a8 [svn-r11257] Purpose:
Update & feature

Added a new cached data conversion setting.

Added -DH5_FLOPS to CPPFLAGS for compiling.  Had used the builtin
__PUMAGON__ but H5_TFLOPS is more meaningful.

Platforms tested:
Tested in Flops.

Misc. update:
2005-08-17 13:35:29 -05:00
Raymond Lu
dd40269cc8 [svn-r11256] Purpose: Reformat comment.
Platforms tested: Not needed.
2005-08-17 10:43:22 -05:00
Raymond Lu
dc2bc37c39 [svn-r11254] Purpose: Bug fix
Description:  In some macro definition, some constant values like D_MIN and D_MAX were
not casted to the destination type.  They may cause problems for some system like
TFLOPS.

Solution: Cast them to destination type.

Platforms tested: fuss - very simple changes.
2005-08-17 10:05:08 -05:00
Albert Cheng
7e33c92e6b [svn-r11252] Purpose:
Fixed a typo--osf1 was spelled as osfl.

Platforms tested:
Tflops.
2005-08-16 15:56:59 -05:00
Fang Guo
778c6a053d [svn-r11251] Purpose:
Maintenance on windows
Description:
Add two macros for windows, susbstitue functions HDsnprintf and HDvsnprintf
with  _snprintf and _vsnprintf when using Visual C++ on windows

Solution:

Platforms tested:
MSVC 6.0 on Windows XP
heping
Misc. update:
2005-08-16 12:24:04 -05:00
Fang Guo
3bf0e04aa3 [svn-r11250] Purpose:
Maintenance on Windows
Description:
Add #define H5_HAVE_TMPFILE
Solution:

Platforms tested:

Misc. update:
2005-08-15 17:55:29 -05:00
Quincey Koziol
94d21eed9f [svn-r11248] Purpose:
Code cleanup

Description:
    Fix minor difference in datatype conversion exception callback routine.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
2005-08-15 09:24:16 -05:00
Quincey Koziol
6b45f5172c [svn-r11245] Purpose:
Code cleanup

Description:
    Trim trailing whitespace, which is making 'diff'ing the two branches
difficult.

Solution:
    Ran this script in each directory:

foreach f (*.[ch] *.cpp)
    sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
end


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-13 15:53:35 -05:00
Quincey Koziol
6562465a2c [svn-r11243] Purpose:
Code cleanup

Description:
    Collapse the various tests on groups opened by dereferencing into one test.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-13 14:27:39 -05:00
Quincey Koziol
0db530ac5a [svn-r11242] Purpose:
Code cleanup

Description:
    Use enum type instead of int for datatype conversion exception callback
routine.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-08-13 14:18:02 -05:00
Quincey Koziol
45f1eba213 [svn-r11241] Purpose:
Code cleanup

Description:
    Fix logic error in previous checkin and also finish refactoring I/O
initialization, including simplifying all the collective & parallel cases
into a more unified mechanism.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/ & w/o parallel
    Linux 2.4 (mir)
2005-08-13 13:09:57 -05:00
Quincey Koziol
2efc3027ec [svn-r11240] Purpose:
Bug fix

Description:
    Fix logic error for non-parallel file I/O with library built for parallel
I/O capability.

Platforms tested:
    Linux 2.4 (mir) w/parallel
2005-08-13 11:00:28 -05:00
Albert Cheng
8673333c95 [svn-r11238] Purpose:
Updated for the added feature of standalone build for h5perf.
2005-08-13 10:46:03 -05:00
Albert Cheng
52cfa98120 [svn-r11237] Purpose:
New Feature.

Description:
Added code and changes so that h5perf (pio) can be built by
standalone mode (that is built by just "h5pcc" without all these
internal files.)  With the standalone mode, h5perf can be built
against different versions of hdf5 library and to contrast the
performance among them.
(Note that pio_standalone.c and pio_standalone.h are used in
standalone build only.)


Platforms tested:
Tested in copper and heping.
2005-08-13 10:21:22 -05:00
Quincey Koziol
c5aa1f7a5f [svn-r11236] Purpose:
Code cleanup & bug fix

Description:
    Refactor recent collective chunk changes to simplify them.  Also, compute
the number of chunks by checking the number of objects in the chunk skip list
instead of getting the boundaries of the selection and counting the chunks that
it overlaps, which is faster and computes correct number for certain selections.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-08-12 22:09:38 -05:00