Commit Graph

3626 Commits

Author SHA1 Message Date
Bill Wendling
3c6be60da7 [svn-r4782]
Purpose:
	Feature Add
Description:
	Added support for dumping Group Comments. This involved a
	modification of the DDL as well.
Solution:
	Steal code from h5ls and put it in the h5dump. The ddl.html file was
	updated as normal. And a test was created...
Platforms tested:
	Dangermouse, Modi4, Kelgia
2002-01-05 11:33:50 -05:00
HDF Admin
cb7800feee [svn-r4780] Snapshot version 1.5 release 17 2002-01-05 04:55:08 -05:00
Quincey Koziol
6a1b61edab [svn-r4778] Purpose:
Update release notes.
2002-01-04 15:52:43 -05:00
Quincey Koziol
7cc733d7c8 [svn-r4773] Purpose:
Regression test

Description:
    Added regression test which stores variable length strings as an attribute.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-03 21:42:49 -05:00
Quincey Koziol
9c3d062c26 [svn-r4772] Purpose:
Bug Fix.

Description:
    Equation to compute size of attribute in memory was incorrectly using the
    disk's datatype (and dataspace, but that turns out not to have been the
    actual issue) and when a variable length datatype was used for the
    attribute, the wrong size is being computed.

    Also, the variable-length datatype conversions aren't handling the
    default dataset transfer property list (H5P_DEFAULT) correctly.

Solution:
    Changed attribute code to compute the attribute size in memory correctly
    by using the memory datatype & dataspace.

    Changed the variable-length datatype conversion code to use the default
    dataset transfer property list when H5P_DEFAULT is passed as the property
    list ID.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-03 21:41:57 -05:00
Quincey Koziol
14a242987f [svn-r4768] Purpose:
Bug Fix/Code Cleanup
Description:
    Duplicated call to H5T_path_find was being made.
Solution:
    Removed one... :-)
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-03 13:03:38 -05:00
Albert Cheng
c70231a54c [svn-r4767] Updated with the new feature of enable-threadsafe. 2002-01-02 14:09:04 -05:00
Albert Cheng
2453f290ec [svn-r4765] Purpose:
Bug fix.
Description:
    FreeBSD would fail the threadsafe feature if static-exec is not on.
Solution:
    Force enable-static-exec on if enable-threadsafe is on.
    Also moved the chunk of FreeBSD specific code for Pthread setup
    from configure.in to config/freebsd.
    Also changed enable-threadsafe to check on linking pthread program.
    That takes care of platforms (e.g. freebsd) that has pthread
    support builtin the default C library.  Now one can just use
    "enable-threadsafe" if the compiler has pthread support by default.
Platforms tested:
    eirene, Sleipnir
2002-01-02 14:05:30 -05:00
Bill Wendling
dc886d2d4f [svn-r4763]
Purpose:
	Feature Add
Description:
	Needed to add the DEV_T_IS_SCALAR macro to acconfig.h so that
	autoheader will propagate that to the H5config.h file.
Solution:
	Added, reran autoheader
Platforms tested:
	Linux
2002-01-02 12:13:19 -05:00
Bill Wendling
1dab130c2d [svn-r4759]
Purpose:
	Bug fix
Description:
	The "make depend" command wasn't propagating down into the tools/
	directories.
Solution:
	Added the "depend:" part to the Makefile in the tools/ subdirectory.
Platforms tested:
	Linux
2001-12-30 10:07:00 -05:00
Albert Cheng
d134ec8ad0 [svn-r4758] Updated with the information of the retirement of DPSS VFD. 2001-12-30 00:35:58 -05:00
Albert Cheng
e22c095636 [svn-r4757] Purpose:
Removing the DPSS (gridstorage) driver source code.
Description:
    The DPSS (using Grid-Storage) driver is retired.
    Removed the configure option with-gridstorage from configure.in.
    Cvs remove the following files
    ./src/H5FDdpss.c
    ./src/H5FDdpss.h
    ./test/dpss_read.c
    ./test/dpss_write.c

    Regenerated Dependencies files (some had to be hand-edited since
    'make depend' did not cover them.)
    Removed reference to DPSS Virtual file driver from H5F.c.
