Commit Graph

2530 Commits

Author SHA1 Message Date
Thomas Radke
a8932fbddc [svn-r2553] Purpose:
Added new option --with-Stream-VFD.

Description:
        The configure option --with-Stream-VFD[={yes}|{no}] is used
        to configure HDF5 to build the Stream Virtual File Driver.
        The default is not to build it.

Platforms:
        all platforms
2000-09-15 06:14:40 -05:00
Bill Wendling
3a590c6e5c [svn-r2552] Purpose:
Upgrade of GNU tools.

Description:
	Upgraded the aclocal.m4 to the newest version of libtool.m4.

Platforms:
	Linux.
2000-09-14 17:59:16 -05:00
Quincey Koziol
a4d73cc16b [svn-r2551] Purpose:
Fix last couple of errors from introducing "regular" hyperslab feature
into the library.

Description:
    Code was blindly dereferencing data structures which aren't defined when
operating on regular hyperslabs.

Solution:
    Check for regular hyperslab defined and retrieve information from regular
hyperslab info instead of mucking about in other hyperslab information.

Platforms:
    Solaris 2.6
2000-09-14 17:54:21 -05:00
Bill Wendling
7a01c17543 [svn-r2550] Purpose:
Cleaned up the configure file a bit.

Description:
	There were a few small bugs having to do with checking if strings
	were empty. Also needed to force paths to be absolute instead of
	relative.

Solution:
	I standardized string checking (test -z for an empty string and
	test -n for a non-empty string). Also, if the user specifies a
	relative path for any of the options, the configure now makes it
	into an absolute path for both CPPFLAGS and LDFLAGS macros.

Platforms:
	Solaris, Linux
2000-09-14 17:19:24 -05:00
Bill Wendling
1a50cbd737 [svn-r2549] Added usage message if the user doesn't specify a filename (i.e., no
command line arguments are given).
2000-09-14 12:26:37 -05:00
Bill Wendling
29a7f62218 [svn-r2548] Added #include <sys/resource.h> for the struct getrusage declaration.
Przemek Klosowski, Ph.D. <przemek@nist.gov> reported this problem on
Linux RH 6.1 systems.
2000-09-14 12:15:12 -05:00
Quincey Koziol
51e91feba8 [svn-r2547] Changed hyperslab definition to generate one 6x6 hyperslab instead of 36 1x1
hyperslabs.
2000-09-13 18:50:39 -05:00
Quincey Koziol
85a08f5bc9 [svn-r2546] Further patches to accomodate regular hyperslabs. More of the tests are
passing, but not all of them yet...
2000-09-13 18:49:54 -05:00
Quincey Koziol
6a3bebec59 [svn-r2545] Updated some printfs to be more informative when failures occur. 2000-09-13 16:58:44 -05:00
Quincey Koziol
1f109221df [svn-r2544] Optimized regular hyperslab I/O routines and data structures. On my benchmarks,
they are about 4-5 times faster than before.  We no longer generate "general"
hyperslab data structures for regular hyperslabs, the general data structures
are only generated when needed for irregular hyperslabs.

Still fixing a couple of nook-and-cranny functions to understand the new
information for the regular hyperslabs, so the tests aren't completely passing,
but I wanted to get this checked in for Elena's benchmarks.  I should have
more/all tests passing later today.
2000-09-13 16:58:18 -05:00
Frank Baker
683a11a633 [svn-r2542] index.html: Minor edits. 2000-09-13 16:20:36 -05:00
Bill Wendling
7bedd301a0 [svn-r2539] Removed the -R$(ZLIB_DIR) flag since that is now being taken care of much
more nicely in the config/commence file...
2000-09-12 02:55:38 -05:00
Bill Wendling
bb533a9879 [svn-r2538] Added DYNAMIC_DIRS macro. This is derived from the LDFLAGS macro created
in the configure script, basically replacing all -L/<path> constructs
with -R/<path> ones so that libtools will pass it along to the compiler
correctly.
2000-09-12 02:54:54 -05:00
Bill Wendling
cd2902be83 [svn-r2537] I take the LDFLAGS macro, scan it for -L/<path> statements and add the
equivalent -R/<path> to the LT_LINK_EXE command. Therefore, any
executables created will know where we got the different libraries from
automagically.
2000-09-12 02:53:49 -05:00
Bill Wendling
a33e9619aa [svn-r2533] Rolled back the changes I committed since Albert fixed the problem with
FILENAME being extern global...
2000-09-11 13:44:36 -05:00
Bill Wendling
7fd9e85f62 [svn-r2532] Added a trivial FILENAME definition to those programs linked with
h5test.o, which requires the definition to work...
2000-09-11 11:07:59 -05:00
Albert Cheng
dd4203674a [svn-r2531] Description:
The "FILENAME" declared extern in h5test.h is not always used.
    It was used in h5_cleanup to remove temporary files created
    during tests.  Not all tests codes have used this routine.
    Indeed, quite a few of test programs do "#define FILENAME ".
    Also, h5_cleanup needs to work in tandem with h5_fixname.
    h5_fixname accepts an explicite base_name argument instead
    of using the global variable FILENAME.  That is cleaner.
