Commit Graph

5186 Commits

Author SHA1 Message Date
Quincey Koziol
4a4962dfef [svn-r7056] Purpose:
More tests

Description:
    Added tests to make certain that failed dataset, group, named datatype and
attribute creations clean up the file space they allocated before failing.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:45:26 -05:00
Quincey Koziol
ed1e28ac6a [svn-r7055] Purpose:
Refactored code

Description:
    Moved duplicated "get_file_size()" function from a couple of tests into a
central location.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:43:39 -05:00
Quincey Koziol
f15b2278d6 [svn-r7054] Purpose:
Improved tests

Description:
    Added test for dangling attributes.

    Also added code to test with weak, semi & strong file close degrees for
all tests.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:42:39 -05:00
Quincey Koziol
4e3716dd66 [svn-r7053] Purpose:
Bug fix.

Description:
    When a duplicate object was attempted to be created, the library would
leak file memory and object references in the file, potentially causing an
infinite loop when shutting the library down.

Solution:
    Clean up after ourselves... :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:41:28 -05:00
Quincey Koziol
780d678ddd [svn-r7052] Purpose:
Code cleanup

Description:
    Correct name of H5FD_term_interface function in FUNC_ENTER macro.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:39:34 -05:00
Quincey Koziol
dfe4c63e19 [svn-r7051] Purpose:
Bug fix

Description:
    When objects were left open in a file, the API shutdown code would end
up closing property lists "out from underneath" files that were left open
pending the objects in the being closed.  This caused problems later when
file objects would try to access their property list and fail to close,
causing an infinite loop in the library shutdown.

Solution:
    Create some dependencies in the order that APIs are shut down, trying to
close "higher" level APIs before closing "low" level APIs.  This still isn't
precise, but it does work correctly now.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:38:17 -05:00
Elena Pourmal
e29d7fc478 [svn-r7050]
Purpose: Bug fix

Description: On Windows Fortran szip test failed in debug mode.
             It turned out that C-stub for H5Pget_filter_by_id didn't
             calculate the correct value of namelen parameter that is
             passed to the H5Pget_filter_by_id function. As a result
             fortran parameter that hold creation property id was overwritten
             and h5fdcreate_f failed.



Solution: Fixed the value of namelen parameter to the H5Pget_filter_by_id
          function.

Platforms tested: Windows 2000 with VF both debu and release modes,
                  sol, verbena.

Misc. update:
2003-06-18 12:14:57 -05:00
Albert Cheng
4a412814c0 [svn-r7049] Purpose:
updated for the added C++ config file.

Description:

Solution:

Platforms tested:

Misc. update:
2003-06-18 08:53:58 -05:00
Albert Cheng
8c701c23c9 [svn-r7047] Purpose:
Improvement

Description:
If $CXX is not defined, configure will try a list of possible
C++ compiler name.  That is not always desireable.

Solution:
Change configure to combine all powerpc-ibm-aix* to one version.
Add xlC as the default $CXX value.

Platforms tested:
Tested in Copper only since the change affect AIX machine only.

Misc. update:
2003-06-18 00:02:23 -05:00
Albert Cheng
3d0317ad11 [svn-r7046] Purpose:
bug fix

Description:
Parallel binary generated in copper could not run without first
setting LIBPATH to some values.  This is because libtool putting
a very restrictive libray path into the generated library.

Solution:
There had been hack in before for the other IBM SP systems
identified by hostname.  Add copper to the list.

Also, narrow down the hostname patter for Nersc Seaborg
machine a little bit.

Platforms tested:
Copper parallel only since that is the only place it failed.

Misc. update:
2003-06-17 23:04:42 -05:00
Elena Pourmal
6a15443e7c [svn-r7045]
Purpose: Code cleanup

Description: For some unknown to myself reason I used COMMON in the
             HDF5 module that has to be included in all Fortran
             HDF5 application. This is redundant and may cause
             problems for optimization. Also COMMON is an "OLD"
             feature and shouldn't be used.

Solution: Removed COMMON statements.

Platforms tested: modi4 sequential and parallel, arabica, vebena,
                  Windows with Visual Fortran.

Misc. update:
2003-06-17 18:16:09 -05:00
Albert Cheng
2b39076849 [svn-r7044] Purpose:
Bug fix.

Description:
the MPI_Get_count test does not work correctly (the macro name
MPI_GET_COUNT_WORKS is not even used in source code.) For some
reason, this test sometimes hangs in AIX.

Solution:
Blocked out the test for now and removed the code later when
things are verified to be correct.

Platforms tested:
h5committested.
ALso tested in Copper (32/64bit parallel, 32 bit serial).

