Commit Graph

3892 Commits

Author SHA1 Message Date
Quincey Koziol
1f3762ff88 [svn-r4913] Purpose:
Feature add

Description:
    Added note about a new API function.
2002-02-07 11:19:59 -05:00
Quincey Koziol
17da7e80da [svn-r4912] Purpose:
Feature add

Description:
    Added 'H5S_sel_type' to the list of types that the API tracing knows about.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-07 11:19:14 -05:00
Quincey Koziol
c6bd03047b [svn-r4905] Purpose:
Regression tests
Description:
    Generic property classes derived from an existing class were not having
    the parent class's properties copied into the new class.

    Additionally, derived classes were not being detected correctly.

Solution:
    Added regression tests to verify that these fixes are working:
        Copied properties from parent class into derived class.

        Modified H5P_isa_class_real() to walk back up the chain of parent
        classes to proper detect derived classes.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-06 11:08:29 -05:00
Quincey Koziol
eb5697d309 [svn-r4904] Purpose:
Bug fix
Description:
    Generic property classes derived from an existing class were not having
    the parent class's properties copied into the new class.

    Additionally, derived classes were not being detected correctly.

Solution:
    Copied properties from parent class into derived class.

    Modified H5P_isa_class_real() to walk back up the chain of parent classes
    to proper detect derived classes.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-06 11:07:23 -05:00
Quincey Koziol
0288e2f9da [svn-r4903] Purpose:
Code cleanup
Description:
    Clean up H5D_read and H5D_write routines, adding comments, etc.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-06 09:31:26 -05:00
