Commit Graph

2553 Commits

Author SHA1 Message Date
Albert Cheng
7c505ce6e7 [svn-r3011] Purpose:
Update
Platforms tested:
    Viewed via IE.
2000-11-28 12:50:48 -05:00
Quincey Koziol
c4162e5ce5 [svn-r3010] Purpose:
Bug fix
Description:
    When the v1.2 compatibility code was turned on, internal functions in the
    library were getting confused.
Solution:
    Separated guts of H5Pget_driver call into an API function (the definition
    of which depends on the compatibility switch) and an internal function
    which always behaves like the v1.3/4 function.  Replaced API function calls
    in the library code with the internal function.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-28 11:38:39 -05:00
Albert Cheng
f8d5c76ee7 [svn-r3009] Purpose:
New parallel test features
Description:
    Added test cases:
	INDEPENDENT write with some processes do not participate at all.
	    The library should not hang for this case.
	COLLECTIVE read/write with some processes asking for zero elements.
	    The library should work properly and not hanging.
    Some house cleaning: get rid of a conditional directive that was
	fixed already.
Platforms tested:
    IRIX64,-64,parallel
2000-11-28 11:35:06 -05:00
Quincey Koziol
51f5bbc54f [svn-r3008] Purpose:
Code cleanup
Description:
    Several places in the code were using -2 as a default value for various
    features.  However, when a default value is returned from a function that
    is supposed to return negative on failure, it was causing confusion and
    extra work for users to check for the special value.
Solution:
    Replaced hard-coded -2 values in the code with symbolic names, then changed
    symbolic names to 0 instead of -2.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-28 11:18:42 -05:00
Albert Cheng
923c2ecb78 [svn-r3007] Purpose:
Feature, kind of
Description:
    Moved the multiple dataset test out of the write-test
    part so that it can be skipped or tested independent of
    the other tests.
Platforms tested:
    IRIX64,-64,parallel.
2000-11-28 09:03:49 -05:00
Albert Cheng
480acbf3c9 [svn-r3006] Purpose:
Bug fix
Description:
    Fixed some typo that cause compiling errors in parallel mode.
    Also added a default case in the H5Pget_xfer code to catch
    potential future added data transfer mode.
Platforms tested:
    IRIX64-64, parallel.
2000-11-28 08:52:34 -05:00
Quincey Koziol
0726621eaa [svn-r3005] Purpose:
Backward compatibility code
Description:
    Add in code to allow the library to emulate the v1.2 API and behavior.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-27 18:01:48 -05:00
Quincey Koziol
e7b7e14a88 [svn-r3004] Purpose:
Feature description.
Description:
    Describe the v1.2 compatibility configure switch
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-27 18:00:18 -05:00
Albert Cheng
fb7987e708 [svn-r3003] Purpose:
Bug fix
Description:
    The optimized MPI-IO calls, H5S_mpio_spaces_write/H5S_mpio_spaces_read,
    are changed for collective data transfer only since they
    call H5FD_mpio_setup to do setup to eveually call MPI_File_set_view
    in H5FD_mpio_read or H5FD_mpio_write.  MPI_File_set_view is a
    collective call.  Letting independent data transfer use this
    route would result in hanging.
Solution:
    For now, the checking is being done in
    H5D_write and H5D_read before H5S_mpio_spaces_write/H5S_mpio_spaces_read
    is called because the checking code in H5S_mpio_spaces_xfer, though with
    the right idea, is not correct yet.
Platforms tested:
    IRIX64-64 parallel.
2000-11-27 13:25:18 -05:00
Albert Cheng
f0b45019bb [svn-r3002]
Purpose:
    Bug fix
Description:
    H5S_mpio_spaces_xfer() did not do clean up all the times especially
    the MPI_type freeing.
Solution:
     Include the MPI_type freeing as part of cleanup code.  Replaced
     most HRETURN_ERROR(...) with HGOTO_ERROR so that cleanup code
     will be executed.
Platforms tested:
    IRIX64-64.
2000-11-26 01:56:29 -05:00
MuQun Yang
0cf81a0aa8 [svn-r3001]
Purpose:
    Fix a bug caught by debug version of windows 2000 at test_compound_5(struct optimization converter).
Description:
    free memory of a variable before checking the result by using that variable.
