Commit Graph

2474 Commits

Author SHA1 Message Date
Bill Wendling
f5dad4f23f [svn-r2981] Purpose:
Bug fix
Description:
	If TESTH5TOH4 or TESTH4TOH5 wasn't set, then it would mess up the
	testing process by adding a ``#'' to the for statement (since
	there was a line-continuation in the definition of the macro).
Solution:
	Placed the macro expansions all on one line so that there's no
	junk characters picked up by accident.
Platforms tested:
	OSF1 (Gondolin)
2000-11-20 15:21:30 -05:00
Albert Cheng
687d3d3bc3 [svn-r2980] Purpose:
Bug fix
Description:
    make reconfigure complained syntax error.
Solution:
    The for loop previous added contained a typo.  Replaced $$test
    with $$sub.
Platforms tested:
    modi4-64.
2000-11-20 09:48:04 -05:00
Elena Pourmal
ae1c7b47e3 [svn-r2978]
Purpose:
    Maintenance
Description:
    Added H5f.c and H5ff.f90 and removed H5f90misc* files.
2000-11-17 17:48:34 -05:00
Elena Pourmal
320dfb1a03 [svn-r2977]
Purpose:
    Code maintenance
Description:
    Fixed the code to use h5open_f and h5close_f subroutines
Platforms tested:
    Solaris 2.6
2000-11-17 17:45:34 -05:00
Elena Pourmal
610ad05c1d [svn-r2976]
Purpose:
    Code maintenance
Description:
    Fixed the code to use h5open_f and h5close_f subroutines.
Platforms tested:
    Solaris2.6
2000-11-17 17:44:24 -05:00
Elena Pourmal
5dad153995 [svn-r2975]
Purpose:
    Code maintenance and development
Description:
    I added two functions h5open_f and h5close_f to initialize
    C library and Fortran interface (flags, predefined datatypes, etc).
    Those calls are required for any F90 program that uses HDF5.
    I renamed H5f90misc.c and H5f90miscf.f90 files to H5f.c and H5ff.f90.
    New functions are added to those new files.
Platforms tested:
    Solaris 2.6
2000-11-17 17:43:27 -05:00
Quincey Koziol
cfac5f773e [svn-r2974] Purpose:
Code bullet-proofing
Description:
    There were several hard-coded values in various places in this test and
    it wasn't checking for out-of-memory conditions very robustly.
Solution:
    Changed hard-coded values to be computed values and performed better
    checking for out-of-memory situations.
Platforms tested:
    SGI O2K (modi4) and Solaris 2.6 (baldric)