Robb Matzke
84f632178c [svn-r4898] ./hdf5-devel/tools/h5ls/h5ls.c
Fixed copyright notice
2002-02-01 14:05:14 -05:00
Robb Matzke
378df38955 [svn-r4892] ./hdf5-devel/tools/h5ls/h5ls.c
2002-01-31 15:22:24 Robb Matzke  <matzke@arborea.spizella.com>
	*: Displays array data type information instead of saying `4-byte
	   class-10 unknown'.
2002-01-31 14:47:06 -05:00
Quincey Koziol
e0177ee0f3 [svn-r4891] Purpose:
Code speedup
Description:
    Chunking I/O routines are reading in an entire chunk when performing I/O
    on the chunk, even if the chunk will be too large to cache.
Solution:
    If the chunk is too large to cache, uncompressed and has been allocated
    space in the file, or if we are using the MPI-I/O VFD, perform the I/O
    directly to the chunk, instead of reading the chunk into memory, updating
    it and immediately writing the entire chunk back out.
Platforms tested:
    FreeBSD 4.5 (sleipnir) (using serial access) and IRIX64 6.5 (modi4) (using
    parallel access with MPI-I/O)
2002-01-31 14:46:21 -05:00
Frank Baker
40c1792c7a [svn-r4890]
Purpose:
    Bugfix
Description:
    Corrected link to HDF5 copyright notice.
Platforms tested:
    IE 5
2002-01-30 17:42:53 -05:00
Frank Baker
c199c81840 [svn-r4889]
Description:
    Updated copyright notice (adding 2002).
Platforms tested:
    IE 5
2002-01-30 17:40:32 -05:00
Bill Wendling
5bdf863a90 [svn-r4885] Purpose:
Bug Fix
Description:
	Throughput wasn't being calculated correctly.
Solution:
	We were using a value other than the actual time. Changed so that
	we're using the correct structure to grab the time out of it.
Platforms tested:
	Linux(pp)
2002-01-30 16:46:15 -05:00
Bill Wendling
e2e0424f2f [svn-r4883] Purpose:
Bug Fix
Description:
	For some reason, a wrong line was introduced into the ltconfig in my
	"Major Hack(tm)" stuff.
Solution:
	Removed this line, which isn't supposed to be there cause that's why
	the Major Hack was there to begin with.
Platforms tested:
	NERSC machine and Pacific Blue
2002-01-30 16:16:33 -05:00
Bill Wendling
cb905d215e [svn-r4882] Purpose:
Feature add and algorithm reworking.
Description:
	Added a "--debug" flag so we can print out various extra debugging
	information.

	Reworked the algorithm so that it's printing the correct throughput.
	Here's how it's supposed to work:

						process
				 T_0 T_1 T_2 T_3 ... T_n
	  iteration 1
	            2
	            .
	            .
	            .
	            m

	Retrieve the maximum time from each iteration over the number of
	processes. (So, if T_i had the maximum time in iteration j, then use
	that time). Calculate the "Throughput" of iteration j:

			S_j = (raw_size / T_i)

	Collect that information over all of the iterations. Then output the
	Max, Min, and Ave of all of the S_k's.
Platforms tested:
	Linux (pp)
2002-01-29 23:16:15 -05:00
Albert Cheng
61f6b93eb7 [svn-r4881] Updated for the removal of examples/runexample.sh 2002-01-29 11:14:45 -05:00
Albert Cheng
49f8060284 [svn-r4880] Purpose:
Retired run_examples.sh.  Its purpose is covered by the
    "check" target.
Platforms tested:
    No tests--hard to test something that is removed.  Pretty
    sure it is not needed by any Make targets.
2002-01-29 11:12:47 -05:00
Albert Cheng
c7c076e747 [svn-r4879] Purpose:
Bug fix
Description:
    $TEST_PROG_PARA was included in the serial tests.
    $TEST_PROG_PARA was not dependent on $LIBHDF5 (it should.)
Solution:
    Adjusted the file to fix both problems.
Platforms tested:
    eirene (pp, linux 2.2.), dangermouse (pp, linux 2.4)
    modi4 (pp, -64) and modi4 serial (to verify that ph5example was not
    tested at all.)
2002-01-29 11:09:50 -05:00
MuQun Yang
1eac2519bc [svn-r4874]
Purpose:
  check code warrior changes at HDF5 branch
Description:
    1. add a maro at H5config.h and H5pubconf.h to maintain the correct printf
      output in code warrior.
   2. update code warrior project changes.
Solution:
Platforms tested:
   tested by pedro on windows ?
2002-01-28 11:56:31 -05:00
Quincey Koziol
f4bc9f929e [svn-r4869] Purpose:
Add regression tests
Description:
    Added regression test for using a VL-datatype in two separate files.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-27 00:23:11 -05:00
Quincey Koziol
0a612f0a61 [svn-r4868] Purpose:
Bug fixes

Description:
    This checkin addresses two separate bugs:
     #1 - When a compound datatype with a VL datatype as a field is used
            to read or write data, the datatype conversion paths added to
            the table of paths were treating the VL datatypes somewhat too
            genericly - they weren't dicriminating between VL datatypes used
            in different files and therefore there was the possibility that
            a path in the table having information for one file could get used
            with a second file, causing errors or core dumps (if the first
            file was closed before the later file used the path).
     #2 - When composite (compound, array or VL) datatype paths in the datatype
            conversion table are being tested to see if they can be used for
            the current datatypes being converted, they can cause additional
            conversion paths to be registered in the conversion path table.
            Since this causes the global table to change size and entries to
            move around, it is possible that the local variables tracking a
            potential path could become incorrect as the global table was
            changed out from underneath them.

    Both bugs fixed are described in bug #703

Solution:
    Two separate fixes:
     #1 - Changed H5T_cmp to differentiate between VL datatypes in different
            files and not to return datatypes in two different files as equal.
     #2 - Note size of global table before evaluating datatype paths.  Then,
            after the appropriate path has been chosen, check if the size of
            the global table has changed and recompute the position of the path
            chosen in the table if necessary.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-27 00:20:16 -05:00
Quincey Koziol
613d63ba73 [svn-r4867] Purpose:
Code cleanup
Description:
    Added some more assertions to help debug in the future...
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-27 00:06:31 -05:00
Elena Pourmal
f7bac2b4b9 [svn-r4866]
Purpose:
    Maintenance
Description:
    Several compiler's warnings caused Hitachi SR8000
    F90 and C compilers to fail.
Solution:
    Fixed the code to eliminate warnings.
Platforms tested:
    O2K (modi4) and Solaris 2.7 (arabica)
2002-01-26 10:48:49 -05:00
HDF Admin
c41e250354 [svn-r4864] Snapshot version 1.5 release 19 2002-01-26 05:16:37 -05:00
Robb Matzke
dba8c269a5 [svn-r4863] ./hdf5-devel/src/H5Tpkg.h
More optimizing for byte order conversion. Mostly just making code
easier to follow by simplifying Duff's device coding of the loops.

I also split the conversion function into two functions with different
names so output from H5T debugging indicates whether the optimized or
unoptimized case was invoked.

2002-01-25 10:48:34 Robb Matzke  <matzke@arborea.spizella.com>
	*: Added prototype for H5T_conv_order_opt().
2002-01-25 11:21:37 -05:00
Robb Matzke
209a8c3a8a [svn-r4862] ./hdf5-devel/src/H5Tconv.c
More optimizing for byte order conversion. Mostly just making code
easier to follow by simplifying Duff's device coding of the loops.

I also split the conversion function into two functions with different
names so output from H5T debugging indicates whether the optimized or
unoptimized case was invoked.

2002-01-25 10:48:54 Robb Matzke  <matzke@arborea.spizella.com>
	* H5T_conv_order: Removed Duff's device consisting of >500 lines of code. Unrolled
	   two loops by hand resulting in <300 lines of code
	   which is a few percent faster and far easier to read.
2002-01-25 11:21:33 -05:00
Robb Matzke
b26680baee [svn-r4861] ./hdf5-devel/src/H5T.c
More optimizing for byte order conversion. Mostly just making code
easier to follow by simplifying Duff's device coding of the loops.

I also split the conversion function into two functions with different
names so output from H5T debugging indicates whether the optimized or
unoptimized case was invoked.

2002-01-25 10:47:13 Robb Matzke  <matzke@arborea.spizella.com>
	* H5T_init_interface: Registered conversion function H5T_conv_order_opt() under two
	   names. H5T debugging will report the conversion
	   function as either "ibo(opt)" or "fbo(opt)".
2002-01-25 11:21:01 -05:00
Frank Baker
6280b37279 [svn-r4860]
Purpose:
    Add "Release 1.5" section.
Solution:
    Added outline for Release 1.5 API changes.
    And corrected a spelling error.
Platforms tested:
    IE 5
2002-01-25 10:28:30 -05:00
Quincey Koziol
618c63fda1 [svn-r4855] Purpose:
Update manifest with new test file.
2002-01-25 09:54:58 -05:00
Quincey Koziol
5e7ed206ea [svn-r4851] Purpose:
Bug Fix
Description:
    When file space was returned to the file space free-list for reuse,
    occasionally raw data allocations which used space from the free-list
    would overlap with the metadata accumulator and get over-written with
    the cached information in the accumulator, corrupting the data.
Solution:
    Check if the space about to be recycled on the free-list is going to be
    used for raw data and also overlaps with the metadata accumulator cache,
    avoiding using space that fits those criteria.

    This fixes bug #701

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-23 16:28:24 -05:00
Bill Wendling
32f52d953c [svn-r4850]
Purpose:
	Fix
Description:
	Needed to use a different autoconf like I did at a previous time for
	generating the configure file.
2002-01-22 17:58:14 -05:00
Bill Wendling
a73450e29d [svn-r4849]
Purpose:
	Fix fix
Description:
	Moved Binh-Minh's fix of the lack of support for C++ in libtool by
	adding the DEFAULT_LIBS macro into the configure.in and
	config/commence.in files.
Solution:
	Put it into the configure.in and commence.in files. Reran autoconf.
2002-01-22 15:14:46 -05:00
Binh-Minh Ribler
702667c9f5 [svn-r4848]
Purpose:
    Improvement
Description:
    Using LIBS for c++ default library resulted in the library showed up
    in two many places.
Solution:
    Added new macro DEFAULT_LIBS to specify default library for the
    C++ API tests
Platforms tested:
    IRIX64 (modi4)
2002-01-21 22:49:13 -05:00
Binh-Minh Ribler
6088512f7c [svn-r4847]
Purpose:
    Added platform support

Description:
    The current libtool doesn't fully support C++ yet, so until it
    does, the default libraries have to be manually specify.
    Some minor cleanups needed.

Solution:
    Added DEFAULT_LIBS=@DEFAULT_LIBS@ to use new macro for default library.
    Added $(DEFAULT_LIBS) to link lines.
    Removed inappropriate comments.

Platforms tested:
    IRIX64 (modi4)
    I'll check out again to make sure I haven't broken anything else.
2002-01-21 22:45:47 -05:00
Binh-Minh Ribler
86fdcb0d1b [svn-r4846]
Purpose:
    Added platform support

Description:
    The current libtool doesn't fully support C++ yet, so until it
    does, the default libraries have to be manually specify.
    Some minor cleanups needed.

Solution:
    Added DEFAULT_LIBS=@DEFAULT_LIBS@ to use new macro for default library
    Added $(DEFAULT_LIBS) to link lines

    Removed inappropriate comments, and this extra set, it occurs twice:

## These are our main targets. They should be listed in the order to be
## executed, generally most specific tests to least specific tests.
RUNTEST=$(LT_RUN)

    although I'm not sure if it even should be there, so I should leave
    it for Bill.

Platforms tested:
    IRIX64 (modi4)
    I'll check out again to make sure I haven't broken anything else.
2002-01-21 22:42:27 -05:00
Binh-Minh Ribler
6621873bd2 [svn-r4845]
Purpose:
    Added platform support
Description:
    Added new macro DEFAULT_LIBS to specify default library for the
    C++ API tests
Platforms tested:
    IRIX 6.5 (modi4)
2002-01-21 22:32:32 -05:00
Binh-Minh Ribler
c524358b6c [svn-r4844]
Purpose:
    Updated MANIFEST
Description:
    Added file c++/config/irix6.x for modi4
2002-01-21 08:03:52 -05:00
Binh-Minh Ribler
4098e48f09 [svn-r4843]
Purpose:
    Adding new supported platform
Description:
    Added this config file for modi4.  Note that, when libtool v1.5
    is released and we start using it, the default library libCio can
    and should be removed from LIBS.  It is there now because previous
    versions of libtool do not fully support c++ yet and default
    libraries must be manually added to the link line.
Platforms tested:
    IRIX64 6.5 (modi4)
2002-01-20 23:59:12 -05:00
Quincey Koziol
6f445c649d [svn-r4842] Purpose:
Feature improvement
Description:
    Re-write how the free-list headers were used, to reduce the amount of space
    added to each malloc request.  Reduced header for array and block free
    list items from 24 bytes to 8 bytes and eliminated the header for fixed-size
    free list items entirely.  This should reduce the amount of memory that the
    library uses.
Platforms tested:
    FreeBSD 4.5 (sleipnir) & IRIX64 6.5 (modi4)
2002-01-17 13:08:00 -05:00
Quincey Koziol
704f31c151 [svn-r4841] Purpose:
Code improvement
Description:
    Take advantage of the "MALLOC_WORKS" flag to not force malloced memory
    pieces to be at least 1 byte when the malloc implementation allows
    malloc(0) to work.
Platforms tested:
    FreeBSD 4.5 (sleipnir) & Cray SV1 (killeen)
2002-01-17 09:48:28 -05:00
Quincey Koziol
7758f790c9 [svn-r4840] Purpose:
New feature check
Description:
    Added check to determine if malloc(0) returns a valid pointer for a
    particular architecture.
Platforms tested:
    FreeBSD 4.5 (sleipnir) where malloc(0) works
    Cray SV1 (killeen) where malloc(0) doesn't work
2002-01-16 17:28:24 -05:00
Quincey Koziol
8d9a7d3eb7 [svn-r4839] Purpose:
Bug fix
Description:
    Missed CVS conflict in ifdef'd code
Solution:
    Editted to remove CVS conflicted code.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-16 14:39:56 -05:00
Frank Baker
3cd25f13c9 [svn-r4838]
Purpose:
    Bugfix.  Copy edits and clarification.
Description:
    Added IN/OUT designations to parameters.
    Copy edits and clarification.
    Removed () from public H5 functions in running text.
Platforms tested:
    IE 5
2002-01-16 13:51:16 -05:00
Frank Baker
7a91c29baa [svn-r4837]
Purpose:
    Bugfix.  Copy edits.
Description:
    Added IN/OUT designations to parameters.
    Copy edits.  Removed () from public H5 functions in running text.
Platforms tested:
    IE 5
2002-01-16 13:45:29 -05:00
Frank Baker
0da7b40992 [svn-r4836]
Purpose:
    Bugfix.
Description:
    H5Sget_simple_extent_npoints:  Corrected return type to hssize_t.
        Fixes bug #640 in development branch.
Platforms tested:
    IE 5
2002-01-16 13:41:48 -05:00
Frank Baker
9520b32c8a [svn-r4835]
Purpose:
    Bugfix.  Clarification.  Copy edits and minor formatting.
Description:
    H5Gunlink:  Corrected loc_id parameter to be 'file or group'
                rather than just 'file'.
    Added IN/OUT designations to parameters.
    Minor formatting. Removed () from public H5 functions in running text.
Platforms tested:
    IE 5
2002-01-16 13:40:18 -05:00
Frank Baker
c02d47cea1 [svn-r4834]
Purpose:
    Bugfix.
Description:
    h5pset/get_fapl_mpio_f  &  h5pset/get_dxpl_mpio_f:
        Corrected function names (mpi --> mpio)
Platforms tested:
    IE 5
2002-01-16 13:36:02 -05:00
Frank Baker
3745338005 [svn-r4833]
Purpose:
    Bugfix.  Clarification & extension.  Removed old function.
Description:
    h5pset/get_fapl_mpio_f  &  h5pset/get_dxpl_mpio_f:
        Corrected function names (mpi --> mpio)
    H5Pset_fapl_dpss:
        Removed function from RM.
    H5Pget_driver:
        Corrected return type.
        Added list of valid driver identifiers and note re custom drivers.
    H5Pcreate:
	Added note, per user complaint, that the property must eventually
	be closed with H5Pclose, else errors are likely to occur.
Platforms tested:
    IE 5
2002-01-16 13:35:33 -05:00
Frank Baker
9ed500a8aa [svn-r4832]
Purpose:
    Bugfix and clarification.
Description:
    H5Aclose -- Changed statement regarding future use of a released
        attribute identifier.
    H5Acreate -- Corrected create_plist_id reference and listed H5P_DEFAULT
        as only currently-accepted value.
Platforms tested:
    IE 5
2002-01-16 13:14:44 -05:00
MuQun Yang
32c12d34d1 [svn-r4829]
Purpose:
    update testhdf5dll.dsp for release dll settings
Description:
    previous testhdf5dll failed.
Solution:
Platforms tested:
   windows 98
2002-01-15 11:55:40 -05:00
MuQun Yang
795505eb62 [svn-r4821]
Purpose:
    a bug fix for release dll
Description:
    change the project setting for release dll from single-threaded to
    multithreaded DLL seems to make all tests pass.
    For DLL testing, it should be set to multithreaded DLL anyway.
Solution:
Platforms tested:
    windows 2000
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2002-01-14 15:30:27 -05:00
Bill Wendling
0d069736a7 [svn-r4818]
Purpose:
	Small Fix
Description:
	Fixed the Min/Max/Average accumlation stuff...
Solution:
	Actually thought about the code and made it accumulate the
	information in the correct way.
Platforms tested:
	Linux
2002-01-11 15:30:02 -05:00