summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r1371] Robb Matzke1999-06-234-53/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990618 ---------------------- ./configure.in ./configure [REGENERATED] Now that compound struct conversions don't make so many calls to convert their members I turned the H5T debugging back on by default (it will still be disabled in a production version). ./src/H5AC.c ./src/H5B.c Made it possible to turn off messages about debugging these two packages using the same method as for all other packages. Just supply an invalid file descriptor number or use the shell to redirect said descriptor to /dev/null like this: $ HDF5_DEBUG=99,ac,b 99>/dev/null a.out ./src/H5T.c Changed the name of the old compound conversion function from `struct' to `struct(no-opt)' to be more consistent with the new version named `struct(opt)'. Fixed a bug in H5T_cmp() that caused any two VL types to compare as being equal. Removed duplicate code for bitfield comparisons in H5T_cmp(). ./src/H5Tconv.c Relaxed some constraints in the new compound conversion function so it applies to more cases. Also eliminated a memcpy in a tight loop. ./test/cmpd_dset.c Added a `--noopt' command line switch which unregisters the optimized compound conversion so we can test the non-optimized version.
* [svn-r1364] Robb Matzke1999-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | Changes since 19990618 ---------------------- ./Makefile.in Running `make' in the top directory recurses into the examples directory also except if the make target is one of: lib, progs, check, test, _test, install, uninstall. ./examples/Makefile.in Changed programs into tests, which just means that `make tests' does what `make progs' used to do and that `make check' runs the executables. ./src/H5Tconv.c Fixed a typo in the unsigned-to-signed native converter for large types to small types. This fixes a bug on baldric and possibly other machines for the `dtypes' test. Also fixed a signed vs. unsigned warning.
* [svn-r1362] Robb Matzke1999-06-1810-389/+1026
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990616 ---------------------- ./src/H5T.c ./src/H5Tconv.c All conversion functions take an extra argument called `stride' which is the number of bytes to advance the source and destination pointers after each element is converted. If the value is zero then the old behavior is preserved (source and destination values are packed). This feature was necessary to implement the compound datatype conversion optimizations and it causes a minor change to the API (application-defined type conversion functions take an extra size_t stride argument). ./src/H5Tconv.c An additional compound data type conversion function was added which is applied unless the destination type is larger than the source type. I'm measuring significant performance increases for certain operations: Test Name Struct-Conv Noop-Conv New(Old) MB/s New(Old) MB/s ---------- ------------- ------------- Reordering 2.062(0.3936) 54087(0.9047) Subsetting 2.901(0.6581) 40192(1.1100) Shrinking 1.976(0.3925) 33628(1.1500) ---------- ------------- ------------- ./test/dtypes.c Added various compound datatype conversion tests. Fixed return values from functions. ./src/H5T.c Conversion timers are updated only if H5T debugging is turned on a runtime (in addition to compile time). This allows the data type layer to be compiled with debugging support without having to pay a big runtime penalty if the debugging isn't actually used. ./src/H5A.c ./src/H5D.c ./src/H5Ofill.c ./src/H5P.c ./src/H5T.c ./src/H5Tconv.c ./src/H5Tpkg.h ./src/H5Tprivate.h ./src/H5Tpublic.h Added the stride argument to the H5T_convert() calls. The stride is always zero, which means that the source and destination data values are packed. ./configure.in ./configure [REGENERATED] If API tracing is turned off then libhdf5.settings will say `no' instead of nothing. ./test/flush1.c ./test/flush2.c Added better error messages in a couple places.
* [svn-r1359] Snapshot version 1.1 release 108Albert Cheng1999-06-171-1/+1
|
* [svn-r1357] Fixed some typo and missing #include. Works again forAlbert Cheng1999-06-172-4/+9
| | | | the Parallel version.
* [svn-r1356] Snapshot version 1.1 release 107Albert Cheng1999-06-161-1/+1
|
* [svn-r1347] Robb Matzke1999-06-152-1/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990614 ---------------------- ./src/H5D.c Changed the way the plist_id argument of H5Dvlen_reclaim() is checked so that it's more specific and works when debugging is turned off. ./src/H5TB.c Removed an unused local variable. ./test/fillval.c ./test/h5test.c ./test/h5test.h Changed `basename' variables to `base_name' to prevent a warning about a global with the same name. ./tools/h5ls.c Changed `indent' variables to `ind' to prevent a warning about a global with the same name. ./tools/h5toh4.c Commented out declarations for things that normally appear in system header files since our definitions might be incompatible with the system and prevent h5toh4 from compiling. If all looks good on other systems then we can permanently remove these declarations...
* [svn-r1346] Changes since 19990614Robb Matzke1999-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5D.c Changed the way the plist_id argument of H5Dvlen_reclaim() is checked so that it's more specific and works when debugging is turned off. ./src/H5TB.c Removed an unused local variable. ./test/fillval.c ./test/h5test.c ./test/h5test.h Changed `basename' variables to `base_name' to prevent a warning about a global with the same name. ./tools/h5ls.c Changed `indent' variables to `ind' to prevent a warning about a global with the same name. ./tools/h5toh4.c Commented out declarations for things that normally appear in system header files since our definitions might be incompatible with the system and prevent h5toh4 from compiling. If all looks good on other systems then we can permanently remove these declarations...
* [svn-r1344] SnapshotAlbert Cheng1999-06-151-1/+1
|
* [svn-r1341] Robb Matzke1999-06-147-137/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 19990611 ---------------------- ./doc/html/H5.format.html Added documentation for opaque data types (bitfield types were already documented but they were out of order). ./src/H5E.c Fixed a bug with glibc2 on linux systems where `stdout' is an extern and can't be used to initialize static data. ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5detect.c Removed the `_T' from the new C9x types I just added so the names are consistent with existing types. Besides, the fact that something is a datatype is obvious because it starts with H5T_NATIVE_. ./tools/h5ls.c Added the new C9x data types. H5ls prints one of these types only if it doesn't match one of the builtin C types. Prints the OID for shared data types. Fixed a formatting bug with symbolic links which was introduced a few changes ago. The commandline has been changed so that objects from multiple files can be listed with a single command. Instead of specifying a file name and an optional list of objects, each thing to print is a file name and object concatenated. H5ls figures out how to devide the name into a file name and object name even when the file name part doesn't correspond to an actual Unix file. Old syntax: h5ls [OPTIONS] FILE [OBJECTS] New syntax: h5ls [OPTIONS] FILE[/OBJECT] [FILE[/OBJECT]]... Example ({X,Y} is expanded by the shell) Old command: h5ls -d ../test/x.data dir1 dir2 New command: h5ls -d ../test/x.data/{dir1,dir2} The filename is printed as part of the object name when full names are requested (--full or --recursive). If people really don't like this they can undefine a constant at the top of h5ls. Errors from the hdf5 library are turned off. Commandline switches of the form `--width 80' are accepted in addition to `--width=80'. This is more symmetric with single-letter switches that take two forms: `-w 80' and `-w80'. ./src/H5D.c Added tracing instrumentation for H5Dvlen_reclaim(). ./src/H5private.h Added casts to int for the isalpha() et al macros to shut up solaris warnings about char subscripts.
* [svn-r1340] Changes since 19990611Robb Matzke1999-06-141-99/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./doc/html/H5.format.html Added documentation for opaque data types (bitfield types were already documented but they were out of order). ./src/H5E.c Fixed a bug with glibc2 on linux systems where `stdout' is an extern and can't be used to initialize static data. ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5detect.c Removed the `_T' from the new C9x types I just added so the names are consistent with existing types. Besides, the fact that something is a datatype is obvious because it starts with H5T_NATIVE_. ./tools/h5ls.c Added the new C9x data types. H5ls prints one of these types only if it doesn't match one of the builtin C types. Prints the OID for shared data types. Fixed a formatting bug with symbolic links which was introduced a few changes ago. The commandline has been changed so that objects from multiple files can be listed with a single command. Instead of specifying a file name and an optional list of objects, each thing to print is a file name and object concatenated. H5ls figures out how to devide the name into a file name and object name even when the file name part doesn't correspond to an actual Unix file. Old syntax: h5ls [OPTIONS] FILE [OBJECTS] New syntax: h5ls [OPTIONS] FILE[/OBJECT] [FILE[/OBJECT]]... Example ({X,Y} is expanded by the shell) Old command: h5ls -d ../test/x.data dir1 dir2 New command: h5ls -d ../test/x.data/{dir1,dir2} The filename is printed as part of the object name when full names are requested (--full or --recursive). If people really don't like this they can undefine a constant at the top of h5ls. Errors from the hdf5 library are turned off. Commandline switches of the form `--width 80' are accepted in addition to `--width=80'. This is more symmetric with single-letter switches that take two forms: `-w 80' and `-w80'. ./src/H5D.c Added tracing instrumentation for H5Dvlen_reclaim(). ./src/H5private.h Added casts to int for the isalpha() et al macros to shut up solaris warnings about char subscripts.
* [svn-r1332] Fixes to get the VL datatypes working. The only function ↵Quincey Koziol1999-06-116-2/+106
| | | | | | currently working is H5Tvlen_create().
* [svn-r1328] Changes since 19990608Robb Matzke1999-06-116-37/+475
| | | | | | | | | | | | | | | | | | | | ---------------------- ./configure.in ./configure [REGENERATED] ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5config.h.in [REGENERATED] ./src/H5detect.c ./src/H5private.h Added checks for the C9x integer types like int32_t, int_least32_t, and int_fast32_t and the unsigned versions. HDF5 defines H5T_NATIVE_* versions (all caps) to be the same as the type provided by the C library, otherwise it defines them as integers exactly the specified size. Hardware type conversion functions are used when the types match some C-language type (like `int').
* [svn-r1315] Changes since 19990607Robb Matzke1999-06-081-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./configure.in ./configure [REGENERATED] ./src/libhdf5.settings.in [NEW] ./config/conclude.in ./INSTALL ./MANIFEST A file called `libhdf5.settings' is installed along with the libraries and it contains a list of various things that might be of interest to someone using the library (such as what compiler/options were used and what other libraries might need to be linked to satisfy external references). We can add more things as it becomes necessary. Here's a sample... SUMMARY OF THE HDF5 CONFIGURATION ================================= HDF5 Version: hdf5-1.1.106 Configured on: Tue Jun 8 11:38:52 EDT 1999 Configured by: matzke@llnl.gov at Spizella Software Configure mode: development Host system: i686-pc-linux-gnulibc1 Byte sex: little-endian Libraries: static, shared Parallel support: mpicc Installation point: /usr/local Compiler: mpicc (egcs-2.91.66) Compiler switches: -Wall -g Extra libraries: -lmfhdf -ldf -lz -ljpeg -lm Archiver: ar Ranlib: ranlib Debugged Packages: d,e,f,g,hg,i,mm,o,p,s,v,z API Tracing: yes File addresses: large
* [svn-r1311] Changes since 19990607Robb Matzke1999-06-071-1/+3
| | | | | | | | | | | | | | | | | | | | ---------------------- ./tools/h5ls.c ./tools/h5tools.c Added support for printing bitfields and opaque data. ./test/dsets.c Added bitfield and opaque datasets to the output file so h5ls has something interesting to print. ./test/trefer.c Resync'd ./src/H5Tconv.c Fixed bitfield conversion which resulted in possible garbage in high-order bits of destination when the destination type is larger than the source type. Thanks for spotting it, Quincey.
* [svn-r1306] Changes since 19990602Robb Matzke1999-06-073-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./doc/html/Datatypes.html ./test/dtypes.c Added documentation and tests for opaque types. ./tools/h5ls.c Added a `-x' or `--hexdump' argument which is not fully implemented (because I want to synchronize h5tools.c first) but which will eventually print raw data in hexadecimal format without any translation from disk. This would be useful for debugging references and VL types. ./tools/h5tools.c Added support for references (not quite finished yet, but compiles -- I wanted to sync up this file before Patrick and I got too far apart...) ./src/H5R.c Checked for error return value from H5R_get_object_type() ./src/H5A.c ./src/H5D.c Changed error return values from NULL to FAIL ./test/Makefile.in ./test/trefer.c Creates trefer1.h5 and trefer2.h5 so that the second test doesn't clobber the first file since the files might be useful for debugging.
* [svn-r1305] Checkpointing the VL datatype code. I believe the core ↵Quincey Koziol1999-06-0413-66/+856
| | | | | | | | functionality is here, accessed with H5Tvlen_create, but I need to start writing tests now. Also the more esoteric API calls (such as H5Tget_vlen_buf_size and the memory management calls) aren't implemented yet.
* [svn-r1294] Removed the pre-defined macro DOS386. It was used to identifyAlbert Cheng1999-06-031-1/+1
| | | | | being in the TFLOPS machine but it is not recognized by the system. TFLOPS uses __PUMAGON__ to identify itself.
* [svn-r1292] Changes since 19990430Robb Matzke1999-06-027-51/+463
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- Remove changes from CVS ./bin/release Added a `--nocheck' switch which causes the script to not check the contents of the MANIFEST file against CVS. This is sometimes useful when you need to make a quick snapshot but the MANIFEST file is not quite up to date. ./src/H5D.c Removed warnings for unused variables ./src/H5Fprivate.h Removed the WIN32 definition for `uint' and changed the data type for `eof_written' from `uint' to `uintn'. Shouldn't this really be `hbool_t'? ./src/H5Odtype.c ./src/H5T.c ./src/H5Tconv.c ./src/H5Tpkg.h ./src/H5Tpublic.h ./test/dtypes.c ./doc/html/H5.format.html Added support for bitfields and opaque data types.
* [svn-r1291] Patrick Lu1999-06-011-0/+3
| | | | added a typedef for windows. uint is UINT on windows.
* [svn-r1281] SnapshotRobb Matzke1999-05-261-1/+1
|
* [svn-r1279] Fixed bug in new optimized hyperslab code.Quincey Koziol1999-05-261-4/+8
|
* [svn-r1278] Added size of userblock to base address of the low-level eof to ↵Quincey Koziol1999-05-261-3/+12
| | | | correct bug.
* [svn-r1277] Added additional checks into the dataspace code to determine if ↵Albert Cheng1999-05-257-18/+237
| | | | | | | | | the hyperslabs being written out are contiguous in memory and on disk and write/read them as one I/O operation (if the datatypes don't require conversion). This should be a good performance boost for those situations. It's especially needed on the ASCI Red (TFlops) machine. - QAK (from Albert's account on modi4 :-)
* [svn-r1276] H5D.c:Albert Cheng1999-05-254-44/+39
| | | | | | | | | | | | | | | | H5F.c: H5Flow.c: H5Fprivate.h: Joined work by Quincey, Robb and me to eliminate the initial writes of BOOTBLOCK when the file is first created. Also, eliminate the repeatedly encoding of BOOTBLOCK in the flushing code. Introduced the eof_written flag to indicate when it is not necessary to go do a dumb write at eof. (But something is not right if the userblock is not zero.) H5Fmpio.c: Added code to allow setting the MPIO debug output mask via the environment variable H5F_mpio_Debug.
* [svn-r1275] SnapshotRobb Matzke1999-05-251-1/+1
|
* [svn-r1273] SnapshotRobb Matzke1999-05-221-1/+1
|
* [svn-r1270] SnapshotRobb Matzke1999-05-211-1/+1
|
* [svn-r1265] SnapshotRobb Matzke1999-05-201-1/+1
|
* [svn-r1263] SnapshotRobb Matzke1999-05-181-1/+1
|
* [svn-r1261] SnapshotRobb Matzke1999-05-171-1/+1
|
* [svn-r1260] Corrected H5Iget_type so error value isn't always returned.Quincey Koziol1999-05-161-1/+2
|
* [svn-r1259] SnapshotRobb Matzke1999-05-151-1/+1
|
* [svn-r1258] Fixed a bug that caused an ID to be added to the cache twice. ThanksRobb Matzke1999-05-141-43/+36
| | | | for noticing it, Nancy.
* [svn-r1256] SnapshotRobb Matzke1999-05-141-1/+1
|
* [svn-r1252] SnapshotRobb Matzke1999-05-071-1/+1
|
* [svn-r1251] SnapshotQuincey Koziol1999-05-061-1/+1
|
* [svn-r1249] SnapshotQuincey Koziol1999-05-061-1/+1
|
* [svn-r1248] SnapshotRobb Matzke1999-05-051-1/+1
|
* [svn-r1246] Removed deprecated constants that were already commented outRobb Matzke1999-05-041-11/+0
|
* [svn-r1245] SnapshotRobb Matzke1999-05-041-1/+1
|
* [svn-r1243] SnapshotRobb Matzke1999-05-011-1/+1
|
* [svn-r1240] Changes since 19990427Robb Matzke1999-04-3010-83/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./tools/h5ls.c Added a `--address' (`-a') switch which causes h5ls to display file addresses for raw data. For contiguous datasets it's just a nice simple number, but for chunked datasets it's a list of logical dataset coordinates, file addresses, filter masks, and storage sizes. Changed `--dump' switch to `--data'. ./src/H5D.c ./src/H5F.c ./src/H5Fprivate.h Enhanced the indexed-storage B-tree iterator so it can dump raw data addresses (and other info) to the standard error stream. Added H5Ddebug() so h5ls has a way to dump addresses for datasets. I'm not sure what else this API function should do, so I think we should discuss it before we document it. So far, h5ls is the only thing that uses it, and we can easily change that. ./src/H5Tconv.c ./test/dtypes.c Finally had a chance to verify Paul's H5T_conv_s_s (general string to string conversions) bug fixes and incorporate them into H5T_conv_f_f (general floating-point to floating-point conversions) and H5T_conv_i_i (general integer to integer conversons). Thanks Paul. ./src/H5D.c ./src/H5S.c ./src/H5Sprivate.h Added performance timers around data space read and write callbacks. They were already there for the gather/scatter callbacks. The timings for read/write callbacks are displayed along with gather/scatter when data space debugging is turned on. ./bin/iostats Updated to print totals. Added a `--fast' option that doesn't do any output except the totals and is much faster. ./bin/trace Changed __unused__ to UNUSED to match source code. ./config/gnu-flags Updated error message for pgcc. I've sent bug reports to the pgcc people but the new version still has the same bug. ./configure.in ./config/conclude.in ./config/depend.in Fixed dependencies for non-GNU makes when run in a directory other than the hdf5 source tree. Updated GNU `make dep' rules to copy the distributed dependencies for non-GNU makes into the source tree when run in some other directory.
* [svn-r1239] SnapshotRobb Matzke1999-04-301-1/+1
|
* [svn-r1237] removed the path member in the search struct. replaced it with ↵Patrick Lu1999-04-294-75/+69
| | | | | | | a fileindex hi and lo. this number and the dev id will allow us to determine if the file is currently open on NT
* [svn-r1235] SnapshotRobb Matzke1999-04-291-1/+1
|
* [svn-r1234] SnapshotQuincey Koziol1999-04-281-1/+1
|
* [svn-r1233] Removed some debugging printfs.Quincey Koziol1999-04-281-2/+0
|
* [svn-r1232] Fixed some boundary conditions on hyperslab I/O that the ↵Quincey Koziol1999-04-281-25/+28
| | | | | | parallel I/O T3E port exposed. These are more changes that everyone should pick up.
* [svn-r1231] SnapshotRobb Matzke1999-04-281-1/+1
|