Commit Graph

6441 Commits

Author SHA1 Message Date
Quincey Koziol
25e887fb7a [svn-r8997] Purpose:
Code cleanup

Description:
    Clean up some temporary files.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/C++
    Not tested by h5committest
2004-08-02 22:24:35 -05:00
Frank Baker
01ba58db4a [svn-r8994]
Purpose:
    Removed second versions of h5dread_f and h5dwrite_f, as that version
        of the FORTRAN subroutine is no longer required and has been removed
        from the API.
    This closes Bugzilla entry #92, which complained of a parameter
        description error in the second version.
Platforms tested:
    Mozilla
2004-08-02 16:58:31 -05:00
Frank Baker
8cd83726f9 [svn-r8991]
Purpose:
    Correct typo in code example.
Platforms tested:
    Mozilla
2004-08-02 15:00:08 -05:00
Quincey Koziol
daa96590d3 [svn-r8987] Purpose:
Code cleanup

Description:
    Fix another batch of minor differences between the development and release
branches.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-08-02 12:51:50 -05:00
Quincey Koziol
084ed88137 [svn-r8983] Purpose:
Update dependencies

Description:
    Update dependencies after config/depend1.in bugfix

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    IRIX64 6.5 (modi4)
    h5committested
2004-08-02 09:06:07 -05:00
Quincey Koziol
c837afbc48 [svn-r8982] Purpose:
Bug fix

Description:
    Correct typo which was causing incorrect srcdir paths in generated
dependencies.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    IRIX64 6.5 (modi4)
    h5committested
2004-08-02 09:05:00 -05:00
Quincey Koziol
3df2828991 [svn-r8981] Purpose:
Code cleanup

Description:
    Various minor tweaks to clean code up and bring it into closer
syncronization with the release branch.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    h5committested
    IRIX64 6.5 (modi4)
2004-08-02 09:03:40 -05:00
HDF Admin
e91a21cd3b [svn-r8979] Snapshot version 1.7 release 32 2004-08-01 03:46:18 -05:00
James Laird
2d239c2a92 [svn-r8971]
Purpose:
Updated RELEASE.txt for previous bug fixes
2004-07-30 12:41:51 -05:00
Quincey Koziol
c4015e03e5 [svn-r8969] Purpose:
Bug fix.

Description:
    Address two problems:
        - The computation of the scanline in the szip filter was being
            performed in the "can apply" callback routine instead of the
            "set local" routine.
        - The routine which allocated all the chunks for an entire dataset
            (which is invoked when the allocation time is early or late,
            rather than incremental) wasn't recording a failed filter in
            the information for the chunk, causing the library to believe
            that the chunk had the filter applied when it really hadn't.

Solution:
    - Move the scanline computation to the "set local" callback.

    - Record the filter mask with each chunk created when allocating them.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/szip
    Too obscure to require h5committest
2004-07-29 22:34:15 -05:00
Elena Pourmal
abf5d5cf60 [svn-r8966] Purpose: Maintenance
Description: Added support for Absoft Fortran compiler

Solution: Modified configuration file to check which Fortran compiler is used
          and set appropriate flags.

Platforms tested: verbena with pgf90 and Absoft f95 compilers

Misc. update:
2004-07-29 16:08:16 -05:00
Quincey Koziol
d60d367930 [svn-r8964] Purpose:
Revise new feature

Description:
    Add buffer type and version # bytes to the encoded datatype and dataspace
buffers (for H5Tencode & H5Sencode)

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-07-27 22:51:43 -05:00
Quincey Koziol
ae0ae15956 [svn-r8962] Purpose:
Bug fix

Description:
    Allow I/O on extendible chunked datasets with (currently) zero-sized
dimensions to proceed harmlessly instead of dumping core on an assertion.

Solution:
    Removed assertion and added checks to avoid problem situation in H5TB_end

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/ & w/o parallel
    Too minor to require h5committest
2004-07-27 22:22:12 -05:00
Quincey Koziol
4c7a64cc73 [svn-r8960] Purpose:
Bug fix

Description:
    Clean up new testfile from earlier checkin.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-07-27 22:16:31 -05:00
Quincey Koziol
8df0288b6d [svn-r8958] Purpose:
Bug fix

Description:
    Always write fill values to chunks when initializing entire B-tree and
any filters are defined.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-07-27 15:41:57 -05:00
Xuan Bai
f09aff4ee2 [svn-r8957] Purpose:
Update.

Description:
Update new source code into windows project and rename hdf5_cpp debug version library.

