summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r3110] Purpose:Quincey Koziol2000-12-112-23/+29
| | | | | | | | | | | Bug Fix Description: Compound datatypes weren't reading background data properly when used with array or vlen fields. Solution: Changed to always read background information from file in those situations. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3106] Snapshot version 1.3 release 35HDF Admin2000-12-091-1/+1
|
* [svn-r3070] Purpose:Albert Cheng2000-12-021-4/+16
| | | | | | | | | | Feature Description: H5Eprint used to print "thread 0" even in MPI-application. Added code to print MPI-process rank ID (as in MPI_COMM_WORLD) to give more information of which process is printing the messages. Platforms tested: IRIX64-64, both serial and parallel.
* [svn-r3065] Purpose:Quincey Koziol2000-12-022-34/+19
| | | | | | | | Code cleanup Description: Remove some warnings... Platforms tested: FreeBSD 4.2 (hawkwind) & IRIX64 6.5 (modi4)
* [svn-r3061] Purpose:Quincey Koziol2000-12-011-10/+51
| | | | | | | | | | | | | | Bug fix. Description: Cray T3E (and J90?) was failing on partial I/O tests. The bug was in the optimized hyperslab routines for cases where a hyperslab filled the temporary datatype conversion buffer and the optimized hyperslab routine needed to start in the middle of a hyperslab. Solution: Corrected code to detect the situation and read in the correct amount of elements in the hyperslab. Platforms tested: Cray T3E (mcurie.nersc.gov)
* [svn-r3059] Thomas Radke2000-12-011-1/+5
| | | | | | | | | | | | | Purpose: Bugfix Description: Under SunOS 5.5 the symbol FIONBIO wasn't known. Solution: Include <sys/filio.h> which defines this symbol under Solaris. Also put the UNUSED qualifier in the right place in a function argument list (gcc 2.7.2 didn't like it before the type name). Platforms tested: SunOS 5.5 (hatteras), SunOS 5.6 t(thor.sistec.kp.dlr.de)
* [svn-r3058] Thomas Radke2000-12-011-0/+3
| | | | | Description: Added the HAVE_SYS_FILIO_H define for the configure check for <sys/filio.h>.
* [svn-r3050] ./hdf5/src/H5.cRobb Matzke2000-12-011-2/+0
| | | | | 2000-12-01 Robb Matzke *: Removed empty lines from end of file?
* [svn-r3041] Purpose:Quincey Koziol2000-11-301-1/+1
| | | | | | | | | | | Bug fix Description: Compiler on Cray T3E has a weird problem with operations on size_t variables. Solution: Change comparison to make Cray T3E happy. Platforms tested: Cray T3E (mcurie)
* [svn-r3027] Purpose:Quincey Koziol2000-11-293-3/+3
| | | | | | | | | | | 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)
* [svn-r3025] MuQun Yang2000-11-291-0/+4
| | | | | | | | | | | | | | 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
* [svn-r3024] MuQun Yang2000-11-291-0/+4
| | | | | | | | | Purpose: Fix a bug on windows Description: add windows.h for WIN32 Platforms tested: windows NT5.0,4.0, eirene
* [svn-r3020] Purpose:Quincey Koziol2000-11-294-58/+96
| | | | | | | | | | 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)
* [svn-r3019] Purpose:Quincey Koziol2000-11-291-6/+6
| | | | | | | | Patch on the patch of my code cleanup... :-) Description: Fix compiler problems with previous code patching... Platforms tested: Linux 2.2.16-3smp (eirene)
* [svn-r3015] Purpose:Quincey Koziol2000-11-291-27/+115
| | | | | | | | | | | | | | | | | 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)
* [svn-r3013] Purpose:Quincey Koziol2000-11-282-7/+4
| | | | | | | | | Code cleanup Description: Cleaned up a few warnings which cropped up with different configure switches. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3010] Purpose:Quincey Koziol2000-11-289-28/+73
| | | | | | | | | | | | | | 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)
* [svn-r3008] Purpose:Quincey Koziol2000-11-289-10/+11
| | | | | | | | | | | | | | 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)
* [svn-r3006] Purpose:Albert Cheng2000-11-281-2/+5
| | | | | | | | | | 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.
* [svn-r3005] Purpose:Quincey Koziol2000-11-2715-60/+914
| | | | | | | | 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)
* [svn-r3003] Purpose:Albert Cheng2000-11-272-3/+48
| | | | | | | | | | | | | | | | | | 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.
* [svn-r3002] Albert Cheng2000-11-261-9/+16
| | | | | | | | | | | | | | 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.
* [svn-r3000] MuQun Yang2000-11-251-0/+19
| | | | | | | | | | | | | 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
* [svn-r2998] Snapshot version 1.3 release 34HDF Admin2000-11-251-1/+1
|
* [svn-r2995] Snapshot version 1.3 release 33HDF Admin2000-11-221-1/+1
|
* [svn-r2990] Purpose:Albert Cheng2000-11-212-34/+152
| | | | | | | | | | | | | | | | | | | | | 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.
* [svn-r2962] Purpose:Quincey Koziol2000-11-171-1/+1
| | | | | | | | Code cleanup Description: Changed another hard-coded '32' into H5S_MAX_RANK Platforms tested: Eyeballed...
* [svn-r2960] Purpose:Albert Cheng2000-11-171-5/+9
| | | | | | | | | Code cleaning Description: Replaced hard coded dimension size with H5S_MAX_RANK. Cleanup couple minor type cast mismatch. Platforms tested: modi4 -64 parallel.
* [svn-r2954] Purpose:Quincey Koziol2000-11-161-55/+159
| | | | | | | | Code checkpoint Description: More generic property coding. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2953] Purpose:Quincey Koziol2000-11-161-9/+12
| | | | | | | | Small code optimization Description: Changed alloc/free's of H5T_path_t to use a free-list. Platforms tested: Solaris 2.6 (baldric)
* [svn-r2952] Purpose:Quincey Koziol2000-11-161-22/+36
| | | | | | | | | | | | | 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)
* [svn-r2951] Purpose:Quincey Koziol2000-11-161-26/+25
| | | | | | | | | | | | | | | 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)
* [svn-r2947] Purpose:Quincey Koziol2000-11-161-24/+32
| | | | | | | | | | | | | | | 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)
* [svn-r2946] Purpose:Quincey Koziol2000-11-161-2/+4
| | | | | | | | Small code optimzation Description: Removed some unnecessary calls to H5MM_xfree Platforms tested: Solaris 2.6 (baldric)
* [svn-r2945] Purpose:Quincey Koziol2000-11-164-12/+6
| | | | | | | | Small code optimization Description: Removed some unnecessary buffer assignments. Platforms tested: Solaris 2.6 (baldric)
* [svn-r2942] Purpose:Quincey Koziol2000-11-151-6/+6
| | | | | | | | | | | | | | | 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)
* [svn-r2935] Purpose:Albert Cheng2000-11-152-3/+3
| | | | | | | | | | | | | | | | | 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)
* [svn-r2928] Purpose:Bill Wendling2000-11-151-2/+2
| | | | | | | | | | | Buglet fix Description: Get rid of compiler warnings. The HGOTO_RETURN was returning NULL when it should have returned FAIL. Solution: Swapped the two. Platforms tested: Linux
* [svn-r2911] Purpose:Quincey Koziol2000-11-152-6/+291
| | | | | | | | | | | | | Bug fix and code checkpoint Description: HP's compilers didn't seem to like comparing function pointers with '<' & '>', so I've changed how the function pointers are compared to aviod those operations. This should fix last night's daily test failures on opus and sangamon. Also, more code development for generic property lists. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2909] Purpose:Quincey Koziol2000-11-153-21/+221
| | | | | | | | Code checkpoint Description: More generic property functionality added and debugged. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2899] Purpose:Quincey Koziol2000-11-142-1/+401
| | | | | | | | Code development Description: Incrementally adding various generic property features. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2892] Purpose:Quincey Koziol2000-11-143-59/+221
| | | | | | | | | Code development Description: Increment bug fixes and some new API functions to generic property list code. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2891] Purpose:Quincey Koziol2000-11-141-8/+10
| | | | | | | | | | | Bug fix. Description: Generic property list code wasn't getting initialized early enough to get the proper values into the macro/constants. Solution: Call H5P_init() from H5_init_library(). Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2890] Purpose:Bill Wendling2000-11-131-0/+6
| | | | | | | | | | | Redo of a patch Description: As Quincey pointed out, the parameters are only ``UNUSED'' if we can't find libz.a. Solution: I changed it to conditionally put the UNUSED in there... Platforms tested: Linux
* [svn-r2886] Purpose:Quincey Koziol2000-11-133-0/+157
| | | | | | | | | | Backward compatibility additions Description: Created HDF5 v1.2 compatibility API functions (H5Tget_member_dims & H5Tinsert_array) which use the newer array datatypes underneath, but should ease user's transition to the 1.4 version of the library. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2884] Purpose:Bill Wendling2000-11-131-3/+3
| | | | | | | | | | Removed warnings Description: Unused parameters Solution: Put UNUSED macro before unused params. Platforms tested: Linux
* [svn-r2880] Purpose:Quincey Koziol2000-11-131-0/+2
| | | | | | | | | Code cleanup Description: Added a the generic property ID types to the list of things not stored in files. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2879] Snapshot version 1.3 release 33Albert Cheng2000-11-131-1/+1
|
* [svn-r2875] Purpose:Quincey Koziol2000-11-131-1/+0
| | | | | | | | Code cleanup Description: Eliminated some warnings on O2K platform. Platforms tested: SGI O2K (modi4)
* [svn-r2874] Purpose:Quincey Koziol2000-11-133-15/+19
| | | | | | | | API cleanup Description: Tweaked some parts of the generic properties API to reduce warnings. Platforms tested: FreeBSD 4.1.1 (hawkwind) & SGI O2K (modi4)