Commit Graph

818 Commits

Author SHA1 Message Date
Quincey Koziol
dc73eca159 [svn-r13041] Description:
Migrate "internalish" attribute operations into new source code file.

    Add test & basic support for opening attributes in dense storage (shared
attributes not tested or supported yet).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-12-11 14:02:38 -05:00
Quincey Koziol
7b368f006e [svn-r13028] Description:
Add first pass of "dense" attribute storage to objects.  Lots of parts of
this are stubbed out, but all the tests are passing and I'll work on the corner
cases soon.

    Eliminated several unused parameters from object header message callback
routines.

    Other, miscellaneous code cleanups, etc. (and probably some things I've
forgotten about... :-)

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    AIX/32 5.? (copper)
2006-12-06 17:19:52 -05:00
Quincey Koziol
2f3344a049 [svn-r12994] Description:
Propagate object creation properties up into group, dataset and named
datatype property lists, when those property lists are retrieved for
existing objects in a file.

    Also, add H5Tget_create_plist() API routine, to allow named datatype
property lists to be retrieved for named datatypes.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-28 23:13:02 -05:00
Pedro Vicente Nunes
124ef64faf [svn-r12984]
Added a relative error formula to deal with floating point uncertainty
in the comparison of floats and double types. 
Added new tests for this feature to the file generator program and to
the shell script
2006-11-27 15:10:53 -05:00
Quincey Koziol
59208d8a9b [svn-r12976] Description:
Add # of attributes to the object info struct and deprecate
H5Aget_num_attrs().

Tested on:
    FreeBSd/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-27 09:51:22 -05:00
Elena Pourmal
7a72dfb6c9 [svn-r12943] Description:
Fixed MANIFEST files for daily tests failure and updated VMS make.com file

Platforms tested:
	bin/chkmanifest on heping and VMS server
2006-11-19 10:29:57 -05:00
Quincey Koziol
7972dfc940 [svn-r12942] Description:
Fix H5Rget_name() routine with dataset region references and merge tests
into getname test.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-18 08:52:32 -05:00
Quincey Koziol
b2acbc56c6 [svn-r12938] Description:
Add src/H5Oalloc.c file forgotten in previous object header checkin

    Break out more object header routines into separate file (debugging routines
this time).

    Fix "//" style comment in recent ISOHM source changes.

    Fix 'size_t' vs. 'unsigned' problem (visible in 64-bit testing) in recent
ISOHM test changes.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
2006-11-17 15:12:28 -05:00
Elena Pourmal
7cc88ba656 [svn-r12930] Description:
Added new refreg_name.c file to test H5Rget_name and H5Iget_name for region references.
	H5Rget_name tests are skipped for now since they do not work (at least for me :-)

Platforms tested:
	heping and copper
2006-11-16 18:28:13 -05:00
Pedro Vicente Nunes
8f74e81758 [svn-r12917]
h5repack revision: 
1.	added a new test due to the introduction of H5Ocopy in the copy of objects (compressed dataset with references, that still must go a second sweep of the file to be regenerated). 
2.	Moved all the source files from the h5repack test program to a new file h5repacktst.c and removed the old ones (testh5repack*.c). 
3.	Renamed the binary files from test*.h5 to h5repack*.h5 for easy reference.
4.	Modified the shell script to use variables for file names instead of hard coded names
2006-11-15 14:56:44 -05:00
James Laird
3d6c91d38d [svn-r12909] Updated MANIFEST, no other changes. 2006-11-14 09:03:33 -05:00
Elena Pourmal
69b4a45dab [svn-r12899] Description:
Added new file h5_ref2reg.c to MANIFEST
2006-11-13 12:15:09 -05:00
Quincey Koziol
174f0dab3f [svn-r12896] Description:
Move compact storage routines into separate file, to make room for internal
routines that operate on links within group operations.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-13 11:43:29 -05:00
Pedro Vicente Nunes
b782690027 [svn-r12888]
Introduced the second sweep of the file for a case a reference is present and H5Ocopy was not used.
Moved the code from file h5repack_refs.c to h5repack_copy.c and removed the first file
2006-11-10 15:23:31 -05:00
Quincey Koziol
2e8e42d6c9 [svn-r12869] Description:
Rename new H5Gcopy() routine to H5Ocopy() as discussed in last Friday's
design discussion.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-06 16:35:44 -05:00
Elena Pourmal
8964bd835b [svn-r12862] Description:
Daily tests reported broken MANIFEST file; fixed.

Platfroms tested:
	heping with bin/chkmanifest
2006-11-04 13:19:47 -05:00
Leon Arber
06408a4efb [svn-r12851] Purpose: Update MANIFEST with new reference test. 2006-11-02 18:03:53 -05:00
Quincey Koziol
19c9657f7c [svn-r12842] Description:
Refactor generic property list initialization code to put property list
specific routines in property list modules, instead of scattered to the four
winds.  Also, introduce property list class initialization objects, to make
adding new property list classes in the library easier.

    Fix daily test failure by using H5Pget_elink_prefix() API routine instead
of looking at the "raw" generic property list information.

Tested on:
    Mac OS X/32 10.4.8 (amazon)
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/C++ & FORTRAN
    Linux/64 2.4 (mir) w/build-all & 1.6 compat