Solution:
    put free(buf) and free(bkg) after the following block:

     /* Check results */
    if (memcmp(src[1].name, dst[1].name, sizeof(src[1].name)) ||
        src[1].tdim!=dst[1].tdim ||
        src[1].coll_ids[0]!=dst[1].coll_ids[0] ||
        src[1].coll_ids[1]!=dst[1].coll_ids[1] ||
        src[1].coll_ids[2]!=dst[1].coll_ids[2] ||
        src[1].coll_ids[3]!=dst[1].coll_ids[3]) {
        FAILED();
        return 1;
    }

Platforms tested:
    windows 2000 and confirmed at LINUX(eirene).
2000-11-25 17:30:59 -05:00
MuQun Yang
203ea84431 [svn-r3000]
Purpose:
    make mtime test available on windows
Description:
    calculating time zone difference on windows
Solution:
    1.Use /#if WIN32 #endif/ to make sure the modification will not affect other platforms.
    2. use <sys/types.h> and <sys/timeb.h> on NT to obtain time zone difference.

Platforms tested:
     windows 2000
2000-11-25 17:24:42 -05:00
MuQun Yang
2e8e3d195b [svn-r2999]
Purpose:
    update windows-related projects
Description:
    Add new source code (H5Fseq.c) and several test codes into all.zip
    update hdf5.dsp,hdf5dll.dsp,testhdf5.dsp and testhdf5dll.dsp.
    update setting for h4toh5 and h5toh4 converters.
Solution:
Platforms tested:
      windows 2000
2000-11-25 17:20:08 -05:00
HDF Admin
f91568ce9b [svn-r2998] Snapshot version 1.3 release 34 2000-11-25 01:58:04 -05:00
Raymond Lu
97763c1071 [svn-r2997]
Purpose:
    Update
Description:
    Added a new testing program into this file.  It shows the way that
    does parallel computation and serialized I/O.
2000-11-22 14:20:35 -05:00
HDF Admin
c19e71dd3e [svn-r2995] Snapshot version 1.3 release 33 2000-11-22 12:09:53 -05:00
Albert Cheng
03b8f6ae02 [svn-r2994] Updated with parallel bug fix. 2000-11-22 08:58:12 -05:00
Albert Cheng
c6e0eb1bd4 [svn-r2993] Purpose:
New feature
Description:
    Added tests to make sure collective read or write works correctly
    even if some process has no data to transfer.
    ZROW--process 0 asks for zero rows of data while other processes ask
	for a slab of rows.
    ZCOL--process 0 asks for zero columns of data while other processes ask
	for a slab of columns.
Platforms tested:
    IRIX64 parallel (-64,-n32).
cvS: ----------------------------------------------------------------------
2000-11-21 18:08:54 -05:00
Quincey Koziol
de7799d251 [svn-r2992] Purpose:
Bug workaround
Description:
    tarray4.h5 and tdvltypes4.h5 are causing core dumps on modi4
Solution:
    Commented out those tests for now.  I'll take a look at them after the code
    freeze for the beta-release is finished.
Platforms tested:
    O2K (modi4)
2000-11-21 17:38:17 -05:00
Bill Wendling
536374a275 [svn-r2991] Purpose:
Adding Files
Description:
	Added new test files to MANIFEST and removed old tests..
2000-11-21 16:56:05 -05:00
Albert Cheng
91da899a1f [svn-r2990] Purpose:
Bug fix (feature, kind of)
Description:
    The library used to hang if a collective dataset read/write request
    does not have the same number of eventual MPIO request.  Part of the
    reason is that H5FD_read/H5FD_write immediately returns succeess
    if it sees the request size is 0.  This caused problem since other
    processes with I/O to do would be hanging by waiting for the early
    returned process(es).
Solution:
H5FD.c: disable the early return code in parallel mode.  Make it
    go on even with "nothing" to transfer.
H5D.c: the optimized MPIO xfer routines can handle collect calls correctly
    when the condition is right (e.g., no conversion).  When the COLLECTIVE
    request cannot be handled correctly without the risk of hanging, the
    COLLECTIVE is changed to INDEPENDENT calls for the eventual MPIO
    calls.
Platforms tested:
    IRIX64 parallel (-64, n32), IRIX64 -64 sequential, Linux sequential.
2000-11-21 15:55:48 -05:00
Quincey Koziol
b9c8954ad9 [svn-r2989] Purpose:
Updating for release.
Description:
    Added descriptions of the configure options that have been added to the
    library recently.
2000-11-21 15:06:48 -05:00
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