Commit Graph

2431 Commits

Author SHA1 Message Date
Quincey Koziol
cab0d73cb3 [svn-r2988] Purpose:
Updating test files.
Description:
    Updated test files to reflect changes to DDL.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-21 14:35:23 -05:00
Quincey Koziol
75dad07518 [svn-r2987] Purpose:
Bug fixes and misc. code fixing.
Description:
    Updated to reflect current DDL document.  Also changed VL data to be able
    to be able also dump VL data of any other datatype.
Platforms tested:
    FreeBSD 4.1.1 (hawkwind)
2000-11-21 14:33:15 -05:00
Quincey Koziol
eee5626001 [svn-r2986] Purpose:
Corrections & updates
Description:
    Updated and corrected DDL description & examples to include all the
    current features for the v1.4 release.  Lots of changes...
Platforms tested:
    Netscape 4.76
2000-11-21 14:31:19 -05:00
Quincey Koziol
acc4f2cec2 [svn-r2985] Purpose:
Documentation
Description:
    Mentioned the addition of the array datatype for the next release.
2000-11-21 14:29:55 -05:00
Bill Wendling
82f9e0338a [svn-r2984] Purpose:
Bug fix
Description:
	The code for determining what a string should print out if it was
	declared as H5T_STR_NULLTERM (C strings), H5T_STR_SPACEPAD
	(Fortran strings), or H5T_STR_NULLPAD (print null characters to
	the end of the line) was mucked. A user had a problem with it and
	suggested a change, but the change didn't seem to work properly.

	Also, if the string was H5T_STR_SPACEPAD, it could have stopped
	when encountering a NULL even if it hadn't gotten to the end of
	the string.
Solution:
	Reworked the code to make it more understandable what's happening
	and to add in support for H5T_STR_SPACEPAD which may have been
	missing before.
Platforms tested:
	Linux
2000-11-21 12:39:38 -05:00
Albert Cheng
a7e6dfe5bc [svn-r2983] Purpose:
Simple changes
Description:
testphdf5.h:
    Call MPI_Abort when error is detected.  MPI_Finalized was used
    before but it might hang if the test has already encountered errors.
    Also, it does not do the H5Eprint any more since auto report is on.
t_mdest.c:
    Changed the variable name of rank and nprocs to mpi_rank and mpi_size
    so that it is the same with the other tests and can use the VRFY macro
    call.
Platforms tested:
    modi4-64.
2000-11-20 19:55:14 -05:00
Bill Wendling
06b3fc0951 [svn-r2982] Purpose:
Feature add
Description:
	Described how to use the --enable-fortran and --enable-cxx flags.
2000-11-20 17:55:35 -05:00
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