2006-11-01 23:54:19 -05:00
Pedro Vicente Nunes
9d94440384 [svn-r12815]
1) added a new parameter to the h5diff function diff_array that contains
the beginning position of the hyperslab, so that the total position in
the array is printed correctly when reading by hyperslabs.
2) added a new test to h5diff  that reads and diffs by hyperslabs. The
test reads a 1GB dataset, from which a 1KB hyperslab was written with
differences .
3) added the generation of 2 files to the generator program to test the
h5diff hyperslab read.
4) changed the h5diff binary pre-generated file names to be more
descriptive (e.g, instead of file1.h5, made it h5diff_basic1.h5)
5) changed the name of the h5repack options text file to info.h5repack
2006-10-25 15:38:28 -05:00
MuQun Yang
ea1047de51 [svn-r12814]
Add a new batch file copytest.BAT to test h5copy on windows.
2006-10-25 15:19:19 -05:00
Binh-Minh Ribler
22023b1e9f [svn-r12797] Purpose: Adding test
Description:
    Added trefer.cpp to c++/test.

Platform tested:
    ran bin/chkmanifest
2006-10-22 03:29:46 -05:00
MuQun Yang
db3c44c6d6 [svn-r12791] Change stattest.bat to stattest.BAT.
Windows is not case sensitive but Unix is.
2006-10-20 09:47:21 -05:00
MuQun Yang
2a973f740a [svn-r12789] Add a new windows test batch file(stattest.bat) to test h5stat on windows. 2006-10-19 20:40:25 -05:00
Pedro Vicente Nunes
a1edc70691 [svn-r12784]
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
2006-10-19 12:07:26 -05:00
Raymond Lu
65d30cc9c3 [svn-r12739] Added Direct I/O driver to VFD. It's only supported by SGI 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.
2006-10-10 15:07:16 -05:00
Quincey Koziol
e9ea7e8eaf [svn-r12708] Description:
Add the "use the latest version of the format" support to datatype
messages.  And a regression test to check that it's working.

    Also, found that we have been over-allocating space for compound datatype
messages (when they have array datatypes or can use the latest version of the
format) and trimmed the size back.

    Clean up datatype & dataspace encode/decode routines by having them
allocate & release "fake" file structures, which gets them out of needing to
"know" about the internals of file structures.

    Other minor whitespace/formatting cleanups, etc.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-10-02 19:54:33 -05:00
Quincey Koziol
a6f6462541 [svn-r12700] Alert:
File format is not stable, don't keep files produced!

Description:
    First stage of checkins modifying the format of groups to support creation
order.  Implement "dense" storage for links in groups.

    Try to clarify some of the symbols for the H5L API.

    Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest
file format options (including "dense" link storage in groups)

    Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation
order tracking in groups (although no index on creation order yet).

    Remove --enable-group-revision configure flag, as file format issues are
now handled in a backwardly/forwardly compatible way.

    Clean up lots of compiler warnings and other minor formatting issues.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-v1.6 compa
    Mac OSX/32 10.4.8 (amazon)
    AIX 5.3 (copper) w/parallel & FORTRAN
2006-10-02 05:24:03 -05:00
Leon Arber
a03647db10 [svn-r12698] Updated to include t_pflush tests. 2006-10-01 16:29:29 -05:00
James Laird
b0c2c41e57 [svn-r12689] Added bin/gcov_script to the MANIFEST 2006-09-27 09:23:37 -05:00
Pedro Vicente Nunes
fdbdaf656b [svn-r12685] added a new binary file for h5dump testfiles 2006-09-26 10:53:44 -05:00
MuQun Yang
afcf6b7608 [svn-r12676] Adding jamtest.bat line for windows. 2006-09-20 15:56:18 -05:00
Pedro Vicente Nunes
b72f6dc836 [svn-r12671]
added a test file generator program for h5copy, modified test script to use
that file, added binary file to repo

tested on heping, shanti
2006-09-18 11:25:47 -05:00
Frank Baker
749a0b9c17 [svn-r12640]
Description:
    Add per-directory abbreviated copyright notices 
    (abbreviated COPYING files pointing to full notices).
Tested:
    MANIFEST verified; not otherwise tested.
2006-09-04 13:30:13 -05:00
James Laird
26f511b761 [svn-r12624] Added external link files to MANIFEST (oops!). 2006-08-24 09:18:42 -05:00
Quincey Koziol
5fe34046c0 [svn-r12605] Description:
Break out a bunch of the misc. routines that were in src/H5.c into more
specific modules.

    Add optimized fletcher32 checksum routine, for checksumming metadata as
well as raw data.

Tested On:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
    Will test further after checkin...
2006-08-21 18:27:11 -05:00
Quincey Koziol
49d1901fdd [svn-r12592] Description:
Several changes, all mooshed together:
        - Add support for "tiny" objects - which can be stored in the heap
            ID itself, instead of in the heap data blocks.
        - Flesh out support for compressed direct blocks, but comment it
            out until John's got some metadata cache changes in place to
            support it.
        - Add support for applying I/O pipeline filters to 'huge' objects
        - Refactor 'huge' object code to store information for 'huge' objects
            directly in the heap ID, when there are I/O pipeline filters
            applied to the heap (and the heap ID is large enough to hold the
            information)
        - Update h5debug tool to correctly handle 'huge' & 'tiny' objects.
        - Misc. other code cleanups, etc.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/64 2.4 (mir)
    Solaris/64 2.9 (shanti)
2006-08-17 10:59:14 -05:00
Quincey Koziol
1369e55090 [svn-r12568] Description:
Rename some files, to better align with the names of the functions within
them.

Tested on:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2006-08-11 22:07:24 -05:00
Quincey Koziol
b648c14f13 [svn-r12562] Description:
Initial revision to add support for "huge" objects in the heap (which are
actually stored directly in the file, but are tracked with v2 B-tree that is
accessed through heap header).

Testing:
    FreeBSD 4.11 (sleipnir)
    Linux/64 2.4 (mir)
    Linux/32 2.4 (heping)
    Mac OS X.4 (amazon)
