Commit Graph

5530 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
e61aa077c4 [svn-r7500]
Purpose:

added the Dependencies file to the folder

tested on IRIX     b

Description:

Solution:

platforms tested:

Misc. update:
2003-09-19 16:57:36 -05:00
Pedro Vicente Nunes
675dde0699 [svn-r7499] Purpose:
added h5repack to the list of tools to make check




Platforms tested:
linux (small change)

Misc. update:
2003-09-19 15:21:05 -05:00
Quincey Koziol
3752177106 [svn-r7498] Purpose:
Code cleanup

Description:
    Clean up various warnings and parameter mis-matches, etc.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to need h5committest
2003-09-19 15:13:47 -05:00
Pedro Vicente Nunes
14b9ac8763 [svn-r7497] Purpose:
added  the new tool h5repack
right now it just contains source files with an empty main


Platforms tested:
linux (small change)

Misc. update:
2003-09-19 14:33:41 -05:00
Pedro Vicente Nunes
5c1cc7c804 [svn-r7496] Purpose:
included the new tool h5repack in the configure files




Platforms tested:
linux (small change)

Misc. update:
2003-09-19 14:32:25 -05:00
Bill Wendling
ce5a4cf6f3 [svn-r7495] Purpose:
Removed Dead Code

Description:
    Some of the FPHDF5 code was dead (I thought it'd be useful at one
    point, but was wrong).

Solution:
    Removed

Platforms tested:
    Linux (FPHDF5 specific. No need for h5committest)

Misc. update:
2003-09-19 14:27:17 -05:00
Quincey Koziol
e38803837f [svn-r7494] Purpose:
Bug fix

Description:
    Buffer for decoding superblock's driver information was too small when
using some VFDs (like the multi-file VFD).

    Also made FPH5 code more portable and obvious when it's broadcasting the
superblock from the captain process to the other clients.

Solution:
    Allocate the buffer for the driver information dynamicly

Platforms tested:
    Copper
    No h5committest because it's already working on other platforms.
2003-09-19 12:20:01 -05:00
Quincey Koziol
43f06303db [svn-r7492] Description:
Disable "big" parallel tests until I get a chance to look into the
problems (probably during/after the workshop).

Platforms tested:
    Eyeballed
    Too minor to require h5committest
2003-09-18 17:52:14 -05:00
Bill Wendling
f86cc0f1f4 [svn-r7491] Purpose:
FPHDF5 Update

Description:
    Added locking/unlocking to the AC_protect/AC_unprotect calls. The SAP
    does all of the caching so nothing should be saved on the client
    side. So, when the client unlocks the metadata, it can destroy it.
    The metadata is always read from the SAP during a lock.

Platforms tested:
    Linux (FPHDF5 specific change. No need for h5committest)
2003-09-18 16:54:13 -05:00
Bill Wendling
1440f2c2db [svn-r7490] Purpose:
Update

Description:
    Removed the call to H5HL_peek

Platforms tested:
    Modi4 (paralle, Fortran)
    Sol (Fortran)
    Linux (C++, Fortran)
    Copper (Parallel, Fortran)

Misc. update:
2003-09-18 14:27:45 -05:00
Bill Wendling
fec0297f86 [svn-r7489] Purpose:
Update

Description:
    A lot of modifications for the FPHDF5 stuff:

        H5AC.c
        H5ACprivate.h - Removed AC_find (it's replaced with AC_protect
        and AC_unprotect). Added flushing if it's an FPHDF5 driver and
        we're doing an AC_set or AC_unprotect with the dirty flag set.

        H5B.c - Split up the B_flush function into different functions
        since the one function was doing serialization which is better
        left as a separate entity.

        H5D.c - Removed some FPHDF5 code that was incorrect

        H5F.c - Split up the F_flush function so that it no longer
        allocates file space. Created new functions (F_init_superblock,
        F_read_superblock, and F_write_superblock) for greater modularity
        and so that the FPHDF5 non-captain processes can read the
        superblock after the captain process writes it.

        H5FD.c - Error message correction.

        H5FDfphdf5.c - Removed MPI barrier call that wasn't needed.

        H5FPclient.c
     	H5FPserver.c - Modified so that if a process requests data that
        isn't exactly aligned, we can return it if we have the block that
        contains the requested address.

        H5G.c
        H5Gent.c
        H5Gnode.c
        H5HL.c
     	H5HLpkg.h
        H5HLprivate.h
        H5Oefl.c - Removed the H5HL_peek function since it was doing a
        (now unsafe) holding of the information in the cache. Replaced
        with protect and unprotect calls.

        H5TB.c - Error fix. The TB_dless function wasn't working
        properly.

        H5Gstab.c - Format change.

        H5err.txt
        H5Edefin.h
        H5Einit.h
     	H5Epubgen.h
        H5Eterm.h - Added new error code.