Solution:
1. Add hdf5\src\H5Dmpioc. into hdf5 and hdf5dll projects.
2. Rename hdf5_cpp debug version library from hdf5_cpp.lib to hdf5_cppd.lib to differentiate
   it from hdf5_cpp release version library hdf5_cpp.lib.

Platforms tested:
Microsoft Visual C++ 6.0 on Windows 2000/XP.
(will test with .NET on Windows XP after this check-in.)

Misc. update:
2004-07-27 15:36:27 -05:00
Elena Pourmal
c5b4572ee2 [svn-r8956]
Purpose: Maintenance for MAC OSX

Description: Added support for Absoft Fortran compiler f95;
             Ddefault compiler is set to IBM xlf.

Solution:

Platforms tested: pommier with xlf and Absoft f95 compilers

Misc. update:
2004-07-27 13:53:53 -05:00
James Laird
5a19f181b3 [svn-r8953]
Purpose:
Bug fix

Description:
When a simple dataspace is created, its extent should be set before using it,
or it will silently function as a NULL dataspace.

Solution:
Added checks on user-supplied dataspaces.  Now dataspaces without extents set
will throw errors; users must explicitly set a dataspace to be NULL.

Platforms tested:
sleipnir, windows
2004-07-27 11:55:19 -05:00
Quincey Koziol
7a07c6cc13 [svn-r8946] Purpose:
Code cleanup, sorta

Description:
    Added ifdef sections for "H5_USING_PURIFY" in various places in the code,
which are designed to reduce the spurious "uninitialized memory read" warnings
from purify which are actually OK.  Note that this macro will have to be
turned on by adding it to the CFLAGS for the build - I didn't think it was
important enough to add a configure flag for.

    Also, the changes in H5HG.c optimize the walks through the objects in a
heap to only look at the 'used' entries instead of all the 'allocated' entries.

Platforms tested:
    Solaris 2.7 (arabica) w/purify
    Not tested by h5committest
2004-07-25 23:41:48 -05:00
Quincey Koziol
6543e55efa [svn-r8944] Purpose:
Code optimization

Description:
    Eliminate duplicated call to H5T_detect_class()

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-25 23:33:31 -05:00
Quincey Koziol
5ffd704c8c [svn-r8943] Purpose:
Bug fix

Description:
    Close memory leak I introduced in H5Sencode() routine.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-25 23:32:10 -05:00
Quincey Koziol
b015e55614 [svn-r8941] Purpose:
Code optimization

Description:
    Changed calloc() calls to malloc() calls allocating background buffers
during dataset writes, since the background buffer information will be read
from disk anyway, overwriting any existing values.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-25 23:30:04 -05:00
James Laird
375f0745a7 [svn-r8938]
Purpose:
Bug fix

Description:
Modification time test (mtime) would die silently on some systems.  This is
because the code is very system-dependant (it relies on getting the current
time and the timezone from the OS).

Solution:
mtime test now uses TEST_ERROR macro to print "FAILED" and to output where the
failure occurred.  Configure script is a little smarter about whether
gettimeofday() function returns the timezone correctly.
Further bugs will need to be addressed on a system-by-system basis.

Platforms tested:
sleipnir, arabica, verbena, copper, windows (VC7)
2004-07-23 12:29:16 -05:00
Elena Pourmal
48e8092c66 [svn-r8936]
Purpose: Bug fix

Description: While working on the SZIP documentation with Frank, I realized
             that when scanline was less than 4k and bigger than pixels_per_block,
             it was not adjusted if number_of_blocks_per_scanline was bigger
             than max_number_of_blocks_per_scanline.

Solution: Fixed the code. Unfortunately it didn't help with the problem
          I had using h5repack with DOQGROD.he5 file.

Platforms tested: copper

Misc. update:
2004-07-22 18:40:53 -05:00
Quincey Koziol
ecd9f0a10e [svn-r8932] Purpose:
Code cleanup

Description:
    Clean up collective chunking code a bit.

    Also, add '--enable-instrument' configure flag to have a mechanism for
determining that optimized operations happened correctly in the library (instead
of just the "normal" way) by allowing 'flag' properties to be set outside the
library and set when the "right" thing happens.  This is mainly for debugging
and regression checks, so we make certain we don't break optimized I/O by
accident.  It's enabled by default when --enable-debug is on (which is on by
default in the development branch and off by default in the release branch),
but can also be independently controlled with its own configure flag.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    IBM p690 (copper) w/parallel
2004-07-22 15:46:27 -05:00
James Laird
e047136588 [svn-r8928] Purpose:
Code cleanup

