Commit Graph

3857 Commits

Author SHA1 Message Date
Quincey Koziol
2694368b66 [svn-r5196] Purpose:
Code cleanup

Description:
    Fix incorrect include from <H5Sprivate.h> to "H5Sprivate.h"

Platforms tested:
    Just eyeballed it.
2002-04-17 14:02:12 -05:00
Quincey Koziol
4433c85766 [svn-r5195] Purpose:
Code cleanup

Description:
    Got rid of the "H5T_BKG_TEMP" setting that was used internally to the
    library, since temporary background buffers are now handled by the
    individual conversion routines instead of in a global background buffer.

    No APIs were changed or affected by this.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-17 13:49:49 -05:00
Albert Cheng
67d22cb484 [svn-r5193] Purpose:
Maintenance
Description:
    The tflops option local modification in bin/config.sub was wiped out
    during the latest autoconfigure tools upgrade.  Instead of adding it
    in for every autoconfigure tools upgrade, I changed the instruction
    to use a standard feature in configure.
	./configure --host=i386-intel-osf1
    This is a bit more typing but no more local modification.
2002-04-17 12:27:29 -05:00
Quincey Koziol
a9cd833cc8 [svn-r5192] Purpose:
Code cleanup

Description:
    Move the H5T_bkg_t structure from H5Fpublic.h to H5Tpublic.h

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-17 12:03:19 -05:00
Quincey Koziol
fa314a767e [svn-r5191] Purpose:
Bug fix

Description:
    When several level deep nested compound & VL datatypes are used, the data
    in the nested compound datatypes is incorrectly sharing the same "background
    buffer", causing data corruption when the data is written to the file.

Solution:
    Allocate a separate background buffer for each level of the nested types
    to convert.  (Also allocate temporary background buffers for array
    datatypes, where this sort of problem could occur also)

    Added more regression tests to check for these errors.

Platforms tested:
    FreeBSD 4.5 (sleipnir) & Solaris 2.6 (baldric)
2002-04-17 11:47:47 -05:00
Pedro Vicente Nunes
ee56e5272c [svn-r5189]
Purpose:
 added new file ./test/getname.c
2002-04-17 09:38:21 -05:00
Albert Cheng
dee325eb6c [svn-r5188] Updated instruction how to configure the TFLOPS machine. 2002-04-16 17:50:39 -05:00
Pedro Vicente Nunes
aadc0f4801 [svn-r5187]
Purpose:
   added a new projcet file "getname" to all.zip, that includes the new test getname.c
Platforms tested:
    no test involved
2002-04-16 12:49:55 -05:00
Pedro Vicente Nunes
8e166139de [svn-r5186]
Purpose:
    added a new file
Description:
   new file that contains the framework for a new test, regarding a new ID to name
   function. for the moment the program does nothing
Platforms tested:
    w2000
2002-04-16 12:39:38 -05:00
Albert Cheng
fda4bd4fb4 [svn-r5184] Added hard coded value of malloc for zero bytes into the cached list.
Tested:
    Tflops.
2002-04-14 00:17:23 -05:00
Albert Cheng
adae346075 [svn-r5182] Purpose:
Feature
Description:
     Added test to verify H5_MALLOC_WORKS (malloc zero byte) macro
Platforms tested:
    Eirene
2002-04-13 20:15:45 -05:00
Raymond Lu
55486f1418 [svn-r5180]
Purpose:
    Bug Fix
Description:
    Reading fill_old.h5 from fillval.c has problem to find from building
    directory.
Solution:
    prepend source directory into file name.
Platforms tested:
    Linux 2.2
2002-04-12 16:08:48 -05:00
Bill Wendling
48f1fde29e [svn-r5179] Purpose:
Bug Fix
Description:
	Ported the hack of hte ltmain.sh script from the v1.4 branch to the
	1.5 branch, since it's sure to fail on systems with really long
	-Wl... flags...
2002-04-12 15:04:35 -05:00
Pedro Vicente Nunes
4a77525456 [svn-r5177]
Purpose:
    added 2 files to remove by set_extent test
2002-04-12 11:11:15 -05:00
Pedro Vicente Nunes
3235664158 [svn-r5176]
Purpose:
    added description of H5Dset_extent
2002-04-12 11:10:29 -05:00
Quincey Koziol
170eecec83 [svn-r5174] Purpose:
Update manifest with new files.
2002-04-12 07:55:21 -05:00
Raymond Lu
6d211545b6 [svn-r5171]
Purpose:
    New feature
Description:
    Fill-value's behaviors for contiguous dataset have been redefined.
    Basicly, dataset won't allocate space until it's necessary.  Full details
    are available at http://hdf.ncsa.uiuc.edu/RFC/Fill_Value, at this moment.
    These two file test backward compatibility with 1.4.
Platforms tested:
    Linux 2.2.
2002-04-11 17:53:26 -05:00
Raymond Lu
ce920c6c04 [svn-r5170]
Purpose:
    New feature
Description:
    Fill-value's behaviors for contiguous dataset have been redefined.
    Basicly, dataset won't allocate space until it's necessary.  Full details
    are available at http://hdf.ncsa.uiuc.edu/RFC/Fill_Value, at this moment.
Platforms tested:
    Linux 2.2.
2002-04-11 17:52:48 -05:00
Pedro Vicente Nunes
19c8cfa861 [svn-r5169]
Purpose:
    test for the H5Dset_extent API function
Description:

there are 2 types of tests:
Test H5Dset_extent with chunks on the raw data cache
Test H5Dset_extent with chunks written to file


Platforms tested:

    Windows 2000
    SUN( arabica)
    LINUX (eirene)
    IRIX64 (modi4)
2002-04-11 16:30:42 -05:00
Pedro Vicente Nunes
f368891ac8 [svn-r5168]
Purpose:
    H5Dset_extent API function
Description:

1 new public function: H5Dset_extent, that allows shrinking a dataset
several private functions that free the previously allocated chunks
H5F_istore_prune_by_extent, H5B_prune_by_extent : removes the chunks
H5F_istore_initialize_by_extent : initializes them with the fill value

H5S_select_fill is used to fill the selection in the memory buffer



Platforms tested:

    Windows 2000
    SUN( arabica)
    LINUX (eirene)
    IRIX64 (modi4)
2002-04-11 16:28:59 -05:00
Pedro Vicente Nunes
03520e73ed [svn-r5167]
Purpose:

turned temporarely off this test, while the rest of the code is not checked in
2002-04-11 10:54:39 -05:00
Albert Cheng
670ae864af [svn-r5165] Purpose:
Feature
Description:
    Added comments that this is intended as an example of file driver.
    Added a macro detection at the end to flag if non-public definitions
    are used. (only check for H5private.h which is mostly likely used.
    Not bullet proof at all.)
Platforms tested:
    eirene.
2002-04-10 18:37:34 -05:00
Albert Cheng
da472d0c9b [svn-r5164] Just couple white space editing in HMPI_ERROR macros.
Nothing of consequence.
2002-04-10 17:54:11 -05:00
Bill Wendling
b2d963d9e1 [svn-r5162] Purpose:
Third Time's a Charm
Description:
	Okay...So, the H5Tinit.c isn't in the $(top_srcdir) directory but in
	the $(top_builddir) directory.
Solution:
	Hack so that if it is H5Tinit that we're compiling, then point to the
	$(top_builddir) directory.
Platforms tested:
	Linux
2002-04-10 11:33:23 -05:00
Bill Wendling
055bff2ecc [svn-r5161] Purpose:
Bug Fix Fix
Description:
	The way I fixed the bug didn't work on Linux.
Solution:
	Changed so that we use the $* macro with a .c extension instead of
	assuming that $< won't have a full pathname already.
Platforms tested:
	Linux
2002-04-10 11:15:07 -05:00
Bill Wendling
ecb4296890 [svn-r5160] Purpose:
Regen
Description:
	Updated Dependencies file...
2002-04-10 10:43:37 -05:00
Bill Wendling
421a88fd45 [svn-r5159] Purpose:
Updated
Description:
	Regenerated Dependencies file for addition of set_extent.c file
2002-04-10 10:38:05 -05:00
Bill Wendling
6febdcf5fc [svn-r5158] Purpose:
Update
Description:
	Changed set_extend to set_extent to reflect the change in the
	filename...
2002-04-10 10:35:27 -05:00
Bill Wendling
0b26fa6c9f [svn-r5157] Purpose:
Bug Fix
Description:
	We couldn't find the HDF5 source files for compilation with Pablo.
Solution:
	Have it find them in the $(top_srcdir)/src/ directory.
Platforms tested:
	Modi4
2002-04-10 10:06:44 -05:00
Bill Wendling
c1edc96aaa [svn-r5156] Purpose:
Update
Description:
	Updated to reflect change of set_extend.c to set_extent.c.
2002-04-10 08:33:41 -05:00
Pedro Vicente Nunes
b366a5669a [svn-r5155]
Purpose:

Made a new all.zip that includes a new project called "set_extent".
2002-04-09 12:32:44 -05:00
Pedro Vicente Nunes
4b8ccc422d [svn-r5154]
Purpose:

Renamed the all the functions "set_extend" to "set_extent".
Renamed the test file accordingly
2002-04-09 12:31:21 -05:00
Pedro Vicente Nunes
41fda81044 [svn-r5153]
Purpose:

Modified all.zip file to include a windows project for set_extend
2002-04-09 11:06:15 -05:00
Quincey Koziol
1ffe083f61 [svn-r5152] Purpose:
New Feature

Description:
    Added new H5Dfill() routine to fill the elements in a selection for a
    memory buffer with a fill value.  This is a user API wrapper around some
    internal routines which were needed for the fill-value modifications
    from Raymond as well as Pedro's code for reducing the size of a chunked
    dataset.

Platforms tested:
    FreeBSD 4.5 (sleipnir) [and IRIX64 6.5 (modi4) in parallel, in a few
    minutes]
2002-04-09 07:47:34 -05:00
Quincey Koziol
e403006cc2 [svn-r5151] Purpose:
Code cleanup
Description:
    Remove the 'configure.lineno' file during "make distclean"
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-09 07:41:10 -05:00
HDF Admin
8a086b1643 [svn-r5148] Snapshot version 1.5 release 24 2002-04-06 11:36:23 -05:00
Raymond Lu
242d36d263 [svn-r5147]
Purpose:
    New feature
Description:
    Added a query function H5Tget_member_index for compound and enumeration
    data types, to retrieve member's index by its name.
Platforms tested:
    Linux 2.2
2002-04-05 17:31:20 -05:00
Robb Matzke
9606ebdfc7 [svn-r5143] ./hdf5-devel/tools/h5ls/h5ls.c
Minor h5ls bugfix for compound types with array members.
(Similar changes shortly for 1.4 branch).


2002-04-04 16:39:09 Robb Matzke  <matzke@arborea.spizella.com>
	* display_cmpd_type: Removed code to display array dimensions from display_cmpd_type()
	   since this was a holdover from the days when hdf5
	   didn't have an array datatype and was duplicated by
	   display_array_type().
2002-04-05 14:42:58 -05:00
Robb Matzke
2bd888792c [svn-r5142] ./hdf5-devel/src/H5Fistore.c
Minor h5ls bugfix for compound types with array members.
(Similar changes shortly for 1.4 branch).


2002-04-02 10:22:55 Robb Matzke  <matzke@arborea.spizella.com>
	* H5F_istore_read: Realigned a couple of comments.
2002-04-05 14:42:52 -05:00
Quincey Koziol
997e30d86a [svn-r5139] Purpose:
Code cleanup
Description:
    Clean up a few warnings on the SGI.
Platforms tested:
    IRIX64 6.5 (modi4)
2002-04-03 12:37:02 -05:00
Quincey Koziol
7ae00db7a4 [svn-r5138] Purpose:
Bug Fix & Code Cleanup

Description:
    The MPI-IO optimized transfer routines
    (H5S_mpio_spaces_read/H5S_mpio_space_write) are not being invoked in all
    the cases where they could be used.

    Additionally, the code for determining if an optimized transfer is wrapped
    into the actual I/O transfer routine in a very confusing way.

Solution:
    Re-enabled MPI-IO optimized transfer routines in all the cases where they
    should work.

    Extracted all the pre-conditions for optimized transfers into separate
    routines from the transfer routines.

Platforms tested:
    FreeBSD 4.5 (sleipnir) & IRIX64 6.5 (modi4)
2002-04-03 12:07:14 -05:00
Albert Cheng
ad641fa7b6 [svn-r5135] Purpose:
Features.
Description:
    Error stack used to report only hdf5 predefined error messages
    because it takes only static strings.  Runtime defined messages
    were not pushed to the stack.
    Added the means and macros to push MPI error strings onto the
    hdf5 error stack.  Added a new minor error class as H5E_MPIERR
    for this class of messages.
    H5Epulbic.h, H5E.c:
	Added H5E_MPIERR and its minor class description.
    H5Eprivate.h:
	Added HMPI_XXX macros to push MPI error strings to the stack.
    H5FDmpio.c:
	Changed couple places to use the new macros to test the new
	macros.  A more through changes to make use of these new
	macros will be done later.
Platforms tested:
    eirene (serial, parallel)
    modi4(parallel)
2002-04-02 23:44:26 -05:00
Quincey Koziol
c0ca09a899 [svn-r5134] Purpose:
Fix typo...
Description:
    Fix typo in last H5S_find() checkin...
Platforms tested:
    IRIX64 6.5 (modi4)
2002-04-02 22:17:23 -05:00
Bill Wendling
89cee5529a [svn-r5133] Purpose:
Update
Description:
	Updated MANIFEST to reflect the removal of some autotools files which
	the autotool upgrade made obsolete.
Platforms tested:
	Linux
2002-04-02 17:14:13 -05:00
Bill Wendling
68556658db [svn-r5132] Purpose:
Autotools Update
Description:
	I've updated autoconf, automake, and libtool to the latest/greatest
	versions; 2.53, 1.6, and 1.4.2 resp.

	Many changes come with the new versions:

		- ltconfig is no longer used
		- acconfig.h is no longer used (#define values are declared with
		  the macro)
		- regeneration of all of the aclocal.m4, configure, and
		  H5config.h.in files.
		- new config.{guess,sub} files
		- new ltmain.sh file
Platforms tested:
	AIX (blue), and Linux
2002-04-02 17:08:23 -05:00
Quincey Koziol
8005e831a0 [svn-r5131] Purpose:
Code cleanup
Description:
    The function pointer for doing parallel I/O was being set in the H5D_read
    and H5D_write routines instead of in H5S_conv, where it belongs.
Solution:
    Added an extra 'flags' parameter to H5S_find to allow the function to
    determine when to set the MPIO functions instead of the regular optimized
    I/O routines and get rid of code messing with the function pointer in the
    H5D routines.
Platforms tested:
    IRIX64 6.5 (modi4)
2002-04-02 16:21:13 -05:00
Quincey Koziol
d2232a345f [svn-r5130] Purpose:
Bug Fix & Feature

Description:
    The selection offset was being ignored for optimized hyperslab selection
    I/O operations.

    Additionally, I've found that the restrictions on optimized selection
    I/O operations were too strict and found a way to allow more hyperslabs
    to use the optimized I/O routines.

Solution:
    Incorporate the selection offset into the selection location when performing
    optimized I/O operations.

    Allow optimized I/O on any single hyperslab selection and also allow
    hyperslab operations on chunked datasets.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-02 15:51:41 -05:00
Albert Cheng
c1e44699f0 [svn-r5128] Updated. 2002-04-02 10:34:44 -05:00
Quincey Koziol
ebbabfd3ef [svn-r5126] Purpose:
Bug Fix (sorta)
Description:
    "small" contiguous hyperslabs were not being detected correctly by
    H5S_hyper_select_contigous() leading to poorer performance than possible.
Solution:
    Corrected check for small hyperslabs.  Also cleaned up the H5S_find() code.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-01 13:52:02 -05:00
Raymond Lu
a2ea33e6b9 [svn-r5124]
Purpose:
    Bug fix(#697)
Description:
    Variable-length string is not treated as string.
Solution:
    Added character set and padding as VL string's attributes.  They can be
    set and retrieved.
Platforms tested:
    Solaris 8, IRIX64 6.5 parallel, and FreeBSD.
2002-04-01 09:01:49 -05:00