Commit Graph

4747 Commits

Author SHA1 Message Date
Frank Baker
c5f5f1f534 [svn-r6566]
Purpose:
    New feature -- Fill value and storage space allocation changes
Description:
    Added H5Dget_space_status
    Modified H5Dcreate and H5Dread to discuss
    Also, copy and readability edits in H5Dcreate, H5Dread, and H5Dwrite
Platforms tested:
    IE 6, Safari
2003-04-02 14:08:38 -05:00
Pedro Vicente Nunes
febe7d0bd9 [svn-r6563] Purpose:
added test script for h5diff
code cleaning for alpha release
makefile now generates the h5difftst.c program that generates 2 .h5 files for testing

Description:
the .sh script runs several runs of h5diff and compares the output
with a predifined output located in /tools/testfiles (.txt files)
righ now it has only one test


Solution:

Platforms tested:
linux (other platforms later , ok !? )

Misc. update:
2003-04-02 13:44:12 -05:00
Pedro Vicente Nunes
18b98b4298 [svn-r6562] Purpose:
added test files for h5diff

Description:
2 binary hdf5 files, generated by h5difftst.c located in /tools/h5diff
1 of several text files to be added , that have a predifined h5diff output , to be compared with
the output of the program rum by testh5diff.sh

Solution:

Platforms tested:

Misc. update:
2003-04-02 13:39:23 -05:00
Albert Cheng
3b9feb9e8a [svn-r6561] Purpose:
Updated with the two newly added configure files.

Platforms tested:
bin/chkmanifest succeeded.

Misc. update:
2003-04-02 11:53:07 -05:00
Albert Cheng
7a6bda13fe [svn-r6560] Purpose:
Feature (bug fix)

Description:
Added a new configure file specifically for the IA64 platform
in which ecc and efc are the default compilers.
Also added all the Fortran special setup in the fortran version

Platforms tested:
no h5committest since this is a IA64 platform stuff.
Tested in Titan.

Misc. update:
MANIFEST Updated.
2003-04-02 11:50:58 -05:00
Bill Wendling
c91a149097 [svn-r6559] Purpose:
Update

Description:
    Missed this file when updating copyright statements.

Platforms tested:
    None (comment change)

Misc. update:
2003-04-01 17:37:36 -05:00
Bill Wendling
5830c5cf99 [svn-r6558] Purpose:
Bug Fix...

Description:
    The previous bug was in the _free function as well

Solution:
    Used the correct structure

Platforms tested:
    Modi4

Misc. update:
2003-04-01 17:06:41 -05:00
Bill Wendling
26cc88d402 [svn-r6557] Purpose:
Bug Fix

Description:
    Was using the wrong pointer into a structure...

Solution:
    Used the correct pointer to get the file_id...

Platforms tested:
    Modi4

Misc. update:
2003-04-01 17:02:55 -05:00
Bill Wendling
243775d9cd [svn-r6556] Purpose:
Update & Bug Fix

Description:
    The "free" protocol was missing. Added that to the server side.

    When doing a "create" of a file (with no other data structures
    created), the freespace in the file wasn't being reclaimed.

Solution:
    After adding the free protocol, we put the burden of running through
    the FD_free function on the SAP instead of each client.

Platforms tested:
    Linux

Misc. update:
2003-04-01 16:38:04 -05:00
MuQun Yang
3a9829ac86 [svn-r6555] Purpose:
Add a little description of szip support. More needs to be added.
Description:

Solution:

Platforms tested:
Doc. file, no needs to test.

Misc. update:
2003-04-01 11:08:14 -05:00
MuQun Yang
e782e98c8d [svn-r6554] Purpose:
Adding new code name (H5Zszip.c) to MANIFEST

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-01 11:02:26 -05:00
MuQun Yang
dd5ffe0aa2 [svn-r6553] Purpose:
To add tests for szip compression in HDF5

Description:
Three tests were added:
1) szip filter itself
3) szip + shuffle + fletch32
2) fletch32 + shuffle + szip


Solution:
Since H5Dget_storagesize returns 0(Quincey can fix it or it may be gone),
I create another function called test_internal_filter_szip, which is the almost the same
as test_internal_filter but comments out H5Dget_storage_size function.


Platforms tested:
Since there are changes of configure.in and configure,I didn't use h5committest.
I tested with four platforms.
1) Linux 2.4 (eirene)                                                                                               2) Solaris 2.7(arabic
3) windows 2000(VS 6.0)                                                                                             4) SGI IRIX6.5-64(modi4)
For test 1)-3), only basic C tests were done                                                                        For modi4 test, I tested 64-bit C,parallel and fortran.
All tests passed, except a warning message from szip library when checksum is used in some order, which doesn't     cause any real problems.

Misc. update:
2003-04-01 11:00:25 -05:00
MuQun Yang
992eb85944 [svn-r6552] Purpose:
To support szip compression in HDF5

Description:
This is where szip filter function is located.

Solution:
The filter function composes of "encode" and "decode" part, which
is similar as deflate filter.
One critical difference is:
when szip decompresses the data, it needs to know the buffer size to hold
the decompressed data in advance.
Currently it's hard for HDF5 lib to give the buffer size easily. So to avoid
this problem, in each chunk, we add a small header to hold the buffer size of
each chunk. The code will use UINT32 ENCODE and UINT32 DECODE to finish this
part of work.
Platforms tested:
Since there are changes of configure.in and configure,I didn't use h5committest.
I tested with four platforms.
1) Linux 2.4 (eirene)
2) Solaris 2.7(arabica)
3) windows 2000(VS 6.0)
4) SGI IRIX6.5-64(modi4)
For test 1)-3), only basic C tests were done
For modi4 test, I tested 64-bit C,parallel and fortran.
All tests passed, except a warning message from szip library when checksum is used in some order, which doesn't
e any real problems.
Misc. update:
2003-04-01 10:49:03 -05:00
MuQun Yang
f94431ce1f [svn-r6551] Purpose:
To support szip compression in HDF5

Description:
szip compression support is required by NASA ESDIS. The compression algorithm
is good for scientific data. In HDF5, we add another filter
function to make szip as a default compression package as we did for gzip(or zlib).

In this check-in, a new function called H5Pset_szip was added into H5Pdcpl.c, this
function is very similar to H5Pset_deflate. The only difference is SZIP needs
four parameters from the user to get the compression done while gzip needs only one.
So we pass a pointer to this function instead of an integer number.

The description of the four parameters of szip should be in different
documents.

H5Z.c and other header files were simply modified to have HDF5 know szip.

Solution:
See the decription

Platforms tested:
Since there are changes of configure.in and configure,I didn't use h5committest.
I tested with four platforms.
1) Linux 2.4 (eirene)
2) Solaris 2.7(arabica)
3) windows 2000(VS 6.0)
4) SGI IRIX6.5-64(modi4)
For test 1)-3), only basic C tests were done
For modi4 test, I tested 64-bit C,parallel and fortran.
All tests passed, except a warning message from szip library when checksum is used in some order, which doesn't cause any real problems.

Misc. update:
2003-04-01 10:39:48 -05:00
MuQun Yang
646ac38507 [svn-r6550] Purpose:
To support szip compression in HDF5

Description:
szip compression support is required by NASA ESDIS. The compression algorithm
is a good compression algorithm for scientific data. In HDF5, we add another filter
function to make szip as a default compression package as we did for gzip(or zlib).

H5config.in needs to be regenerated by autoheader for SZIP flags.
Solution:
A new file called H5Zszip.c will be added in the Makefile.in
Flags like: HAVE_FILTER_SZIP    should be auto-generated by autoheader.