Description:
Fixed reserved.c test to use h5_fileaccess/h5_fixname/h5_cleanup.
Updated RELEASE.txt for previous bug fix


Platforms tested:
sleipnir, verbena
2004-07-22 11:26:54 -05:00
Quincey Koziol
2e63744078 [svn-r8927] Purpose:
Code cleanup

Description:
    Clean up various recent changes a little.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-07-22 09:27:37 -05:00
Xuan Bai
5bae554343 [svn-r8925] Purpose:
Update.

Description:
Update all the hdf5 testing batch files.

Solution:
1. Updated dumptest.bat, difftest.bat, lstest.bat and repacktest.bat files
to match with correspondent testings in Unix.
2. Added one new batch file mask.bat to mask off time information displayed
in some h5ls tests.  The time displayed with h5ls uses a system all that
accountants for the local timezone of the cumputer that run that tests. To solve
this issue, the time information has to be masked off.  Otherwise, the expected
output may be different with the actual output.
3. Updated H5pubconf.h to enable szlib encoder.

Platforms tested:
Microsoft Visual C++ 6.0 on Windows XP and 2000.
(will test with .NET on Windows XP after this check-in.)

Misc. update:
2004-07-21 21:44:43 -05:00
MuQun Yang
c7ca89eeda [svn-r8924] Purpose:
To test collective chunk IO properly.

Description:
See the previous message.

Solution:
See the previous message.

Platforms tested:
arabica(Sol 2.7), eirene(Linux), copper(AIX)
Misc. update:
2004-07-21 18:42:10 -05:00
MuQun Yang
1232d53a32 [svn-r8923] Purpose:
To add a special section of codes for collective-chunk IO tests.

Description:
The current patch of collective chunk IO support in HDF5 can only handle
some special("however, can cover many applications") cases,
Inside source code, we did a careful checking to make sure other cases would
not fall into this category and would not use collective IO.
We also would like to test whether those collective conditions were met in our
test programs.
The current parallel HDF5 handled those collective IO requests in a special way.
If the library finds it cannot do collective IO, it will silently change to independent IO.
So basically there is no better way to check whether the library is doing what it should do without "hacking" into HDF5 source codes for the purpose of testing. But the "hacking" should not affect library work and should be easily pulled out after we get more general collective IO algorithm to work.

With Quincey's suggestion, we used HDF5 property APIs to finish the job.
Solution:
The approach includes three parts:
1) In the test program, insert a property inside data transfer property list.
   Set a default value for this property.
2) Inside H5Dio.c, when the library finds that it cannot do collective IO with chunking storage, it will change the default value.
3) Then the test program will recheck the value after H5Dwrite or H5Dread to evaluate whether
the current collective IO case is doing the right thing.

Note: The test won't stop after it finds that the library is not doing the right thing and probably it will finish normally. The current approach is that the test program just printed out an error message. It should be changed later.
Platforms tested:o
copper,arabica,eirene

Misc. update:
2004-07-21 18:40:27 -05:00
Raymond Lu
09fd278861 [svn-r8922] Purpose: Restore the original code
Description:  Line 38, "#define H5_NO_FREE_LISTS" were commented out during debugging

Solution:  put back in.

Platforms tested:  No test needed
2004-07-21 16:37:18 -05:00
Raymond Lu
7fe5ff1fed [svn-r8921] Purpose: new feature
Description:  This is the second step of checkin for encoding and decoding objects.
H5Tencode and H5Tdecode have been committed in the previous step.  H5Sencode
and H5Sdecode are checked in this time.

Solution: Given object ID, these functions encode and decode object information
into and from binary buffer and return new object ID.  They take advantage of the
existing codes of object header message and encode in the same format.

Platforms tested:  fuss and h5committest.

Misc. update:  RELEASE.txt
2004-07-21 16:30:26 -05:00
Elena Pourmal
c8daece13b [svn-r8920]
Purpose: Maintenance

Description: Documented SZIP change.

Solution:

Platforms tested:

Misc. update:
2004-07-21 16:04:42 -05:00
Elena Pourmal
560d1127e9 [svn-r8916]
Purpose: Improvement

Description: HDF5 Library set pixels_per_scanline parameter to the size of the chunk's
             fastest changing dimension.  As a result, fastest changing dimension
             of the chunk could not be bigger than 4K and smaller than pixels_per_block
             value and szip compression couldn't be used for many real datasets.

Solution: Reworked algorithm how HDF5 sets pixels_per_scanline value; only chunks
          with the total number of elements less than pixels_per_block value are rejected.
          There is no restriction on the size of the chunk's fastest changing
          dimension anymore.

          Modified the test according to the new algorithm.


Platforms tested: verbena, copper, sol

Misc. update:
2004-07-21 15:41:41 -05:00
Elena Pourmal
0fb97eb5fd [svn-r8915]
Purpose: Improvement

Description: HDF5 Library set pixels_per_scanline parameter to the size of the chunk's
             fastest changing dimension.  As a result, fastest changing dimension
             of the chunk could not be bigger than 4K and smaller than pixels_per_block
             value and szip compression couldn't be used for many real datasets.

Solution: Reworked algorithm how HDF5 sets pixels_per_scanline value; only chunks
          with the total number of elements less than pixels_per_block value are rejected.
          There is no restriction on the size of the chunk's fastest changing
          dimension anymore.


Platforms tested: verbena, copper, sol

Misc. update:
2004-07-21 15:39:11 -05:00
Albert Cheng
fd476c92c5 [svn-r8913] Purpose:
Bug fix and feature.

Description:
The setenv was done in runtest but it has the effect will linger
onto the next test.  So, if the first test sets $CXX to a certain
value, it lingers on the all following tests of the same host.
This is usually not desired.

Solution:
Move the actual setenv code to snapshot.  Runtest now just parses them
and pass along the setenv request to snapshot.

Platforms tested:
no h5comittest which does not really test the change.
Hand tested in eirene with Tg-NCSA.

Misc. update:
2004-07-21 15:15:59 -05:00
Pedro Vicente Nunes
140dfae48a [svn-r8912] Purpose:
bug fixes

Description:

the return error code for a  function was not initialized.
in HP-UX  it happened that this variable was initialized to -1
causing the function to return with an error condtion
solution : initialized the variable to 0

the name of the dataset was printed after the differences in verbose mode
and report when differences were found
solution : check first if differences were found and then
print the name of dataset and differences
in verbose mode always print the name first

Solution:

Platforms tested:
linux
aix
solaris

Misc. update:
2004-07-21 12:50:49 -05:00
MuQun Yang
50a853d807 [svn-r8910] Purpose:
Add t_coll_chunk.c at testpar for collective chunk IO test.

Description:

Solution:

Platforms tested:

Misc. update:
2004-07-20 16:48:57 -05:00
Pedro Vicente Nunes
dd17a83e6e [svn-r8909] Purpose:
update documentation and usage message

Description:
updated the html documentation for the new h5diff modes
added a section for h5repack


Solution:

Platforms tested:
linux

Misc. update:
2004-07-20 16:45:38 -05:00
MuQun Yang
3176090a03 [svn-r8907] Purpose:
To add collective chunk IO tests.

Description:
three tests are added.
1. Only one hyperslab for each process, and this hyperslab is fit in exactly one chunk.
2. non-contiguous hyperslabs in each process, these hyperslabs are fit in one chunk.
3. Single hyperslab for each process, smaller chunk is assigned. Number of chunks for
  every process is equal.

Solution:
the dataset size is set to be very small, will enlarge later.


Platforms tested:
AIX 5.1(copper)

Misc. update:
2004-07-20 16:41:44 -05:00
MuQun Yang
8933c59694 [svn-r8906] Purpose:
Adding the first round of patches about supporting collective chunk IO in HDF5

Description:
The current HDF5 library doesn't support collective MPIO with chunk storage. When users set collective option in their data transfer with chunk storage, the library silently converted the option to INDEPENDENT and that caused trememdous performance penalty. Some application like
WRF-parallel HDF5 IO module has to use contiguous storage for this reason. However, chunking storage has its own advantage(supporting compression filters and extensible dataset), so to make collective MPIO possible inside HDF5 with chunking storage is a very important task.

This check-in make collective chunk IO possible for some special cases. The condition is as follows(either case is fine with using collective chunk IO)
1. for each process, the hyperslab selection of the file data space of each dataset is regular and it is fit in one chunk.

2. for each process, the hyperslab selection of the file data space of each dataset is single and the number of chunks for the hyperslab selection should be equal.

Solution:
Lift up the contiguous storage requirement for collective IO.
Use H5D_isstore_get_addr to get the corresponding chunk address. Then the original library routines will take care of getting the correct address to make sure that MPI FILE TYPE is built correctly for collective IO>

Platforms tested:
arabica(sol), copper(AIX), eirene(Linux)
parallel test is checked at copper.

Misc. update:
2004-07-20 16:35:41 -05:00
MuQun Yang
a86779f3f7 [svn-r8905] Purpose:
bug fix for windows testing

Description:
A function called H5C_stats_reset doesn't have H5_DLL in front of it,
it cause windows DLL test failed.

Solution:
Add H5_DLL in front of it.

Platforms tested:
windows xp, sol 2.7, linux 2.4, aix 5.1

Misc. update:
2004-07-20 16:17:59 -05:00
Pedro Vicente Nunes
4cb6c01d7f [svn-r8904] Purpose:
h5diff and h5repack changes

Description:
h5diff
introduced the following four modes of output:
 Normal mode: print the number of differences found and where they occured
  Report mode: print the above plus the differences
   Verbose mode: print the above plus a list of objects and warnings
    Quiet mode: do not print output (h5diff always returns an exit code of 1 when differences are found)

    h5repack
     added an extra parameter for SZIP filter (coding method)
     the new syntax is
     -f SZIP=<pixels per block,coding>
     (pixels per block is a even number in 2-32 and coding method is 'EC' or 'NN')
     Example of use:
     ./h5repack -i file1 -o file2 -f SZIP=8,NN -v

     updated usage messages, test scripts and files accordingly




Solution:

Platforms tested:
linux
AIX
solaris

Misc. update:
2004-07-20 14:21:03 -05:00
Quincey Koziol
00909f278d [svn-r8901] Purpose:
Bug fix

Description:
    Allow buffer parameter to H5Dread & H5Dwrite to be NULL if there are no
elements to transfer.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest
2004-07-20 12:11:36 -05:00
James Laird
129f72fb3e [svn-r8899]
Purpose:
Bug Fix

Description:
Calling H5Sset_extent_simple to change a dataspace's maxdims from nonzero to
zero causes errors (infinite loops, seg faults, asserts) because the pointer
to the maximum size isn't cleaned up properly

Solution:
Clean up that pointer.  Added a test for this case.

Platforms tested:
sleipnir (very minor change)
2004-07-20 11:26:40 -05:00
James Laird
24d36e1613 [svn-r8897]
Purpose:
Bug Fix

Description:
Trying to create the root group or the working group ("/" or ".") fakes out
HDF5 so that it neither creates a group nor returns an error.

Solution:
H5G_namei now throws an error if it was supposed to insert but didn't.

Platforms tested:
sleipnir, Visual Studio 7 (very minor change)

Misc. update:
2004-07-19 19:47:37 -05:00
Albert Cheng
4e13d7afd5 [svn-r8896] Purpose:
Feature

Description:
Showed the fortran compiler and FFLAGS and CXX compiler and CXXFLAGS
when the corresponding language API is enabled.

Platforms tested:
No h5committest since it is just a simple shell script change.
Tested in Eirene.

Misc. update:
2004-07-19 13:56:41 -05:00
Quincey Koziol
c97fddc786 [svn-r8892] Purpose:
Code cleanup

Description:
    Clean up a bunch of warnings and bring new code better inline with current
library coding practice.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Too minor to require h5committest

Misc. update:
2004-07-16 15:48:40 -05:00
Xuan Bai
cb51607768 [svn-r8889] Purpose:
Update.

Description:
Due to source code change, added 2 new projects to the Windows tests and
removed some files from a Windows project.  Updated h5repack testing batch file
in Windows.  Did some minor updates for cache project.

Solution:
1. Added 2 new projects reserved and reserveddll to the Windows workspace.  These two projects include
the new source code reserved.c.
2. testh5repack_filters.c and testh5repack_layout.c were removed from HDF5 1.7 branch by Pedro.  Removed
these 2 files from h5repacktst project.
3. Pedro updated h5repack testings.  Updated repacktest.bat batch file to match with new h5repack testings
in Unix.
4. cache project settings->Link->Ignore libraries:  add libcd.lib for release version and libc.lib for
debug version.

Platforms tested:
Microsoft Visual C++ 6.0/.NET on Windows XP.
(Will test on Windows 2000 with Visual C++ 6.0 after this check-in).

Misc. update:
2004-07-15 23:06:25 -05:00
Quincey Koziol
dcd15ba46a [svn-r8888] Purpose:
Bump version # after making snapshot
2004-07-15 22:47:42 -05:00