Misc. update:
2003-06-16 12:53:12 -05:00
Quincey Koziol
3f7ec1a4b8 [svn-r7043] Purpose:
Windows portability fix

Description:
    Change "long long"s in code to "long_long"s, which is the portable version
of this type.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    to small for h5committest
2003-06-16 10:57:18 -05:00
Raymond Lu
20848c55fd [svn-r7042] Purpose: bug fix
Description: H5Tget_native_type fails on Cray for compound datatype.

Solution: there's size comfusion in the library on H5T_get_native_int function

Platforms tested: Cray, h5committest

Misc. update:
2003-06-16 10:44:14 -05:00
Albert Cheng
6f94c274c4 [svn-r7041] Purpose:
Improvement

Description:
RUNPARALLEL is setup with default value when --enable-parallel but only if
CC is not set.

Solution:
set RUNPARALLEL to default value of using poe when --enable-parallel
or when an MPI compiler (e.g. mpcc_r) is used.

Platforms tested:
Copper for both 32 and 64 bit, serial and parallel.
(32bit parallel had a hang problem in configure which is a different but
known problem.)
Note that one still need to setenv AR "ar -X64" for 64bit configure.

Misc. update:
2003-06-14 18:35:10 -05:00
Bill Wendling
9807a15018 [svn-r7039]
Purpose:
	Bug Fix

Description:
	There was another GNU-make-ism in the C++ examples Makefile.in
	that I didn't clean up.

Solution:
	Changed the "$<" to the name of the file to compile.

Platforms tested:
	Copper (Small fix...problem was on Copper).

Misc. update:
2003-06-13 15:40:40 -05:00
Quincey Koziol
300e769567 [svn-r7038] Purpose:
Test bug fix

Description:
    The fill time in a dataset with no fill value information created with an
older version of the library was getting set to H5D_FILL_TIME_ALLOC instead of
the new default H5D_FILL_TIME_IFSET and was causing H5Dcreate() calls with that
dataset creation property list to fail now.

Solution:
    Set the new default in the fill time initialization for missing fill value
information.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:35:24 -05:00
Quincey Koziol
8abb016fa5 [svn-r7037] Purpose:
Bug fix

Description:
    The fill time in a dataset with no fill value information created with an
older version of the library was getting set to H5D_FILL_TIME_ALLOC instead of
the new default H5D_FILL_TIME_IFSET and was causing H5Dcreate() calls with that
dataset creation property list to fail now.

Solution:
    Set the new default in the fill time initialization for missing fill value
information.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:35:17 -05:00
Quincey Koziol
1b2d904890 [svn-r7036] Purpose:
Code cleanup

Description:
    Add new H5D_FILL_TIME_IFSET value to debugging output.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:32:15 -05:00
Quincey Koziol
4196708248 [svn-r7035] Purpose:
Driver error

Description:
    The tmtimeo.h5 file was supposed to have been generated from gen_old_mtime.c
which was compiled with a pre-1.5.x version of the library, however it appears
to have been created with a newer version of the library and did not contain
the older form of the mtime object header information that was being tested for.

Solution:
    Run a version of gen_old_mtime that was compiled & linked against an older
version of the library to generate the tmtimeo.h5 file.

    Had to update the modification time used for testing in the mtime.c file
also.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:30:43 -05:00
Elena Pourmal
bf30ff7eda [svn-r7034]
Purpose: Maintenance for 1.6 release

Description: hdf5 project file did not have new H5Ptest.c and H5Stest.c functions
             included.

Solution: Added new files to the project and included new project to the all_withf90.zip
          file


Platforms tested: This is a pure Windows change; Windows 2000

Misc. update:
2003-06-13 13:54:12 -05:00
Albert Cheng
ce57ff9668 [svn-r7033] Purpose:
minor improvment

Description:
corrected an omission in the usage help output.
Added more parameters checks.

Solution:

Platforms tested:
Only in modi4.

Misc. update:
2003-06-13 01:57:34 -05:00
Elena Pourmal
7fa8474ace [svn-r7032]
Purpose: Maintenance

Description: H5Stest.c and H5Ptest.c were missing from the hdf5 and hdf5dll
             projects. That caused compilation to fail on Windows.

Solution: Added missing files to the projects.

Platforms tested: it is windows change only, so Windows 2002

Misc. update:
2003-06-12 20:05:41 -05:00
Elena Pourmal
f9a93abcbe [svn-r7031]
Purpose: Small bug fix

Description: Variable flag was declared twice. That caused compilation to fail
             on True64 system.

Solution: Deleted one of the declarations.

Platforms tested: True64 at PSC and arabica. Change is trivial, so h5commitest
                  is not necessary.

