summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r7538] Purpose:Quincey Koziol2003-10-0523-294/+922
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fixes and code cleanup Description: Lots of changes here: - Fixed bug #691 - when shared datatypes are used in attributes they are incorrectly copied into the attribute instead of referring the the named datatype in the file. This required bumping the version of the attribute message. The new version of the attribute message is only written out when a shared datatype is used in the attribute. [Also, this format change made the size of the attribute smaller.] - Added information to attribute debugging routine so that shared datatypes are displayed correctly with the h5debug tool. - Refactored the H5O* routines to extract code that was common to several routines into subroutines to call. - Added 'link' method for H5O message sub-classes, which increments the link count on shared objects when a message is created which shares them. - Corrected [unreported] bug where the link count was not being decremented on the shared object when a object header message with a reference to that object was deleted from the file. - Reduced size of shared message from 49 bytes (which was incorrect anyway and should have been 48 bytes) to 10 bytes, which required bumping the version of "shared" messages. - Refactored some of the shared datatype routines to allow for easier queries of "committedness" internally to the library and also added routine to easily increment/decrement the reference count of a shared datatype. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7529] Purpose: Code cleanupElena Pourmal2003-10-014-34/+36
| | | | | | | | | | | | | Description: On Linux systems valdrind tool complained about memroy leaks in the following statements like if(!a) free(a); Solution: replaced the statements with if ( a != NULL) free(a); Platforms tested: eirene (too small for committest) Misc. update:
* [svn-r7528] Purpose:Bill Wendling2003-09-301-55/+51
| | | | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: The FPHDF5 code couldn't create a dataset then access it. Turns out that the "O_find_in_ohdr" code was protecting the object header which pulls it into the cache then unprotecting it. However, this caused the cache entry to be blown away and THEN we'd try to reread the entry (via AC_protect) but it didn't have all of the data that the find_in_ohdr function decodes for us decoded. It was also kind of unnecessary since we can just protect then call O_find_in_ohdr. Solution: Removed the AC_protect and AC_unprotect from O_find_in_ohdr. Called AC_protect before calling the O_find_in_ohdr function. Platforms tested: Linux (Fortran, C++) IRIX (parallel, Fortran) Sun (Fortran) Misc. update:
* [svn-r7527] Purpose:Quincey Koziol2003-09-309-253/+265
| | | | | | | | | | | | Code cleanup Description: Clean up a few loose ends and warnings for the 1.6 compatibility changes to the error API. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
* [svn-r7526] Purpose:Quincey Koziol2003-09-301-0/+1
| | | | | | | | | | Fix typo in comment. Description: Looks like a cut & paste error. Platforms tested: None - just comment fixup
* [svn-r7525] Purpose: Update MANIFESTRaymond Lu2003-09-301-1/+1
| | | | Misc. update: clean it up for error test
* [svn-r7524] *** empty log message ***Raymond Lu2003-09-292-15/+15
|
* [svn-r7523] Purpose: bug fixRaymond Lu2003-09-291-2/+5
| | | | | | | | Description: Standard output of Error API test has some non-standard information Solution: use sed to remove non-standard information Platforms tested: h5committest
* [svn-r7522] *** empty log message ***Raymond Lu2003-09-291-2/+1
|
* [svn-r7521] Purpose: bug fixRaymond Lu2003-09-291-1/+1
| | | | | | | | | Description: The standard output from Error API test has some non-standard message like path name or line number. Solution: use sed to remove any non-standard information in testerror.sh Platforms tested: h5committest
* [svn-r7520] Purpose: bug fixRaymond Lu2003-09-292-2/+34
| | | | | | | | | Description: add backward compatibility for thread safety Platforms tested: RH 8(fuss) Misc. update:
* [svn-r7519] Purpose:Raymond Lu2003-09-292-3/+10
| | | | | | | Description: add backward compatibility for thread safety. Platforms tested: RH 8(fuss)
* [svn-r7518] Purpose:Albert Cheng2003-09-271-1/+1
| | | | | | | Corrected an error entry. Platforms tested: bin/chkmanifest
* [svn-r7517] Purpose:HDF Admin2003-09-261-1/+0
| | | | | | | | | | | | bug fix Description: Removed an extra export command in the parse of setenvN Platforms tested: Tested by hand. Misc. update:
* [svn-r7513] Purpose: Disable Error API testRaymond Lu2003-09-251-1/+2
| | | | | | | | | | Description: The error test script compares the error messages to the standard output. The file names and line numbers in the messages can be different for users. Solution: Temporarily disable the test until find a good solution. Platforms tested: None. Disabling a test.
* [svn-r7510] Purpose:Albert Cheng2003-09-251-0/+1
| | | | Updated.
* [svn-r7509] Purpose:Albert Cheng2003-09-252-1/+81
| | | | | | | | | | Added the entry of document of the three basic performance tools. The information was provided by Robb long time ago. Platforms tested: Viewed by IE. Misc. update:
* [svn-r7508] Purpose: shell script file to compare error test output with ↵Raymond Lu2003-09-241-0/+100
| | | | standard one.
* [svn-r7507] *** empty log message ***Raymond Lu2003-09-2425-50/+1250
|
* [svn-r7506] Purpose: Add backward compatbility with v1.6 for Error API; ↵Raymond Lu2003-09-241-2/+9
| | | | | | | | | | | | | | | change error tests to avoid printing error messages. Description: If enable-hdf5v1_6 is configured in, make some functions compatible with v1.6. Error test program print out some error messages as it succeeds. Solution: Use #ifdef H5_WANT_H5_V1_6_COMPAT statements. Use shell script to compare error test output with the standard one. Platforms tested: h5committest
* [svn-r7504] Purpose:Albert Cheng2003-09-231-1/+0
| | | | | | | | | | | | | | | | Bug fix Description: The op-snapshot checkout "ate" the next option by mistake. Solution: Remove the extra shift. Platforms tested: Can't really test it without doing a real snapshot test. Pretty sure it is correct and will watch the result tomorrow. Misc. update:
* [svn-r7502] Snapshot version 1.7 release 4HDF Admin2003-09-216-5283/+4160
|
* [svn-r7501] Purpose:Pedro Vicente Nunes2003-09-191-0/+1
| | | | | | | | | added the Dependencies file of h5repack Makefile to the list Misc. update:
* [svn-r7500] Pedro Vicente Nunes2003-09-191-0/+0
| | | | | | | | | | | | | | | | Purpose: added the Dependencies file to the folder tested on IRIX b Description: Solution: platforms tested: Misc. update:
* [svn-r7499] Purpose:Pedro Vicente Nunes2003-09-191-1/+1
| | | | | | | | | | | | added h5repack to the list of tools to make check Platforms tested: linux (small change) Misc. update:
* [svn-r7498] Purpose:Quincey Koziol2003-09-1910-72/+50
| | | | | | | | | | | Code cleanup Description: Clean up various warnings and parameter mis-matches, etc. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to need h5committest
* [svn-r7497] Purpose:Pedro Vicente Nunes2003-09-194-0/+227
| | | | | | | | | | | added the new tool h5repack right now it just contains source files with an empty main Platforms tested: linux (small change) Misc. update:
* [svn-r7496] Purpose:Pedro Vicente Nunes2003-09-193-4144/+5276
| | | | | | | | | | | | included the new tool h5repack in the configure files Platforms tested: linux (small change) Misc. update:
* [svn-r7495] Purpose:Bill Wendling2003-09-194-59/+2
| | | | | | | | | | | | | | | | 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:
* [svn-r7494] Purpose:Quincey Koziol2003-09-197-703/+792
| | | | | | | | | | | | | | | | | | 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.
* [svn-r7492] Description:Quincey Koziol2003-09-181-0/+4
| | | | | | | | | 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
* [svn-r7491] Purpose:Bill Wendling2003-09-182-115/+182
| | | | | | | | | | | | | 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)
* [svn-r7490] Purpose:Bill Wendling2003-09-181-1/+17
| | | | | | | | | | | | | | | Update Description: Removed the call to H5HL_peek Platforms tested: Modi4 (paralle, Fortran) Sol (Fortran) Linux (C++, Fortran) Copper (Parallel, Fortran) Misc. update:
* [svn-r7489] Purpose:Bill Wendling2003-09-1823-1417/+1654
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r7488] Purpose:Albert Cheng2003-09-181-3/+7
| | | | | | | | | | | | | 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:
* [svn-r7482] Purpose:Quincey Koziol2003-09-161-1/+2
| | | | | | | | | | | | | | | | | 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
* [svn-r7480] Purpose:Quincey Koziol2003-09-169-19/+223
| | | | | | | | | | | | | | | | | 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
* [svn-r7478] Purpose:Quincey Koziol2003-09-161-1/+4
| | | | | | | | | | | | | | | 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
* [svn-r7476] Purpose:Quincey Koziol2003-09-161-1/+3
| | | | Clarify documentation about H5Tset_size for string datatypes.
* [svn-r7474] Purpose: Add more testRaymond Lu2003-09-151-1/+180
| | | | | | | | Description: test fixed-length strings in two ways: array of strings and array of character. Platforms tested: h5committest
* [svn-r7473] Purpose:Quincey Koziol2003-09-151-60/+129
| | | | | | | | | | | | | | 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
* [svn-r7472] Snapshot version 1.7 release 3HDF Admin2003-09-146-15/+24
|
* [svn-r7471] Purpose:Bill Wendling2003-09-122-539/+629
| | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r7468] Purpose:Quincey Koziol2003-09-127-78/+240
| | | | | | | | | | | | | | | | | | 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
* [svn-r7467] Purpose:Quincey Koziol2003-09-117-121/+96
| | | | | | | | | | | | | | 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:
* [svn-r7465] Purpose:Quincey Koziol2003-09-111-2/+3
| | | | | Fix incorrect # of 16-byte objects which fit into a 4096 byte global heap collection (170 -> 127)
* [svn-r7463] Purpose:Quincey Koziol2003-09-111-2/+11
| | | | Tweak some wording for global heap description.
* [svn-r7462] *** empty log message ***Raymond Lu2003-09-101-10/+136
|
* [svn-r7461] Purpose: bug #1017Raymond Lu2003-09-103-7/+16
| | | | | | | | Description: H5Tpack fails if called twice or datatype is locked. Compound datatype wasn't expandable. Platforms tested: h5committest
* [svn-r7460] Purpose:Bill Wendling2003-09-1011-61/+87
| | | | | | | | | | | | | | | 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: