summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r255] Added a teeny tiny little miniscule amount of support for strings ↵Robb Matzke1998-02-121-0/+26
| | | | | | because the VB-API work stores comments in some of the VB tables.
* [svn-r249] configure.in configure:Albert Cheng1998-02-111-1/+1
| | | | | | | Changed default RUNTEST to 'mpi -np 1'. src/Makefile.in: Use $(RUNTEST) to run programs if enable-parallel is on.
* [svn-r240] Removed warnings on Irix64Robb Matzke1998-02-101-12/+6
|
* [svn-r234] Cleaned up conversion between MPIOffset and haddr_t in H5Fmpio.c.Robert Kim Yates1998-02-102-40/+70
| | | | In H5Fprivate.h made MPI-IO the default low-level I/O module when HAVE_PARALLEL.
* [svn-r232] Problem: Parallel H5Fcreate failed if file doesnot exist. When theAlbert Cheng1998-02-101-1/+13
| | | | | | | | | | | | | | file does not exist, the code tried to open the file with EXCL CREATE. ROMIO cannot handle file-open with EXCL Create due to racing problem. The first process creates the file which then fails all other processes. Solution: In the parallel code, turn on TRUNC mode to allow "late" open calls to succeed too. It is safe to force TRUNC mode since the file is known non-existing at that point. The MPIO implementation has to provide the real solution. Platform tested: O2K with ROMIO.
* [svn-r230] Changes were actually made by Robb. I am commiting them for himAlbert Cheng1998-02-0936-1811/+1865
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | while he is visiting LLNL. I changed the default creation template offset and length to 4. Will fix the problem later. Changes since 19980205 ---------------------- ./src/H5H.c ./src/H5Hprivate.h ./src/H5O.c ./src/H5Ocont.c ./src/H5Odtype.c ./src/H5Oefl.c ./src/H5Olayout.c ./src/H5Oname.c ./src/H5Onull.c ./src/H5Oprivate.h ./src/H5Odspace.c ./src/H5Ostab.c ./src/debug.c ./html/H5.format.html Added an extra 4-byte field after the heap magic number for alignment on the DEC alpha. Changed object header message alignment to 8-bytes. ./src/H5F.c ./src/H5Farray.c ./src/H5Ffamily.c ./src/H5Fistore.c ./src/H5Flow.c ./src/H5Fprivate.h ./src/H5Fsec2.c ./src/H5Fstdio.c ./src/H5Gnode.c ./src/H5O.c ./src/H5Odtype.c ./src/H5P.c ./src/H5Pprivate.h ./src/H5T.c ./src/H5Tconv.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5V.c ./src/H5detect.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/extend.c ./test/hyperslab.c ./test/istore.c ./test/th5p.c ./test/theap.c Fixed a few irix64 warnings regarding size_t vs. int, variables set but not used, printf formats ./config/irix64 Added `-woff 1196' to get rid of errors about __vfork() being implicitly defined in a system header file. ./src/H5B.c Fixed a stack alignment problem.
* [svn-r224] Initial implementation of the upper levels of PHDF5. TheAlbert Cheng1998-02-069-34/+207
| | | | | MPIO lower interface layer (H5Fmpio.c) has been commited by Kim already. All PHDF5 codes are "bracket'ed" by #ifdef HAVE_PARALLEL macro.
* [svn-r222] Problem: UINT64DECODE and INT64DECODE were not working because it didAlbert Cheng1998-02-051-6/+6
| | | | | | | | | not assign the decoded value back to n. Solution: Removed temporary variable _n (don't see why it is needed.) Use the variable n directly. Platform tested: IRIX64 -64
* [svn-r221] In H5F_mpio_open, if truncation was requested, all processes must ↵Robert Kim Yates1998-02-051-21/+24
| | | | | | | call MPI_File_set_size (a collective operation). Also changed/added some error messages.
* [svn-r220] Changes since 19980204Robb Matzke1998-02-051-1/+1
| | | | | | | | | | | ---------------------- ./src/H5H.c Changed a temporary buffer from 20 bytes to 52 bytes. ./test/tfile.c Default sizes for file addresses and sizes are the same as sizeof(size_t) on the machine that creates the file.
* [svn-r219] Changes since 19980204Robb Matzke1998-02-041-6/+3
| | | | | | | | ---------------------- ./src/H5Odtype.c Compound data type names weren't aligned correctly. Thanks to Elena for finding this bug.
* [svn-r218] ./src/H5F.cRobb Matzke1998-02-043-18/+17
| | | | | | | | | | The default file addr and size sizes for new files are the same as sizeof(size_t) on the machine that creates the file. They used to always be 4. ./src/H5Pprivate.h ./src/H5Psimp.c Fixed `start' and `nelmts' arguments to be `size_t'.
* [svn-r217] Fixed fence-post & memory copy errors in H5F_encode_length_unusual()Quincey Koziol1998-02-041-3/+3
|
* [svn-r216] Added (ifdef'ed out currently) support for creating scalar simple ↵Quincey Koziol1998-02-041-10/+21
| | | | variables.
* [svn-r215] offset was declared intn when it actually dealed with pointer ↵Albert Cheng1998-02-041-1/+2
| | | | | | addresses. Changed it to size_t type.
* [svn-r214] Changes since 19980203Robb Matzke1998-02-034-11/+98
| | | | | | | | | | | ---------------------- ./src/H5C.c ./src/H5Cprivate.h ./src/H5D.c ./src/H5Dpublic.h Added H5Dget_create_parms(), trying to stay one step ahead of Elena ;-)
* [svn-r213] Changes since 19980130Robb Matzke1998-02-034-3/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST Added H5Fmpio.c. One way to check that you've properly included new files is to run `./bin/release none', then unpack the resulting tar file somewhere and try to compile it. The tar file will be ./releases/hdf-5.0.0a.tar. ./config/freebsd2.2.1 ./config/linux Added `-ansi' ./acconfig.h Added definitions for PHDF5 and HAVE_PARALLEL. ./configure.in Added minimal support for parallel build. Kim and Albert will have to flesh this out or I can do it if they're more specific about what they need. ./config/commence.in Added default value for $(RUNTEST) ./config/conclude.in `make test' uses value of $(RUNTEST) to run test cases. ./src/Makefile.in Added PARALLEL_SRC for conditional compilation of H5Fmpio.c ./src/H5D.c ./src/H5Dpublic.h Added H5Dget_type() for Elena NOTE: These changes require that configure be rerun. If you're using GNU make it will happen automatically, otherwise do it by hand.
* [svn-r212] Fixed H5F_mpio_read's handling of number of bytes read,Robert Kim Yates1998-02-032-14/+33
| | | | | and removed MPI_Init and MPI_Finalize from H5.c (these should be done in the user program).
* [svn-r211] Added hooks for MPI-IO low-level I/O module.Robert Kim Yates1998-02-023-0/+573
|
* [svn-r209] Changes since 19980130Robb Matzke1998-01-3010-123/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL Added instructions for which C flags to set for debugging. ./src/H5C.c ./src/H5Cpublic.h H5Cset_chunk() takes const pointer. ./src/H5D.c ./src/H5Dprivate.h ./src/H5Dpublic.h Added H5Dextend() to extend the dimensions of a dataset. ./src/H5Osdspace.c ./src/H5P.c ./src/H5Pprivate.h ./src/H5Ppublic.h ./test/cmpd_dset.c ./test/dsets.c ./test/th5p.c Added the optional `maxdims' argument to H5Pcreate_simple() and defined constant H5P_UNLIMITED which can appear in the maxdims. Added `const' to arguments. Implemented H5Pcopy() Removed the unused file argument from H5P_modify. Added H5P_extend(). Removed the `flags' field from simple data types and we determine if the `max' or `perm' arrays are valid by looking at the pointer. Cleaned up the H5O_sdspace_debug output. ./src/H5T.c Fixed a printf format. ./MANIFEST ./test/Makefile.in ./test/extend.c [NEW] Added a test for multi-dimensional unlimited dimensions.
* [svn-r208] Just added in a missing bracket, just to make vi-matching happier.Albert Cheng1998-01-301-0/+1
|
* [svn-r205] Changes since 19980130Robb Matzke1998-01-302-6/+7
| | | | | | | | | | | | | | | | | | | | ---------------------- ./INSTALL ./Makefile.dist ./Makefile.in ./config/conclude.in Some stupid make's don't know what PHONY means. I added changed config to _config in the default makefile and added _test to the other makefiles. ./src/H5Psim.c A `file_offset' argument got changed to `int' accidently that causes tests to fail on 64-bit machines. I changed it back to size_t. ./src/H5T.c Changed a couple printf formats.
* [svn-r204] Changes since 19980129Robb Matzke1998-01-308-34/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./RELEASE Added Library functions that I missed the first time. ./html/Datasets.html Added an example for Elena's question about how to read a single member of a compound data type so it becomes an array of that member in memory. ./src/H5Pprivate.h Fixed the prototype for H5P_get_hyperslab() to match the definition. ./src/H5Psimp.c Oops, added the kludge back in for the offset argument, which is still an `intn' instead of a `size_t'. ./src/H5.c ./src/H5public.h ./src/H5F.c ./src/H5T.c ./src/H5Tpublic.h Changed H5init() to H5open() and added an H5close() to fit our create/open/close paradigm. The H5open() happens automatically on the first call to the HDF5 library. The H5close() happens automatically on exit() (unless the app turns off that feature). H5close() closes all datasets and files and releases all resources used by the library. ./test/dsets.c Added calls to H5open() and H5close() to test them. ./test/dtypes.c Removed call to H5init() since we no longer need it there. ./src/H5Fstdio.c Changed the PABLO_MASK to the right value. Thanks Kim.
* [svn-r202] Changed H5Pget/set_hyperslab routines to int, size_t, size_t ↵Quincey Koziol1998-01-301-85/+1
| | | | paramters
* [svn-r201] Changed H5Pget/set_hyperslab to final consensus types: int for ↵Quincey Koziol1998-01-302-8/+8
| | | | | | offset and size_t for count & stride.
* [svn-r197] Changes since 19980129Robb Matzke1998-01-295-217/+351
| | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./config/freebds2.2.1 ./config/irix64 ./config/linux Added -DH5T_DEBUG to the debugging flags. Also changed `true' to `:' for the Irix64 ranlib program. This turns on printing of data type conversion statistics when the program exits. ./html/Datatypes.html Fixed documentation for data conversion functions and updated examples. ./src/H5D.c The I/O pipeline updates data type conversion statistics. ./src/H5T.c ./src/H5Tconv.c ./src/H5Tpkg.h ./src/H5Tpublic.h Cleaned up data type conversion registration interface.
* [svn-r196] Changes since 19980128Robb Matzke1998-01-291-2/+3
| | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST Added new files. ./bin/Makefile.dist [NEW] This file becomes the default top-level Makefile which invokes configure with no arguments and then re-runs make. It's for those people that don't read the INSTALL file. ./bin/release [NEW] Build HDF release tarballs. Arguments are a list of tarball types and are: tar, compress, gzip, or bzip2. The default is gzip. If the only argument is `all' then all types of tarballs are created. The results are put in the `releases' directory. Make sure you keep MANIFEST up to date. This program requires perl-5.003 or better. ./src/H5AC.c Fixed a printf format.
* [svn-r195] Purpose: minor bug fixAlbert Cheng1998-01-291-1/+1
| | | | Made the ncalls declaration explicitedly 'int' type.
* [svn-r194] Changes since 19980128Robb Matzke1998-01-293-76/+100
| | | | | | | | | | | | | | ---------------------- ./src/H5P.c Removed H5Pcreate() ./src/H5Psimp.c Copy int[] return value from H5P_get_hyperslab() to size_t[] argument to pass to other hyperslab functions. ./test/dsets.c Added a call to H5Eprint() to help track down Alberts O2k bug.
* [svn-r193] Changes since 19980128Robb Matzke1998-01-2812-152/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST Added new config files. ./src/H5private.h Changed FUNC_ENTER() so it calls H5Eclear() for all API functions but not for any private functions. It also prints the names of all API functions on file 55 (just for the prototype) so we can get a list of API functions called with the Bourne shell commands like: ./testhdf5 55>api_list or ./testhdf5 55>&1 1>/dev/null 2>&1 | less Otherwise the names are silently discarded. ./src/H5.c ./src/H5C.c ./src/H5D.c ./src/H5F.c ./src/H5G.c ./src/H5M.c ./src/H5P.c ./src/H5T.c Removed `H5ECLEAR' from lots of places in the source code. ./src/H5E.c ./src/H5Eprivate.h Recursion is a problem here, so to disable a call to H5Eclear() from FUNC_ENTER just define a local variable like this before you call FUNC_ENTER: const H5E_clearable_g = FALSE; Unfortunately this results in a warning: declaration of `H5E_clearable_g' shadows global declaration. Good thing it's only used in two places.
* [svn-r188] Changed hbool_t from an enum to 'int' and removed ↵Quincey Koziol1998-01-2825-112/+99
| | | | | | | | | | BTRUE/BFALSE/BFAIL from code. Changed interface to the H5P..hyperslab functions to 'int' instead of 'size_t'. Cleaned up lots of warnings on IRIX 6.2 platform. Minor other tweaks to get to a mostly clean build on the SGI. It still whines about 'long long' being non-standard and some "pointless comparison of unsigned with 0" but those aren't big problems.
* [svn-r186] Changes since 19980128Robb Matzke1998-01-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | ---------------------- ./config/conclude.in The maintainer-clean target removes Emacs backup files, mirroring backup and contrib files, core files, and profile output files in addition to what it used to remove. ./src/H5D.c Fixed a buffer allocation bug in the output pipeline. ./src/H5Gnode.c Fixed a comparison against size_t ./test/Makefile.in Added the other temporary h5 files to the `MOSTLYCLEAN' var. ./test/cmpd_dset.c Added four tests for partial I/O. Don't you just love it when something works on the first try!
* [svn-r185] Changes since 19980128Robb Matzke1998-01-289-533/+695
| | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5D.c ./src/H5Dpublic.c Added H5Dget_space(). ./src/H5Gstab.c ./src/H5H.c Fixed a comparison with size_t against <0. ./src/H5P.c ./src/H5Pprivate.h ./src/H5Ppublic.h Changed `intn' to `int' for public function args and returns. H5Pget_hyperslab() returns the dimensionality. ./test/testhdf5.h Clears error stack more frequently. ./src/H5Psimp.c ./test/cmpd_dset.c Impelementing data space conversion.
* [svn-r183] Added comparison of selected hyperslabs to H5P_cmpQuincey Koziol1998-01-281-0/+24
|
* [svn-r182] Fixed typo...Quincey Koziol1998-01-281-1/+1
|
* [svn-r181] Reset hyperslab selection changing changing dataspace dimensions.Quincey Koziol1998-01-281-0/+10
|
* [svn-r180] Seperated range checking of start, count & stride in ↵Quincey Koziol1998-01-281-13/+14
| | | | | | | H5Pset_hyperslab from building hyperslab arrays so earlier hyperslab don't get blown away if the new one is incorrect. Fixed fence-post error in range checking also.
* [svn-r179] Added SIGN macroQuincey Koziol1998-01-281-0/+5
|
* [svn-r178] Changes since 19980127Robb Matzke1998-01-287-580/+681
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./Makefile.in ./config/commence.in With GNU make you can now use `-j' and `-l' options and things get built correctly. I can do a `make -j -l6 test' from a clean hdf5 source tree (after configure) in 45 seconds (8 to build dependencies, 26 to compile everything, and 11 to run the tests). ./src/H5Gnode.c Removed a comment that no longer applies. ./src/H5P.c ./src/H5Pprivate.h ./src/H5Ppublic.h Changed H5Pselect_hyperslab() to H5Pset_hyperslab() and added H5Pget_hyperslab() and H5P_get_hyperslab(). Replaced a couple short memset() calls with a for loop. Removed `if (foo!=NULL)' from around H5MM_xfree() calls. Clear hslab_def when the hyperslab disappears. ./src/H5Tpublic.h Removed trailing enum comma.
* [svn-r177] Added H5Pselect_hyperslab routine. The parameters to this ↵Quincey Koziol1998-01-283-0/+104
| | | | | | | | | | routine are similar to the HDF4 SDwritedata routine: start, count & stride. The start indicates the base location of the hyperslab, count indicates the number of elements in the hyperslab and stride indicates the packing of the hyperslab. The hyperslab is assumed to be the same rank as the dataspace it is located within. The hyperslab is stored for future use, no I/O occurs in this routine.
* [svn-r176] added ABS macroQuincey Koziol1998-01-281-0/+5
|
* [svn-r173] ifdef'ed out H5Pcreate function and put in H5Pcreate_simple function.Quincey Koziol1998-01-272-0/+61
|
* [svn-r172] Cleaned up formatting for nicer printingQuincey Koziol1998-01-272-0/+12
|
* [svn-r170] Changes since 19980123Robb Matzke1998-01-266-150/+327
| | | | | | | | | | | | | | | | | ---------------------- ./src/H5D.c ./src/H5T.c ./src/H5Tconv.c ./src/H5Tpkg.h ./src/H5Tprivate.h ./src/H5Tpublic.h ./test/cmpd_dset.c Added support to turn background buffer on/off to help speed up conversions. Currently, every type of conversion turns it off except compound-->compound conversions which always turn it on. In the future the compound-->compound conversions might be more frugal.
* [svn-r168] Changes since 19980122Robb Matzke1998-01-236-1501/+1673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST Added new files. ./src/H5D.c Added support for partial datatype I/O which is needed when merging struct members between file and disk. This isn't the efficient version because the merge requires an extra gather (step 1b in my pipeline diagram) that isn't turned off when it isn't needed. ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tprivate.h ./src/H5Tpublic.h Conversion functions take an extra argument which is a pointer to a blob of private data that can be used by the conversion function to save anything that's expensive to compute and is constant for a particular conversion path. ./src/H5Tconv.c Compound data type conversion is beginning to work! We can handle conversions between compound types that have members which are not arrays. It also supports partial conversion so we can omit certain members of the source and not clobber extra members in the destination. ./test/Makefile.in ./test/cmpd_dset.c [NEW] Added a test case that demonstrates how to use compound data types in a dataset. The output doesn't match the output of the other test cases yet, the the entire example is more readable and written entirely with the API.
* [svn-r165] Changes since 19980122Robb Matzke1998-01-225-25/+117
| | | | | | | | | | | | | | ---------------------- ./src/H5.c ./src/H5B.c ./src/H5Bprivate.h Changed `new' to something else in 6 places for Fabio. ./src/H5T.c ./src/H5Tconv.c Beginning to work on compound data type conversion. Don't look yet :-)
* [svn-r164] Changes since 19980122Robb Matzke1998-01-2246-1311/+1098
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/*.h Fixed indentation where indent(1) screwed up. This isn't by any means the final say, but it's better than it was. ./src/H5A.c ./src/H5Aprivate.h ./src/H5Apublic.h ./src/H5C.c ./src/H5D.c ./src/H5E.c ./src/H5F.c ./src/H5G.c ./src/H5M.c ./src/H5P.c ./src/H5T.c ./src/H5Tconv.c ./src/debug.c ./test/dtypes.c ./test/istore.c ./test/theap.c ./test/tohdr.c ./test/tstab.c Removed some atom functions from the API and made them library-scope. Also changed some names by removing the redundant `atom' from the name and by adding a `_' after the `H5A'.
* [svn-r163] Changes since 19980121Robb Matzke1998-01-228-142/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./Makefile.in Added more dependencies to .PHONY. ./src/H5D.c The write side of the I/O pipeline is implemented now too. Things are looking good for the prototype and it's just a matter of populating the library with the data type and data space conversion functions. ./src/H5Farray.c ./src/H5Fprivate.h ./test/istore.c Changed the order of the arguments for H5F_arr_read() and H5F_arr_write(). ./src/H5P.c ./src/H5Pprivate.h Changed the names of the arguments of H5P_find(). Fleshed out the mgath and fscat callback types. ./src/H5Psimp.c Added stubs for H5P_simp_mgath() and H5P_simp_fscat() that operate on the entire data space. Quincey, once you have the data space hyperslab stuff in place let me know and I'll finish the H5P_simp_*() functions to do partial I/O. Or you can take a look at it too if you like; there's some comments in there for you. ./src/H5V.c ./src/H5Vprivate.h Changed dimensionality arguments from `size_t' to `intn' to be consistent with the rest of the library and to get rid of warnings on 64-bit Irix.
* [svn-r162] *** empty log message ***Robb Matzke1998-01-211-0/+241
|
* [svn-r161] Changes since 19980121Robb Matzke1998-01-214-83/+183
| | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./MANIFEST ./src/H5Psimp.c [NEW] ./src/Makefile.in Added H5Psimp.c and populated it with some conversion functions. Eventually the parts of H5P.c that operate on simple data spaces will be migrated to H5Psimp.c and other files will be created for other types of data spaces. ./src/H5D.c The read pipeline, H5Dread(), has been updated to handle data space conversion although the actual simple data space conversion functions don't do anything yet. But we're getting really close! ./src/H5P.c ./src/H5Pprivate.h Added H5P_find() to locate data space conversion functions. Added typedefs for structs related to data space conversion.