Misc. update:
2003-06-12 17:54:05 -05:00
Quincey Koziol
b8632ce735 [svn-r7029] Purpose:
New feature/Bug fix

Description:
    Add new fill time value - H5D_FILL_TIME_IFSET which writes the fill value
to a dataset if the user has defined one, otherwise not writing the fill value
to the dataset.

Platforms tested:
    FreeBSD 4.8 (sleipnir) serial & parallel
    h5committest
2003-06-11 22:40:34 -05:00
Quincey Koziol
c0f9f41be8 [svn-r7027] Purpose:
Bug fix

Description:
    MPE instrumentation was out of date and wasn't reporting the correct name
of the API functions in the library.

Platforms tested:
    IBM p690 (copper)
    h5committest not performed because it doesn't test MPE.
2003-06-11 21:59:49 -05:00
Bill Wendling
09da63a8b9 [svn-r7026] Purpose:
Bug Fix

Description:
    On HP-UX platforms, the "open()" function needs to specify that the
    file being created has permissions S_IRWXU, which means that it gives
    read/write/execute permissions to the user who created the file (how
    nice of it!).

Solution:
    Added the S_IRWXU flag to the open() function call.

Platforms tested:
    HP-UX 11
    Arabica,
    Modi4,
    Verbena

Misc. update:
2003-06-11 17:18:37 -05:00
Bill Wendling
2f67716abc [svn-r7025] Purpose:
Bug Fix

Description:
    On Kelgia, the h5c++ script file needs to be explicitly chmod'ed to
    executable.

Solution:
    Placed this at the end of the configure script (just like in the
    other configure scripts).

Platforms tested:
    Kelgia (Very small fix...only needed to test it on one platform).

Misc. update:
2003-06-11 15:46:26 -05:00
Binh-Minh Ribler
8879e91363 [svn-r7024] Purpose:
Updating zip file for windows

Description:
    Kent made two libraries libtest and libtestD for code in
    hdf5/test/h5test.c.  Some of the C++ tests are using h5test.c,
    so I changed them to use the new libraries instead.

Solution:
    Added libtest to project dsets_cpp and libtestD to project
    dsets_cppdll.cpp and removed h5test.c from them.

Platforms tested:
    Windows 2000 - should not effect non-windows platforms
2003-06-11 15:16:13 -05:00
Elena Pourmal
2714638dec [svn-r7023]
Purpose: Maintenance for the third round of testing

Description: Increased the version number to 1.5.59 after creating
             a tar ball for testing.

Solution:

Platforms tested:

Misc. update:
2003-06-11 07:46:09 -05:00
Binh-Minh Ribler
361cac5966 [svn-r7022] Purpose:
Updating zip file for windows

Description:
    Added h5cpputil.h and h5cpputil.cpp to these projects:
        dsets_cpp
        dsets_cppdll
        testhdf5_cpp
        testhdf5_cppdll

Platforms:
    Windows 2000 - should only effect this platform
2003-06-10 23:52:52 -05:00
Raymond Lu
67449f5c65 [svn-r7021] Purpose: bug fix
Description: H5Tget_native_type fails for multiple kinds of datatype on Cray; it fails
             fix-length string type, too.


Platforms tested: Cray, h5committest
2003-06-10 16:04:58 -05:00
Quincey Koziol
b6f348df6e [svn-r7020] Purpose:
Bump version number after making snapshot
2003-06-10 14:35:29 -05:00
Quincey Koziol
204b899029 [svn-r7019] Purpose:
Compatibility fix

Description:
    The H5P[set|get]_fapl_mpiposix calls changed between v1.4.x and v1.5.x.

Solution:
    Wrap them in the v1.4 backward compatibility #ifdefs and update tests, etc.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/paralle & v1.4 compatibility
    h5committest pointless
2003-06-10 14:05:06 -05:00
Quincey Koziol
6ea5252281 [svn-r7018] Purpose:
Bug fix

Description:
    The dataset's modification time was getting set whenever raw data was
written with H5Dwrite.  Unfortunately, this is a metadata change (which are
required to be performed collectively) and H5Dwrite may be called independently
from a parallel program, resulting in metadata cache corruption and/or program
hangs.

Solution:
    Don't update the modification time when raw data it written. :-(

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committest

Misc. update:
    Noted in release notes and also sent to Frank for updating the docs.
2003-06-10 13:47:26 -05:00
Quincey Koziol
8181306481 [svn-r7017] Purpose:
Test bug fix

Description:
    Chunked datasets with early space allocation and unlimited dimensions were