Platforms tested:
    modi4 (Parallel; -with-gass=...), eirene, arabica (fortran, cxx).
2001-12-30 00:23:38 -05:00
Quincey Koziol
bb0692aff2 [svn-r4756] Purpose:
Code Cleanup
Description:
    Updated function tracing information
Platforms tested:
    Linux 2.2.x (eirene)
2001-12-22 15:13:44 -05:00
Quincey Koziol
6ba2c123e6 [svn-r4755] Purpose:
Bug Fix
Description:
    Change H5Rget_object_type to H5Rget_obj_type.
Platforms tested:
    Linux 2.2.x (eirene)
2001-12-22 15:12:57 -05:00
Bill Wendling
94f3abb555 [svn-r4754]
Purpose:
	Feature Fix
Description:
	Added the minimum, maximum, and average time and MB/s for the write
	and read operations. It now prints the report out in a pretty clear
	format. It also includes how many iterations were done for the
	write/read operation.
Platforms tested:
	Linux
2001-12-21 16:39:52 -05:00
Bill Wendling
d38782bcc0 [svn-r4753]
Purpose:
	Doc
Description:
	Added that we support PHDF5 on Hp-UX11.
2001-12-21 16:25:18 -05:00
Bill Wendling
92a93ff52f [svn-r4749]
Purpose:
	Feature Description
Description:
	Added the description of the --filedriver option to the h5dump
	explanation section.
Platforms tested:
	w3m
2001-12-21 15:02:15 -05:00
Albert Cheng
7defffc7e4 [svn-r4748] Purpose:
Bug fix
Description:
    All processes, including those that are not part of the PIO test
    sub-communicator, all attempted to run the PIO test.  It resulted
    in failures for those processes that are not supposed to get involved.
Solution:
    The function that creates the sub-communicator also returns a
    parameter indicating if the process is included in the PIO test
    sub-communicator.  Then only those processes will really do the
    PIO test.
Platforms tested:
    eirene (pp) and Modi4 (pp)
2001-12-21 00:58:41 -05:00
Quincey Koziol
5560c64e25 [svn-r4747] Purpose:
Bug Fix.
Description:
    The H5Rget_object_type function could not get the object type for dataset
    region references.
Solution:
    Added a new function, H5Rget_obj_type, to replace H5Rget_object_type.
    The new function requires the reference type as an additional parameter,
    in order to allow queries on different reference types to be performed
    correctly.
Platforms tested:
    FreeBSD 4.4. (sleipnir)
2001-12-20 15:51:30 -05:00
Bill Wendling
c9782c380b [svn-r4746]
Purpose:
	Feature Fix
Description:
	Changed so the "pio_perf" module handles creating and destroying the
	MPI Comm. Worked it so we get the minimum, maximum, and average times
	over a set of iterations.
Solution:
	Lots. Had to pull the MPI Comm code from the "pio_engine" module and
	place it in the "pio_perf" module. Then worked on a way to have all
	processes send their time output to process 0, who collects it and
	gives back the min, max, and avg times for the iterations.
Platforms tested:
	Linux. Doesn't work if you use more than 1 processor...*hrmph*
2001-12-19 17:10:15 -05:00
Bill Wendling
5beabb3b75 [svn-r4745]
Purpose:
	Feature Rollback
Description:
	Shared C++ libraries aren't working on all platforms (read: Arabica).
	We need to switch to the old method until we can sort this out.
Solution:
	Re-add the "-static" flag to the library creation lines.
2001-12-19 17:02:16 -05:00
Bill Wendling
2bfadd8235 [svn-r4744]
Purpose:
	Bug Fix
