Commit Graph

3575 Commits

Author SHA1 Message Date
Albert Cheng
a72ee1251a [svn-r4700] Purpose:
new feature
Description:
    It writes to MPIO files now.
Platforms tested:
    eirene (pp)
2001-12-11 18:02:07 -05:00
Albert Cheng
8ee6220285 [svn-r4699] Purpose:
Bug fixes, feature, ...
Description:
    Now it can do raw write.
Platforms tested:
    modi4(pp), eirene (pp)
2001-12-11 16:45:29 -05:00
Bill Wendling
0421075efc [svn-r4698]
Purpose:
	Bug Fix
Description:
	Fixed so that it will display the correct timing data. It will also
	write to the correct file (which it wasn't before).
Solution:
	Put the code in for displaying the time. Had to change the way I was
	passing an object to the pio_fopen() function from just being a
	structure to being a pointer so that the changes could be propagated
	back.
Platforms tested:
	Linux
2001-12-11 15:57:53 -05:00
Bill Wendling
aec064a280 [svn-r4697]
Purpose:
	Bug Fix
Description:
	I wasn't calculating the total time correctly.
Solution:
	I had to subtract the previous time from the current time. This
	wasn't being done...DOH
Platforms tested:
	Linux
2001-12-11 15:56:02 -05:00
Raymond Lu
d28fd08f4a [svn-r4696]
Purpose:
    Modify H5Fclose behavior
Description:
    The HDF5 actual file close behaves in several ways in terms of if there
    are still objects(dataset, group, datatype) opened in file.
Solution:
    Added a new file access property, file close degree.  It has four values,
	H5F_CLOSE_DEFAULT
	H5F_CLOSE_WEAK
	H5F_CLOSE_SEMI
	H5F_CLOSE_STRONG
    The way a file is closed is decided by these values.
Platforms tested:
    IRIX64 6.5, SunOS 5.6, FreeBSD 4.4
2001-12-11 14:53:44 -05:00
Quincey Koziol
33ed41455e [svn-r4695] Purpose:
Bug Fix

Description:
    The file metadata macros generate unaligned access warnings on the IA64
    architecture.

Solution:
    Got rid of bogus big-endian vs. little-endian differentiation when encoding
    and decoding file metadata and use proper set of macros to prevent unaligned
    access problems.

    This fixes bug #672.

Platforms tested:
    FreeBSD 4.4 (sleipnir)
2001-12-11 13:53:22 -05:00
Quincey Koziol
3baaa562ee [svn-r4693] Purpose:
Bug Fix

Description:
    The code in H5Sselect_hyperslab_valid contained an fencepost error and is
    allowing selections which overlap the extent by exactly one element in any
    dimension to pass as valid instead of flagging the selection as invalid.

    This bug only affects hyperslabs which have been OR'ed together, not the
    selection from a single H5Sselect_hyperslab.

    This fixes bug #550.

Solution:
    Changed an '>' to an '>=' and added new regression test to check for error.

Platforms tested:
    FreeBSD 4.4 (sleipnir)
2001-12-11 13:26:40 -05:00
Bill Wendling
43c1f21316 [svn-r4691]
Purpose:
	Small Fixes
Description:
	After conversation with Albert, here are some small fixes for the
	performance stuff. Not too significant. Though, we did add the
	"buffer size" as a parameter I pass to the engine.
2001-12-10 17:45:46 -05:00
Bill Wendling
b78d34a147 [svn-r4690]
Purpose:
	Feature Fix
Description:
	Added code so that it measures the time it takes to do I/O and return
	that to the calling function.

	This code doesn't quite work yet. There is something wrong with the
	MPI code in the "pio_engine.c" file...I don't know what's up with
	it...
Platforms tested:
	Linux
2001-12-10 17:07:58 -05:00
Bill Wendling
39243d8b05 [svn-r4689]
Purpose:
	Feature Fix
Description:
	Added code so that it will actually output some of the timing
	measurements.
Platforms tested:
	Linux
2001-12-10 17:06:22 -05:00
Bill Wendling
c597c46ae4 [svn-r4688]
Purpose:
	Bug Fix
Description & Solution:
	In the test for "namespace", we needed to include the "iostream"
	header file to remove errors for strict compilers who need iostream
	for namespaces. I moved the test for namespace to after the test for
	"old header filenames" to make sure that I'm #including the correct
	iostream ("iostream" or "iostream.h").
Platforms tested:
	Linux
2001-12-10 13:37:44 -05:00
Bill Wendling
692896a9e7 [svn-r4687]
Purpose:
	Small warning removals
Description:
	Just removed a few more warnings to make the compile go a bit
	smoother...
Platforms tested:
	Linux
2001-12-10 13:05:39 -05:00
Albert Cheng
216b84a9ab [svn-r4686] Purpose:
Bug fix
Description:
    LIBTOOLS has to come before LIBHDF5 in order to link in HDF5 API.
Platforms tested:
    modi4(pp), eirene (serial and pp).
2001-12-10 12:21:12 -05:00
Albert Cheng
7ba2253653 [svn-r4685] Purpose:
Bug fix
Description:
    Cleaned up obvious syntax errors to make it to compile.
    Changed unnecessarily unsigned variables to signed to avoid
    messy compiler warnings.
Platforms tested:
    eirene (parallel)
2001-12-10 11:24:58 -05:00
Quincey Koziol
9289d8fb85 [svn-r4683] Purpose:
Bug fix.
Description:
    Fix fortran stub for H5P[gs]et_hyper_cache.
Solution:
    Made the fortran subs not execute any function calls into the library,
    unless v1.4 compatibility is turned on.

    Elena will be following this up with a real fix.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-07 14:53:53 -05:00
Albert Cheng
42f333314a [svn-r4682] Purpose:
Bug fix
Description:
    A a build had occurred in the source tree ($CURRENT) and did not
    do a distclean, the left over files would interfere with srcdir
    build.
Solution:
    Added a "make distclean" in the "checkout" option to clean up
    the $CURRENT just in case.  Not necessarily the most optimal
    spot to do the cleaning but convenient.
Platforms tested:
    Eirene.
2001-12-06 16:42:41 -05:00
Quincey Koziol
7a30de3a2b [svn-r4680] Purpose:
Code cleanup
Description:
    Property that H5P(g|s)et_hyper_cache uses is no longer in use inside the
    library.
Solution:
    Removed H5P(g|s)et_hyper_cache API functions, except when backward
    compatibility is turned on.  When backward compatibility is turned on,
    the property is defined by the library, but unused internally.
Platforms tested:
    FreeBSD 4.4 (sleipnir)
2001-12-06 14:05:12 -05:00
Albert Cheng
1b67380c0a [svn-r4679] Snapshot version 1.5 release 16 2001-12-06 10:08:19 -05:00
Frank Baker
019ab20275 [svn-r4678]
Purpose:
    Expanded descriptions and minor copy edits.

Description:
    H5Fcreate, H5Fopen, H5Fclose
       Changes stemming from Albert's H5Fxxx proposal
    Added IN/OUT designations to parameters.
    Minor formatting and copy edits

    [Sorry, but "no space left on device" error prevents deletion
    of extra blank lines!]


Platforms tested:
    IE 5
2001-12-05 17:08:37 -05:00
Quincey Koziol
6ecbcc1717 [svn-r4676] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_buffer's parameters changed between v1.4 and the
    development branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_buffer implementation and testing
    to allow v1.4.x users to continue to use their source code without
    modification.

    These changes are for everything except the FORTRAN wrappers - I spoke with
    Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 15:26:39 -05:00
Quincey Koziol
253123994a [svn-r4675] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_sieve_buf_size's parameters changed between v1.4 and the
    development branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_sieve_buf_size implementation and
    testing to allow v1.4.x users to continue to use their source code without
    modification.

    There are no C++ or FORTRAN wrappers for these functions.

    There are also no regression tests for these functions... :-(

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 14:04:58 -05:00
Quincey Koziol
bfbac647b0 [svn-r4674] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_meta_block_size's parameters changed between v1.4 and the
    development branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_meta_block_size implementation and
    testing to allow v1.4.x users to continue to use their source code without
    modification.

    There are no C++ or FORTRAN wrappers for these functions.

    There are also no tests for these API functions currently... :-(

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 13:45:31 -05:00
Quincey Koziol
b46e905594 [svn-r4673] Purpose:
Backward Compatibility Fix
Description:
    H5Pset_fapl_log's parameters have changed from a simple "verbosity" level
    to bit-masked flags to enable various behaviors.
Solution:
    Added in v1.4 compat stuff, on the unlikely chance that others are actually
    using this code in some production way.

    There are no C++ or FORTRAN wrappers for this call.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 12:33:31 -05:00
Albert Cheng
e3c98c2899 [svn-r4672] Purpose:
Bug fix
Description:
    Snapshot does "make check" directly, instead of building all
    binary first.  This means it does not cover code that are not
    tested (e.g., example, perform).  (That explained why the errors
    in the PIO performance code were not reported in daily test but
    blew up when people built the library the "normal" way.)
    It is done this way so that the snaptest aborts as soon as
    the first test failed rather than after all code are compiled.
Solution:
    Add "make" (to build all binary) before "make check".
    The allows snaptest to fail as soon as the first compiling failure.
    If we wish the snaptest to abort on the first test failure, the two
    can be swapped as "make check && make ...".  (It would appear strange
    to run tests then make binary.)
Platforms tested:
    Would be tested in the daily test tonight.  (I should have tested
    it first but I started this commit process already.  Sorry.)
2001-12-05 12:18:34 -05:00
Quincey Koziol
4886a6c447 [svn-r4670] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_sym_k's parameters changed between v1.4 and the development
    branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_sym_k implementation and testing
    to allow v1.4.x users to continue to use their source code without
    modification.

    These changes are for everything except the FORTRAN wrappers - I spoke with
    Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 11:42:40 -05:00
Quincey Koziol
a9c747deba [svn-r4669] Purpose:
Backward Compatibility Fix
Description:
    One of H5P[gs]et_cache's parameters changed between v1.4 and the development
    branch.
Solution:
    Added v1.4 compat stuff around H5P[gs]et_cache implementation and testing
    to allow v1.4.x users to continue to use their source code without
    modification.

    These changes are for everything except the FORTRAN wrappers - I spoke with
    Elena and she will make the FORTRAN wrapper changes.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-12-05 11:12:32 -05:00
Binh-Minh Ribler
2167e3c495 [svn-r4668]
Purpose:
    Eliminated warnings
Description:
    On IRIX and Windows 98, if a function, that returns a value, throws
    an exception in "else" statement, the compiler still complains that
    the function doesn't return a value.
Solution:
    Replaced:
	if (something valid)
	    return a value
	else
	    throw an exception

    with:
	if (something invalid)
	    throw an exception
	return a value
Platforms tested:
    Windows 98
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    IRIX64 (modi4) - only tested that the warnings went away, still working
			on other configuration problems.
2001-12-05 11:03:14 -05:00
Bill Wendling
4a124d00cc [svn-r4667]
Purpose:
	Code Cleanup and Feature Add
Description:
	Finally checking in the changes I made to the performance code. It
	just modularizes it a bit more and performs some more checks, etc. I
	also renamed the timer functions to be more inline with how other
	things are named here...
Platforms tested:
	Linux
2001-12-04 17:23:54 -05:00
Quincey Koziol
a330835a5b [svn-r4666] Purpose:
Bug fix
Description:
    Missing a statement for an else branch when HAVE_GETTIMEOFDAY was defined,
    which caused most machines to fail compiling.
Solution:
    Re-arranged if/else statement to eliminate problem.
Platforms tested:
    FreeBSD 4.4 (sleipnir)
2001-12-04 08:19:42 -05:00
Quincey Koziol
e30b98d7fb [svn-r4665] Purpose:
Code cleanup
Description:
    Changed the logging file driver to use bitmasked flags for features to
    enable, instead of using a verbosity level.
Platforms tested:
    Solaris 2.6 (baldric)
2001-12-03 16:04:07 -05:00
Quincey Koziol
6e1ab59a75 [svn-r4664] Purpose:
Code cleanup
Description:
    Check in some small speedups for chunked storage I/O.
Platforms tested:
    Solaris 2.6 (baldric)
2001-12-03 16:00:46 -05:00
Bill Wendling
0c4dec2ba1 [svn-r4661]
Purpose:
	Bug Fix
Description:
	We needed to support C++ on SP3. Libtool was putting a "-bnso" flag
	on the compile line. This was causing the C++ compiler to barf..
Solution:
	Removed the line.
Platforms tested:
	OSF5.1
2001-11-30 13:04:36 -05:00
Elena Pourmal
76e9fe7298 [svn-r4658]
Purpose:
    Maintenance
Description:
    Added configuration file for SP3 to support C++
Platforms tested:
    NERSC SP3
2001-11-28 15:55:43 -05:00
MuQun Yang
65f26fb168 [svn-r4657]
Purpose:
    a minor bug on H5T.c
Description:
     should be HEREUTRN_ERROR(...,...,int,...)
     instead of HERUTRN_ERROR(...,...,int*,...)

Solution:
    change HERETURN_ERROR(...,...,NULL,...) into HERETURN_ERROR(...,...,FAIL,...)
Platforms tested:
    windows 2000
2001-11-28 11:00:48 -05:00
Quincey Koziol
2dad38a26c [svn-r4656] Purpose:
Bug fix
Description:
    Moved some executable code out of an assert() and check the results of the
    code with an assert().
Platforms tested:
    Solaris 2.6 (baldric)
2001-11-27 14:44:12 -05:00
Elena Pourmal
77e6a52f9a [svn-r4652]
Purpose:
    Bug fix
Description:
    Somehow I forgot to add DEC compiler directives to the H5Eff.f90
    file. Linking failed on OSF 5.1
Solution:
    Added necessary compiler directives for name translations.
Platforms tested:
    Not tested yet but without this change it would fail.
2001-11-27 13:40:35 -05:00
Quincey Koziol
fad0ffac14 [svn-r4650] Purpose:
Bug fix
Description:
    Fix another typo from today's big "overflow" commit.
Platforms tested:
    Solaris 2.6 (baldric)
2001-11-27 13:35:01 -05:00
Quincey Koziol
25aa2b6938 [svn-r4647] Purpose:
Bug fix
Description:
    Changed return value from "FAIL" to "NULL" for error condition, which was
    caused the SGI machines testing the GASS drivers to fail over the weekend.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-27 13:05:32 -05:00
Quincey Koziol
7c0c461e41 [svn-r4646] Purpose:
Bug fix
Description:
    Fix typo which caused thread-safe tests to fail over the weekend.
Platforms tested:
    IRIX64 6.5 (modi4) with thread-safe code enabled.
2001-11-27 13:02:55 -05:00
Quincey Koziol
233ef182ac [svn-r4645] Purpose:
Bug Fix
Description:
    Replace an 'if' statement taken out in commit earlier today which was
    necessary for routing around endian conversions when zero elements were
    converted.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-27 13:02:00 -05:00
Quincey Koziol
226ae23b7b [svn-r4644] Purpose:
Code cleanup
Description:
    Fix small warning on SGI compilers
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-27 13:00:39 -05:00
Quincey Koziol
d456c2bb82 [svn-r4643] Purpose:
Code cleanup
Description:
    Windows is generating hundreds of warnings from some of the practices in
    the library.  Mostly, they are because size_t is 32-bit and hsize_t is
    64-bit on Windows and we were carelessly casting the larger values down to
    the smaller ones without checking for overflow.

    Also, some other small code cleanups,etc.

Solution:
    Re-worked some algorithms to eliminate the casts and also added more
    overflow checking for assignments and function parameters which needed
    casts.

    Kent did most of the work, I just went over his changes and fit them into
    the the library code a bit better.

Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-27 11:29:13 -05:00
Quincey Koziol
05264c8878 [svn-r4642] Purpose:
Code cleanup
Description:
    Added macro to check for overflows when assigning a value to a variable
    which requires a cast down in size or precision.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-27 11:18:43 -05:00
Elena Pourmal
6336d12b03 [svn-r4638]
Purpose:
    Maintenance
Description:
    Added tests for the H5E Fortran interface
Platforms tested:
    arabica and eirene
2001-11-27 10:11:56 -05:00
Elena Pourmal
3adfa54afc [svn-r4637]
Purpose:
    Bug fix
Description:
    Error messages were printed to the file and standard output regardless
    of the parameters passed to the h5eprint_f function. h5eprintc function
    did not close the file with the error output. Fixed.
Platforms tested:
    arabica and eirene
2001-11-27 10:10:55 -05:00
Elena Pourmal
2e910e48b9 [svn-r4636]
Purpose:
    Bug fix and maintenance
Description:
    I added new file tH5E.f90 to the fortran/test directory
Platforms tested:
    arabica and eirene
2001-11-27 10:07:15 -05:00
Quincey Koziol
35a04d41ff [svn-r4635] Purpose:
Code cleanup (sorta)
Description:
    H5_SIZEOF_HSIZE_T was missing from among the definitions we provide for
    the variables we declare.
Solution:
    Added it.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-21 15:08:58 -05:00
Quincey Koziol
db8fa602a6 [svn-r4634] Purpose:
Bug fix
Description:
    A couple more compile problems from the recent elimination of IDs from
    internal function calls.
Platforms tested:
    IRIX64 6.5 (modi4)
2001-11-21 12:01:10 -05:00
Quincey Koziol
2edb830946 [svn-r4633] Purpose:
Bug fix.
Description:
    Builds for parallel testing exposed some places that I forgot to get rid of
    using IDs in internal APIs.
Solution:
    Switch sections of code to use proper data structures instead of IDs.
Platforms tested:
    Parallel compiles from daily tests.
2001-11-21 10:09:47 -05:00
Quincey Koziol
cdffac61e5 [svn-r4632] Purpose:
Bug fix
Description:
    Fix deep copies of property lists with H5P_DEFAULT values.
Platforms tested:
    FreeBSD 4.4 (hawkwind)
2001-11-21 10:07:32 -05:00