Platforms tested:
    Modi4 (paralle, Fortran)
    Sol (Fortran)
    Linux (C++, Fortran)
    Copper (Parallel, Fortran)

Misc. update:
2003-09-18 14:27:27 -05:00
Albert Cheng
2e3693aa8b [svn-r7488] Purpose:
Improvement

Description:
The -w timeout option is not supported by all hosts.
Added the "ping -c 3" possible PING command.

Platforms tested:
Tested in eirene by hand only.

Misc. update:
2003-09-18 12:22:54 -05:00
Quincey Koziol
a7ef15584e [svn-r7482] Purpose:
Bug fix

Description:
    The MPI_File_set_size() routine on ASCI Red is not able to extend files
so that they are larger than 2GB.

Solution:
    Add an extra macro which controls whether MPI_File_set_size() can handle
>2GB offsets or if our "older" way of reading a byte, then writing a byte at
the appropriate offset should be used.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-16 12:36:12 -05:00
Quincey Koziol
d7bde16f45 [svn-r7480] Purpose:
Bug fix

Description:
    The MPI_File_set_size() routine on ASCI Red is not able to extend files
so that they are larger than 2GB.

Solution:
    Add an extra macro which controls whether MPI_File_set_size() can handle
>2GB offsets or if our "older" way of reading a byte, then writing a byte at
the appropriate offset should be used.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-16 12:33:00 -05:00
Quincey Koziol
bf1c2f0e8b [svn-r7478] Purpose:
Bug fix

Description:
    H5Dwrite was only checking the "top level" of the datatype to stop parallel
I/O on variable-length datatypes.

Solution:
    Make checks "deeper".

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-16 12:25:49 -05:00
Quincey Koziol
f4f1c62cc5 [svn-r7476] Purpose:
Clarify documentation about H5Tset_size for string datatypes.
2003-09-16 08:40:04 -05:00
Raymond Lu
6953e9a010 [svn-r7474] Purpose: Add more test
Description: test fixed-length strings in two ways: array of strings and
    array of character.


Platforms tested: h5committest
2003-09-15 15:06:55 -05:00
Quincey Koziol
26ebe5876b [svn-r7473] Purpose:
Code cleanup & optimization

Description:
    Split superblock initialization and space allocation out from writing
the superblock information to disk, which makes the code much cleaner and
easier to understand and also allows FPHDF5 to have a fully completed superblock
to Bcast to other (non-caption) processes.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-09-15 13:09:09 -05:00
HDF Admin
fb44f88bc6 [svn-r7472] Snapshot version 1.7 release 3 2003-09-14 05:50:14 -05:00
Bill Wendling
543c958928 [svn-r7471] Purpose:
Update

Description:
    The F_open and F_flush functions had a lot of cruft in them. The
    F_flush was being used as a way to allocate the superblock. The
    F_open had a bunch of code in there to read and serialize the
    superblock.

Solution:
    Moved these out into their own functions.

Platforms tested:
    Modi4 (parallel, Fortran)
    Copper (parallel, Fortran)
    Verbena (Fortran, C++)
    Sol (Fortran)

Misc. update:
2003-09-12 18:10:22 -05:00
Quincey Koziol
965a4cd7c9 [svn-r7468] Purpose:
Code cleanup, etc.

Description:
    Generalize Ray's datatype fixes to handle packing compound datatypes which
are the base type of an array or variable-length type, etc.

    Also track "packedness" of a compound datatype from it's creation, instead
of only setting the 'packed' flag after the datatype was explicitly packed.

    Updated docs to reflect that a compound datatype is allowed to grow (but
not shrink).

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-11 23:35:48 -05:00
Quincey Koziol
987e281c8a [svn-r7467] Purpose:
Code cleanup

Description:
    Patch up a few places where the metadata cache could ask for a read lock
instead of a write lock and other minor code cleanups.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to need h5committest

Misc. update:
2003-09-11 11:45:54 -05:00
Quincey Koziol
1a8d15116a [svn-r7465] Purpose:
Fix incorrect # of 16-byte objects which fit into a 4096 byte global heap
collection (170 -> 127)
2003-09-11 08:46:52 -05:00
Quincey Koziol
492dd9ec09 [svn-r7463] Purpose:
Tweak some wording for global heap description.
2003-09-11 08:34:35 -05:00
Raymond Lu
36230c93ba [svn-r7462] *** empty log message *** 2003-09-10 17:59:17 -05:00
Raymond Lu
81c6851965 [svn-r7461] Purpose: bug #1017
Description: H5Tpack fails if called twice or datatype is locked.  Compound
datatype wasn't expandable.


Platforms tested: h5committest
2003-09-10 17:59:00 -05:00
Bill Wendling
1f5e8c2e63 [svn-r7460] Purpose:
Update

Description:
    Added extra parameter to the H5AC_protect() function that indicates
    if the cache being asked for is going to be written to or just read
    from. Those AC_protect calls that were H5AC_find calls are now
    read-only. The rest are writes.

Platforms tested:
    Linux (h5committest not needed due to size and small impact)

Misc. update:
2003-09-10 15:06:10 -05:00
Quincey Koziol
6a9188f0cb [svn-r7457] Purpose:
Bug fix.

Description:
    Correct bug where a file opened twice, once with read-write permission
and once with read-only permission would cause closing the file with the
read-only file ID to fail because it was trying to flush information out
of the file.

Solution:
    Check the permissions on file IDs that are being closed and only flush
when the particular file ID was opened with write permission.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest

Misc. update:
2003-09-10 13:32:28 -05:00
Bill Wendling
6d928cf05e [svn-r7456] Purpose:
Removal of H5AC_find()

Description:
    The H5AC_find() function is mostly redundant and with the new
    Flexible Parallel HDF5 stuff, we need to do locking on metadata
    returned from the H5AC_find() anyway. So, all of the locking stuff
    will be placed in the H5AC_{un}protect() functions. The H5AC_find()
    is no longer needed.

Solution:
    Replaced all H5AC_finds with H5AC_protects and H5AC_unprotects.

Platforms tested:
    Linux (Fortran & C++)
    Solaris (Fortran)
    Irix (Parallel & Fortran)

Misc. update:
2003-09-10 12:05:19 -05:00
Quincey Koziol
14f7f3e53d [svn-r7453] Purpose:
Checkpoint file format spec.

Description:
    Clarifications and cleanups related to file format review.
2003-09-10 10:31:11 -05:00
Quincey Koziol
91709a2b43 [svn-r7452] Purpose:
Checkpoint file format spec.
2003-09-10 10:30:32 -05:00
Quincey Koziol
f1fd4316e2 [svn-r7451] Purpose:
Add new VLTypes.html Tech Note
2003-09-10 08:48:19 -05:00
Quincey Koziol
c3a7c9341e [svn-r7450] Purpose:
Add document describing issues relating to variable-length datatypes.
2003-09-09 20:30:16 -05:00
MuQun Yang
dc5aa55448 [svn-r7449] Purpose:
bug fix

Description:
The same h5detect bug also happens in this branch.

Solution:
remove h5detect.c from the windows source directory.

Platforms tested:
windows 2000

Misc. update:
2003-09-09 15:56:33 -05:00
Quincey Koziol
b0d47e55f7 [svn-r7446] Purpose:
Code cleanup/bug fix

Description:
    Move metadata cache calls around a bit so they protect the usage of the
metadata better.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-09-06 13:54:16 -05:00
Bill Wendling
bd34662948 [svn-r7445] Purpose:
Fix, of a sort

Description:
    Some of the code would get an object from the cache via the
    H5AC_find() function and then modify the returned object. This
    behavior is incorrect as the pointer returned via the H5AC_find()
    function is supposed to be read only.

Solution:
    Changed the H5AC_finds to H5AC_protect() instead and added the
    appropriate H5AC_unprotect() function.