Solution:
    Added char *base_name[] as a new argument to h5_cleanup, in
    the same style as h5_fixname.  Removed "extern char *FILENAME..."
    from use.  Also, undo some unnecessary declaration of "char *FILENAME"
    from some tests which don't use it at all (yet).
Platforms tested:
    modi4-64(irix64), arabica(solari2.7), eirene(linux)
    (arabica could not launch tests automatically.  I had to hack
     in LD_LIBRARY_PATH to make them run.)
2000-09-09 19:08:27 -05:00
Bill Wendling
32bdf68ff8 [svn-r2529] Added a -R<directory> flag to the LT command line. If we compile with
zlib, and zlib isn't in our LD_LIBRARY_PATH or in a standard system
library place (/usr/lib or /lib), then the tests can't run. This fixes it
if the person configures the source with the flag:

	--with-zlib=/usr/fnord/include,/usr/fnord/lib

This only works if you're pointing to the shared library version in the
above flag...
2000-09-08 18:02:10 -05:00
Bill Wendling
ed2e87dc71 [svn-r2528] Linking errors occured with these files. They link with libh5test, but
libh5test wants FILENAME to be defined. I have no clue why this was
working before...
2000-09-08 17:58:59 -05:00
Bill Wendling
e9164bb70c [svn-r2527] Added ability for user to compile executables as all-static... 2000-09-08 17:57:40 -05:00
Bill Wendling
ba41d8e86b [svn-r2526] Added the ability to compile executables things as completely static.
Also I'm keeping the place the user indicated the zlib would be...
2000-09-08 17:57:21 -05:00
Frank Baker
32c4a3e515 [svn-r2525] RM_H5P.html
RM_H5Z.html
	Corrected compression cross-reference.
2000-09-08 10:35:39 -05:00
Frank Baker
4abc0559fb [svn-r2524] RM_H5Front.html: Corrected link to Fortrat90 README. 2000-09-08 10:31:33 -05:00
Bill Wendling
471550e166 [svn-r2523] Yet another small fix... 2000-09-07 16:01:32 -05:00
Bill Wendling
9a99342370 [svn-r2522] Small bug. A test if src/H5pubconf.h already contains the __cplusplus
macro didn't work on all systems. This fixes it.

This also introduces the ability to configure for fortran and c++. This
is not to be implemented yet, though!
2000-09-07 15:57:34 -05:00
Quincey Koziol
8d6b1221f2 [svn-r2520] Backed out mention of changing point selections. 2000-09-07 15:05:00 -05:00
Albert Cheng
61e517a4b0 [svn-r2519] Snapshot version 1.3 release 29 2000-09-06 16:15:35 -05:00
Quincey Koziol
c0ec9f92a6 [svn-r2518] Backed out patch from user after further testing... 2000-09-06 15:30:00 -05:00
Bill Wendling
681b630ea5 [svn-r2517] Removed the incorrect #ifdef's. Since this file is generated from
autoheader, it was useless to add them in here...
2000-09-06 13:32:45 -05:00
Bill Wendling
763bb8d9a0 [svn-r2516] Added stuff so that C++ compilers can include the src/H5{pub}config.h
files. I append to them an #undef of the inline macro. Then, if it's a
C++ compiler, the inline keyword isn't redefined incorrectly...
2000-09-06 13:31:47 -05:00
Bill Wendling
a56d88a99a [svn-r2515] Added macros around the inline #define since this is a keyword in C++
and, when adding the header to a C++ program, breaks it.
2000-09-06 11:15:18 -05:00
Quincey Koziol
c2a5fb6609 [svn-r2514] Documented point selection bug fix. 2000-09-06 10:47:01 -05:00
Quincey Koziol
e5deb6dbba [svn-r2511] Fix point selections so they work properly with both staticly and dynamicly
allocated memory.
2000-09-06 10:44:07 -05:00
Quincey Koziol
24b64938a1 [svn-r2510] Took memory allocation out of loop and used some temporary variable instead of
multi-dereferenced pointer chains.  This buys us another ~20% improvement in
the hyperslab I/O speed. (From ~30 seconds to ~25 seconds on the h5hypers
benchmark)
2000-09-06 10:36:37 -05:00
Quincey Koziol
25ee8b4e8f [svn-r2509] Change code so that heap_size wasn't zero. 2000-09-06 10:34:30 -05:00
Albert Cheng
404ee60bd4 [svn-r2508] Purpose:
Bug fixes
Description:
    All tests were core=dumping in IRIX64.  The bug is in Generic
    property list creation in which malloc asked for 2*64-1 bytes
    due to coding bug.  The object creation failed but the return
    code was not checked.  Program eventually crashed.
