summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r10193] Purpose:Quincey Koziol2005-03-111-0/+9
| | | | Add block tracker files.
* [svn-r10192] Purpose:Quincey Koziol2005-03-111-0/+105
| | | | | | | | | | | New tests Description: Add some validity tests for rejecting overlapping blocks Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10191] Purpose:Quincey Koziol2005-03-116-13/+468
| | | | | | | | | | | | New tests Description: Add some internal validation routines and make certain that the max & min block sizes get tracked accurately, at least for a simple series of insertions Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10190] Purpose:Quincey Koziol2005-03-113-2/+78
| | | | | | | | | | | New feature Description: Add query for the total size of blocks tracked Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10189] Purpose:Quincey Koziol2005-03-112-1/+123
| | | | | | | | | | | | | New feature & bug fix Description: Support inserting multiple blocks Start tracking the metadata about the blocks. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10188] Purpose:Quincey Koziol2005-03-111-10/+10
| | | | | | | | | | | Bug fix Description: Correct the native record size. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10187] Purpose:Quincey Koziol2005-03-118-45/+36
| | | | | | | | | | | | | Code cleanup, mostly Description: Remove remaining TBBT error info Add new error code for block tracker Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10186] Purpose:Quincey Koziol2005-03-113-3/+187
| | | | | | | | | | | New feature Description: Add basic code to insert blocks into block tracker. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10185] Purpose:Quincey Koziol2005-03-112-3/+19
| | | | | | | | | | | | | | New feature & bug fix Description: Allow NULL 'op' for find operations to easily query the existance of a record for a key during H5B2_find() operations. Fix H5B2_neighbor() to work properly with empty B-tree Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10184] Purpose:Quincey Koziol2005-03-1123-75/+1201
| | | | | | | | | | | | | | | | | | | | New feature Description: Add new "block tracker" data structure to library, for tracking blocks of bytes in a file. Block trackers will be used to keep track of the blocks belonging to the soon-to-be-implemented "segmented heap" which is designed to replace the current local & global heaps (starting with the local heap). Block trackers will also keep track of the free space in the segmented heap and someday could be used to track the free space in the entire HDF5 file. They are implemented as a small header of information to cache the state of the blocks (max & min sizes of blocks tracked, etc.) and the records of the blocks themselves are stored in a v2 B-tree. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti) h5committest
* [svn-r10183] Purpose:Quincey Koziol2005-03-112-2/+2
| | | | | | | Fix comment Platforms tested: None, too minor...
* [svn-r10182] Purpose:Quincey Koziol2005-03-111-0/+7
| | | | | | | | | | | Add comments Description: Add note to investigate "deterministic skip lists", in case I forget... Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10181] Purpose:Quincey Koziol2005-03-111-12/+15
| | | | | | | | | | | Code cleanup Description: Make more of the loops over the types of memory use the existing macros. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10180] Purpose: New way to do conversion test from floating-point to ↵Raymond Lu2005-03-101-50/+143
| | | | | | | | | | | | | | | | integer. Description: This is the 3rd step of change conversion test. This checkin is only for conversion from floating-point to integer. Solution: The source buffer is filled in with normalized and denormalized floating-point values. For the normalized values, it starts from FLT(DBL, or LDBL)_MIN, multiplied by 10(10000 for double, 100000000 for long double) for the next value, until reaches to FLT_MAX. For denormalized values, the exponent part is always 0. Mantissa part starts with 000...001, 000...011, 000...111, until reaches to 111...111. The same is with negative values. Platforms tested: h5committest and fuss.
* [svn-r10179] Purpose:James Laird2005-03-104-266/+146
| | | | | | | | | | | | | | | Automake update cleanup and minor changes Description: Removed macros in acsite.m4 that are no longer used. Switched to using autoconf's AC_LANG_PUSH(Fortran) instead of old AC_LANG_FORTRAN9X macro. Switched to using AC_LANG_PUSH() and AC_LANG_POP() (from old AC_LANG_X). Added ifort to list of Fortran compilers configure will look for. Added a note about automake change to Release Notes. Platforms tested: copper, modi4 (parallel and serial), eirene
* [svn-r10178] Purpose:Quincey Koziol2005-03-101-6/+6
| | | | | | | | | | Correct formatting Description: Move some typedefs out of the macro section into the typedef section Platforms tested: None, too minor to require any.
* [svn-r10177] Purpose:Quincey Koziol2005-03-101-3/+2
| | | | | | | | | | Update comments Description: Correct comment about how H5B2_create() works. Platforms tested: None, just minor comment change.
* [svn-r10176] Purpose:Quincey Koziol2005-03-103-6/+383
| | | | | | | | | | | New feature Description: Add routine to delete entire B-tree from a file. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10175] Purpose:Quincey Koziol2005-03-101-5/+5
| | | | | | | | | | | Code cleanup Description: Clean up a few warnings flagged by the Intel C compiler. Platforms tested: FreeBSD 4.11 (sleipnir) w/Intel C Too minor to require h5committest
* [svn-r10174] Purpose:James Laird2005-03-092-61/+61
| | | | | | | | | | | | | | | | | | | Bug fix Description: acsite.m4 contains macros to handle fortran compiler. Some of these macros are obsolete with automake 1.9.5, but some of them are still used. These macros need to refer to the fortran compiler as $FC, not $F9X. Solution: The version of acsite.m4 with this change didn't get checked in last time. Oops. Replaced all occurances of $F9X with $FC and $FFLAGS with $FCFLAGS in acsite.m4. Platforms tested: copper, modi4 (serial and parallel), kelgia, eirene. Some errors from btree code and ph5diff. No errors in fortran/test.
* [svn-r10173] Purpose:Quincey Koziol2005-03-091-16/+0
| | | | | | | | | | | Code cleanup Description: Remove some extraneous ifdef's Platforms tested: FreeBSD 4.11 (sleipnir) Too minor for other testing
* [svn-r10172] Purpose:Quincey Koziol2005-03-093-16/+484
| | | | | | | | | | | | | | Bug fix & New feature Description: Correct some situations where a write lock on the data in the metadata cache was requested, but only a read lock is necessary. Add routine to find nearest neighbor record < or > to a query key. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10171] Purpose:James Laird2005-03-092-31/+41
| | | | | | | | | | | | | | | | | | | Bug fix Description: The fortran compiler is named FC. If F9X environment variable is set, FC should hold the value in F9X. However, this was overwriting values written to FC by platform-specific config scripts. This caused copper to find the wrong fortran when building in parallel, and may have had other symptoms on other platforms. Solution: Assign $F9X to $FC at the beginning of configure, before platform-specific scripts are run. Do this assignment only if FC is empty. Platforms tested: copper, modi4 (parallel and serial w/c++), verbena. This change should only affect fortran build.
* [svn-r10170] Purpose:Leon Arber2005-03-094-57/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fixes Description: Fixes for several bugs, including dumping of excess output to a temporary file, fix for printing hsize_t datatype, and the long awaited fix for intermixed output. Solution: Fix 1: Overflow file Previously, any output that a worker task made was buffered locally in memory, up to a point. Any output beyond the size of the buffer (used to be 10k) was discarded. Now, the memory buffer size has been changed to 1k and any output beyond this amount is sent a temporary file. This way, no output is lost and memory usage is kept under control. The temporary file is deleted as soon as a worker task finishes sending its contents to the manager. Fix 2: hsize_t printing Printing of the hsize_t datatype used to be handled by %Hu passed to HDfprintf. However, there is no corresponding HDvsnprintf that is able to print hsize_t types. These are now printed with the aid of H5_PRINTF_LL_WIDTH. Fix 3: Intermixed output fix Intermixed output would occur on some machines (although I haven't seen it happen for a while) due to the unpredictability of the underlying network and the speed at which various message would travel. This has been fixed by having all output send to the manager for printing. The worker tasks no longer print the output themselves upon receipt of a token, but instead send that data to the manager. Platforms tested: heping, eirene, tg-login (the only place that seems to still experience intermixed output every now and then) Misc. update:
* [svn-r10169] Purpose:Quincey Koziol2005-03-081-1/+2
| | | | | | | | | | | Bug fix Description: Correct minor array bounds read error of 0 bytes that purify found. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10168] Purpose:Quincey Koziol2005-03-082-1/+262
| | | | | | | | | | | | Bug fix & new tests Description: Fix another couple of issues with record removal and add some more tests to make certain removals work correctly. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10166] Purpose:Albert Cheng2005-03-081-1/+2
| | | | Updated with the removal GASS API.
* [svn-r10165] Purpose:Albert Cheng2005-03-081-6/+0
| | | | Updated the help page that install directory is no longer hardset.
* [svn-r10163] Purpose: New way to do conversion test from integers to ↵Raymond Lu2005-03-081-36/+64
| | | | | | | | | | | | | floating numbers. Description: This is the 2nd step of changing conversion test. This checkin is only for conversion from integer to floating number. The source buffer of integer is filled up in the same way described in the last checkin(revision 1.153). Platforms tested: fuss, sol, and heping - copper was down. Couldn't do h5committest.
* [svn-r10162] Purpose:Quincey Koziol2005-03-082-12/+905
| | | | | | | | | | | | | Bug fix & new tests Description: Fix several errors in record removel routines, which should now be feature complete for removing records at any location in the B-tree (further testing will verify this) Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10161] Purpose:Xiaowen Wu2005-03-081-30/+182
| | | | | | | | | | | | | | | | | | New feature. Description: The nbit filter does not support situations where datatype of string, time, enum, variable-length, bitfield, opaque, reference is a field of a compound datatype or array datatype. Solution: Modify the nbit filter to hanle such situations. The filter is a no-op to these dataytypes. Platforms tested: copper, heping. Misc. update:
* [svn-r10160] Purpose:James Laird2005-03-072-75/+60
| | | | | | | | | | | Forgot to run reconfigure Description: Forgot to run bin/reconfigure after removing my debug output from configure.in. Shame on me! Platforms tested: mir
* [svn-r10159] Purpose:Quincey Koziol2005-03-072-31/+249
| | | | | | | | | | | | Bug fix Description: Corrected errors in record removal code to handle removing records in higher nodes in the B-tree. Platforms tested: FreebSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10158] Purpose:James Laird2005-03-0781-7314/+12537
| | | | | | | | | | | | | | | | | | | | | | Automake version upgrade Description: Upgraded automake version from 1.6.2 to 1.9.5. Changed bin/reconfigure script to use automake 1.9.5. Changed configure.in and Makefiles to use new FCFLAGS and FC variables instead of FFLAGS and F9X. Automake and configure should now do the lion's share of the work supporting Fortran 9X; macros in acsite.m4 are now mostly unused (will be cleaned later). Altered how configure handles pmake; now root-level Makefile.in is processed by bin/reconfigure to have a .MAKEFLAGS target, since automake no longer allows us to define unused variables. Configure now always checks for C++ compiler even if it is not used, since automake thinks this is the Right Thing To Do and will break otherwise. Platforms tested: Sol, copper, heping, mir, sleipnir, eirene, pommier, kelgia, modi4.
* [svn-r10156] Purpose:Quincey Koziol2005-03-052-19/+192
| | | | | | | | | | | Bug fix & new feature Description: Allow B-tree's height to be reduced when removing records. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10155] Purpose:Quincey Koziol2005-03-051-10/+288
| | | | | | | | | | | | More tests Description: Add tests for removing records in the root of a level-1 B-tree and promoting and merging leaf nodes. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10154] Purpose:Quincey Koziol2005-03-052-13/+288
| | | | | | | | | | | | | | Bug fix/new feature Description: Tweak the record promotion algorithm to get it working correctly when promoting and redistributing records. Added tests for that case. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10153] Purpose:Quincey Koziol2005-03-057-2/+284
| | | | | | | | | | | | New feature Description: Allow records in internal nodes to be removed, not just records in leaf nodes. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10152] Purpose:Quincey Koziol2005-03-052-58/+409
| | | | | | | | | | | | | | | | | | Bug fix & new feature Description: Fix error in 3-node redistribution when nodes are only moving into the middle node from the left & right nodes (which happens sometimes during record removals). Clean up internal insert & remove routines to remove lots of redundant checking. Added 3->2 node merge routine to handle more record removal cases. Platforms tested: FreeBSD 4.9 (sleipnir) Solaris 2.11 (shanti)
* [svn-r10151] Purpose:Quincey Koziol2005-03-042-7/+324
| | | | | | | | | | | New feature Description: Add code to handle 2->1 node merges during record removal. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10150] Purpose: A new way to do conversion testRaymond Lu2005-03-041-14/+81
| | | | | | | | | | | | | | | | | Description: This is the first step of changing conversion test. This checkin is only for conversion between integers. Instead of filling source buffer with randomly generated bit pattern, this new way uses more sensible bit patterns. It's easier to see using "char" as source for example. The bit patterns will be 00000001, 00000010, 00000100, 00001000, 00010000, 00100000, 01000000, 10000000 00000000, 00000011, 00000111, 00001111, 00011111, 00111111, 01111111, 11111111 11111111, 11111110, 11111100, 11111000, 11110000, 11100000, 11000000, 10000000 The main point of this way is to avoid casting and comparison between source and destination types by compiler. The bit patterns will cover positive maximum and minimum, negative maximum and minimum if the source is signed integer. Platforms tested: h5committest and fuss.
* [svn-r10149] Purpose:Quincey Koziol2005-03-042-296/+172
| | | | | | | | | | | | | | | | | Bug fix & new feature Description: Fix a couple of off-by-one errors in assertions (code was actually correct) for 3 node redistributions. Remove "old" node removal code that is unused now. Add more tests that verify that 2-node and 3-node redistributions are working correctly for removals. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10148] Purpose:Quincey Koziol2005-03-041-4/+42
| | | | | | | | | | | | New test Description: Add a couple more tests for removing records before I start modifying the code further. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10147] Purpose:Quincey Koziol2005-03-041-16/+13
| | | | | | | | | | | | | | | | | Bug fix Description: Filter callback routines were being called with memory "version" of disk datatype (don't ask... :-), which could result in incorrect calculations in the filter callbacks. Solution: Rearrange code to call the filter callbacks after the final disk "version" of the disk datatype has been created. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10145] Purpose:Quincey Koziol2005-03-042-0/+7
| | | | | | | | | | | | Bug fix Description: Add some "safety net" sort of assertions and sanity checks contributed by user. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10144] Purpose:Quincey Koziol2005-03-046-0/+6
| | | | | | | | | | | | | | | | Bug fix Description: The GASS VFL driver header file was bringing in the <string.h> header file, which several other source code modules needed also, but weren't including explicitly themselves. Solution: Add includes for <string.h> to files which actually need them. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++ as CC Configuration not tested by h5committest...
* [svn-r10143] Purpose:Quincey Koziol2005-03-042-2/+2
| | | | | | | | | | | Bug fix Description: Add missing test file to clean target Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10137] Purpose:MuQun Yang2005-03-041-0/+0
| | | | | | | | | | | | | | | Update windows projects Description: 1. Add N-bit and scaleoffset filters to the project files 2. remove H5FDgass.c from HDF5 src directory 3. Add h5diff_comm.c into h5diff project Solution: Platforms tested: VS 6.0 + compaq fortran 6.6c Misc. update:
* [svn-r10136] Purpose:Albert Cheng2005-03-032-11/+23
| | | | | | | | | | | | | | | | Bug fix. Description: MPI_LONG_LONG, which is not standard yet, was used to pass the nubmer of differences found. This was needed because number of differences is defined as type hsize_t which can be arbitary large such that there is no MPI type that matches it. The value is passed between processes as an array of bytes in order to be portable. But this may not work in non-homogeneous MPI environments. This fix was actually Leon's idea. Platforms tested: Tested in QSC in which this failed.
* [svn-r10135] Purpose:Quincey Koziol2005-03-032-249/+1024
| | | | | | | | | | | | | | | Bug fix & new feature Description: Fix problem with inserting existing keys into B-tree corrupting record counts along the path to the failed insertion. Add more support for removing records, it's now handling removing records from leaves of level-1 B-trees. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Solaris 2.9 (shanti)