Commit Graph

8300 Commits

Author SHA1 Message Date
Fang Guo
44ac5d87fa [svn-r11913] Purpose:
Windows Maintenance
Description:
Add in cache_api.dsp and cache_apidll.dsp
Solution:

Platforms tested:

Misc. update:
2006-01-31 15:12:16 -05:00
Fang Guo
00f3f8f4c1 [svn-r11912] Purpose:
Maintenance on Windows
Description:
Update all.sln to include cache_api.dsp and cache_apidll.dsp
Solution:

Platforms tested:

Misc. update:
2006-01-31 15:10:16 -05:00
Fang Guo
433b9ecf6b [svn-r11911] Purpose:
Maintenance on Windows
Description:
Update workspace to include cache_api.dsp and cache_apidll.dsp
Solution:

Platforms tested:

Misc. update:
2006-01-31 15:01:41 -05:00
Fang Guo
f6e8d8c469 [svn-r11910] Purpose:
Maintenance on Windows
Description:
Add cache_common.c into cachedll.dsp
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-01-31 14:51:44 -05:00
Fang Guo
72406bcaae [svn-r11909] Purpose:
Maintenance on Windows
Description:
Add cache_common.c into project cache.dsp
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-01-31 14:50:58 -05:00
Fang Guo
1cc33a5f31 [svn-r11908] Purpose:
Maintenance on Windows
Description:
Add tests for cache_api.dsp and cache_apidll.dsp
Solution:

Platforms tested:

Misc. update:
2006-01-31 14:49:43 -05:00
Fang Guo
7340e2c148 [svn-r11907] Purpose:
Maintenance on Windows
Description:
Add new tests cache_apidll.dsp
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-01-31 14:48:35 -05:00
Fang Guo
b37446fb40 [svn-r11906] Purpose:
Mintainance on Windows
Description:
Add new tests cache_api.dsp
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-01-31 14:47:41 -05:00
John Mainzer
43df732a9b [svn-r11904] Purpose:
Add a file that I forgot in my last checkin.

Description:

t_cache.c is the source file for the new parallel metadata cache test.


Solution:

See above.

Platforms tested:

h5committested before the last checkin.  Will run another
h5committest shortly, but it shouldn't be necessary as there
are no new changes.

Misc. update:
2006-01-28 21:34:52 -05:00
John Mainzer
c18b328ff1 [svn-r11903] Purpose:
Add files that I forgot in my last checkin.

Description:

cache_api.c cache_common.c cache_common.h are new files that result
from breaking the old cache test into two tests.


Solution:

See above.

Platforms tested:

h5committested before the last checkin.  Will run another
h5committest shortly, but it shouldn't be necessary as there
are no new changes.

Misc. update:
2006-01-28 21:34:14 -05:00
Quincey Koziol
6e0ea943fa [svn-r11901] Purpose:
Bug fix/additional tests

Description:
    Add additional tests for holding open an object of a given type (dataset,
group, etc) while incorrectly trying to open that object with a different
type of API routine (i.e. using the group open call on a dataset, etc.)


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-01-28 17:09:27 -05:00
Quincey Koziol
d579d6aa5e [svn-r11899] Purpose:
Bug fix & new feature

Description:
    Support variable-length datatypes in compact data storage and chunked
data storage, along with attributes.

    Bug fix on the H5T_vlen_set_loc to allow for changing the file on a
variable-length datatype on disk.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Can't h5committest right now, due to missing cache files.
2006-01-28 13:31:22 -05:00
John Mainzer
dfb1f40cbb [svn-r11897] Purpose:
1) Add parallel test for metadata cache

2) Split serial test for metadata cache into two parts

3) Fix bug in which cache was flushed needlessly when the
   cache wasn't full.

4) Performance improvements

5) Update API for parallel cache coherency bug fix.

Description:

See above.

Solution:

See above.

Platforms tested:

h5committest


