Commit Graph

3719 Commits

Author SHA1 Message Date
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
Albert Cheng
52bf29ae4a [svn-r4817] Description:
The code was doing too many MPI_Send for the gathering.
    Changed the get_minmax() to use the MPI_Allreduce routine.
Platforms tested:
    modi4
2002-01-11 15:16:44 -05:00
Bill Wendling
aa8897734f [svn-r4816]
Purpose:
	Feature Fix
Description:
	Added timer from open to close for write. Changed reporting of time
	for write and read to only measure the actual read/write instead of
	the open/close as well...
Platforms tested:
	Linux(pp)
2002-01-11 14:44:51 -05:00
Quincey Koziol
aabfa5c03f [svn-r4813] Purpose:
Bug fix
Description:
    HDfprintf was not handling Microsoft's "%I64d" extension to printf for
    printing thier '__int64' type.
Solution:
    Added code to properly detect and use this extension.
Platforms tested:
    None!  (Kent will be testing shortly)
2002-01-11 10:41:48 -05:00
HDF Admin
c5d5a551c9 [svn-r4812] Snapshot version 1.5 release 18 2002-01-11 07:45:28 -05:00
Bill Wendling
d2c8c031d9 [svn-r4811]
Purpose:
	Feature Add
Description:
	Added the time it takes from opening the file to closing the file
	(over all files).
Platforms tested:
	Linux
2002-01-10 13:45:34 -05:00
Bill Wendling
08926d9f6e [svn-r4809]
Purpose:
	Feature Fix
Description:
	Instead of outputting the # of kilobytes in a transfer size, output
	the total bytes. This helps when you're interested in just doing a
	copy-paste type of thing for the transfer buffer size.
Solution:
	Changed the output report
Platforms tested:
	Linux(pp)
2002-01-09 14:39:21 -05:00
Binh-Minh Ribler
d7684581aa [svn-r4805]
Purpose:
    Bug fix
Description:
    In several if statements, '>' was used in place of '<='.  This
    caused exceptions thrown inappropriately.  Replaced '>' by '<='
    where applicable.
Platforms tested:
    SunOS 5.7 (arabica)
    Windows 98
2002-01-09 12:14:05 -05:00
MuQun Yang
80408e40e3 [svn-r4804]
Purpose:
    H5FDdpss test no longer exists, modify project file at 1.5 branch.
Description:
Solution:
Platforms tested:
   windows 2000
2002-01-09 10:57:12 -05:00
Bill Wendling
4d20a1d87f [svn-r4803]
Purpose:
    Feature Add
Description:
    Added output which tells how large the file is (that is, the number
    of dsets * number of elements in a dset * sizeof(int)).
Platforms tested:
    Linux(pp)
2002-01-08 18:28:12 -05:00
Albert Cheng
173dd7f2fe [svn-r4802] Description:
The default minimum xfer size of 1K was way too slow for
    parallel file system like the PFS of Tflops.  Set it to
    128K to complete soon for default settings.
Platforms tested:
    Tflops, modi4.
2002-01-08 14:22:16 -05:00
MuQun Yang
0bf0bb325c [svn-r4801]
Purpose:
    somehow the updated H5pubconf.h and H5config.h missed from all zip files.
    recheck in.
Description:
Solution:
Platforms tested:
   windows 2000
2002-01-08 13:28:17 -05:00
Quincey Koziol
b73dc64e64 [svn-r4796] Purpose:
Bug fix
Description:
    The value of H5_SIZEOF_SSIZE_T is not being updated to reflect the correct
    size of the ssize_t typedef, if we have to define it ourselves.
Solution:
    Undef H5_SIZEOF_SSIZE_T at beginning of block where we define the typedef
    for ssize_t and then re-define it to the correct size when we've chosen a
    size.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-08 11:10:29 -05:00
Albert Cheng
abdb704acc [svn-r4795] Purpose:
Extension
Description:
    int64_t type is not available everywhere.
    #include H5private.h which has platform dependent hooks
    to define int64_t to something available.
Platforms tested:
    Tflops
2002-01-07 17:47:22 -05:00
Albert Cheng
8a778bb95d [svn-r4794] Purpose:
Bug fix.
Description:
    __int64 is not a legal type in Tflops.
    Set its sizeof to 0 in the cached values.
    This is a temporary fix since the real problem is
    in configure which hardset __int64 to 8 for cross-compiling cases.
Platforms tested:
    Tflops
2002-01-07 17:32:16 -05:00
Quincey Koziol
70ebaffcb3 [svn-r4789] Purpose:
Document bug
Description:
    Mention that h5dump and h5ls are not displaying variable-length string
    datatype information correctly.  I've also entered a more detailed bug into
    the bug database.
2002-01-07 14:45:21 -05:00
Bill Wendling
240c679e80 [svn-r4783]
Purpose:
	Small Fix
Description:
	Changed how the list of drivers were listed from:

		{ "driver1",
		  "driver2",
		  /* ... */
		  "drivern",
#ifdef FOO
		  "driverm"
#endif
		};

	to

		{ "driver1"
		  ,"driver2"
		  /* ... */
		  ,"drivern"
#ifdef FOO
		  ,"driverm"
#endif
		};

	since it's a nicer way of doing the same thing without the annoying
	warning of an extraneous , if FOO isn't defined.
Platforms tested:
	Dangermouse, Modi4, Kelgia
2002-01-05 11:36:59 -05:00
Bill Wendling
3c6be60da7 [svn-r4782]
Purpose:
	Feature Add
Description:
	Added support for dumping Group Comments. This involved a
	modification of the DDL as well.
Solution:
	Steal code from h5ls and put it in the h5dump. The ddl.html file was
	updated as normal. And a test was created...
Platforms tested:
	Dangermouse, Modi4, Kelgia
2002-01-05 11:33:50 -05:00
HDF Admin
cb7800feee [svn-r4780] Snapshot version 1.5 release 17 2002-01-05 04:55:08 -05:00
Quincey Koziol
6a1b61edab [svn-r4778] Purpose:
Update release notes.
2002-01-04 15:52:43 -05:00
Quincey Koziol
7cc733d7c8 [svn-r4773] Purpose:
Regression test

Description:
    Added regression test which stores variable length strings as an attribute.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-03 21:42:49 -05:00
Quincey Koziol
9c3d062c26 [svn-r4772] Purpose:
Bug Fix.

Description:
    Equation to compute size of attribute in memory was incorrectly using the
    disk's datatype (and dataspace, but that turns out not to have been the
    actual issue) and when a variable length datatype was used for the
    attribute, the wrong size is being computed.

    Also, the variable-length datatype conversions aren't handling the
    default dataset transfer property list (H5P_DEFAULT) correctly.

Solution:
    Changed attribute code to compute the attribute size in memory correctly
    by using the memory datatype & dataspace.

    Changed the variable-length datatype conversion code to use the default
    dataset transfer property list when H5P_DEFAULT is passed as the property
    list ID.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-03 21:41:57 -05:00
Quincey Koziol
14a242987f [svn-r4768] Purpose:
Bug Fix/Code Cleanup
Description:
    Duplicated call to H5T_path_find was being made.
Solution:
    Removed one... :-)
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-03 13:03:38 -05:00
Albert Cheng
c70231a54c [svn-r4767] Updated with the new feature of enable-threadsafe. 2002-01-02 14:09:04 -05:00