Platforms tested:
Since there are changes of configure.in and configure,I didn't use h5committest.                                    I tested with four platforms.
1) Linux 2.4 (eirene)
2) Solaris 2.7(arabica)
3) windows 2000(VS 6.0)
4) SGI IRIX6.5-64(modi4)
For test 1)-3), only basic C tests were done
For modi4 test, I tested 64-bit C,parallel and fortran.                                                         All tests passed, except a warning message from szip library when checksum is used in some order, which doesn't
cause any real problems.

Misc. update:
2003-04-01 10:27:45 -05:00
MuQun Yang
175e5a1bbe [svn-r6549] Purpose:
This is the first check-in message related to szip support at HDF5 1.6 release

Description:
szip compression support is required by NASA ESDIS. The compression algorithm
is a good compression algorithm for scientific data. In HDF5, we add another filter
function to make szip as a default compression package as we did for gzip(or zlib).

Solution:
In the configure.in and configure, I handled szip exactly the same as what zlib was built into
the HDF5.
Currently if you don't specify in the configure command line with:
./configure --with-szlib=/.....
Unless you put your szip library in your path,you will build the same HDF5 library like before.
Also, I only use static szip library to test with HDF5.

Platforms tested:
Since there are changes of configure.in and configure,I didn't use h5committest.
I tested with four platforms.
1) Linux 2.4 (eirene)
2) Solaris 2.7(arabica)
3) windows 2000(VS 6.0)
4) SGI IRIX6.5-64(modi4)
For test 1)-3), only basic C tests were done
For modi4 test, I tested 64-bit C,parallel and fortran.
ALl tests passed, except a warning message from szip library when checksum is used in some order, which doesn't cause any real problems.

Misc. update:
2003-04-01 10:18:40 -05:00
Albert Cheng
bf10a762df [svn-r6548] Purpose:
New Feature

Description:
Some machine has a different hostname from its official name (e.g., copper
is called Cu12) and some machine name are dynamic aliases (e.g., titan is
mapped user01 or user02).  Some names are cryptic (who could remember
hn0? are platinum hosts while user0? are for titan).  We had to hardcode
those names into the snaptest.cfg file.  An ongoing maintenance PAIN.

Solution:
Added -configname <name> option where
   "use <name> as hostname in the parsing of the snaptest configure file"
Changed RSH code to append the hostname used in the Allhostfile.  Now, we
need not worry about machine name mapped to a different host and it is
much cleaner to match up entries between allhostfile and snaptest.cfg files.


Platforms tested:
Did not use h5committest which does not cover this code.
Tested in eirene, titan, platinum and copper.

Misc. update:
2003-03-31 14:05:41 -05:00
Bill Wendling
b5d7fa02a9 [svn-r6546] Purpose:
Update

Description:
    Updated copyright statement in files which hadn't been updated yet.

Platforms tested:
    Linux (Only comment change)

Misc. update:
2003-03-31 13:30:57 -05:00
Bill Wendling
b8843dde4f [svn-r6545] Purpose:
Update

Description:
    Updated copyright

Platforms tested:
    LInux (Comment change only)

Misc. update:
2003-03-31 13:12:46 -05:00
Bill Wendling
eb018ba036 [svn-r6544] Purpose:
Update

Description:
    Update copyright statement

Platforms tested:
    Linux (Comment change only)

Misc. update:
2003-03-31 13:10:51 -05:00
Bill Wendling
bd16546ad0 [svn-r6543] Purpose:
Update

Description:
    Updated copyright statement

Platforms tested:
    Linux (only comment change)

Misc. update:
2003-03-31 13:08:23 -05:00
Bill Wendling
9b08ade742 [svn-r6542] Purpose:
Update

Description:
    Updated copyright statement

Platforms tested:
    None needed

Misc. update:
2003-03-31 13:07:01 -05:00
Bill Wendling
48eb3267ca [svn-r6541] Purpose:
Update

Description:
    Updated Copyright statements

Platforms tested:
    None needed...