Misc. update:
2006-01-27 17:58:48 -05:00
John Mainzer
22e5198407 [svn-r11896] Purpose:
1) Add parallel test for metadata cache

2) Split serial test for metadata cache into two parts

3) Fix bug in which cache was flushed needlessly when the
   cache wasn't full.

4) Performance improvements

Description:

See above.

Solution:

See above.

Platforms tested:

h5committest


Misc. update:
2006-01-27 17:57:19 -05:00
Leon Arber
05b8021db4 [svn-r11895] Purpose:
Bug fix.

Description:
Seems like some compilers don't like the "inline" function spec.

Solution:
Removed the inline description for the sub_time function.

Platforms tested:
heping and tg-login.

Misc. update:
2006-01-27 10:32:04 -05:00
Leon Arber
d61b687587 [svn-r11894] Purpose:
Feature, address bug #426

Description:
The h5perf test now also keeps track of the time it takes to:

open a file: Time between start of open and start first read/write
close a file: Time between end of last read/write and end of close.

This information is only displayed if debug output printing is enabled (level 3 or higher)

Solution:
The test actually has all of the data necessary to compute the time it takes to open
and close a file; it just wasn't recording it.  Added 4 new timers:

HDF5_FILE_READ_OPEN
HDF5_FILE_READ_CLOSE
HDF5_FILE_WRITE_OPEN
HDF5_FILE_WRITE_CLOSE

that keep track of the time to open/close a file opened for reading/writing.

Platforms tested:
heping and mir

Misc. update:
2006-01-26 17:45:51 -05:00
Elena Pourmal
25f2ebda39 [svn-r11891] Purpose: Small bug fix
Description: h5_group example didn't work on VMS; it turned out
             that a group was not closed and since the default
             file close degree is "weak", file was not closed either.
             When program attempted to open the same file, system reported
             an error since the file was "locked by another user".
             UNIX systems apperently do not care and open the same file
             without any problem.

Solution: Added H5Gclose calls.

Platforms tested: VMS server and heping

Misc. update:
2006-01-25 11:53:14 -05:00
Quincey Koziol
6cf7a8fe7d [svn-r11889] Purpose:
Bug fix

Description:
    Fix compile problem with C++ compiler after recent changes.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/CC=g++
2006-01-24 09:48:36 -05:00
Quincey Koziol
56e3f667d6 [svn-r11886] Purpose:
Code cleanup

Description:
    Check in some of the code cleanups from working on the external link