Description:
	There were weird "throw()"s which were being placed into the
	configure script. Some C++ compilers were barfing on this syntax
	(which was akin to "extern int exit(int) throw ();" wonder why?).
Solution:
	Ran a different autoconf on the configure file which I'd downloaded
	from ftp.gnu.org. It doesn't have those "throw()"s anymore
Platforms tested:
	Linux
2001-12-19 16:57:24 -05:00
Bill Wendling
4df7c41311 [svn-r4743]
Purpose:
	Removed Debugging Statements
Description:
	Did just that.
Platforms tested:
	Linux
2001-12-18 16:48:12 -05:00
Bill Wendling
258a10c5c5 [svn-r4742]
Purpose:
	Feature Add
Description:
	Print out the transfer buffer size with the data
Platforms tested:
	Linux
2001-12-18 16:33:54 -05:00
Bill Wendling
5c891c5c51 [svn-r4741]
Purpose:
	Bug Fix
Description:
	The --raw, --hdf5, --mpiio options weren't being done correctly.
Solution:
	I had to change some of the tests for the io_type to & instead of |
	so that they'd work how I wanted them to work.
Platforms tested:
	Linux
2001-12-18 15:56:26 -05:00
Quincey Koziol
76034a33b2 [svn-r4737] Purpose:
Bug Fix
Description:
    Added regression test for proper library behavior when adding fields past
    the end of a datatype.
Platforms Tested:
    FreeBSD 4.4 (sleipnir)
2001-12-18 15:28:38 -05:00
Quincey Koziol
a74b2047c5 [svn-r4736] Purpose:
Bug Fix
Description:
    H5Tinsert was allowing compound datatype fields to be inserted past the end
    of the datatype.
Solution:
    Added range check in H5T_insert
Platforms Tested:
    FreeBSD 4.4 (sleipnir)
2001-12-18 15:27:51 -05:00
Quincey Koziol
d076556c2b [svn-r4735] Purpose:
Bug Fix
Description:
    Document bug fix.
2001-12-18 15:26:43 -05:00
Bill Wendling
d82fa846a7 [svn-r4734]
Purpose:
	Bug Fix
Description:
	Shared libraries weren't being built for C++.
Solution:
	Removed the -static flag from the libtool compile line. This allows
	both shared and static libraries to be built instead of just static
	ones. After talking with Quincey and Binh-Minh, there shouldn't be
	any reason for C++ to be built static only.
Platforms tested:
	Linux
2001-12-18 15:19:45 -05:00
Bill Wendling
d1d532069b [svn-r4733]
Purpose:
	Feature Changes
Description:
	Okay, I needed to add in more parameters so that the user can modify
	how things are supposed to work with the PIO programs. Also needed
	to change the algorithm a bit to make these work. And needed to add
	in timing for the READ option.
Solution:
	Added the above things. The parameters took a major rewrite of the
	command-line parsing stuff. Here's the usage statement:

usage: pio_perf [OPTIONS]
  OPTIONS
     -h, --help                  Print a usage message and exit
     -d N, --num-dsets=N         Number of datasets per file [default:1]
     -f S, --file-size=S         Size of a single file [default: 64M]
     -F N, --num-files=N         Number of files [default: 1]
     -H, --hdf5                  Run HDF5 performance test
     -i, --num-iterations        Number of iterations to perform [default: 1]
     -m, --mpiio                 Run MPI/IO performance test
     -o F, --output=F            Output raw data into file F [default: none]
     -P N, --max-num-processes=N Maximum number of processes to use [default: 1]
     -p N, --min-num-processes=N Minimum number of processes to use [default: 1]
     -r, --raw                   Run raw (UNIX) performance test
     -X S, --max-xfer-size=S     Maximum transfer buffer size [default: 1M]
     -x S, --min-xfer-size=S     Minimum transfer buffer size [default: 1K]

  F - is a filename.
  N - is an integer >=0.
  S - is a size specifier, an integer >=0 followed by a size indicator:

          K - Kilobyte
          M - Megabyte
          G - Gigabyte

      Example: 37M = 37 Megabytes