Solution:
H5F.c:
    Check the return code from new file object creation and flag
    error accordingly.
H5FL.c:
    H5FL_arr_free is a replacement for H5MM_xfree which accepts
    null value as a legal argument value.  H5FL_arr_free assert
    on it.  Since other parts of the code have been passing null
    value to H5MM_xfree, H5FL_arr_free must accept it too until
    all the calling routines are changed to not pass Null.
H5P.c:
    some routine passes in 0 as the hashsize value which is uintn.
    The expression (hashsize-1) underflows to the largest unsigned
    int for some machines.  Thus the calloc failed.  Cast hashsize
    to unsigned int first (this assumes hashsize stays within the
    signed int data range.
H5Smpio.c:
    Added the extra parameter because the H5FD_write has been redefined.

Platforms tested:
    IRIX64 -64 and -n32
2000-09-05 22:40:21 -05:00
Bill Wendling
b8f8c8cb90 [svn-r2507] Updated to most recent release of libtools (1.3.5). Most of the changes
applied for various platforms which weren't supported by libtools are now
standard for libtools it seems. There were only a few of the previous
fixes I rolled forward (the diffs follow):

config.sub:

750a760,763
> 	tflop*)
> 		basic_machine=i386-intel
> 		os=-osf1
> 		;;

ltmain.sh:
2911c2911
<     $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
---
>     $shlibpath_var=\"$finalize_shlibpath$temp_rpath\$$shlibpath_var\"
2000-09-05 18:57:47 -05:00
Bill Wendling
03618ecef5 [svn-r2506] Newest install-sh file version. Very small change (fixes a spelling
error).
2000-09-05 18:45:15 -05:00
Bill Wendling
da05036244 [svn-r2505] Some of the RETURN macros were returning NULL instead of FAIL...Fixed. 2000-09-05 18:10:06 -05:00
Quincey Koziol
72555fec5a [svn-r2504] Revised routine to add hyperslabs to the selection, sorting the arrays of
hyperslab boundaries after adding them all, instead of maintaining the sorted
order during each addition.  This boosts performance for sub-sampled (i.e.
strided) hyperslabs by about a factor of 10!  :-)
2000-09-04 11:25:34 -05:00
Quincey Koziol
e85425db19 [svn-r2502] Added limits to the free lists, so they will automatically garbage collect and
not eat all the memory in the machine (by default :-)
2000-08-31 18:11:06 -05:00
Quincey Koziol
312cd2c57d [svn-r2501] Added several free lists for commonly used & abused data structures. Also
added code to allow metadata to be allocated out of a more contiguous block
("metadata aggregation") and also code for "catching" small metadata write
calls and building a buffer of the small pieces of metadata for later writing
as one, larger, block ("metadata accumulation").  These features are enabled
on a per VFL driver basis with the new VFL 'query' call and both currently
enabled for the sec2, family and stdio drivers.  The mpio VFL driver enables
only the "metadata aggregation" code, not the "metadata accumulation" code.
All the other drivers have these features turned off.
2000-08-31 14:40:07 -05:00
Quincey Koziol
2910c496e1 [svn-r2500] Added fields to file data structures to allow metadata aggregation and
accumulation to be enabled and tracked.  Also updated some prototypes.
2000-08-31 14:35:44 -05:00
Quincey Koziol
8420b10455 [svn-r2499] Changed H5FDwrite prototype to include new 'type of data' parameter 2000-08-31 14:34:40 -05:00
Quincey Koziol
1ec946fac8 [svn-r2498] Added new VFL 'query' code and added new 'type of data' parameter to write
call.
2000-08-31 14:33:58 -05:00
Quincey Koziol
362baf1299 [svn-r2497] Removing metadata aggregation & accumulation prototyping code (it's in H5FD.c
now) and updated driver to add the new VFL 'query' call.
2000-08-31 14:28:16 -05:00
Quincey Koziol
a3b9c876e1 [svn-r2496] Changed H5F_block_write prototype & added metadata allocation field to file
access property lists.
2000-08-31 14:26:42 -05:00
Quincey Koziol
b678afccd8 [svn-r2495] More type of data parameter additions for H5F_block_write. 2000-08-31 14:26:06 -05:00
Quincey Koziol
0709cc1025 [svn-r2494] Changed the default size of object headers from 16 bytes to 256 bytes. 2000-08-31 14:25:10 -05:00
Quincey Koziol
7e7b6854e6 [svn-r2493] Added a set/get pair of property modifiers to allows users to set/query the
metadata allocation size for file access property lists.  These are new API
functions and should be documented for the next release.
2000-08-31 14:24:36 -05:00