running into problems where the dataset's "layout" message was marked as
constant too early, preventing the dataset's dimensions from being extended.

Solution:
    Change logic for marking the layout message constant to wait a bit longer.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committest
2003-06-10 13:44:29 -05:00
Quincey Koziol
82384d5785 [svn-r7016] Purpose:
Bug fix

Description:
    Chunked datasets with early space allocation and unlimited dimensions were
running into problems where the dataset's "layout" message was marked as
constant too early, preventing the dataset's dimensions from being extended.

Solution:
    Change logic for marking the layout message constant to wait a bit longer.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committest
2003-06-10 13:44:22 -05:00
Quincey Koziol
33bf3c980d [svn-r7015] Purpose:
Comment cleanup

Description:
    Updated comments for recent changes.
2003-06-10 13:41:20 -05:00
Frank Baker
ca33a5498c [svn-r7014]
Purpose:
    To facilitate finding functions, particularly in long Reference Manual
    sections.

Solution:
    Added alphabetized function listings.  (NOTE: Aside from the H5I and H5Z
    sections, this is not necessarily the final implementation; there will
    likely be another revision in the presentation of this listing before it
    is released.)

Platforms tested:
    Safari, IE 5
2003-06-10 10:38:46 -05:00
Albert Cheng
bec5a9ba64 [svn-r7013] Purpose:
Bug fix

Description:
Corrected an omission of a module needed by the testhdf5 program.

Platforms tested:
Only in modi4 as the change is small.

Misc. update:
2003-06-10 08:10:20 -05:00
Binh-Minh Ribler
ee38b91d18 [svn-r7012] Purpose:
Text cleanup

Description:
    Re-worded some informative and error messages.
    Remove/Updated outdated comments.

Platforms:
    Linux 2.4 (eirene)
    IRIX 6.5.11 (modi4)
2003-06-09 23:03:58 -05:00
Binh-Minh Ribler
989fba31d4 [svn-r7011] Purpose:
Update MANIFEST

Description:
    Added these:
        c++/test/h5cpputil.h
        c++/test/h5cpputil.cpp
2003-06-09 22:34:43 -05:00
Albert Cheng
265cb20baa [svn-r7010] Purpose:
Bug fix

Description:
h5cc was removed prematurely in "make clean".  Moved it to be
removed in "make distclean" only.

Solution:

Platforms tested:
COpper.

Misc. update:
2003-06-09 18:52:08 -05:00
Albert Cheng
ec6f9400d0 [svn-r7009] Purpose:
Bug fix

Description:
libhdf5.settings should be removed in DISTCLEAN, not CLEAN.

Solution:

Platforms tested:
COpper.

Misc. update:
2003-06-09 18:51:17 -05:00
Quincey Koziol
e3d55f9f12 [svn-r7008] Purpose:
Bug fix

Description:
    Correct file->mpi->size to just mpi_size.

Platforms tested:
    FreeBSD 4.8 (sleipnir)

Misc. update:
    Reported by: Bill
2003-06-09 16:33:00 -05:00
Quincey Koziol
91c305443c [svn-r7007] Purpose:
Bug fix.

Description:
    Changed "x=(x++)%y" to "x=(x+1)%y", since the former was not guaranteed to
compile to the latter.

Platforms tested:
    Eyeballed.

Misc. update:
    Pointed out by: Forsythe, Christi <caforsy@sandia.gov>
2003-06-09 14:34:55 -05:00
Quincey Koziol
103f7b4c92 [svn-r7006] Purpose:
Bug fix/new feature

Description:
    Teach h5dump/h5ls to display variable-length datatypes correctly.

    Change "raw byte" output of array elements from "0xde8141b1a818" to
    "de:81:41:b1:a8:18" so that it's easier for users to read.


Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest

Misc. update:
    Patch provided by Robb Matzke (matzke@llnl.gov)
2003-06-09 14:29:28 -05:00
Quincey Koziol
19488a94fd [svn-r7005] Purpose:
Bug fix

Description:
    The output from the modification time is highly system dependent, so
    remove it from the h5ls output before comparing file with diff.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:25:32 -05:00
Quincey Koziol
4401a71f3a [svn-r7004] Purpose:
Bug fix

Description:
    The output from the modification time is highly system dependent, so
remove it from the h5ls output before comparing file with diff.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:24:37 -05:00
Quincey Koziol
212a9529b0 [svn-r7003] Purpose:
Code cleanup/new features.

Description:
    Clean up whitespace & formatting.

    Make the -S (simple) output display a dataset's modification time in UTC
        rather than local timezone.

    Display variable-length datatype information.

    Simplified & enhanced bitfield datatype information displayed.


Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:22:55 -05:00