Misc. update:
2003-03-31 13:06:44 -05:00
Bill Wendling
a003adc409 [svn-r6540] Purpose:
Update

Description:
    Updated copyright statement

Platforms tested:
    Linux (Only change in comments...checked if compiles)

Misc. update:
2003-03-31 13:04:52 -05:00
Bill Wendling
91fdb66926 [svn-r6539] Purpose:
Update

Description:
    Updated (and in some cases added) the copyright statement.

Platforms tested:
    Linux (Comment changes...only tested if they compile)

Misc. update:
2003-03-31 13:02:10 -05:00
Bill Wendling
44022e598c [svn-r6538] Purpose:
Update

Description:
    Updated the Copyright statement

Platforms tested:
    Linux (This change is only in the comments, so I just check that the
    modules still compile)

Misc. update:
2003-03-31 12:59:04 -05:00
Bill Wendling
034deed133 [svn-r6537] Purpose:
Update

Description:
    Updated Copyright statement.

Platforms tested:
    None needed

Misc. update:
2003-03-31 12:44:34 -05:00
Bill Wendling
2021329c69 [svn-r6536] Purpose:
Updated Copyright Statement

Description:
    Replaced old copyright statement with new one.

Platforms tested:
    No need.

Misc. update:
2003-03-31 12:39:53 -05:00
Albert Cheng
c2691615d6 [svn-r6535] Purpose:
Updated with new zlib used.
2003-03-31 11:51:35 -05:00
Albert Cheng
c8186a830f [svn-r6534] Purpose:
Updated with AIX configure bug fix.
2003-03-31 11:50:47 -05:00
Albert Cheng
117b6cd323 [svn-r6532] Purpose:
Bug fix

