summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r12791] Change stattest.bat to stattest.BAT. MuQun Yang2006-10-201-1/+1
| | | | Windows is not case sensitive but Unix is.
* [svn-r12790] Add a new batch file to test h5stat.MuQun Yang2006-10-203-7/+167
| | | | | Update repacktest.bat for the new h5repack test. Update tooltest.bat to include h5stat test.
* [svn-r12789] Add a new windows test batch file(stattest.bat) to test h5stat ↵MuQun Yang2006-10-201-0/+1
| | | | on windows.
* [svn-r12788] Enable the algorithm of Direct driver to read data in fragment ↵Raymond Lu2006-10-191-36/+76
| | | | | | | | from file. If the application requests large data from file, to avoid using too much of memory for copying data from library's own aligned buffer to application's (unaligned) buffer, this step is done in fragment. The next step checkin is to handle writing data in fragment.
* [svn-r12787] Fix some references to Variable-length packet table functions.James Laird2006-10-192-0/+22
| | | | | | | For some reason, only Visual Studio DLLs complained about these. Current code compiles for me under Visual Studio and generates no related warnings on juniper.
* [svn-r12786] Pedro Vicente Nunes2006-10-191-85/+89
| | | | | a more improved usage message, specially on the filter and layout information
* [svn-r12785] Pedro Vicente Nunes2006-10-191-14/+20
| | | | added a new much more readable usage message
* [svn-r12784] Pedro Vicente Nunes2006-10-1913-291/+710
| | | | | | | | | | | | | | | | | Fixes for bugs 676, 228 676: both h5repack and h5diff use H5Dread. In the case of a "big" dataset, use read/write by hyperslabs the same way h5dump uses. An arbitrary value of 1GB was defined for "big", i.e, if the dataset is greater than 1GB, then read/write by hyperslabs 228: use the file type in read/write by default. A new switch -n was introduced if the user wants to use a native type, which was the previous use by default. Added a new test for h5repack that repacks a 1GB dataset Tested: heping (serial, parallel), sol, copper
* [svn-r12783] Took out the function H5FD_direct_alloc that was added ↵Raymond Lu2006-10-191-47/+1
| | | | | | | yesterday. This function would be redundant because the allocation function in H5FD.c H5FD_real_alloc actually has handled the aligned allocation.
* [svn-r12778] Multi file driver test fails. Elena Pourmal2006-10-191-8/+4
| | | | | | | | | | | | | | | | | Skipped until fix is found. Tested on heping with pgf90. Note: Logic was wrong; as a result, the test was bypassed for all compilers except those (like Intel) that understand !DEC compiler directive. I confirmed that the test fails on heping with pgf90. The symptoms are the same: 1.6.5 h5dump can read multi files created by fortran test, but built h5dump fails with internal error. --This line, and those below, will be ignored-- M test/fortranlib_test.f90
* [svn-r12777] Added support to aligned file space allocation. The alignment ↵Raymond Lu2006-10-181-1/+47
| | | | | | should be set through H5Pset_alignment.
* [svn-r12776] The internal change is to make the 3 parameters of ↵Raymond Lu2006-10-183-25/+213
| | | | | | | | H5Pset_fapl_direct be a structure and passed through driver info functions in H5FD_direct_open, H5FD_direct_read, and H5FD_direct_write. The external change is to add a new API function H5Pget_fapl_direct to query 3 control values, the memory boundary, file system block size, and the maximal buffer size for copying data.
* [svn-r12775] Fixed HL C++ errors from removing VL packet table. Silly me forJames Laird2006-10-183-0/+10
| | | | | | omitting the C++ test in the first place! Tested on heping (with --enable-cxx!).
* [svn-r12774] Modified flush code in the metadata cache to allow it toJohn Mainzer2006-10-1815-232/+7496
| | | | | | | | | | | | | | | | | handle flush callbacks which can dirty other entries, and resize and/or rename the target entry. This feature is needed by the fractal heap code. Also added associated test code. H5Commit tested. Test failed on heping, but the error appears to be a syntax error in an un-related file. Tests on copper & sol passed, along with tests on phoenix.
* [svn-r12773] Removed Variable-length packet tables from the HL libraries.James Laird2006-10-176-0/+18
| | | | | | | This is a quick change to make sure nothing breaks; VL functions in the header files have been #ifdef'd out. Tested on mir.
* [svn-r12772] Pedro Vicente Nunes2006-10-173-24/+173
| | | | added more tests for h5copy (compressed datasets, vl named datatypes )
* [svn-r12771] Description:Quincey Koziol2006-10-174-151/+453
| | | | | | | | | | | | | | | | | More fixes to make the I/O & memory operations more efficient when loading & flushing object header chunks. Add in concept of a chunk having a "gap" at the end - unused space that is not large enough to hold a full null message that describes it. Clean up formatting a bit. Latest version of object header format not enabled yet, still working on a few bugs... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12770] Description:Quincey Koziol2006-10-164-375/+367
| | | | | | | | | | | | | | | Overhaul usage of object header chunks to reduce I/O operations and memory allocations. The object header prefix is now stored in the first object header chunk's "image" in memory. Also, lots of formatting cleanups. Taught h5debug tool about new object header format (which isn't enabled just yet). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12769] Description:Quincey Koziol2006-10-161-53/+50
| | | | | | | | | | | Move object header creation past several internal possibilities for errors, making the routine more resistant to errors encountered. Also, various formatting/compiler warning cleanups. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12768] Description:Quincey Koziol2006-10-167-36/+36
| | | | | | | | | | Add 'initval' parameter to "lookup3" checksum routine (and implicitly to the metadata checksum routine), to allow chaining several checksums together easily (which isn't used by these modules, but will be used in my next checkin) Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12767] Description:Quincey Koziol2006-10-165-17/+19
| | | | | | | | Code cleanup to improve formatting & reduce compiler warnings. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12766] Made two changes to Direct I/O VFD: first added 3 parameters to ↵Raymond Lu2006-10-164-128/+176
| | | | | | | | H5Pset_fapl_direct to control memory boundary, file block size, and maximal copy buffer size; second in H5FD_direct_write and H5FD_direct_read, the library checks whether data buffer is aligned. If it is, then write and read the data directly instead of making a copy buffer.
* [svn-r12765] Description:Elena Pourmal2006-10-163-30/+30
| | | | | | | | | | Daily tests failed for Absoft f95 compiler Solution: Failure was due to several typos in H5f90prpto.h file; fixed I also removed redundant flags from the configration files. Platforms tested: heping with f95, g95, pgf90; pommier with f95
* [svn-r12764] Pedro Vicente Nunes2006-10-162-88/+134
| | | | | | | | put the H5LTcreate_compound_type function inside the #ifdef NOT_YET macro meaning that the function is not used by us
* [svn-r12763] Pedro Vicente Nunes2006-10-162-52/+8
| | | | | | | | | | | removed the function H5LTcreate_compound_type from the source directory. this function was not being used. when it was written, it was meant to be an auxiliary function to be used on the table api, but it never had an usage commented the H5LTrepack function with the #ifdef NOT_YET macro it is also not being used
* [svn-r12762] Pedro Vicente Nunes2006-10-162-10/+8
| | | | rewrote the -b option to make it more clear
* [svn-r12761] Description:Quincey Koziol2006-10-167-389/+445
| | | | | | | | | | Refactor object header macros, in preparation for updating the format. Tested on: Mac OS/PPC 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) w/thread-safe Linux/32 2.4 (heping) w/C++ & FORTRAN Linux/64 2.4 (mir) w/1.6 compat & build-all
* [svn-r12760] Description:Quincey Koziol2006-10-161-3/+253
| | | | | | | | | | | | Speculatively attempt to read in the entire first chunk in object header with the object header prefix. If successful (which it is most of the time), this reduces by 1 the # of I/Os required to read in the object header. Since the object header typically was taking 2 I/Os, this should cut the number of I/O operations when opening an object's header in half. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/C++ & FORTRAN
* [svn-r12759] Description:Quincey Koziol2006-10-133-4/+4
| | | | | | | Fix errors with check-vfd and recent modifications to tests. Tested on: Linux/64 2.4 (mir) w/check-vfd
* [svn-r12758] Description: Maintenenace for VMSElena Pourmal2006-10-131-2/+3
| | | | | | Solution: Added new library files to the compilation script Platforms tested: VMS server at Boeing
* [svn-r12756] Description:Quincey Koziol2006-10-127-113/+94
| | | | | | | | | | | | | | Clean up some object header code in advance of more major changes in the near future. Fix small initialization error in attribute message name buffer copy. Tweak down the default # of messages for new object headers. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Mac OS/32 10.4.8 (amazon)
* [svn-r12755] The line "#define _XOPEN_SOURCE 600" is recommended for ↵Raymond Lu2006-10-121-2/+3
| | | | | | posix_memalign function but causes compiling error on copper. Comment it out. It only gives a warning on SGI Altix.
* [svn-r12753] Added 1.6 compatibility support for packet table test.James Laird2006-10-121-0/+10
| | | | Tested on mir.
* [svn-r12752] Descripton: This is a port to G95 compiler for MAC OSX and AIX 5.2Elena Pourmal2006-10-1213-811/+2612
| | | | | | | | | | | | | | | | Previous implementation failed to compile on MAC OS X Tiger 10.4 and AIX 5.2 In previous implementation, each overloaded Fortran function called the same C function. Since declaration of parameters in INTERFACE block for C Function differed, some compilers issued warnings but g95 on MAC and AIX failed to compile. Solution: Add C wrappers corresponding to each overloaded Fortran function to call C stub function. This fix should also reduce number of warnings on IRIX systems. Platforms tested: MAC OS and AIX 5.2 (copper) with g95; sol (with Sun compilers), heping with PGI compilers
* [svn-r12751] Purpose:Albert Cheng2006-10-129-71/+73
| | | | | | | | | | | | | | | | Bug fix (related to 544) Description: h5_get_file_size() was coded to return 0 if failed but file size can be 0. Changed the failure return value to -1 which is allowed by the returned type of off_t which is a signed type. Also changed the checking code of the stat call to just == 0 since that is how it is defined. Test: Could test it in heping only. Both Sol and Copper failed to compiled due to error in the Direct IO VFD code.
* [svn-r12750] Purpose:Albert Cheng2006-10-121-3/+3
| | | | | | | | | | | Bug Fix (Bug 544) Description: SGI Altix's MPI_File_get_size overflowed at 2GB and more. Replaced h5_mpi_get_file_size calls by h5_get_file_size. Tested: Cobalt.
* [svn-r12748] _exit() function for Windows DLL cannot immediately terminate ↵MuQun Yang2006-10-111-4/+17
| | | | | | | | | the calling process. So new flush2 tests generates false failures for DLL version on windows. Two cases of flush2 tests were skipped temporarily on windows. The inserted windows macros should be removed when a better solution is found. Tested on vs6.0 and vs 7.1 and Linux.
* [svn-r12747] Added a condition check to see if Direct I/o is enabled.Raymond Lu2006-10-111-0/+2
|
* [svn-r12746] Changed Packet Table compression to what is hopefully a more ↵James Laird2006-10-111-52/+61
| | | | | | | | | portable test (apparently, there are some systems for which compression makes things bigger :/ ). Tested on heping.
* [svn-r12743] Took out printout for driver information because the driver ↵Raymond Lu2006-10-113-5/+5
| | | | | | used can be different from the driver used for standard output.
* [svn-r12742] Updated this output for a new driver "direct" has been added.Raymond Lu2006-10-111-1/+1
|
* [svn-r12741] Added support for direct I/O to check-vfd. The direct VFD is ↵James Laird2006-10-1047-991/+1006
| | | | | | | | | | only tested if it is enabled. Added Direct VFD status to the configure summary. Removed a line left over from pablo support. Oops!
* [svn-r12740] Description:Quincey Koziol2006-10-1013-489/+540
| | | | | | | | | | | Update datasets and the layout, attributes and fill-value object header messages to use the latest version of the file format flag. Tested on: FreeBSD 4.11 (sleipnir) Linux/64 2.4 (mir) Linux/32 2.4 (heping)
* [svn-r12739] Added Direct I/O driver to VFD. It's only supported by SGI ↵Raymond Lu2006-10-1018-45/+1317
| | | | | | | | | | Altix (cobalt). There's a configure option --enable-direct-vfd/--disable-direct-vfd to enable/disable Direct I/O support. The default is enabled. There's a small test in test/vfd.c. Another way to test it is to set environment variable HDF5_DRIVER to "direct" and run "make check" in the test/ directory. There'll be some further improvement in the following checkin including allowing user to provide memory boundary value, file block size, and copying buffer size.
* [svn-r12738] Description:Quincey Koziol2006-10-102-2/+2
| | | | | | | | Tweak down some of the static array definitions for new & re-loaded object header data structures, to reduce memory use in common cases. Tested on: Linux/32 2.6 (chicago)
* [svn-r12736] Description:Quincey Koziol2006-10-0959-855/+815
| | | | | | | | | | | | | | | | | | | Add "use the latest format" support for dataspace object header encode/ decode routines and clean up format a bit for the latest format (new to 1.8.x releases) Remove storing 'perm' parameter for array datatypes in memory and the file, and add test to make certain that if any user applications are attempting to store them, we get some reports back. (Should be unlikely, since the RefMan says that the parameter is not implemented and is unsupported). Carry those changes into the tests, etc. Clean up a bunch more compiler warnings. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
* [svn-r12735] Description:Quincey Koziol2006-10-098-100/+100
| | | | | | | | | | Clean up some compiler warnings and resolve some inconsistenceis between hsize_t and size_t in the interface. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
* [svn-r12734] Description:Quincey Koziol2006-10-095-18/+15
| | | | | | | | | Clean up some compiler warnings. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
* [svn-r12733] Description:Quincey Koziol2006-10-091-1/+1
| | | | | | | | | | Use calloc() instead of malloc(), in order to fail a bit more gracefully on errors. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
* [svn-r12732] Description:Quincey Koziol2006-10-091-1/+1
| | | | | | | | | | | Fix error with passing in new root indirect block instead of NULL pointer to protect of previous root direct block, when converting heap to use a root indirect block. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat