Commit Graph

4066 Commits

Author SHA1 Message Date
MuQun Yang
0a4ca388fe [svn-r5208]
Purpose:
    a bug fix
Description:
     should use HDfstat instead of fstat
Solution:
Platforms tested:
linux 2.218, windows 2000
2002-04-19 15:48:43 -05:00
Albert Cheng
5369181ba3 [svn-r5207] Purpose:
Feature
Description:
    Added option -c to allow skipping file system Checking.  This allows
    users to run the test even if the program thinks it may fill up the
    file system.
Platforms tested:
    eirene
2002-04-19 13:54:51 -05:00
Albert Cheng
f5d5e9e2ff [svn-r5205] Purpose:
Code cleanup
Description:
    Platform dependent code related to the struct stat and fstat
    calls polluted source codes.  Hard to maintain.
Solution:
    Platform dependent code are moved to H5private.h and then internal
    code can #include H5private.h.  Repeat those macro definition for
    the stdio and multi drivers since they area examples for writing
    a virtual file driver.  They must not use any internal code.
Platforms tested:
    eirene (parallel), modi4 (serial including gass driver.)
2002-04-19 02:20:41 -05:00
Quincey Koziol
40117dd384 [svn-r5203] Purpose:
Code cleanup

Description:
    Re-indented new code to match coding style of rest of library.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 15:10:05 -05:00
Quincey Koziol
fa3c25fbf0 [svn-r5202] Purpose:
Code cleanup

Description:
    Update 'indent' flags for library to include some flags in later versions
    of GNU indent.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 15:08:24 -05:00
Quincey Koziol
ef9c40754b [svn-r5200] Purpose:
Code Cleanup

Description:
    Clean up compiler warnings from the last bunch of checkins

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 09:05:38 -05:00
HDF Admin
139af5a517 [svn-r5199] Snapshot version 1.5 release 25 2002-04-18 08:54:09 -05:00
Quincey Koziol
6a0ecf7366 [svn-r5198] Purpose:
Code Cleanup

Description:
    Remove "knowledge" about external file storage from H5D_init_storage and
    call H5F_seq_write instead, which handles things correctly.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-18 08:34:20 -05:00
Pedro Vicente Nunes
6ef3da0233 [svn-r5197]
Purpose:
    change include header format
Description:
    the format <> of headers was causing problems in the file H5Tinit.c
Solution:

 changed to

#include "H5private.h"
#include "H5Iprivate.h"
#include "H5Eprivate.h"
#include "H5FLprivate.h"
#include "H5MMprivate.h"
#include "H5Tpkg.h"



Platforms tested:
    w2000
2002-04-17 15:46:32 -05:00
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