summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r10234] Purpose:James Laird2005-03-1813-55/+2158
| | | | | | | | | | | | | | | | | | | | | Added Packet Table to high-level APIs Description: The Packet Table is an API that allows the user to append records ("packets") to a table, and read the back again. It supports fixed-length records with a defined datatype and variable-length records. It also supports a "current record" index to track the user's position in the table. Solution: The Packet Table code lives in hl/src, and its tests in hl/test. Some code is shared between the H5TB table and the H5PT Packet Table in the form of functions in H5HL_private.c. Some documentation exists for a previous version of the API. Updated documentation and C++ wrapper API coming soon. Platforms tested: sleipnir, eirene, copper, modi4
* [svn-r10231] Purpose:Quincey Koziol2005-03-182-21/+90
| | | | | | | | | | | | | | | | Bug fix Description: Opening an object in a group that is located in a file which has been unmounted would cause a core dump. :-( Solution: Re-arrangement internal code to compute internal "user" and "canonical" names for the newly opened object in a safer way. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10230] Purpose:Quincey Koziol2005-03-183-0/+183
| | | | | | | | | | | New feature Description: Add in support for deleting entire block tracker. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10229] Purpose:Quincey Koziol2005-03-171-2/+2
| | | | | | | | | | | Update comments Description: Correct some minor errors in comments/error strings. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Solaris 2.9 (shanti)
* [svn-r10228] Purpose: New way to do conversion test between floating-point ↵Raymond Lu2005-03-161-43/+24
| | | | | | | | | | | | numbers. Description: The 4th step of change conversion test. This checkin is only for conversion between floating-point numbers. Solution: The source buffer of floating-point number is filled up in the same way described in the 3rd step(revision 1.155). Platforms tested: h5committest and fuss.
* [svn-r10220] Purpose: Minor bug fixElena Pourmal2005-03-152-2/+2
| | | | | | | | | | | Description: h5jam and h5unjam used old names jam and unjam while printing help message Solution: fixed Platforms tested: heping Misc. update:
* [svn-r10218] Purpose: Bug fixRaymond Lu2005-03-154-51/+146
| | | | | | | | | | | | | | | | | | Description: This commit is actually revision 1.155, which is the 3rd step of changing conversion test. It's for conversion from floating-point to integer. In this step, 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. There're also fixes in config/hpux11.00 for kelgia where default macro table size wasn't big enough to handle the big macro in dtypes.c. Platforms tested: h5committest and kelgia.
* [svn-r10217] Purpose:James Laird2005-03-151-2/+2
| | | | | | | | | | | Bug fix Description: Fix a typo in my last checkin. Should make some compilers happier about "operand types." Platforms tested: sleipnir, heping, kelgia
* [svn-r10216] James Laird2005-03-142-11/+41
| | | | | | | | | | | | | | | | Purpose: Bug fix Description: Calling H5Iobject_verify on an invalid type of ID (e.g., H5I_BADID) triggers an assert. Solution: Test for this condition and return an error instead of an assert. Added tests for this case. Platforms tested: sleipnir (minor change)
* [svn-r10215] Purpose:James Laird2005-03-143-31/+44
| | | | | | | | | | | | | | | | | Configure feature Description: On some platforms with some compilers, automake's dependency tracking is silently disabled. This can be confusing for developers. Solution: Set configure to enable dependencies all the time unless the user explicitly disables them (using the configure flag --disable-dependency-tracking) or a site file overrides the default (as is the case on IRIX). Platforms tested: sleipnir, mir
* [svn-r10212] Purpose: Added more wrappersBinh-Minh Ribler2005-03-1422-21/+296
| | | | | | | | | | | | | | | Description: Added the following to the C++ library + overloaded functions: string CommonFG::getObjnameByIdx(hsize_t idx) H5T_order_t AtomType::getOrder() + wrappers for H5*close + wrappers for H5Arename, H5Aget_storage_size, and H5Dget_storage_size Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper) SunOS 5.8 64-bit (sol)
* [svn-r10208] Purpose:MuQun Yang2005-03-141-0/+4
| | | | | | | | | | | | | | Collective chunk IO configuration Description: Forgot adding H5config.h.in to the CVS tree. Solution: Platforms tested: Copper, heping Misc. update:
* [svn-r10207] Purpose:Leon Arber2005-03-141-1/+1
| | | | | | | | | | | | | | | Bug fix Description: Typo in #ifdef to check for snprintf functionality. Solution: That should have been H5_VSNPRINTF_WORKS. Platforms tested: heping, modi4 Misc. update:
* [svn-r10206] Leon Arber2005-03-133-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Bug fix. Description: ph5diff fails on modi4 due to the way snprintf works on IRIX. Solution: The C99 standard says that, if there isn't enough room in the string, snprintf should return the number of characters that would have been written to the output string if there were enough room. The snprintf on modi4 would return the number of characters that is was able to write succesfully to the string if space ran out. The ph5diff logic that checks if the output buffer was full did not handle this sort of return value correctly. Used VSNPRINTF_WORKS from configure test to check how snprintf works and do the logic accordingly. Platforms tested: modi4 Misc. update:
* [svn-r10204] Purpose:MuQun Yang2005-03-111-0/+189
| | | | | | | | | | | | | | | | | | | | | | Provide a way to warn users on the usage of collective IO because of potential MPI-IO bugs for some platforms. Also provide a way for users to give us feedback if the vendor has already fixed the problem so that we can turn off the hard-code macro in our configure description file. Description: See above. Solution: Use a simple MPI complicated derived datatype program to check whether derived data type works for this MPI-IO package. Print out some messages to warn users if not working as we had expected. Platforms tested: AIX 5.1(copper) and Linux 2.4(heping) Misc. update:
* [svn-r10203] Purpose:Quincey Koziol2005-03-112-3/+323
| | | | | | | | | | | New feature/tests Description: Add better support & tests for removing blocks being tracked. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10202] Purpose:MuQun Yang2005-03-113-0/+10
| | | | | | | | | | | | | | | Hard code IBM platform so that the irregular collective IO won't call MPI derived data type. Description: IBM MPI-IO has a bug for MPI derived data type. Solution: Platforms tested: copper(AIX,mpcc_r) and heping(Linux, mpich) Misc. update:
* [svn-r10201] Purpose:MuQun Yang2005-03-112-1/+39
| | | | | | | | | | | | | | | | | | | | | IBM MPI-IO has a bug for MPI derived data type, which is used to support collective IO. In order to avoid this, we provide a way to turn off collective IO support for this kind of platform. Description: Using a new macro called H5_MPI_COMPLEX_DERIVED_DATATYPE_WORKS to turn off irregular hyperslab collective IO support at such platforms. Solution: Hard code such platforms under hdf5/config. So far only IBM AIX has been found to have such problems. Platforms tested: heping (Linux) and copper(Aix). Testing at tungsten now, however, it took almost an hour to build parallel HDF5 at tungsten, it is still building. Cannot wait. Have tested this feature at Tungsten a week ago. Misc. update:
* [svn-r10199] Purpose:Quincey Koziol2005-03-113-0/+437
| | | | | | | | | | | New feature Description: Add basic block removal feature Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10198] Purpose:Quincey Koziol2005-03-112-45/+388
| | | | | | | | | | | New feature Description: Handle merging new blocks with existing blocks Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10196] Purpose:Quincey Koziol2005-03-111-2/+2
| | | | | | | | | | Code cleanup Description: Actually use the new error code defined... :-) Platforms tested: None, too minor to require re-test.
* [svn-r10195] Purpose:Quincey Koziol2005-03-118-4/+376
| | | | | | | | | | | New feature Description: Add feature to modify an existing record in a B-tree Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r10194] Purpose: Roll back change made last timeRaymond Lu2005-03-111-143/+50
| | | | | | | | Description: Reverse the 3rd step of change just checked in yesterday(revision 1.155) because of some errors in daily test. Use the revision 1.154 for now until the problem is fixed. Platforms tested: fuss - simple rolled back to previous revision.
* [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.