Platforms tested:
	Linux, but not fully finished...
2001-12-18 15:12:21 -05:00
Bill Wendling
2b629eaceb [svn-r4732]
Purpose:
	Bug Fix
Description:
	Committing the changes in the MPI/IO stuff so that parallel HDF5
	will work on HP-UX. It seems that on HP-UX, the MPI_Status variable
	needs to be initialized to 0 for it to work (i.e., in some other MPI
	calls, if there's garbage in the MPI_Status variable, then it will
	barf).
Solution:
	Initialized to 0.
Platforms tested:
	HP-UX parallel, Linux.
2001-12-18 13:35:23 -05:00
Albert Cheng
ad04fdd3a7 [svn-r4731] Description:
Added nfiles and ndsets parameters checking.
    Removed iteration variable since iterations would be done
    in Control routine.
Platforms tested:
    Eirene(pp) and modi4(pp)
2001-12-17 18:02:20 -05:00
Bill Wendling
da75199378 [svn-r4729]
Purpose:
	Feature Fix
Description:
	The new feature (allowing the user to specify =DIR for a --with-xxx
	option instead of requiring =INC,LIB for them) needed a better
	explanation.
Solution:
	Created a phoney --with-fnord option whose only purpose is to supply
	a --help message.
Platforms tested:
	Linux
2001-12-17 17:22:50 -05:00
Bill Wendling
0a83e27357 [svn-r4727]
Purpose:
	Feature Add
Description:
	Added the feature which will accept a directory for all of the
	features which now accept an =INC,LIB directive. The old way of doing
	things (=INC,LIB) is still valid, but we prefer the user uses the
	=DIR method from now on. It saves typing.
Platforms tested:
	Linux
2001-12-17 13:00:24 -05:00
Quincey Koziol
fe5803b9ee [svn-r4725] Purpose:
Add missing h4toh5 file.
2001-12-16 09:54:31 -05:00
Albert Cheng
700e339e10 [svn-r4723] Purpose:
Bug fix (or more like feature)
Description:
    MPI_File_open does not truncate the filesize if file already exists.
    This created confusion during debugging as what the real file size
    is.  It also interfere the real write bandwidth since the times
    required to allocate new disk-space vanishes for subsequent writes
    that are for offset shorter than previous file sizes.
    Added a MPI_File_set_size to reset the file size to 0 for every new
    file.

    Another bug is that the 'remove()' call may not work for MPIO/PHDF5
    files. (e.g., filename may have some MPI prefix like "pfs:filename").
    Replaced "remove" with MPI_File_delete for those cases.
Platforms tested:
    modi4(pp) and eirene (pp)
2001-12-13 15:14:32 -05:00
MuQun Yang
4b7fe91126 [svn-r4719]
Purpose:
    minor code changes for SDS conversion with unlimited dimension case
Description:
Solution:
Platforms tested:
    eirene
2001-12-13 11:43:24 -05:00
MuQun Yang
faf5c09840 [svn-r4718]
Purpose:
    parameter file
Description:
    handle parameters in various special cases.
    Users donot even have to use this file if they don't have those special needs.
    1) memory optimization (should always be set to 0 without handling huge SDS array                            conversion)
    2) unlimited dimension with zero current size, users can use this file to define
       their chunk size.
Solution:
Platforms tested:
RedHat Zoot 6.2
2001-12-13 11:23:27 -05:00
MuQun Yang
110a526819 [svn-r4717]
Purpose:
     a bug fix
     a feature added
Description:
    1.conversion of unlimited dimension data with the current dimensional size 0
    2. Use a parameter file to control some special cases:
        1) To subdivide the huge array into hyperslabs, a memory buffer size has i
           to be set.
        2) when current dimensional size is 0, a default chunk size can be set.