support.  (This doesn't include any of the external link features)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX.4 (amazon)
    Linux 2.4
2006-01-23 15:46:34 -05:00
HDF Admin
b09695738a [svn-r11884] Snapshot version 1.7 release 57 2006-01-22 04:54:38 -05:00
Binh-Minh Ribler
3e013d1930 [svn-r11883] Purpose: Fixed bug
Description:
    Removed the call to h5_test from dsets.cpp, since resetting
        the library made the C++ global constants become invalid.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
2006-01-17 20:37:52 -05:00
Raymond Lu
da37fca10b [svn-r11882] Purpose: Revision
Description: Revise a few details of H5LTtext_to_dtype() and H5LTdtype_to_text(),
1. changed the DDL definition of string, opaque, and compound types.
2. added a new parameter of H5LT_lang_t type to these two functions.


Platforms tested: h5committest and fuss.
2006-01-16 12:27:07 -05:00
HDF Admin
f78ed9a18d [svn-r11880] Snapshot version 1.7 release 56 2006-01-15 04:44:38 -05:00
Pedro Vicente Nunes
5b5ce1f7d4 [svn-r11879] Purpose:
bug fix

a call to sprintf was giving incorrect output in the system Fedora Core 4 with gcc 4.0
(not supported by us, but user reported)

Solution:
the call was using the same buffer for source and destination variables, used different ones





Platforms tested:
linux (mir)
solaris (sol)

Misc. update:
2006-01-11 14:23:38 -05:00
Albert Cheng
bdb6d1af4f [svn-r11877] Purpose:
Bug fix.

Description:
Fixed a typo and also moved initialization of n_xxxx variables to the
common declaration place.

Platforms tested:
Tested in v1.6 branch already.
2006-01-10 08:17:14 -05:00
Albert Cheng
df8739d8c6 [svn-r11875] Purpose:
Bug fix.

Description:
getenv_all, like some implementations of getenv, keeps an internal buffer
for the getenv values.  Application must make a copy of the content of the
returned pointer before calling getenv_all again IF it wants to use the
first content later.  The previous code violated this rule and caused
error.

Solution:
Did a small revamp of the h5_fixname to fix the above problem by moving
the getenv_all for HDF5_NOCLEANUP eariler to avoid it clashing the
call of getenv_all for HDF5_PARAPREFIX.  No a good permenant fix.  Need
to really recode this routine.

Platforms tested:
h5committested.
2006-01-09 13:17:44 -05:00
James Laird
ef292e862b [svn-r11873] Purpose:
Copyright fix

Description:
The packet table examples were breaking the copyright checking script.
Fixed them.
Also caught a one-line copyright problem in another file.

Platforms tested:
Only changed comments.
2006-01-09 10:41:38 -05:00
Albert Cheng
6cda54bdec [svn-r11871] Purpose:
Bug fix.

Description:
getenv_all will be called even when it is NOT an MPI application.

Solution:
Moved the use of getenv_all("HDF5_NOCLEANUP") to fix_name so that it will
be invoked only if a parallel driver is used.

Platforms tested:
hand tested in copper.
2006-01-09 00:14:54 -05:00
Albert Cheng
c8f5be4e3c [svn-r11868] Purpose:
Feature.

Description:
Added counters for number of tests passed, failed and skipped.

Platforms tested:
Will be tested by daily test.
2006-01-08 00:04:47 -05:00
James Laird
6ba811adcf [svn-r11867] Purpose:
Makefile fix

Description:
perform/h5perf is (currently) a test for parallel performance, but was
being built when parallel was disabled.  Fixed this.
perform/perf had the same problem.

Solution:
Actually, perf and h5perf were being "built but not executed"
using two different mechansims.  They now use the same mechanism,
being built and executed in parallel only.

Platforms tested:
mir, heping, sleipnir
2006-01-07 11:57:06 -05:00
Albert Cheng
16ec392760 [svn-r11866] Purpose:
bug fix 504

Description:
testpar/t_mpi would hang if  $HDF5_NOCLEANUP is set.  E.g.,
% env HDF5_NOCLEANUP=yes mpirun -np 3 ./t_mpi

This happened because the environment variables are not exported to all
mpi processes by the mpirun command.  So, some attempted to do cleanup
while others don't and some hang waiting for others to act.

Solution:
Instead individual program checking getenv, they all just called h5_cleanup
no matter.  h5_cleanup now uses getenv_all to check the $HDF5_NOCLEANUP if
it is in parallel mode.

Platforms tested:
h5committested, tested pp in heping too.
2006-01-06 09:52:25 -05:00
James Laird
63e69411fd [svn-r11864] Purpose:
Cleaned up reconfigure output

Description:
Added two lines to separate output from trace script from autotools
output in reconfigure.

Solution:
Running reconfigure updated src/Makefile.in as a side effect, since
I changed config/lt_vers.am in my last checkin but forgot to
run reconfigure then.

Platforms tested:
mir (cosmetic change to reconfigure script only)
2006-01-05 13:25:01 -05:00
Fang Guo
f53877f7c2 [svn-r11863] Purpose:
Windows Maintenance
Description:
C++ .dsp files failed to be converted into .vcproj. Fix problem
Solution:

Platforms tested:

Misc. update:
2006-01-04 14:05:02 -05:00
Albert Cheng
a88b4d5acd [svn-r11861] Purpose:
Bug fix.

Description:
release created temporary files in .. directory.  If the -d directory
is the same as the parent directory, it would fail when it tried to
copy the temporary files to the destination directory.

Solution:
Changed release to create a temporary directory and create all temporary
files in that temporary directory.

Platforms tested:
Handtested in heping.
2006-01-04 12:38:30 -05:00
Fang Guo
e8804cada8 [svn-r11859] Purpose:
windows maintenance
Description:
Add in H5Pacpl.c
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-01-03 12:25:03 -05:00
Fang Guo
febe6dc756 [svn-r11858] Purpose:
Windows maintenance
Description:
Add in H5Pacpl.c
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-01-03 12:24:22 -05:00
Fang Guo
0663b66204 [svn-r11857] Purpose:
Maintenance on Windows
Description:
Update solution file
Solution:

Platforms tested:

Misc. update:
2006-01-03 12:23:17 -05:00
James Laird
5c516c2056 [svn-r11856] Purpose:
MANIFEST fix

Description:
Added src/H5Pacpl.c to manifest.
2006-01-03 10:09:12 -05:00
James Laird
b98e383cc2 [svn-r11854] Purpose:
Bug fix

Description:
Forgot to 'cvs add' H5Pacpl.c!
2006-01-02 17:07:13 -05:00
Quincey Koziol
1bba04f3e5 [svn-r11852] Purpose:
Code cleanup/update

Description:
    Update compiler flags for gcc 4.1.x & start cleaning up some of the C++
compatibility

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/gcc 4.1 and/or g++
2006-01-02 14:59:11 -05:00
James Laird
2a8faf8f77 [svn-r11851] Purpose:
Updated documentation.

Description:
Updated libtool library version and release notes for attribute
character encoding change.
2006-01-02 14:23:39 -05:00
James Laird
216a6e9904 [svn-r11850] Purpose:
Feature

Description:
Added character encoding and attribute creation property lists.

Solution:
Attributes' character encoding is set via the ACPL.
The default is ASCII, with UTF-8 being the other option currently.

Platforms tested:
heping, mir, sleipnir, copper
2006-01-02 14:20:19 -05:00
HDF Admin
63e522aa13 [svn-r11848] Snapshot version 1.7 release 55 2006-01-01 04:12:38 -05:00
Binh-Minh Ribler
e25b9b5f70 [svn-r11845] Purpose: Adding another wrapper/Fixing typos
Description:
    Added missing member function H5File::flush
    Fixed parameters passed to H5Awrite
    Other typos

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
2005-12-29 06:41:02 -05:00
Fang Guo
d073ddf81e [svn-r11844] Purpose:
Windows Maintenance
Description:
Update solution file
Solution:

Platforms tested:

Misc. update:
2005-12-28 16:55:02 -05:00
Fang Guo
a99684ee15 [svn-r11843] Purpose:
Windows Maintenance
Description:
Update workspace
Solution:

Platforms tested:

Misc. update:
2005-12-28 16:54:36 -05:00
Fang Guo
4b414a12c6 [svn-r11842] Purpose:
Maintenance on Windows
Description:
Update project file because the source file names have benn changed
Solution:

Platforms tested:
WIndows XP
Misc. update:
2005-12-28 16:49:55 -05:00
Fang Guo
bed9f950f7 [svn-r11841] Purpose:
Maintenance on Windows
Description:
Update project file because the source file names changed
Solution:

Platforms tested:
Windows XP
Misc. update:
2005-12-28 16:48:58 -05:00
Quincey Koziol
83929ea716 [svn-r11838] Purpose:
Bug fix

Description:
    Retrieving an object's name could fail (in various ways) under certain
circumstances (mostly having to do with mounted files).

Solution:
    Re-write & simplify "get object name" code to fix error in a better way
than adding yet another hack to the previous pile of hacks... :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-12-26 00:28:18 -05:00
HDF Admin
db551ec15e [svn-r11836] Snapshot version 1.7 release 54 2005-12-25 04:10:45 -05:00