Commit Graph

2474 Commits

Author SHA1 Message Date
Elena Pourmal
fa61ea96dd [svn-r3032]
Purpose:
    Bug fix
Description:
    h5gget_linkval_f function had an argument with the type INTEGER instead
    on INTEGER(SIZE_T). Test would not compile on O2K.
Solution:
    Fixed argument datatype.
Platforms tested:
    O2K (modi4)
2000-11-29 18:42:16 -05:00
Elena Pourmal
4a7f9c11bc [svn-r3031]
Purpose:
    Bug fix
Description:
    Functions were using flags that were not defined anymore.
    Somehow I forgot to check this file in when I modified code
    to use run-time generated flags.
Platforms tested:
    O2K (modi4)
2000-11-29 18:06:19 -05:00
Bill Wendling
89a7dcd400 [svn-r3030] Purpose:
Bug Fix
Description:
	Some platforms don't have support for dlopen and friends when the
	library is static.
Solution:
	This is part of the attempt to correct this "feature". libtool
	wants AC_LIBTOOL_DLOPEN in the configure.in file and -dlopen on
	this line...
Platforms tested:
	(untested)
2000-11-29 17:28:03 -05:00
Bill Wendling
948a75a793 [svn-r3029] Purpose:
Bug Fix
Description:
	Some platforms, when building static libraries, complain that
	libc doesn't have dlopen and friends.
Solution:
	libtool supports workarounds for this. The one used here may not
	work, but it's an attempt to correct it. If it doesn't work, then
	there's something going on which I'm not privvy to...
Platforms tested:
	(untested as of yet)
2000-11-29 17:26:45 -05:00
Bill Wendling
98e2c32951 [svn-r3028] Purpose:
Bug Fix
Description:
	T3E and J90 were complaining about not being able to make for
	ADD_PARALLEL_FILES.
Solution:
	Somehow the make on these machines must have been weirded out by
	the funky pattern matching/replacement that's being done and
	couldn't handle a null macro. I now assign "no" to the macro
	explicitly
Platforms tested:
	T3E
2000-11-29 17:07:24 -05:00
Quincey Koziol
22303f9d3f [svn-r3027] Purpose:
Bug fix
Description:
    "UNUSED" macro was in wrong place for older versions of gcc
Solution:
    Moved the "UNUSED" macro to the right of the H5FD_t type declaration and
    the compiler was happy...
Platforms tested:
    Solaris X86 2.5 (hatteras)
2000-11-29 16:28:31 -05:00
MuQun Yang
c40d42e6b6 [svn-r3026]
Purpose:
    update proper settings for windows
Description:
    update toolslibD setting from single-thread to Multithread
    update dumptest.bat to include array data type and variable length type.
Solution:
Platforms tested:
   windows NT 4.0,5.0
2000-11-29 15:39:22 -05:00
MuQun Yang
1424415b7d [svn-r3025]
Purpose:
    fix a bug
Description:
    add <windows.h> for WIN32
Solution:
     Add the following lines at the beginning of the file
     #ifdef WIN32
      #include <windows.h>
      #endif
Platforms tested:
     NT4.0,5.0, and LINUX
2000-11-29 15:06:33 -05:00
MuQun Yang
c05f6477e0 [svn-r3024]
Purpose:
    Fix a bug on windows
Description:
    add windows.h for WIN32
Platforms tested:
     windows NT5.0,4.0, eirene
2000-11-29 15:04:32 -05:00
MuQun Yang
c5cd064a88 [svn-r3023]
Purpose:
   bug fix (zeroing memory for memory allocating for the name of dimensional list)
Description:
   At modi4, test failed due to garbage read for name of dimensional list.
Solution:
   zeroing out memory before writing the name.
Platforms tested:
   modi4, eirene(Linux)
2000-11-29 14:05:47 -05:00
Quincey Koziol
b3f6b6ffdd [svn-r3022] Purpose:
Bug fix
Description:
    Added DDL for test file.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 12:40:18 -05:00
Quincey Koziol
7062c4889a [svn-r3021] Purpose:
Bug fix
Description:
    Moving VL data reclamation to be more local to where the data is read in.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 12:39:09 -05:00
Quincey Koziol
19d811532a [svn-r3020] Purpose:
Code addition
Description:
    The dumper needs to know when a datatype needs to be reclaimed, so I
    added a small helper function to detect if a particular datatype is or
    contains a particular class of datatypes.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 12:38:19 -05:00
Quincey Koziol
ad731c2c1b [svn-r3019] Purpose:
Patch on the patch of my code cleanup... :-)
Description:
    Fix compiler problems with previous code patching...
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 11:52:42 -05:00
Quincey Koziol
5c25be11a2 [svn-r3018] Purpose:
Bug fix
Description:
    Had incorrect logic in testing for file families when v1.2 compatibility
    was enabled..
Solution:
    Corrected to match non-compatibility code.
Platforms tested:
    Linux 2.2.16-3smp (eirene)
2000-11-29 11:35:19 -05:00
Quincey Koziol
6efa821555 [svn-r3017] Purpose:
Code cleanup/bug fix
Description:
    Variable length datatypes were leaking memory when being dumped.
Solution:
    Reclaim the VL data after each element has been dumped out.
Platforms tested:
    FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
2000-11-29 10:49:38 -05:00
Quincey Koziol
1bd42760c1 [svn-r3016] Purpose:
Re-enabling features.
Description:
    Re-add the tests which had been core-dumping on a couple of platforms, now
    that the underlying bug is fixed.
Platforms tested:
    FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
2000-11-29 10:48:32 -05:00
Quincey Koziol
dd6d6f7b45 [svn-r3015] Purpose:
Bug fixes
Description:
    Patch things back up from incompletely changing some variables in
    yesterday's code cleanup, this should fix the compiler errors that Kent
    and Bill have found in the CVS version of the code.

    Also, fix a bug buried in the datatype conversions when compound datasets
    were nested inside an array or variable-length datatype.  Internally
    require that any datatype which contains a compound datatype sets the
    "need_bkg" conversion flag so a background buffer to pass to the compound
    datatype conversion is allocated.

Platforms tested:
    FreeBSD 4.2 (hawkwind) & Solaris 2.6 (baldric)
2000-11-29 10:47:23 -05:00
Quincey Koziol
5f049dc50c [svn-r3014] Purpose:
Bug fix.
Description:
    Data dumping routines weren't correctly handling scalar dataspaces when
    dumping them.  Under some circumstances, it would get into infinite loops.
Solution:
    Small patches to avoid problems when the number of dimensions is zero.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-28 15:11:06 -05:00
Quincey Koziol
ac955b2ccc [svn-r3013] Purpose:
Code cleanup
Description:
    Cleaned up a few warnings which cropped up with different configure
    switches.
Platforms tested:
    FreeBSD 4.2 (hawkwind)
2000-11-28 15:09:36 -05:00
Albert Cheng
bfb94f9db6 [svn-r3012] Purpose:
New doc and update
Description:
    The original openmp-hdf5.html contains a bunch of C source code.
    HTML does not like source code, especially C-code that contained
    <...>.  It gobbled it badly.
Solution:
    Moved the source code to a new file, openmp-hdf5.c and make a
    reference to it from openmp-hdf5.html.
Platforms tested:
    Viewed via IE on an NT box.
2000-11-28 15:05:24 -05:00
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