Platforms tested:
(simulated h5committest by hand since it doesn't work for me)
    Linux (Fortran, C++)
    Solaris (Fortran)
    AIX (Fortran, C++)
    SGI (Parallel, Fortran)
2003-09-04 16:43:37 -05:00
Quincey Koziol
8563750908 [svn-r7444] Purpose:
Code cleanup

Description:
    More de-linting

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too small to need h5committest
2003-09-04 09:40:21 -05:00
Quincey Koziol
303d35202a [svn-r7441] Purpose:
Bug fix

Description:
    The VFL driver ID in a file's access proprty list wasn't being reference
counted correctly, causing the VFL driver to get prematurely closed after
several calls to "H5Pget_access_plist->H5Pclose".

Solution:
    Increment VFL driver ID reference count when copy of file's access property
list is made in H5Pget_access_plist()

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-03 21:04:45 -05:00
Quincey Koziol
8c174d260d [svn-r7440] Purpose:
Code cleanup

Description:
    More de-linting...

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-09-03 12:05:23 -05:00
Quincey Koziol
4bc1eccf9a [svn-r7439] Purpose:
Code cleanup

Description:
    Clear up a couple of minor issues with compiling the library with a C++
compiler.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too minor to require h5committest
2003-09-03 11:45:48 -05:00
Quincey Koziol
32a666f652 [svn-r7438] Purpose:
Code cleanup

Description:
    More de-linting...

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-09-02 10:04:36 -05:00
HDF Admin
38d6179b31 [svn-r7436] Snapshot version 1.7 release 2 2003-08-31 03:33:11 -05:00
Quincey Koziol
f92d7f73df [svn-r7434] Purpose:
Bug Fix and code cleanup

Description:
    Correct error in H5T_detect_class that was causing nested compound datatypes
with to not detect the datatype class of fields correctly, which caused errors
with fill-values, variable-length datatypes and chunks later on.

    Return the rank of the array datatype from H5Tget_array_dims(), like
H5Sget_dims().

    Lots of cleanups to datatype code, to make the handling of arrays, compound
types, variable-length strings and sequences and enumerated types more
consistent and robust.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-08-30 20:48:01 -05:00
Quincey Koziol
bd3510bea3 [svn-r7433] Purpose:
Corrected typo in help string
2003-08-30 20:40:58 -05:00
Quincey Koziol
00b7830ec5 [svn-r7431] Purpose:
Code cleanup

Description:
    De-linted more code.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-08-29 08:59:42 -05:00
Frank Baker
6bc0753d02 [svn-r7430]
Purpose:
    RM_H5G.html   -- Minor copy edits
    H5.intro.html -- Removed Library version # from doc title

Platforms tested:
    IE 5, Safari
2003-08-28 18:05:18 -05:00
Frank Baker
0ac562001b [svn-r7429]
Purpose:
    Enhanced indexing; copy edits.

Description:
    Restructured index and clarify descriptions and/or make them more
        parallel; added link to "Other tools"
    Added note that h4toh5 and h5toh4 are no longer part of the HDF5 library
        distribution
    Lots of copy edits

Platforms tested:
    IE 5, Safari
2003-08-28 18:03:36 -05:00
Quincey Koziol
93bc31f6a0 [svn-r7428] Purpose:
Code cleanup

Description:
    De-linted more code

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to need h5committest
2003-08-28 11:30:51 -05:00
Quincey Koziol
a3888a3b00 [svn-r7426] Purpose:
Bug fix

Description:
    When datasets are deleted from a file, they are removed from the sieve
buffer, but instead of invalidating only the part of the sieve buffer affected,
the sieve buffer code would throw away the entire sieve buffer, potentially
including other raw data in the buffer that hadn't been written to disk yet.

Solution:
    Improve the sieve buffer clearing code to handle partial invalidations.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-28 11:02:21 -05:00
Albert Cheng
b89fbdd877 [svn-r7425] Purpose:
new feature

Description:
Added a new option of "setenvN" which does
  set environment variable with $1 values
  e.g., setenvN 3 x a b c is same as setenv x="a b c".

Platforms tested:
No h5committest.  Tested by hand in copper.

Misc. update:
2003-08-27 23:41:11 -05:00