Commit Graph

3644 Commits

Author SHA1 Message Date
MuQun Yang
795505eb62 [svn-r4821]
Purpose:
    a bug fix for release dll
Description:
    change the project setting for release dll from single-threaded to
    multithreaded DLL seems to make all tests pass.
    For DLL testing, it should be set to multithreaded DLL anyway.
Solution:
Platforms tested:
    windows 2000
    [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.]
2002-01-14 15:30:27 -05:00
Bill Wendling
0d069736a7 [svn-r4818]
Purpose:
	Small Fix
Description:
	Fixed the Min/Max/Average accumlation stuff...
Solution:
	Actually thought about the code and made it accumulate the
	information in the correct way.
Platforms tested:
	Linux
2002-01-11 15:30:02 -05:00
Albert Cheng
52bf29ae4a [svn-r4817] Description:
The code was doing too many MPI_Send for the gathering.
    Changed the get_minmax() to use the MPI_Allreduce routine.
Platforms tested:
    modi4
2002-01-11 15:16:44 -05:00
Bill Wendling
aa8897734f [svn-r4816]
Purpose:
	Feature Fix
Description:
	Added timer from open to close for write. Changed reporting of time
	for write and read to only measure the actual read/write instead of
	the open/close as well...
Platforms tested:
	Linux(pp)
2002-01-11 14:44:51 -05:00
Quincey Koziol
aabfa5c03f [svn-r4813] Purpose:
Bug fix
Description:
    HDfprintf was not handling Microsoft's "%I64d" extension to printf for
    printing thier '__int64' type.
Solution:
    Added code to properly detect and use this extension.
Platforms tested:
    None!  (Kent will be testing shortly)
2002-01-11 10:41:48 -05:00
HDF Admin
c5d5a551c9 [svn-r4812] Snapshot version 1.5 release 18 2002-01-11 07:45:28 -05:00
Bill Wendling
d2c8c031d9 [svn-r4811]
Purpose:
	Feature Add
Description:
	Added the time it takes from opening the file to closing the file
	(over all files).
Platforms tested:
	Linux
2002-01-10 13:45:34 -05:00
Bill Wendling
08926d9f6e [svn-r4809]
Purpose:
	Feature Fix
Description:
	Instead of outputting the # of kilobytes in a transfer size, output
	the total bytes. This helps when you're interested in just doing a
	copy-paste type of thing for the transfer buffer size.
Solution:
	Changed the output report
Platforms tested:
	Linux(pp)
2002-01-09 14:39:21 -05:00
Binh-Minh Ribler
d7684581aa [svn-r4805]
Purpose:
    Bug fix
Description:
    In several if statements, '>' was used in place of '<='.  This
    caused exceptions thrown inappropriately.  Replaced '>' by '<='
    where applicable.
Platforms tested:
    SunOS 5.7 (arabica)
    Windows 98
2002-01-09 12:14:05 -05:00
MuQun Yang
80408e40e3 [svn-r4804]
Purpose:
    H5FDdpss test no longer exists, modify project file at 1.5 branch.
Description:
Solution:
Platforms tested:
   windows 2000
2002-01-09 10:57:12 -05:00
Bill Wendling
4d20a1d87f [svn-r4803]
Purpose:
    Feature Add
Description:
    Added output which tells how large the file is (that is, the number
    of dsets * number of elements in a dset * sizeof(int)).
Platforms tested:
    Linux(pp)
2002-01-08 18:28:12 -05:00
Albert Cheng
173dd7f2fe [svn-r4802] Description:
The default minimum xfer size of 1K was way too slow for
    parallel file system like the PFS of Tflops.  Set it to
    128K to complete soon for default settings.
Platforms tested:
    Tflops, modi4.
2002-01-08 14:22:16 -05:00
MuQun Yang
0bf0bb325c [svn-r4801]
Purpose:
    somehow the updated H5pubconf.h and H5config.h missed from all zip files.
    recheck in.
Description:
Solution:
Platforms tested:
   windows 2000
2002-01-08 13:28:17 -05:00
Quincey Koziol
b73dc64e64 [svn-r4796] Purpose:
Bug fix
Description:
    The value of H5_SIZEOF_SSIZE_T is not being updated to reflect the correct
    size of the ssize_t typedef, if we have to define it ourselves.
Solution:
    Undef H5_SIZEOF_SSIZE_T at beginning of block where we define the typedef
    for ssize_t and then re-define it to the correct size when we've chosen a
    size.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-08 11:10:29 -05:00
Albert Cheng
abdb704acc [svn-r4795] Purpose:
Extension
Description:
    int64_t type is not available everywhere.
    #include H5private.h which has platform dependent hooks
    to define int64_t to something available.
Platforms tested:
    Tflops
2002-01-07 17:47:22 -05:00
Albert Cheng
8a778bb95d [svn-r4794] Purpose:
Bug fix.
Description:
    __int64 is not a legal type in Tflops.
    Set its sizeof to 0 in the cached values.
    This is a temporary fix since the real problem is
    in configure which hardset __int64 to 8 for cross-compiling cases.
Platforms tested:
    Tflops
2002-01-07 17:32:16 -05:00
Quincey Koziol
70ebaffcb3 [svn-r4789] Purpose:
Document bug
Description:
    Mention that h5dump and h5ls are not displaying variable-length string
    datatype information correctly.  I've also entered a more detailed bug into
    the bug database.
2002-01-07 14:45:21 -05:00
Bill Wendling
240c679e80 [svn-r4783]
Purpose:
	Small Fix
Description:
	Changed how the list of drivers were listed from:

		{ "driver1",
		  "driver2",
		  /* ... */
		  "drivern",
#ifdef FOO
		  "driverm"
#endif
		};

	to

		{ "driver1"
		  ,"driver2"
		  /* ... */
		  ,"drivern"
#ifdef FOO
		  ,"driverm"
#endif
		};

	since it's a nicer way of doing the same thing without the annoying
	warning of an extraneous , if FOO isn't defined.
Platforms tested:
	Dangermouse, Modi4, Kelgia
2002-01-05 11:36:59 -05:00
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