Commit Graph

3882 Commits

Author SHA1 Message Date
Bill Wendling
24edaaf9f0 [svn-r5235] Purpose:
Update
Description:
    Updated the way we used the AC_INIT macros so that it's current to
    the new standard way and not deprecated anymore.

    Also, added a test for some functions during parallel Fortran
    configure. This required the creation of an H5config_fortran.h file
    so that we can test for these...
Platforms tested:
    Elena is going to test the changes to the fortran after she checks in
    her other code. I will test on SDSC machines after getting her code.

    The other changes were tested on Linux.
2002-04-23 15:02:26 -05:00
Albert Cheng
f980ab403a [svn-r5232] Purpose:
Bug fix
Description:
    The symbol "RAW" is already defined in some ioctl.h files.
    Changed it to RAWIO.
Platforms tested:
    Tflops.
    (I am commiting this from TFLOPS.  Will check it out immediate
     to test on local machines.)
2002-04-23 11:07:50 -05:00
Quincey Koziol
f99a412057 [svn-r5230] Purpose:
Code cleanup

Description:
    Clean up the H5B_iterate code to not have a single hard-wired iterator for
    each interface which uses a B-tree, instead accept a function pointer which
    determines the callback function.  This allows additional iterator
    callbacks to be defined without requiring additional H5B functions to be
    created.

    In that spirit, remove the H5B_prune_by_extent call and convert the
    H5F_istore callback routine for it into a callback routine for H5B_iterate.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-23 11:01:43 -05:00
Albert Cheng
ac917c1f07 [svn-r5229] Updated with support for parallel C API. 2002-04-22 20:25:14 -05:00
Bill Wendling
0ade5bb44b [svn-r5227] Purpose:
Feature Update
Description:
		Modified the AC_OUTPUT macro to coincide with the now-standard
		way of doing things. I.e., you put all of the files you want to
		generate into the AC_CONFIG_FILES macro and invode AC_OUTPUT with
		no parameters.
Platforms tested:
        Linux
2002-04-22 18:50:25 -05:00
Bill Wendling
fd9f73d5fe [svn-r5226] Purpose:
Feature Update
Description:
	Modified the AC_OUTPUT macro to coincide with the now-standard way of
	doing things. I.e., you put all of the files you want to generate
	into the AC_CONFIG_FILES macro and invode AC_OUTPUT with no
	parameters.
Platforms tested:
	Linux
2002-04-22 18:47:41 -05:00
Bill Wendling
0c7f15227c [svn-r5225] Purpose:
Feature Fix
Description:
	Modified the AC_OUTPUT macro to coincide with the now-standard way of
	doing things. I.e., you put all of the files you want to generate
	into the AC_CONFIG_FILES macro and invode AC_OUTPUT with no
	parameters.
Platforms tested:
	Linux
2002-04-22 18:44:41 -05:00
Albert Cheng
7b022bbfb8 [svn-r5224] Purpose:
Update
Description:
    Added the support platform summary paragraph.
    Thread safe is supported for solaris 2.8_32bit.
Platforms tested:
    hdfsun8
2002-04-22 15:30:58 -05:00
Albert Cheng
5aeda255db [svn-r5222] Purpose:
feture
Description:
    add calls to show hostname.
Platforms tested:
    eirene (linux 2.2) parallel.
2002-04-22 15:24:59 -05:00
Dan Wells
b60521774f [svn-r5220]
Purpose:
    Bug Fix
Description:
    Users could not trace MPI programs when library wasn't compiled for
    parallel execution
Solution:
    Allow Pablo Trace library to set the processor number and generate
    the filenames for each processor.
Platforms tested:
    Sun Workstation, HP VClass, Irix 64
2002-04-22 13:14:00 -05:00
Quincey Koziol
e5fc40662c [svn-r5219] Purpose:
Code cleanup

Description:
    Clean up warnings from gcc 3.1

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-04-22 12:48:24 -05:00
Albert Cheng
7527ed7d6f [svn-r5218] Purpose:
New feature
Description:
    Added h5_show_hostname to display the hostname of the host in
    which the process runs.  It can help identify location of process
    in multiple processes or batch launching environments.
Platforms tested:
    Eirene (pp)
2002-04-22 12:12:14 -05:00
Albert Cheng
2c29bc24ff [svn-r5215] Purpose:
Bug fix
Description:
    Zlib-compression was reported according to if a Z-library (e.g., libz.a)
    has been found.  It actually needs the presence of a valid zlib.h header
    file and the compress2() routine.
Solution:
    Changed the IF_YES_NO to be more general by accepting multiple arguments
    and changed the Zlib-compression depends on zlib.h header and the
    compress2() routine.
Platforms tested:
    Eirene.
2002-04-21 23:12:42 -05:00
HDF Admin
81912c99e7 [svn-r5213] Snapshot version 1.5 release 26 2002-04-20 04:43:19 -05:00
Albert Cheng
f42dc21708 [svn-r5212] Purpose:
Code improvement
Description:
    Changed stat to HDstat macro for portability.
Platforms tested:
    eirene.
2002-04-19 16:54:35 -05:00
MuQun Yang
1f913b1eab [svn-r5209]
Purpose:
    1. add install hdf5 lib.,tools batch file                                           2. add comments and earse warning                                                   3. update H5pubconf.h
Description:
    1. With the request from supporting team, add a batch file that can
       automatically move all library, include and binary files to
       a directory called hdf5lib under the top directory.
    2. H5Tinit.c, H5pubconf.h and H5config.h are adapted from UNIX platform
       but manually maintained on windows. Add a one-line comment to avoid
       confusions.
    3. erase a compiling warning for unlink.dll
    4. Update H5pubconf.h, malloc(0) returns a non-NULL pointer for windows;
       So define H5_MALLOC_WORK on H5pubconf.h
Solution:
Platforms tested:
    windows 2000
2002-04-19 16:33:40 -05:00
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