2000-11-17 16:12:23 -05:00
Albert Cheng
4fb1bc1319 [svn-r2973] Purpose:
Bug fix, cleanup,...
Description:
    The test was doing the hyperslab select incorrectly (thinking
    count was the block length.
Solution:
    Fixed it to do the correct hyperslab selection.
    Changed it to calculate different data for different datasets.
    Changed output by rows instead by cols.  It tests the purpose
    of creating multiple datasets the same but runs faster.
Platforms tested:
    modi4-64.
2000-11-17 15:16:09 -05:00
Elena Pourmal
2bc81f8736 [svn-r2972]
Purpose:
    Bug fix
Description:
    HP and AIX compilers did not like duplicate array declarations in
    common blocks statements.
Solution:
    Removed duplication
Platforms tested:
    SP2 and HPUX 11.00
2000-11-17 15:08:37 -05:00
Bill Wendling
9735b6ed76 [svn-r2971] Purpose:
Bug fix
Description:
	With the changing of the spelling error in the h5ls usage
	statement, these testfiles puked.
Solution:
	Corrected them in there.
Platforms tested:
	Linux
2000-11-17 14:04:03 -05:00
Bill Wendling
d33deacac6 [svn-r2970] Purpose:
Added ./tools/testfiles/tvldtypes.ls to the MANIFEST
2000-11-17 13:52:08 -05:00
Bill Wendling
3a224ff8bc [svn-r2969] Purpose:
Addtion
Description:
	Added variable length datatypes to the DDL and put an example in
	the "example" thingy at the bottom.

	Doo dah doo dah.
Platforms tested:
	w3m
2000-11-17 13:49:58 -05:00
Bill Wendling
d3fb3fe742 [svn-r2968] Purpose:
Update
Description:
	Updated the description of h5ls flags.
Platforms tested:
	w3m
2000-11-17 13:21:13 -05:00
Bill Wendling
82323f4c8f [svn-r2967] Purpose:
Spelling Fix
Description:
	Changed ``dispalyed'' to ``displayed'' in usage message.
2000-11-17 13:14:23 -05:00
Bill Wendling
16baf0465b [svn-r2966] Purpose:
Add Test
Description:
	Added test for variable length data types.
Platforms tested:
	Linux
2000-11-17 13:02:23 -05:00
Bill Wendling
d83c9494ad [svn-r2965] Purpose:
Usage Statement Reworking
Description:
	Changed usage statement to correspond to the Tools.html page.
2000-11-17 12:57:01 -05:00
Elena Pourmal
0d4da25d86 [svn-r2964]
Purpose:
    Code maintenance
Description:
    Fixed the code to use new h5tarray_create_f subroutine to
    create a compound datatype with an array field.
Platforms tested:
    Solaris 2.6
2000-11-17 09:46:05 -05:00
Elena Pourmal
81f5bf419d [svn-r2963]
Purpose:
    Bugs fix
Description:
    I used H5Tcreate_array instead of H5Tarray_create  in C stub
Solution:
    Fixed
Platforms tested:
    Solaris 2.6
OCVS: ----------------------------------------------------------------------
2000-11-17 09:44:10 -05:00
Quincey Koziol
9a9b10235e [svn-r2962] Purpose:
Code cleanup
Description:
    Changed another hard-coded '32' into H5S_MAX_RANK
Platforms tested:
    Eyeballed...
2000-11-17 08:42:39 -05:00
Albert Cheng
9dbe3e5c75 [svn-r2961] Purpose:
Code cleaning
Description:
    Use the variable to rid the warnings of "variable set but not used".
Platforms tested:
    Linux and modi4 -64.  Just compile only.
2000-11-16 23:51:27 -05:00
Albert Cheng
c385fd2a47 [svn-r2960] Purpose:
Code cleaning
Description:
     Replaced hard coded dimension size with H5S_MAX_RANK.
     Cleanup couple minor type cast mismatch.
Platforms tested:
    modi4 -64 parallel.
2000-11-16 23:48:58 -05:00
Frank Baker
bf2685ae4d [svn-r2959] Purpose:
Minor copy-edits and formatting.
Platforms tested:
    IE 5
2000-11-16 17:28:02 -05:00
Elena Pourmal
c28059e522 [svn-r2958]
Purpose:
    Code development and maintenance
Description:
    Four new fortran functions to support array datatype were added:
         h5tarray_create_f
         h5tget_array_ndims_f
         h5tget_array_dims_f
         h5tget_super_f

    Two functions were deleted (commented out for now, can be returned easily if
    necessary):
         h5tinsert_array_f
         h5tget_member_dims
Platforms tested:
        Library build was tested on Solaris2.6. I have to modify test program to
        use new functions. Right now test program will not compile.
2000-11-16 16:50:34 -05:00
Bill Wendling
12bddf5589 [svn-r2957] Purpose:
Feature Addition
Description:
	Described the new variable length dumping that the h5dumper does
	in the documentation.
Platforms tested:
	w3m
2000-11-16 16:47:32 -05:00
Bill Wendling
815e70db63 [svn-r2956] Purpose:
Backing out fix
Description:
	The fix I inserted didn't work on all platforms. I'm backing it
	out.
2000-11-16 16:35:59 -05:00
Quincey Koziol
5387697213 [svn-r2955] Purpose:
Code checkpoint
Description:
    More generic property testing.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-16 16:00:28 -05:00
Quincey Koziol
ac4ee38811 [svn-r2954] Purpose:
Code checkpoint
Description:
    More generic property coding.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-16 16:00:18 -05:00
Quincey Koziol
388980ad3a [svn-r2953] Purpose:
Small code optimization
Description:
    Changed alloc/free's of H5T_path_t to use a free-list.
Platforms tested:
    Solaris 2.6 (baldric)
2000-11-16 15:37:04 -05:00
Quincey Koziol
b909264b79 [svn-r2952] Purpose:
Small code optimization
Description:
    Statistics on the amount of times a datatype conversion required alignment
    were being kept in all case, even though they are only used when H5T_DEBUG
    is turned on.
Solution:
    Build some extra macros so that the statistics are only kept when the
    H5T_DEBUG macro is defined.
Platforms tested:
    Solaris 2.6 (baldric)
2000-11-16 15:36:13 -05:00
Quincey Koziol
62d8226406 [svn-r2951] Purpose:
Bug fix
Description:
    Previous re-arrangement of FUNC_ENTER macro was a _little_ too agressive
    about not re-checking for library or interface re-initialization.  Although
    it happens very rarely that the library is shut down and then re-started
    the library & interface initialization functions weren't getting run in
    that case.
Solution:
    Separated out the library, interface & function checks again.  This version
    is still a little faster than the previous way things were being done.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-16 15:10:25 -05:00
Bill Wendling
0593d93314 [svn-r2950] Purpose:
Bug fix
Description:
	The output of floating point dumps wasn't necessarily standard.
	The h5ls utility does it in a better way.
Solution:
	Changed the output parameters from %g to %1.*g and added the
	appropriate FLT_DIG/DBL_DIG parameter for the `*' in the above.
Platforms tested:
	Linux
2000-11-16 12:49:26 -05:00
Bill Wendling
d197bf4f52 [svn-r2949] Purpose:
Added tvldtypes test to the dumper test generator.
Platforms tested:
	Linux
2000-11-16 12:46:39 -05:00
Bill Wendling
0a4d1506e0 [svn-r2948] Purpose:
Bug fix
Description:
	I was writing things out to the HDF file in big-endian format
	without doing any conversions on the data or anything like that.
	This was causing tests to fail on most machines
Solution:
	Removed the big-endian craziness...But, this kinda resulted in a
	bug in the HDF dumper which Albert and Robb suggested ways of
	fixing.
Platforms tested:
	Linux
2000-11-16 12:45:46 -05:00
Quincey Koziol
4fe7973b5c [svn-r2947] Purpose:
Code optimization
Description:
    Re-vamped FUNC_ENTER macro to remove as many of the if's as possible and
    also to only check once if any given function is an API function.

    This improves the performance of the hyperslab I/O benchmark (h5hypers)
    that I've been testing with by another 5%.  All library functions should
    be 5-15% faster, depending on how many times they are called and what
    percentage of the function's time was spent in the FUNC_ENTER macro vs.
    the percentage of time in the main body of the function.
Platforms tested:
    Solaris 2.6 (baldric)
2000-11-16 12:32:46 -05:00
Quincey Koziol
eddfdc1274 [svn-r2946] Purpose:
Small code optimzation
Description:
    Removed some unnecessary calls to H5MM_xfree
Platforms tested:
    Solaris 2.6 (baldric)
2000-11-16 12:29:26 -05:00
Quincey Koziol
b39c60db45 [svn-r2945] Purpose:
Small code optimization
Description:
    Removed some unnecessary buffer assignments.
Platforms tested:
    Solaris 2.6 (baldric)
2000-11-16 12:28:08 -05:00
Robb Matzke
3081ac613a [svn-r2944] ./hdf5/configure.in
* 2000-11-15 Robb Matzke  <matzke@llnl.gov> (CC_VERSION)
	The compiler is always expanded to a
	full path name if possible.  This feature enhancement was
	requested by Mark Miller, LLNL.
2000-11-16 09:50:38 -05:00
Robb Matzke
f5198a8a79 [svn-r2943] ./hdf5/configure
Regenerated
2000-11-16 09:50:15 -05:00
Quincey Koziol
b524625fcb [svn-r2942] Purpose:
Bug fix
Description:
    When performing I/O on the entire dataset for datasets with the maximum
    number of dimensions, H5S_MAX_RANK, (32 currently), the dimension
    information was getting corrupted internally and causing no data to be
    actually written to the file.
Solution:
    Changed the internal array sizes from H5S_MAX_RANK to H5O_LAYOUT_NDIMS,
    which is one element larger to accomodate the size of the elements
    themselves.
Platforms tested:
    Solaris 2.7 (arabica)
2000-11-15 17:47:59 -05:00
Bill Wendling
418e8ef0ca [svn-r2941] Purpose:
Better Test Files
Description:
	These test files check more different types of datatypes for the
	variable length dumping.
Platforms tested:
	Linux
2000-11-15 16:51:29 -05:00
Bill Wendling
42f2e2e08d [svn-r2940] Purpose:
Bug
Description:
	Compiler needed both the -instances=global and the -LANG:std flag
	to function.

	libtools spits out a warning about not being able to find the
	ANG:std library directory, but that's okay...it passes it to the
	linker anyway.
Platforms tested:
	Solaris (Arabica)
2000-11-15 16:16:11 -05:00
Bill Wendling
a8533e99af [svn-r2939] Purpose:
Bug
Description:
	When copying the --enable-production stuff, I forgot to change
	the CFLAGS to CXXFLAGS...
Platforms tested:
	Solaris
2000-11-15 16:13:09 -05:00
Albert Cheng
e89c46e6b9 [svn-r2938] Purpose:
pathc
Description:
    TFLOPS coredumped on h5ls because when h5ls calls ioctl(TIOCGWINSZ),
    the ioctl() routine coredumped inside.
Solution:
    It is likely that TFLOPS does not support window-size in the
    compute nodes.  Still, it should not coredump.  Bypass it for
    TFLOPS for now.
Platforms tested:
    TFLOPS & modi4 (-64)
2000-11-15 16:01:47 -05:00
Bill Wendling
3fe3fde6f4 [svn-r2937] Purpose:
Feature Update
Description:
	Added ability to compile code as production, development, or
	profile with the appropriate flags...
2000-11-15 15:01:16 -05:00
Bill Wendling
488adf6670 [svn-r2936] Purpose:
Bug
Description:
	Solaris needs the ``-instances=global'' flag to make templates
	open to everyone.
Solution:
	Added
Platforms tested:
	Sun (Arabica)
2000-11-15 15:00:27 -05:00
Albert Cheng
e1cd6bcb61 [svn-r2935] Purpose:
Bug fix
Description:
    The optimized MPIO code was not working with the TFLOPS machine.
    It kept reporting "can't convert from size to size_i" errors in
    H5FD_mpio_write() and H5FD_mpio_read().
Solution:
    The error was actually in H5S_mpio_spaces_xfer() in H5Smpio.c
    in which the variable mpi_count was declared as size_t (only
    4 bytes big in TFLOPS) when it should be hsize_t (8 bytes big in TFLOPS).
    Corrected and also changed to use the (hsize_t) to case size_i in
    H5FD_mpio_write() and H5FD_mpio_read() since that is what it should
    be.
Platforms tested:
    TFLOPS and modi4 (-64, parallel)
2000-11-15 14:59:44 -05:00
Bill Wendling
5939bcff41 [svn-r2934] Purpose:
Changed to handle tracing in Fortran files.
Description:
	Changed so that it picks up the correct trace program in
	hdf5/bin.
Platforms tested:
	Linux
2000-11-15 13:00:55 -05:00
Bill Wendling
24da402d9a [svn-r2933] Purpose:
Changed to handle tracing in Fortran files.
Description:
	Changed logic so that it doesn't try to search .f90 files.
Platforms tested:
	Linux
2000-11-15 13:00:31 -05:00
Bill Wendling
a3282af132 [svn-r2932] Purpose:
Changed to handle tracing in C++ files.
Description:
	Pointed to the correct ``trace'' program (the one in hdf5/bin/)
Platforms tested:
	Linux
2000-11-15 13:00:04 -05:00
Bill Wendling
3c2314dcbb [svn-r2931] Purpose:
Changed to handle tracing in C++ files.
Description:
	Added case statements around the tracing logic.
Platforms tested:
	Linux
2000-11-15 12:59:28 -05:00