Commit Graph

5076 Commits

Author SHA1 Message Date
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
Quincey Koziol
df5ca0fa1d [svn-r7002] Purpose:
Code cleanup

Description:
    Clean up warnings about unused stuff...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:18:47 -05:00
Quincey Koziol
3fcef502ea [svn-r7001] Purpose:
Code cleanup

Description:
    Reduce warnings when compiled with --enable_hdf5v1_4 compatibility switch.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-09 14:16:59 -05:00
Quincey Koziol
007adfc452 [svn-r7000] Purpose:
New feature

Description:
    Dump variable-length sequence datatype info with h5debug

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest

Misc. update:
    Patch provided by Robb Matzke (matzke@llnl.gov)
2003-06-09 14:14:35 -05:00
Quincey Koziol
1e495825d2 [svn-r6999] Purpose:
Bug fix.

Description:
    Don't dump core when displaying global heaps in h5debug.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest

Misc. update:
    Patch submitted by Robb
2003-06-09 14:12:56 -05:00
Albert Cheng
54b28eeea7 [svn-r6998] Purpose:
"Bug fix"

Description:
This version is showing very slow HDF5 I/O write speeds (about 40%
of MPIO).  It was because the library is writing fill values by
default.  There is a no-fill option which set to FALSE.  Changed
it to TRUE since MPIO and POSIX are not doing fill values.
This is just a stop gap fix since the better fix would be to
change the library to not write fill-values in this case.

Platforms tested:
modi4 parallel and LANL Q paralllel.
No h5committest test because it is very trivia.

Misc. update:
2003-06-09 13:50:59 -05:00
Binh-Minh Ribler
01f726e305 [svn-r6997]
Purpose:
    Code cleanup

Description:
    Moved a utility function out so other tests can use the same
    function and avoid code duplication.  Future utility functions
    can also benefit from this move.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    IRIX 6.5.11 (modi4)
    HPUX 11.00 (kelgia)
2003-06-09 12:42:02 -05:00
Albert Cheng
47f9421dd5 [svn-r6996] Purpose:
bug fix and cleanup

Description:
Previous change messed things up that fortranlib_test was linked
with multiple MAIN because $(TEST_OBJ) was used as if it was for
fortranlib_test only.


Solution:
Created a separated $(FORTLIBTEST_OBJ) for the fortranlib_test test.
Adjusted other related symbol names.

Also, removed DISTCLEAN=* which held files that should have been
removed in MOSTLYCLEAN.

Platforms tested:
"h5committested" (modi4, sol, verbena).
In the process of running fortran tests in arabica and kelgia.

Misc. update:
2003-06-09 10:25:42 -05:00
Albert Cheng
1be010d74f [svn-r6995] Purpose:
cleanup

Description:
Move the removal of libhdf5_fortran.settings from clean to
distclean target.

Platforms tested:
Tested in copper only since the change is trivial.

Misc. update:
2003-06-08 21:56:46 -05:00
Albert Cheng
2a8ef6786d [svn-r6994] Purpose:
Cleanup

Description:
Moved the cleanup of configure generated files to DISTCLEAN as
that should be the place they get removbed.

Platforms tested:
Tested in copper only as change is trivial.

Misc. update:
2003-06-08 21:40:16 -05:00
Albert Cheng
355d0d6eb7 [svn-r6993] Purpose:
Cleanup

Description:
Remove h5c++ when distclean is called.

Solution:

Platforms tested:
Tested only in copper since the change is trivial.

Misc. update:
2003-06-08 18:11:45 -05:00