Commit Graph

3719 Commits

Author SHA1 Message Date
Quincey Koziol
b8dbd390db [svn-r4978] Purpose:
Code cleanup
Description:
    Cleanup compiler warnings found by the SGI compiler and gcc 3.0
Platforms tested:
    FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
2002-02-16 21:51:21 -05:00
Binh-Minh Ribler
855aa23823 [svn-r4977]
Purpose:
    Adding support for dll
Description:
    Added __DLLCPP__ to all public classes and templates.
    Added #include "H5Include.h" to H5RefCounter.cpp because of the
          use of DLLCPP in .h file and it needs the following chain:
                H5Include.h/hdf5.h/H5public.h/H5api_adpt.h
    Added #pragma warning(disable: 4251) to H5Exception.h to eliminate
        this warning on private data members of type 'string.'  This
        occurs because 'string' is not yet instantiated at compilation
        time; however, since the class is exported, the warning is
        harmless.
    Changed this member function's parameter to be passed as reference.
        from:
            void CompType::insertMember( const string name,...
        to:
            void CompType::insertMember( const string& name,...
Platforms tested:
    Linux 6.2 (eirene)
    Windows 2000
2002-02-15 19:49:46 -05:00
Albert Cheng
7b3df5b3f4 [svn-r4976] Purpose:
Feature
Description:
    Change examples to use the installed h5cc to compile the examples
    programs.  That will test the correctness of the installed software.

    Removed examples from make targets in the top level so that it does
    not get invoked in make or make check since one cannot compile
    the example programs until after "make install" has completed.
Platforms tested:
    eirene and modi4 (parallel)
2002-02-15 11:02:41 -05:00
Albert Cheng
f28193d92c [svn-r4975] Description:
Users were alarmed by the OFFSET overflow and GB file size tests.
    Those tests only checks the limits of the MPI implementation, not
    really as an error.
Solution:
    Changed the VRFY macro to indicate it is an "ERROR".
    Modified the INFO macro to print messages as "REMARK (not an error)"
    so that users would not be alarmed.

    Added an explanation string in the GB file size write/read.
Platforms tested:
    eirene and modi4 (parallel)
2002-02-15 09:55:38 -05:00
Albert Cheng
86557389da [svn-r4972] Description:
Cleaned out lots of warnings.
Platforms tested:
    modi4 and eirene (parallel)
2002-02-15 01:27:59 -05:00
Albert Cheng
ff501d810d [svn-r4969] Description:
Remove perf and mpi-perf from the parallel test targets since their
    functions are replaced by pio_perf.
Platforms tested:
    modi4 and eirene, both parallel modes.
2002-02-14 14:04:29 -05:00
Quincey Koziol
c562d4da06 [svn-r4968] Purpose:
Bug fix
Description:
    Correct prototype inconsistency.
2002-02-14 13:41:04 -05:00
Quincey Koziol
5883b9d67d [svn-r4965] Purpose:
Bug Fix
Description:
    If a non-zero fill-value is used for a chunked dataset, any non-existent
    chunked read with an "all" selection (or a contiguous hyperslab selection)
    will return zero for those instead of the user's fill-value.
Solution:
    Fixed I/O code to pass down fill-value to "optimized" I/O routines, so it
    will be available to fill the user's buffer with.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-14 10:57:48 -05:00
Albert Cheng
a1c37b6eb8 [svn-r4964] Purpose:
Change default actions.
Description:
    Change the default maximum number of processes (-P) to use all processes
    instead of just 1 (old default).  Someone most likely wants to test
    the I/O performance with all processes involved.
    Also starts performance measurement with maximum number of processes
    and decrement it with each loop.  If the performance measurement
    needs to restart, it can run with fewer processes if those loops
    have completed.
Platforms tested:
    modi4 and eirene.
2002-02-14 10:51:12 -05:00
Bill Wendling
530133a9f4 [svn-r4956]
Purpose:
    Bug Fix
Description:
    On some systems, doing the shell command:

        if test -z $DEBUG_PKG; then

    doesn't work if $DEBUG_PKG is null..
Solution:
    Changed to "if test "X$DEBUG_PKG" = "X"; then" which will do the same
    thing but without the error...
Platforms tested:
    Linux
2002-02-13 15:53:07 -05:00
Bill Wendling
807207079a [svn-r4953] Purpose:
Bug Fix
Description:
    When printing out the summary information after the configuration,
    the Compilation Mode and Debugging information would be incorrect.
    The library is set to compile to "Production" mode for a release.
    Yet, the default compilation mode before that was "Development". If
    the user doesn't specify "--enable-production" on the command line,
    the configure defaults to "Production" mode, but the summary still
    reported "Development" mode.
Solution:
    Modified script so that after we've determined which compilation mode
    we're in, we reset the "enable_production" variable to the correct
    setting. So, we no longer have a "default". The summary part then
    reads the new value and uses that to determine which mode we're in.

    The debugging summary information was reworked so that it would
    output the correct summary information. Slight hacking of the summary
    script to check the values a bit more closely...
Platforms tested:
    Linux (eirene)
2002-02-13 14:57:10 -05:00
Pedro Vicente Nunes
c1d20571eb [svn-r4951]
Purpose:
   fixed a typo of the name H5S_set_extend on the call
FUNC_ENTER (H5S_set_extend, FAIL);

Platforms tested:

w2000  octopus
linux eirene
sun   arabica
IRIX64 modi4
2002-02-13 14:33:14 -05:00
Pedro Vicente Nunes
93ac2c571b [svn-r4950]
Purpose:
    fixed a bug that made a failure on H5Screate_simple, a 1D dimemsion array was declared instead of a 2D array


Platforms tested:
w2000  octopus
linux eirene
sun   arabica
IRIX64 modi4
2002-02-13 14:28:37 -05:00
Quincey Koziol
6e209992ee [svn-r4948] Purpose:
Bug fix
Description:
    When a block was preempted from the chunk cache, it is possible that one
    of the pointers in the algorithm is invalidated and would generate a core
    dump.
Solution:
    Re-calculate the internal pointer and move the the preemption after the
    re-calc.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-13 14:23:57 -05:00
Quincey Koziol
2c74598cbf [svn-r4947] Purpose:
Update readme for latest bug fix
2002-02-13 14:22:35 -05:00
Bill Wendling
f1bfb5ce8f [svn-r4943] Purpose:
Cleanup
Description:
	Added set_extend.h5 file to the CLEANUP macro in the Makefile so that
	it'll be removed when the other temp files are removed.
Platforms tested:
	Linux
2002-02-12 14:08:10 -05:00
Bill Wendling
f81bca3fc6 [svn-r4942] Purpose:
Feature Add
Description:
	Added set_extend to the MANIFEST and test/ directory Makefile.
2002-02-12 11:20:56 -05:00
Pedro Vicente Nunes
ec0cd59fe8 [svn-r4941]
Purpose:
    added a new test file for the new function H5Dset_extend
Platforms tested:
    windows2000
2002-02-12 11:16:34 -05:00
HDF Admin
f33cb1352c [svn-r4930] Snapshot version 1.5 release 20 2002-02-09 04:53:25 -05:00
Bill Wendling
82f4e6ca69 [svn-r4927] Purpose:
Feature Add
Description:
	Added hack so that it will recognize a Hitachi platform.
2002-02-08 13:56:02 -05:00
Bill Wendling
8c7a1c71b5 [svn-r4926] Purpose:
Bug Fix
Description:
	The library path was relying upon the "exec_prefix" variable.
	However, we weren't including that into the h5cc script.
Solution:
	Added it.
Platforms tested:
	Linux
2002-02-08 12:41:38 -05:00
Pedro Vicente Nunes
d12027a652 [svn-r4923]
Purpose:
    new all.zip with all.dsp utility, new hdf5test.dsp and updated code warrior project
2002-02-07 15:37:38 -05:00
Pedro Vicente Nunes
472c42233c [svn-r4921]
Description:

modified the below files to inlude a new public function H5Dset_extend, similar
to H5Dextend, but it can lower the dimension

this function requires 2 more new private functions:
H5D_set_extend
H5S_set_extend

Platforms tested:
2002-02-07 15:20:40 -05:00
Quincey Koziol
d8626dd40f [svn-r4920] Purpose:
Bug fix
Description:
    Correct inefficient property copying when using derived property list
    classes.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-07 14:55:43 -05:00
Quincey Koziol
dd0ecaa643 [svn-r4917] Purpose:
Bug Fix

Description:
    Turn down the compiler optimizations for the Cray SV1

Platforms tested:
    Cray SV1 (killeen.nersc.gov)
2002-02-07 11:25:54 -05:00
Quincey Koziol
6de47c9c54 [svn-r4915] Purpose:
Bug fix & feature add
Description:
    Added new API function H5Sget_select_type to determine type of selection in
    a dataspace.  Return values are defined by the H5S_sel_type enumerated type
    in H5Spublic.h

    Also, hyperslab operations involving a "all" or "none" selection are not
    generating the correct resulting selections.

Solution:
    Added regression tests to verify correction operation of hyperslab
    operations against "all" and "none" selections.  New tests also verify
    H5Sget_select_type() API call.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-07 11:22:42 -05:00
Quincey Koziol
9d98d34210 [svn-r4914] Purpose:
Bug fix & feature add
Description:
    Added new API function H5Sget_select_type to determine type of selection in
    a dataspace.  Return values are defined by the H5S_sel_type enumerated type
    in H5Spublic.h

    Also, hyperslab operations involving a "all" or "none" selection are not
    generating the correct resulting selections.

Solution:
    Added more code to make hyperslab operations against an "all" or "none"
    selection generate the correct results.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-07 11:21:24 -05:00
Quincey Koziol
1f3762ff88 [svn-r4913] Purpose:
Feature add

Description:
    Added note about a new API function.
2002-02-07 11:19:59 -05:00
Quincey Koziol
17da7e80da [svn-r4912] Purpose:
Feature add

Description:
    Added 'H5S_sel_type' to the list of types that the API tracing knows about.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-07 11:19:14 -05:00
Quincey Koziol
c6bd03047b [svn-r4905] Purpose:
Regression tests
Description:
    Generic property classes derived from an existing class were not having
    the parent class's properties copied into the new class.

    Additionally, derived classes were not being detected correctly.

Solution:
    Added regression tests to verify that these fixes are working:
        Copied properties from parent class into derived class.

        Modified H5P_isa_class_real() to walk back up the chain of parent
        classes to proper detect derived classes.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-06 11:08:29 -05:00
Quincey Koziol
eb5697d309 [svn-r4904] Purpose:
Bug fix
Description:
    Generic property classes derived from an existing class were not having
    the parent class's properties copied into the new class.

    Additionally, derived classes were not being detected correctly.

Solution:
    Copied properties from parent class into derived class.

    Modified H5P_isa_class_real() to walk back up the chain of parent classes
    to proper detect derived classes.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-06 11:07:23 -05:00
Quincey Koziol
0288e2f9da [svn-r4903] Purpose:
Code cleanup
Description:
    Clean up H5D_read and H5D_write routines, adding comments, etc.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-02-06 09:31:26 -05:00
Robb Matzke
84f632178c [svn-r4898] ./hdf5-devel/tools/h5ls/h5ls.c
Fixed copyright notice
2002-02-01 14:05:14 -05:00
Robb Matzke
378df38955 [svn-r4892] ./hdf5-devel/tools/h5ls/h5ls.c
2002-01-31 15:22:24 Robb Matzke  <matzke@arborea.spizella.com>
	*: Displays array data type information instead of saying `4-byte
	   class-10 unknown'.
2002-01-31 14:47:06 -05:00
Quincey Koziol
e0177ee0f3 [svn-r4891] Purpose:
Code speedup
Description:
    Chunking I/O routines are reading in an entire chunk when performing I/O
    on the chunk, even if the chunk will be too large to cache.
Solution:
    If the chunk is too large to cache, uncompressed and has been allocated
    space in the file, or if we are using the MPI-I/O VFD, perform the I/O
    directly to the chunk, instead of reading the chunk into memory, updating
    it and immediately writing the entire chunk back out.
Platforms tested:
    FreeBSD 4.5 (sleipnir) (using serial access) and IRIX64 6.5 (modi4) (using
    parallel access with MPI-I/O)
2002-01-31 14:46:21 -05:00
Frank Baker
40c1792c7a [svn-r4890]
Purpose:
    Bugfix
Description:
    Corrected link to HDF5 copyright notice.
Platforms tested:
    IE 5
2002-01-30 17:42:53 -05:00
Frank Baker
c199c81840 [svn-r4889]
Description:
    Updated copyright notice (adding 2002).
Platforms tested:
    IE 5
2002-01-30 17:40:32 -05:00
Bill Wendling
5bdf863a90 [svn-r4885] Purpose:
Bug Fix
Description:
	Throughput wasn't being calculated correctly.
Solution:
	We were using a value other than the actual time. Changed so that
	we're using the correct structure to grab the time out of it.
Platforms tested:
	Linux(pp)
2002-01-30 16:46:15 -05:00
Bill Wendling
e2e0424f2f [svn-r4883] Purpose:
Bug Fix
Description:
	For some reason, a wrong line was introduced into the ltconfig in my
	"Major Hack(tm)" stuff.
Solution:
	Removed this line, which isn't supposed to be there cause that's why
	the Major Hack was there to begin with.
Platforms tested:
	NERSC machine and Pacific Blue
2002-01-30 16:16:33 -05:00
Bill Wendling
cb905d215e [svn-r4882] Purpose:
Feature add and algorithm reworking.
Description:
	Added a "--debug" flag so we can print out various extra debugging
	information.

	Reworked the algorithm so that it's printing the correct throughput.
	Here's how it's supposed to work:

						process
				 T_0 T_1 T_2 T_3 ... T_n
	  iteration 1
	            2
	            .
	            .
	            .
	            m

	Retrieve the maximum time from each iteration over the number of
	processes. (So, if T_i had the maximum time in iteration j, then use
	that time). Calculate the "Throughput" of iteration j:

			S_j = (raw_size / T_i)

	Collect that information over all of the iterations. Then output the
	Max, Min, and Ave of all of the S_k's.
Platforms tested:
	Linux (pp)
2002-01-29 23:16:15 -05:00
Albert Cheng
61f6b93eb7 [svn-r4881] Updated for the removal of examples/runexample.sh 2002-01-29 11:14:45 -05:00
Albert Cheng
49f8060284 [svn-r4880] Purpose:
Retired run_examples.sh.  Its purpose is covered by the
    "check" target.
Platforms tested:
    No tests--hard to test something that is removed.  Pretty
    sure it is not needed by any Make targets.
2002-01-29 11:12:47 -05:00
Albert Cheng
c7c076e747 [svn-r4879] Purpose:
Bug fix
Description:
    $TEST_PROG_PARA was included in the serial tests.
    $TEST_PROG_PARA was not dependent on $LIBHDF5 (it should.)
Solution:
    Adjusted the file to fix both problems.
Platforms tested:
    eirene (pp, linux 2.2.), dangermouse (pp, linux 2.4)
    modi4 (pp, -64) and modi4 serial (to verify that ph5example was not
    tested at all.)
2002-01-29 11:09:50 -05:00
MuQun Yang
1eac2519bc [svn-r4874]
Purpose:
  check code warrior changes at HDF5 branch
Description:
    1. add a maro at H5config.h and H5pubconf.h to maintain the correct printf
      output in code warrior.
   2. update code warrior project changes.
Solution:
Platforms tested:
   tested by pedro on windows ?
2002-01-28 11:56:31 -05:00
Quincey Koziol
f4bc9f929e [svn-r4869] Purpose:
Add regression tests
Description:
    Added regression test for using a VL-datatype in two separate files.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-27 00:23:11 -05:00
Quincey Koziol
0a612f0a61 [svn-r4868] Purpose:
Bug fixes

Description:
    This checkin addresses two separate bugs:
     #1 - When a compound datatype with a VL datatype as a field is used
            to read or write data, the datatype conversion paths added to
            the table of paths were treating the VL datatypes somewhat too
            genericly - they weren't dicriminating between VL datatypes used
            in different files and therefore there was the possibility that
            a path in the table having information for one file could get used
            with a second file, causing errors or core dumps (if the first
            file was closed before the later file used the path).
     #2 - When composite (compound, array or VL) datatype paths in the datatype
            conversion table are being tested to see if they can be used for
            the current datatypes being converted, they can cause additional
            conversion paths to be registered in the conversion path table.
            Since this causes the global table to change size and entries to
            move around, it is possible that the local variables tracking a
            potential path could become incorrect as the global table was
            changed out from underneath them.

    Both bugs fixed are described in bug #703

Solution:
    Two separate fixes:
     #1 - Changed H5T_cmp to differentiate between VL datatypes in different
            files and not to return datatypes in two different files as equal.
     #2 - Note size of global table before evaluating datatype paths.  Then,
            after the appropriate path has been chosen, check if the size of
            the global table has changed and recompute the position of the path
            chosen in the table if necessary.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-27 00:20:16 -05:00
Quincey Koziol
613d63ba73 [svn-r4867] Purpose:
Code cleanup
Description:
    Added some more assertions to help debug in the future...
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-01-27 00:06:31 -05:00
Elena Pourmal
f7bac2b4b9 [svn-r4866]
Purpose:
    Maintenance
Description:
    Several compiler's warnings caused Hitachi SR8000
    F90 and C compilers to fail.
Solution:
    Fixed the code to eliminate warnings.
Platforms tested:
    O2K (modi4) and Solaris 2.7 (arabica)
2002-01-26 10:48:49 -05:00
HDF Admin
c41e250354 [svn-r4864] Snapshot version 1.5 release 19 2002-01-26 05:16:37 -05:00
Robb Matzke
dba8c269a5 [svn-r4863] ./hdf5-devel/src/H5Tpkg.h
More optimizing for byte order conversion. Mostly just making code
easier to follow by simplifying Duff's device coding of the loops.

I also split the conversion function into two functions with different
names so output from H5T debugging indicates whether the optimized or
unoptimized case was invoked.

2002-01-25 10:48:34 Robb Matzke  <matzke@arborea.spizella.com>
	*: Added prototype for H5T_conv_order_opt().
2002-01-25 11:21:37 -05:00