Solution:
bug fixed    1. Old approach: the current dimensional size is set to H5S_UNLIMITED, which is
                  a huge number. The default chunk size is set as a *FIXED* default value.
    2. New approach: the current dimensional size is set to the current value 0.
                     Users can provide the chunk size through a parameter file.

Platforms tested:
    eirene
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2001-12-13 11:16:13 -05:00
Raymond Lu
3ca3ae97ee [svn-r4716]
Purpose:
    Update
Description:
    New feature of file close behavior.
2001-12-13 10:43:38 -05:00
Albert Cheng
4720897bb9 [svn-r4715] Purpose:
bug fix, new feature
Description:
    Added HDF5 write in do_write.
    Added a complete do_read.
    Still need timing code for the read part.
Platforms tested:
    eirene (pp), modi4(pp).
    Did not test serial since all changes were done in parallel area.
2001-12-13 10:29:47 -05:00
Albert Cheng
3037cad734 [svn-r4714] Purpose:
Bug fix
Description:
    Fixed a previous commit that introduced an undeclared variable error.
Platforms tested:
    eirene (serial, pp), modi4(pp)
2001-12-13 09:04:47 -05:00
Binh-Minh Ribler
7b5b696bc4 [svn-r4713]
Purpose:
    Removing warnings
Description:
    H5IdComponent::operator= shouldn't be virtual because the subclass'
    operator= have different type for the rhs argument.  Removed virtual.
Platforms tested:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
2001-12-12 22:54:15 -05:00
Bill Wendling
cb85cfc5c6 [svn-r4712]
Purpose:
	DOH!
Description:
	Ugh! I forgot to add the -m flag to the list of "short" parameter
	codes. It wasn't even looking for them. *sigh*
Solution:
	Added it
Platforms tested:
	Linux
2001-12-12 16:46:46 -05:00
Albert Cheng
c227600599 [svn-r4708] Purpose:
Bug fixes, new features
Description:
    There was a coding error in handling file open flags.  Changed it
    to use &.
    Added do_cleanup to cleanup temporary test files but only if
    $HDF5_NOCLEANUP is not set.  This is consistent with other test programs.
    Added logic so that each process is writing its own slabs of data only.
    Moved the number of process, rank of process and the communicator used
    for PIO run to be global variables.  Makes the coding easier.  (but this
    is not thread-safe.)
Platforms tested:
    modi4(pp) and eirene(pp).
2001-12-12 14:55:21 -05:00
Binh-Minh Ribler
fd48265a02 [svn-r4707]
Purpose:
    Bug fixing
Description:
    H5IdComponent::operator= shouldn't be virtual because the subclass'
    operator= have different type for the rhs argument.  Removed virtual
Platforms tested:
    SunOS 5.7 (arabica)
    IRIX64 (modi4) - only tested that the warnings went away, still working
                        on other configuration problems.
2001-12-12 14:29:14 -05:00
Quincey Koziol
47d88766db [svn-r4706] Purpose:
Code cleanup
Description:
    Tweaked internal error handling macros to reduce the size of the library's
    object code by about 10-20%.

    Also cleaned up some compiler warnings...

Platforms tested:
    FreeBSD 4.4 (sleipnir)
2001-12-12 13:40:09 -05:00
MuQun Yang
6e9c0514fb [svn-r4704]
Purpose:
    fix installexample.bat
Description:
   erase backslash at the end of the directory path
Solution:
Platforms tested:
2001-12-12 13:08:30 -05:00
Bill Wendling
d3f9fa1434 [svn-r4703]
Purpose:
	Feature Fix
Description:
	Changed default size of file to 512MB. The "-m" flag is now in
	megabytes as well. This makes running things a bit faster.
Platforms tested:
	Linux
2001-12-12 11:53:13 -05:00
MuQun Yang
59d30c94ef [svn-r4702]
Purpose:
   bug fixed
Description:
    Make HDF4 dataset converted from Vdata extensible.
Solution:
Platforms tested:
RedHat 6.2(Linux)
2001-12-12 11:44:05 -05:00