2006-08-09 22:45:06 -05:00
Elena Pourmal
2bf4bc29cd [svn-r12559] Maintenance for VMS
Added files created by James for user-define links to the command files
  Added  new script check_h5jam.com to test h5jam/h5unjam; test script
  needs more work.

Platforms tested:
  VMS server and test script only.
2006-08-09 17:46:17 -05:00
Quincey Koziol
c3b9788c9f [svn-r12545] Description:
Add external link test file
2006-08-04 15:52:48 -05:00
Albert Cheng
529ccc18f5 [svn-r12536] updated for the newly added file, ./tools/testfiles/nosuchfile.ls. 2006-08-03 23:02:12 -05:00
James Laird
3e755623cb [svn-r12528] Added User-Defined links to the library.
Users can create external links using H5L_create_external().  These links
point to an object in another HDF5 file.  Users can alter the behavior of
external links or create new kinds of links by registering callbacks
using the H5L interface.

Added tests, tools support, etc.

Also a number of other, minor changes have been made (some restructuring of
the H5L interface, for instance).

Additional documentation and examples are forthcoming.
2006-08-02 18:41:53 -05:00
Elena Pourmal
71a4d0e9c4 [svn-r12526] Description:
Added test script to test h5import tool; added new source file
  to the make.com file in the src directory.

Platforms tested:
  Only h5import was tested on the VMS server
2006-08-02 14:08:09 -05:00
Quincey Koziol
c951c27830 [svn-r12525] Description:
Refactored free space manager to use metadata cache for serialized free
space sections.  This speeds up the fractal heap test considerably...

Tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4/32 (chicago)
    Linux 2.4/64 (mir)
    Mac OS X (amazon)
2006-08-02 11:44:44 -05:00
Elena Pourmal
676260a09b [svn-r12523] Description:
Added command files to compile and test h5copy tool.

Platfroms tested:
  VMS server
2006-08-01 16:41:15 -05:00
Pedro Vicente Nunes
70b46a1d89 [svn-r12518] h5dump binary output:
1. changed the -F flag option names to "BE and "LE" for big and little endian 
2. added a more verbose usage message for these options
3. add a new test
4. add a make clean instruction  to *.bin
2006-07-31 11:04:31 -05:00
Pedro Vicente Nunes
c7384f49e0 [svn-r12513]
new feature
h5dump binary output. use little and big endian type conversions
2006-07-28 10:00:29 -05:00
Elena Pourmal
e55a2e7bd1 [svn-r12512] Added check_h5repack.com file to MANIFEST 2006-07-27 18:04:27 -05:00
Elena Pourmal
6a3cbe5b70 [svn-r12509] Added command file to test h5diff utility.
All tests passed on the VMS server.
2006-07-27 11:42:32 -05:00
MuQun Yang
48054acffe [svn-r12508] 2006-07-27 10:07:38 -05:00
Elena Pourmal
c8157183b6 [svn-r12498] Added script to test h5ls tool on VMS system. All tests passed except for
the last one 
      h5ls -w80 -v -S tattr2.h5

h5ls prints "native" for all types instead of the complete datatype definition. 
I will look into the problem next.
2006-07-26 17:11:22 -05:00
MuQun Yang
25842752b4 [svn-r12497] Update MANIFEST so that new windows dsp file binread.dsp is included.
Forgetting updating MANIFEST  may be the reason why alpha release doesn't include binread.dsp and causes the problem on windows.
2006-07-26 11:08:01 -05:00
Pedro Vicente Nunes
4e9213bc63 [svn-r12488] added a missing file to manifest 2006-07-21 10:05:48 -05:00
Pedro Vicente Nunes
5d8a9053c7 [svn-r12482] new tool h5copy
it uses the API function H5Gcopy to copy groups and datasets from file
to file, read from a command line

note: the test script is not finished yet
tested on heping, copper, shanti
2006-07-19 16:47:33 -05:00
MuQun Yang
a23147fff2 [svn-r12467] Rename h5stat output file to avoid lower/upper-case filename clash on Windows 2006-07-14 15:23:43 -05:00
Quincey Koziol
d39ba334a6 [svn-r12465] Add regression test to check that the library handles files with merged
object header messages properly.

Too minor to require h5committest
2006-07-14 14:06:24 -05:00
James Laird
3f4cbda457 [svn-r12453] Purpose:
Documentation update

Description:
Updated MANIFEST and RELEASE.txt for H5L change
2006-07-05 14:13:54 -05:00
Pedro Vicente Nunes
7637b67933 [svn-r12444] Purpose:
new feature

Description:

added support for h5dump to dump binary data using the file type format
added one test to the test script that tests this


Solution:

Platforms tested:
mir
shanti
copper


Misc. update:
2006-06-28 14:34:08 -05:00
Pedro Vicente Nunes
8846157e59 [svn-r12437] Purpose:
new feature. h5dump output of binary data

Description:
a new switch -b FILE_NAME that dumps the contents of memory data to file FILE_NAME in binary form

new program binread.c that reads the contents of this file and outputs it to stdout

added a test for the h5dump shell script that does a run of -b
the binread.c program reads the data used in this run, usage is ./binread FILE_NAME


Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2006-06-26 09:41:59 -05:00
Elena Pourmal
842895a799 [svn-r12434] Purpose: Maintenance
Description: Added support for HPUX11.23

Solution: Added configuration file for the system.
          Both C, C++, F90, HL 32-bit and 64-bit are supported. Known problems:
          C++ library will not build in 64-bit mode if shared is enabled.

Platforms tested: HPUX 11.23 at UMKC

Misc. update:
2006-06-22 16:21:12 -05:00
Elena Pourmal
9884f21700 [svn-r12429] Purpose: Alpha Open VMS port
Description: Added a command file for testing tools; it has a framework
             to do exactly (almost) what UNIX tools test scripts do:
              - run test tool and save output
              - compare output with expected result
              - figure out the difference and
              - print PASSED /*FAILED* in a manner similar to the UNIX output
             It needs to be populated with more tests and reused for other tools.

Solution:

Platforms tested: VMS server

Misc. update:
2006-06-21 16:41:30 -05:00
Pedro Vicente Nunes
e6221448b9 [svn-r12427] Purpose:
new file with HL fortran exampleA

Description:

Solution:

Platforms tested:

Misc. update:
2006-06-20 16:46:09 -05:00
Elena Pourmal
b73313b3d4 [svn-r12417] Purpose: Maintenance
Description: I added new tests/files for the h5stat tool. MANIFEST was updated
             accordingly.

Solution:

Platforms tested: heping, shanti

Misc. update:
2006-06-18 12:40:38 -05:00
Elena Pourmal
b7beca9770 [svn-r12416] Purpose: Maintenance
Description: Added test script and two test files in the tools/misc/testfiles
             directory for testing h5stat tool; modified Makefile.am in tools/misc
             and configure.in files to run the new test script; reran bin/recofigure
             to update relevant configuration files; updated MANIFEST

Solution:

Platforms tested: heping with in place and srcdir builds; will do more testing
                  after the checkin.

Misc. update:
2006-06-17 13:16:05 -05:00
James Laird
a31e264f89 [svn-r12411] Purpose:
Bug fix - bugzilla #552

Description:
On Cray X1, trying to use : as an argument confused the system.

Solution:
Added a test in configure to see if : as an argument is bad.
If so, skipped the test.

Platforms tested:
mir, Cray X1 (change to configure only)
2006-06-13 16:21:14 -05:00
Raymond Lu
d777615dfa [svn-r12375] Purpose: Update
Solution:


Misc. update: added hl/test/dtype_file_readable.txt
2006-05-24 09:42:00 -05:00
Raymond Lu
8762875bb3 [svn-r12359] Purpose: Update
Misc. update: added hl/test/dtype_file.txt.
2006-05-19 09:29:59 -05:00
Pedro Vicente Nunes
ff8fd06fab [svn-r12354] Purpose:
manifest update

Description:
one new file that was not updated yesterday

Solution:

Platforms tested:

Misc. update:
2006-05-18 10:38:50 -05:00
Quincey Koziol
7b6db1046b [svn-r12349] Purpose:
Code checkpoint

Description:
    Checkpoint fractal heap improvements, as well as move the free space
manager code that it's using into a separate package.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4/64 (mir) w/C++ & FORTRAN
    Linux 2.4/32 (heping)
    Solaris 2.9 (shanti)
    AIX 5.? (copper) w/FORTRAN & parallel
2006-05-14 23:35:53 -05:00
Quincey Koziol
c6e532afb9 [svn-r12320] Purpose:
code cleanup

Description:
    Finish H5FS->H5CS internal API name changes...

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/ & w/o --enable-codestack
2006-05-01 22:17:49 -05:00
Quincey Koziol
4965bf1839 [svn-r12317] Purpose:
Code checkpoint

Description:
    More progress on fractal heap, can now re-open an existing heap, although
the free space algorithm still needs work.

    Also, use the new "pinned entry" metadata cache code.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
    Solaris 9 (shanti)
    Linux 2.4/64 (mir)
2006-04-30 08:32:41 -05:00
Quincey Koziol
cc5b2ff93b [svn-r12314] Purpose:
Code cleanup

Description:
    Big clean up on high-level library code, including:
        - Removing include of HDF5 private header file(!)
        - Reduce number of compiler warnings
        - Untangle header files, etc.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & FORTRAN
2006-04-29 01:20:50 -05:00
John Mainzer
8a7b9b3221 [svn-r12311] Purpose:
Add pinned entry capability to cache.


Description:

For frequently accessed cache entries, the protect/unprotect overhead
is sometimes a bottleneck.


Solution:

Allow entries to be pinned in the cache.  Pinned entries can't be
evicted, but can be flushed or modified.


Platforms tested:

h5committested -- minus one small typo in test/cache.c whose fix was
                  tested on copper and heping only.


Misc. update:
2006-04-28 08:27:54 -05:00
Pedro Vicente Nunes
50c9a23725 [svn-r12297] Purpose:
new feature

Description:
added support for the printout of dataset region references differences
added a new test for this
merged the h5diff generator of test files into a single file

Solution:

Platforms tested:
linux 32, 64
solaris

Misc. update:
2006-04-25 13:19:40 -05:00
James Laird
91e56dc68d [svn-r12295] Purpose:
Several bug fixes

Description:
Added config file for Cray X1 (previous file was misnamed)
Simplified some code in hyperslab.c test that seemed to have been
confusing compiler on Cray X1.
Fixed typo in config/commence.am
Cleaned up hl/src/Makefile.am

Solution:
All four fixes should be straightforward.  The failure on Cray was
very difficult to debug, but involved arithmetic errors.
This change seems to fix it.

Platforms tested:
heping, copper, sol, some Cray X1 (more testing when system comes back up)
2006-04-21 14:21:24 -05:00
Quincey Koziol
d7573cbc85 [svn-r12292] Purpose:
Code maintenance

Description:
    Remove flexible parallel code

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
    Solaris 2.9 (shanti)
    Linux 2.4/64 (mir)
2006-04-20 18:54:47 -05:00
Albert Cheng
222e6bd56a [svn-r12283] Purpose:
Rearragement.

Description:
Created general HL library header file and moved HL public headers to it.

Platforms tested:
h5committested.
2006-04-19 22:19:24 -05:00
Albert Cheng
3aedeaddda [svn-r12281] Purpose:
Bug fix.

Description:
./hl/src/H5LTparse.h was marked as DO_NOT_DISTRIBUTE by mistake.
It should not be installed but must be present for building.

Solution:
Fixed.

Platforms tested:
Should work.
2006-04-19 15:30:18 -05:00
Elena Pourmal
b0da4a2487 [svn-r12276] Purpose: Maintenance/typo fix/1.8.0-alpha0 release
Description: Here is what I did:

             modified MANIFEST according Quincey's instructions to fix
             the problem exposed by bin/release (compilation fails
             because some header files were not included in the distribution)

             fixed small typo and modified include_HEADERS line in
             src/Makefile.am to address the problem exposed by bin/release

             ran bin/h5vers to change version number to 1.8.0-alpha0

             ran bin/release to release tar ball to the ftp server


Solution:

Platforms tested: mir MANY,MANY,MANY times

Misc. update:
2006-04-18 00:41:45 -05:00
Albert Cheng
9346d31c40 [svn-r12268] Purpose:
Updated with removed files.
2006-04-17 04:52:56 -05:00
Elena Pourmal
39aa5383ed [svn-r12263] Purpose: Maintenance
Description: Added installation instructions (draft) for VMS system.

Solution:

Platforms tested: N/A

Misc. update:
2006-04-16 17:37:47 -05:00
Quincey Koziol
c83c1eb42d [svn-r12258] Purpose:
Code checkpoint

Description:
    Add in more fractal heap support for odd allocation patterns (entries that
are too large for various block sizes, etc.)

    Broke out fractal heap code into more source code modules.

    Refactored fractal heap test to make it more understandable and
maintainable for the long term.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
    Linux 2.4/64 (mir)
    Solaris 2.9 (shanti)
2006-04-15 16:11:42 -05:00
Elena Pourmal
b1eadf137c [svn-r12250] Purpose: Maintenance
Description: Added new VMS command files to run tests and examples for
             C, C++ and Fortran

Solution:

Platforms tested:

Misc. update:
2006-04-14 16:31:41 -05:00
Raymond Lu
dc3854dee9 [svn-r12239] Purpose: Update
Description: Mark hl/src/H5LTparse.h as undistributed.


Platforms tested: ran bin/chkmanifest.
2006-04-14 13:22:50 -05:00
Pedro Vicente Nunes
7248b78c50 [svn-r12231] Purpose:
fix, forgot to cvs remove one file of the privious check in

Description:

Solution:

Platforms tested:

Misc. update:
2006-04-12 16:33:53 -05:00
Pedro Vicente Nunes
bc66efc788 [svn-r12229] Purpose:
new feature

Description:
1) separated the HL library into "public" and "private" header files, with the same caracteristics as the basic library
2) added the public headers to hdf5.h (with a conditional include macro, defined in configure.in)
3) added the path to HL in all Makefile.am 's , because of the inclusion in hdf5.h

Solution:

Platforms tested:
linux 32, 64
AIX
solaris
with fortran and c++

(one packet table example fails)

Misc. update:
2006-04-12 16:21:38 -05:00
Quincey Koziol
36a381e961 [svn-r12214] Purpose:
Code cleanup

Description:
    Don't install empty public header files.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 32-bit (heping)
    Linux 2.4 64-bit (mir)
    Solaris 2.9 (shanti)
2006-04-09 21:42:21 -05:00
Pedro Vicente Nunes
cd25a7690a [svn-r12171] Purpose:
bug fixes

Description:
h5dump/h5ls were not displaying long doubles correctly

Solution:
1) the print datatype functions were incorrectly testing for the valid return value from H5Tequal,
   (TRUE), causing the display of an incorrect name of a dataype in error cases from H5Tequal
2) h5tools_print_str did not have a case for native long double
3) added a file generator for a long double dataset
4) added one script test for the long double data (commented , some sytems don't have a native long double match, and the output differs)
5) added a vms file and h5dump script test


Platforms tested:
linux 32, 64
solaris
AIX

Misc. update:
2006-03-28 16:25:10 -05:00
Fang Guo
adce7fe2df [svn-r12168] Purpose:
Maintenance on Windows
Description:
Add in cross_read(dll) tests on Windows
Solution:

Platforms tested:

Misc. update:
2006-03-28 11:08:02 -05:00
Raymond Lu
981fe01dd1 [svn-r12151] Purpose: New test
Description: cross_read.c is a new program to test reading data created
on an OpenVMS, a little-endian, and a big-endian machine.  The three
data files are vms_data.h5, be_data.h5, and le_data.h5.  To generate
these data files, run gen_cross.c on these machines and change the file
names.


Platforms tested: fuss and h5committest

Misc. update: MANIFEST
2006-03-24 14:36:44 -05:00
Pedro Vicente Nunes
61b46d4b54 [svn-r12146] Purpose:
bug fix

Description:
percent relative error was done using integer arythmetic; use floating point instead
added the case for unsigned long long integer to float conversion

Solution:

Platforms tested:
linux (32,64)
AIX
solaris

Misc. update:
2006-03-23 14:27:17 -05:00
Pedro Vicente Nunes
b269dbf0ae [svn-r12134] Purpose:
bug fix

Description:
1) added a more explainative usage message
2) the percent relative error for the integer type (division) was being done using integer arythmetic; use floating point arythmetic instead
3) added a new test for integer percent

Solution:

Platforms tested:
linux (32,64)
AIX
solaris

Misc. update:
2006-03-22 15:53:05 -05:00
Pedro Vicente Nunes
e7fd69d4e5 [svn-r12092] Purpose:
bug fix, new features

Description:
when comparing links , the output for the number of differences found was not being done

Solution:
print it
add 3 more tests that test the output of differences for 1) groups 2) datatypes 3) links

Platforms tested:
linux

Misc. update:
2006-03-15 13:08:47 -05:00
Quincey Koziol
ee3fdc2dbc [svn-r12084] Purpose:
Code checkpoint

Description:
    The fractal heap code is reasonably stable and is passing all its
current tests, so checkpoint everything with CVS.

    Also, add "statistics" module for v2 B-trees code, which is only a
stub right now.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX (amazon)
    Linux 2.4 (chicago)
2006-03-13 14:47:16 -05:00
Elena Pourmal
da141df173 [svn-r12073] Purpose: Bug fix
Description: I ran bin/chkmanifest BEFORE adding files to CVS. Therefore
             script ignored all new files and reported success.

Solution: Added missing files and told myself to remember this next time.

Platforms tested: heping with bin/chkmanifest


Misc. update:
2006-03-10 08:13:39 -05:00
Elena Pourmal
5e875649d5 [svn-r12051] Purpose: VMS port
Description: added new files under the vms directory

Solution:

Platforms tested: heping, VMS server

Misc. update:
2006-03-09 16:20:59 -05:00
Fang Guo
ad68174942 [svn-r12040] Purpose:
Move gifconv dll project files
Description:

Solution:

Platforms tested:

Misc. update:
2006-03-07 17:56:13 -05:00
Fang Guo
590ef0f984 [svn-r12034] Purpose:
Move gifconv project files
Add in More HL examples
Remove duplicated source files under windows
Description:

Solution:

Platforms tested:

Misc. update:
2006-03-07 15:08:56 -05:00
Pedro Vicente Nunes
a83d815631 [svn-r12009] Purpose:
add examples

Description:
add examples for HL (image, table and dimension scales)

Solution:

Platforms tested:
linux

Misc. update:
2006-03-06 11:11:11 -05:00
Quincey Koziol
dfbf976509 [svn-r12004] Purpose:
New feature & code cleanup

Description:
    Update fractal heap to be able to insert objects into a direct block
hanging off the header.

    Extract "octal dump" code into separate routine so that both the local
heaps & fractal heaps can use it.

    Other code cleanups & support to get this far.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2006-03-04 17:56:44 -05:00
James Laird
ea9f792cd7 [svn-r12001] Purpose:
Moved gif2h5 tool to hl directory

Description:
Added a tools directory under the hl directory and moved the gif2h5 tool
to that directory.

Solution:
The gif2h5 tool was originally built in the tools directory, but this
introduced dependency issues that required special checks in the
Makefiles.am and required the top-level build order to be changed
because it depended on the HL library.
For simplicity in the Makefiles now and in the future, the gif2h5 tool
was moved to be underneath the hl library.

Platforms tested:
mir, copper, modi4, shanti
2006-03-03 16:49:10 -05:00
James Laird
3f2f490a0f [svn-r11993] Purpose:
Added HL examples

Description:
Examples existed for the HL lite, image, and table interfaces, but
were never included in the distro... until now!

Solution:
Added source files to CVS, updated Makefile and MANIFEST.

Platforms tested:
mir, heping, shanti
2006-03-01 10:04:59 -05:00
Fang Guo
a773ba4521 [svn-r11982] Purpose:
Maintenance on Windows
Description:
Update hdf5 on windows accordint to Quincey's check in
Solution:

Platforms tested:

Misc. update:
2006-02-28 11:55:23 -05:00
Quincey Koziol
658bf4a8fb [svn-r11968] Purpose:
Incrementtal checkin

Description:
    Revise & update v2 B-tree code to separate the internal package-specific
routines from the library-callable "private" routines.

    Similar updates for the fractal heap code.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX (amazon)
2006-02-27 09:52:21 -05:00
Quincey Koziol
3713db1174 [svn-r11967] Purpose:
New feature

Description:
    Check in initial "fractal heap" code, for supporting the group redesign.

    Also, remove some remnants of the segmented heap/block tracker/B+tree code
which I didn't find during the last pass.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX (amazon)
    Linux 2.4
2006-02-26 22:46:46 -05:00
Quincey Koziol
b2d288804d [svn-r11965] Purpose:
Maintenance

Description:
    Remove half-built (half-baked? :-) implementation of B+tree, block tracker
and segmented heaps.   (In preparation for starting the new heap coding)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
2006-02-24 08:45:02 -05:00
Fang Guo
2a4cd8949e [svn-r11949] Purpose:
Remove deleteline.bat and add in tooltest.bat
Description:

Solution:

Platforms tested:

Misc. update:
2006-02-16 12:07:16 -05:00
Fang Guo
fa00ad762d [svn-r11914] Purpose:
Add in cache_api.dsp and cache_apidll.dsp
Description:

Solution:

Platforms tested:

Misc. update:
2006-01-31 15:15:40 -05:00
John Mainzer
22e5198407 [svn-r11896] Purpose:
1) Add parallel test for metadata cache

2) Split serial test for metadata cache into two parts

3) Fix bug in which cache was flushed needlessly when the
   cache wasn't full.

4) Performance improvements

Description:

See above.

Solution:

See above.

Platforms tested:

h5committest


Misc. update:
2006-01-27 17:57:19 -05:00
Quincey Koziol
56e3f667d6 [svn-r11886] Purpose:
Code cleanup

Description:
    Check in some of the code cleanups from working on the external link
support.  (This doesn't include any of the external link features)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OSX.4 (amazon)
    Linux 2.4
2006-01-23 15:46:34 -05:00
James Laird
5c516c2056 [svn-r11856] Purpose:
MANIFEST fix

Description:
Added src/H5Pacpl.c to manifest.
2006-01-03 10:09:12 -05:00
Raymond Lu
617d2704c4 [svn-r11832] Purpose: Rename files and change grammar rule.
Description: Renamed lex.yy.c to H5LTanalyze.c, y.tab.c to H5LTparse.c, and
y.tab.h to H5LTparse.h in hl/src.  Changed definition of opaque type to ommit the tag.
Changed the test for opaque type in hl/test, too.


Platforms tested: h5committest, fuss, and sleipnir.

Misc. update: MANIFEST
2005-12-22 17:27:17 -05:00
Fang Guo
a78bd3dae2 [svn-r11824] Purpose:
maintenance on Windows
Description:
Move hl c examples to windows/hl/examples
Solution:

Platforms tested:

Misc. update:
2005-12-20 16:35:13 -05:00
Fang Guo
762a7b3865 [svn-r11821] Purpose:
add hl fortran examples and move hl c examples
Description:

Solution:

Platforms tested:

Misc. update:
2005-12-20 16:21:23 -05:00
James Laird
fde99876a3 [svn-r11791] Purpose:
Bug fix

Description:
Fogot to commit file config/examples.am in previous checkin.

Solution:
The examples.am file contains common Makefile rules for the example
directories.
2005-12-13 16:37:15 -05:00
James Laird
b1fd3f5657 [svn-r11780] Purpose:
Added high-level example directories

Description:
Refactored common code out of examples Makefiles.am, added high-level
example directories, added packet table examples.

Solution:
Examples now draw from a common config/examples.am file, which
contains rules for installing, uninstalling, and cleaning examples.
High-level example directories are mostly empty, except for the
C and C++ packet table tests.

Platforms tested:
mir, sleipnir, copper, shanti
2005-12-09 15:59:11 -05:00
Leon Arber
cf7ec2cfd9 [svn-r11773] Purpose:
Added new t_posix_compliant.c file

Description:

Solution:

Platforms tested:

Misc. update:
2005-12-08 14:16:06 -05:00
Albert Cheng
bfa65eed0f [svn-r11770] Updated with newly added and removed files. 2005-12-08 12:13:50 -05:00
Quincey Koziol
8d344f96bc [svn-r11758] Purpose:
New feature

Description:
    Add in a combination of Peter's & my code to support copying
variable-length data from one file to another, although currently only
supported with contiguous data storage.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-12-03 21:27:37 -05:00
Fang Guo
4ab2eeb984 [svn-r11723] Purpose:
Add in two test project files (objcopy.dsp and objcopydll.dsp)
Description:

Solution:

Platforms tested:

Misc. update:
2005-11-15 12:45:06 -05:00
Quincey Koziol
a1708eb023 [svn-r11712] Purpose:
New feature

Description:
    Check in baseline for compact group revisions, which radically revises the
source code for managing groups and object headers.

WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!
WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!

    This initiates the "unstable" phase of the 1.7.x branch, leading up
to the 1.8.0 release.  Please test this code, but do _NOT_ keep files created
with it - the format will change again before the release and you will not
be able to read your old files!!!

WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!
WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!


Solution:
    There's too many changes to really describe them all, but some of them
include:
    - Stop abusing the H5G_entry_t structure and split it into two separate
        structures for non-symbol table node use within the library: H5O_loc_t
        for object locations in a file and H5G_name_t to store the path to
        an opened object.  H5G_entry_t is now only used for storing symbol
        table entries on disk.

    - Retire H5G_namei() in favor of a more general mechanism for traversing
        group paths and issuing callbacks on objects located.  This gets us out
        of the business of hacking H5G_namei() for new features, generally.

    - Revised H5O* routines to take a H5O_loc_t instead of H5G_entry_t

    - Lots more...

Platforms tested:
    h5committested and maybe another dozen configurations.... :-)
2005-11-14 21:55:39 -05:00
Quincey Koziol
0891038562 [svn-r11686] Purpose:
New feature

Description:
    Add in baseline "object copy" code from Peter [in the form of a new API
routine: H5Gcopy()].  There's still some work to do (like handling variable-
length datatypes and possibly support for references) and it hasn't been tested
on mounted files yet, but the core functionality is there and working
correctly.

    I've also got a set of patches to update the 1.6 branch with tweaks to
keep the branches mostly in sync, but Elena will kill me if I import them
before the 1.6.5 release is out... :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committested
2005-11-06 22:13:53 -05:00
Raymond Lu
4bd195c87e [svn-r11677] Purpose: Update
Misc. update: Update for the new feature H5LTtext_to_dtype() with new files in
HL library.
2005-11-03 09:12:41 -05:00
Albert Cheng
6a53f457cf [svn-r11642] Updated. 2005-10-31 14:21:14 -05:00
Albert Cheng
9171536823 [svn-r11610] Purpose:
Bug fix.

Description:
The previous way of detecting the MPICH version fails if the suspected
$CC does not give the expected MPICH version information.  Though no
consequence, it generates error messages that alarm users.
Also, mpich2 gives the version information as if it were mpich v1.0.2
which was incorrectly included as an earlier version of the origianl
mpich.

Solution:
Implemented a more robust code to detect the version and narrow the
recognition down to v1.2.0-v1.2.5.  Also, the code were duplicated in
two files (linux-gnulibc1 and ia64-linux-gnu).  Combined them into a
new file called mpich.

Platforms tested:
Tested in heping using mpicc and mpich2/mpicc and also in tg-ncsa.

Misc. update:
Updated MANIFEST.
2005-10-26 15:44:19 -05:00
Pedro Vicente Nunes
60ef06bdf6 [svn-r11607] Purpose:
new h5diff test

Description:
added a test to the test h5diff script that compares a file to itself.
this test is done to test some features of the library that
open the same file and the root group twice

Solution:

Platforms tested:
linux
solaris

Misc. update:
2005-10-26 09:27:11 -05:00
James Laird
a9a59d8f1d [svn-r11603] Purpose:
Bug fix

Description:
Updated MANIFEST.  Sorry!
2005-10-25 11:51:21 -05:00
James Laird
6f85844982 [svn-r11567] Purpose:
Bug fix

Description:
Changed the name of a file from the last fix.
createnoenc.c is not gen_noencoder.c

Solution:
This is just a more standard name for the file.

Platforms tested:
tested in previous check-in; forgot to commit to cvs.
2005-10-14 18:16:29 -05:00
Albert Cheng
49572ab65e [svn-r11550] Purpose:
Updated Copyright notice.
2005-10-11 16:08:02 -05:00
Albert Cheng
fd1a21eaf4 [svn-r11525] Purpose:
Feature.

Description:
Initialization file for chkcopyright.

Platforms tested:
Hand tested.
2005-10-11 00:02:03 -05:00
Fang Guo
d9e193ceb1 [svn-r11456] Purpose:
Add in two new project file for tool h5stat
Description:

Solution:

Platforms tested:

Misc. update:
2005-09-21 16:23:05 -05:00
Albert Cheng
451ddeb902 [svn-r11437] Purpose:
Updated for the added build_h5perf_alone.sh tool.
2005-09-19 00:41:15 -05:00
Quincey Koziol
9a8933bb69 [svn-r11425] Purpose:
Add new tool

Description:
    Add 'h5stat' tool to repo.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2005-09-17 11:14:32 -05:00
Quincey Koziol
5ad2673fde [svn-r11386] Purpose:
Code cleanup/reorganization

Description:
    Merge back some more changes extracted from the "compact group" set.
This bunch cleans up and prepares the H5G_* routines for eventual import of
new features.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Mac OS X.4
2005-09-12 09:29:54 -05:00
Albert Cheng
e9d0931e45 [svn-r11313] Purpose:
updated.
2005-08-29 23:46:46 -05:00
Quincey Koziol
eec442a8f6 [svn-r11276] Purpose:
Code cleanup/bug fix

Description:
    Add missing files to manifest

    Remove C++ style single-line comment from recent checkin and also re-indent
in a few places.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/thread-safe
    Not configured w/h5committest
2005-08-20 10:45:13 -05:00
Albert Cheng
8673333c95 [svn-r11238] Purpose:
Updated for the added feature of standalone build for h5perf.
2005-08-13 10:46:03 -05:00
Quincey Koziol
502b4c206d [svn-r11215] Purpose:
Bug fix & code cleanup

Description:
    Fix another bug in the file mounting code and refactor the unmount
code that it is simpler.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Too minor to require h5committest
2005-08-08 13:41:35 -05:00
Albert Cheng
252c75302c [svn-r11197] Purpose:
Updated.
2005-08-04 09:06:21 -05:00
Fang Guo
5c5f6205de [svn-r11165] Purpose:
Source code files for hl c examples on windows changed
Description:

Solution:

Platforms tested:

Misc. update:
2005-07-26 17:52:44 -05:00
Fang Guo
7ab12144a5 [svn-r11162] Purpose:
Add high level c examples
Description:

Solution:

Platforms tested:

Misc. update:
2005-07-26 17:41:18 -05:00
Quincey Koziol
34bd25f361 [svn-r11144] Purpose:
New port

Description:
    Elena asked me to check in her NEC SX-6 work, so here it is! :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    NEC SX-6 (by Elena)
2005-07-22 20:55:12 -05:00
Fang Guo
138d4f5254 [svn-r11142] Purpose:
Add high level dll files, new batch files
Description:

Solution:

Platforms tested:

Misc. update:
2005-07-22 17:59:12 -05:00
Fang Guo
0688875a69 [svn-r11100] Purpose:
Description:
filename.dsp and filenamedll.dsp were removed
Solution:

Platforms tested:

Misc. update:
2005-07-21 15:28:40 -05:00
Quincey Koziol
bb31e94a92 [svn-r11093] Purpose:
Bug fix

Description:
    Rewrite code for mounting files to clean up layers of kludges and implement
a much cleaner and more maintainable design.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
2005-07-21 09:48:26 -05:00
James Laird
f700613f56 [svn-r11086] Purpose:
MANIFEST update

Description:
Updated MANIFEST after doc tree was removed.

Platforms tested:
mir
2005-07-19 13:05:46 -05:00
Pedro Vicente Nunes
00a1908e76 [svn-r11043] Purpose:
new test hor h5repack, to syncronize tests between unix and windows
it requires a new file added

Description:

Solution:

Platforms tested:
linux

Misc. update:
2005-07-07 15:51:26 -05:00
Fang Guo
ec540aa9cb [svn-r11041] Purpose:
Add new proejct files.
Description:

Solution:

Platforms tested:

Misc. update:
2005-07-07 15:07:03 -05:00
Albert Cheng
f68a2e6db7 [svn-r11034] Purpose:
bug fix.

Description:
-nt is not a universal option for the test command in all platforms.
The use of it in conclude.am cause some platforms to bark at the
Makefile generated.

Solution:
Created a command script bin/newer which tests if file1 is newer
than file2.  Replace the "test file1 -nt file2" by
"newer file1 file2".

Platforms tested:
Tested in sol.
2005-07-06 23:52:45 -05:00
Quincey Koziol
567fd44747 [svn-r11032] Purpose:
Update with newly added files.
2005-07-06 13:16:21 -05:00