Description:
test/dtypes failed badly when -O is used.  Trying to recompile test/*
code without -O did not eliminate the errors.  So, the failure is
deep in the hdf5 library.

Solution:
For now, removed '-O' from $PROD_CFLAGS so that enable-production will use
no optimization.  Need to find out what exactly trigger the errors.

Platforms tested:
Did not do h5committest because this is an AIX configure change only.
Tested it in Copper.  Need to test it on other offsite machines.

Misc. update:
Updated release_docs/RELEASE.
2003-03-31 11:47:51 -05:00
Albert Cheng
9dedbf110e [svn-r6529] Purpose:
Improvement

Description:
Added a 5 seconds timeout to the PING command so that it can detect
host not online quicker.

Platforms tested:
The three platforms tests do not cover this command.
Test it in eirene where it is usually run.

Misc. update:
2003-03-29 12:36:35 -05:00
Bill Wendling
fc295015d8 [svn-r6527] Purpose:
Bug Fix & Update

Description:
    FPHDF5 was creating files which didn't have the EOA field in the
    superblock set correctly. It turns out that the SAP was keeping this
    information to itself instead of giving it to the client processes.

    Naughty SAP!

Solution:
    Have the SAP send this information back to the clients so that they
    can update the superblock as necessary. This now creates a file (with
    just the root group) that looks correct! Only problem is that there's
    extra file space being allocated. Also, at program termination,
    there's an infinite loop...

Platforms tested:
    H5committests (run by hand on burrwhite, arabica, and modi4)

Misc. update:
2003-03-27 16:34:21 -05:00
Pedro Vicente Nunes
5d51e5adeb [svn-r6526] Purpose:
update

Description:
clean code , removed empty spaces, tested on solaris

Solution:

Platforms tested:
w2000, linux, solaris

Misc. update:
2003-03-27 13:03:00 -05:00
Albert Cheng
a072be18b7 [svn-r6525] Purpose:
New test feature

Description:
Added the VFD_LIST definition to support the "make check-vfd" tests.

Platforms tested:
h5committested.
Since check-vfd is not invoked by default, I went to each machine
to invoke them by hand.  The target worked fine but there were
errors reported from those driver tests.  (Those errors were beyond
the scope of this make target test.)

Misc. update:
2003-03-26 19:15:29 -05:00
Albert Cheng
d88f9db418 [svn-r6524] Purpose:
New test feature

Description:
The various virtual file drivers (multi, family, core, ...)
are not tested automatically.  One would have to do it by hand
by setenv HDF5_DRIVER <driver> and then do gmake check in test/.

Solution:
Added a new target, check-vfd, which will take the list from
$VFD_LIST and run 'make check' with each of its members.

Platforms tested:
h5committested.
Since check-vfd is not invoked by default, I went to each machine
to invoke them by hand.  The target worked fine but there were
errors reported from those driver tests.  (Those errors were beyond
the scope of this make target test.)

Misc. update:
2003-03-26 19:14:30 -05:00
Albert Cheng
4857e382ba [svn-r6523] Purpose:
Bug fix.

Description:
n_test must be inited to 1 when it is for tests within one machine.
Undid my previous mistake.

Platforms tested:
Eirene.
Did not do the h5committest because this is a script and if it works
in one machine, it most like will work in all Unix platform.

Misc. update:
2003-03-26 18:08:24 -05:00
Albert Cheng
6cfa419f9a [svn-r6522] Purpose:
new feature and some bug fixes

Description:
Add a new feature to "skip" some tests.
Sometimes, a machine has problem (e.g. titan and sleipnir having AFS
problems).  Sometimes some feature in a machine is temporary off (e.g.,
PGI compilers in eirene.)  The tests will be reported being SKIPPED
which will be reminder to remove the skipping once the problem is fixed.

I installed the skipping control in snaptest.cfg rather than in
allhostsfile to have a finer control to skip just a subset of the
tests of a machine, rather than skipping the all tests of a machine.

Bug fixes: fixed the miscounting of number of tests ran.  It was
reporting one too many.

Platforms tested:
Only tested in eirene since eirene is the one uses it directly.

Misc. update:
2003-03-26 17:14:35 -05:00
Pedro Vicente Nunes
37cefed10e [svn-r6521] Purpose:
update

Description:
added the new cosequential match algorythm
added extra checking of bad input values

Platforms tested:

w2000, linux



Misc. update:
2003-03-26 09:23:48 -05:00
Frank Baker
32be22e793 [svn-r6520]
Purpose:
    Adding descriptions of  new library features to the RM

Description:
    H5Pset_fapl_log: Added new 'buf_size' parameter.
                     New 'flags' parameter replaced 'verbosity' parameter,
                         requiring new table describing 20 available flags.
    H5Pset_filter: Added valid 'filter' parameter values.
                   Modified for Fletcher32 EDC filter.
    H5Pget_filter: Added return value descriptions.
    H5Pset_layout & H5Pget_layout:  Modified for compact datasets.
    Added the following new functions:
        H5Pset_fletcher32
        H5Pset_edc_check & H5Pget_edc_check
        H5Pset_filter_callback
        H5Pset_shuffle

Platforms tested:
    Safari
    IE 6
2003-03-24 16:09:42 -05:00
Quincey Koziol
06ee92414d [svn-r6519] Purpose:
Bug fix/code cleanup/new feature

Description:
    Fix h5debug to work correctly again, with all the changes over the past
    few months.

    Improved and cleaned up debugging output available in h5debug.

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-03-22 09:53:27 -05:00
Elena Pourmal
b6f34ab3e5 [svn-r6517]
Purpose: Bug fix.

Description: When I added support for filters, I forgot to add
             fortan man pages file to the MANIFEST file.
             When I run chkmanifest, I discovered that there was also
             a typo ( ./dac/Makefile.in instead of ./doc/Makefile.in )

Solution: added ./doc/html/fortran/h5z_FORTRAN.html and chnages "a" to "o"

Platforms tested: arabica with bin/chkmanifest

Misc. update:
2003-03-21 13:26:24 -05:00
Albert Cheng
80c5ec82e7 [svn-r6516] Purpose:
Bug fix

Description:
The $RUNPARALLEL is set even when parallel mode is not used.
Then it is used to launch some parallel natured test (e.g. example/ph5example)
which is not compiled to be so.  That created some unnecessary problem
in some situation (e.g., Copper cannot "poe a.out" from an AFS space
because of the missing AFS token system bug.

Solution:
Setup RUNPARALLEL only when parallel mode is enabled.

Platforms tested:
Only tested in Copper since the change applies to IBM machines only.
(note that v1.4 will fail by default due to a problem when the default
production mode is used.  But that is an error not related to this config file)

Misc. update:
2003-03-20 18:47:00 -05:00
Bill Wendling
a90774e8cc [svn-r6514] Purpose:
Bug fix and Update

Description:
    From Quincey's comments on the code I checked in last night:

        - In H5F_close call, the "private" processes should call the
          H5F_flush with the "CLEAR_ONLY" flag.
        - There's no need for a special case for FPHDF5 in the
          FD_real_alloc function since FPHDF5 doesn't define an alloc
          function.
        - The return type of H5Pset_fapl_fphdf5 should be herr_t instead
          of hid_t. I don't know how it got that way in the first place.
        - The variable names for MPI types and the structure typedefs
          should be switched: H5FP_request/H5FP_request_t to
          H5FP_request_t/H5FP_request and so on.
        - In the H5FP.c module, I was commiting the H5FP_request MPI
          datatype but using the wrong offset field...

Platforms tested:
    Linux...will test on others, but these are mostly FPHDF5 changes.

Misc. update:
2003-03-20 12:39:06 -05:00
Binh-Minh Ribler
9f7ef95fcd [svn-r6513] Purpose:
Added info about support of the C++ API on HP-UX 11.00.
2003-03-19 21:47:10 -05:00
Binh-Minh Ribler
61b9af6f26 [svn-r6511] Purpose:
Added config file c++/config/hpux11.00
2003-03-19 21:22:37 -05:00
Binh-Minh Ribler
da0f4cd981 [svn-r6510] Purpose:
Cleanup

Description:
    Removed "using namespace std" since it's in namespace H5 already.


Platforms tested:
    HPUX 11.00 (kelgia)
    Linux 2.2x (eirene)
    IRIX 6.5.11 (modi4)
    SunOS 5.7 (arabica) - by Elena


Misc. update:
2003-03-19 21:13:13 -05:00
Binh-Minh Ribler
5cc6567850 [svn-r6509] Purpose:
Adding new platform support

Description:
    Added support for the C++ API on hpux11.00 with the compiler aCC.
    Because aCC doesn't use "std," a new macro H5_NO_STD is provided
    and used where "std" is presented in the library.

    In addition, changed several cout's when reporting errors to cerr's.


Platforms tested:
    HPUX 11.00 (kelgia)
    Linux 2.2x (eirene)
    IRIX 6.5.11 (modi4)
    SunOS 5.7 (arabica) - by Elena


Misc. update:
2003-03-19 21:10:46 -05:00
Binh-Minh Ribler
b2bc00b9ff [svn-r6508] Purpose:
Adding new platform support

Description:
    Added the config file to support the C++ API on hpux11.00 with
    the compiler aCC.

Platforms tested:
    HPUX 11.00 (kelgia)
    Linux 2.2x (eirene)
    IRIX 6.5.11 (modi4)
    SunOS 5.7 (arabica) - by Elena


Misc. update:
    Will update MANIFEST and release_docs/RELEASE for new features.
2003-03-19 20:59:07 -05:00
Bill Wendling
b9d9111ecc [svn-r6507] Purpose:
bug Fix

Description:
    MPI stuff was getting into the non-parallel headers.

Solution:
    #ifdefed the headers out if H5_HAVE_FPHDF5 isn't defined...

Platforms tested:
    Sol, Modi4

Misc. update:
2003-03-19 18:52:46 -05:00