Commit Graph

8726 Commits

Author SHA1 Message Date
Elena Pourmal
b599f6bee0 [svn-r12394] Purpose: Maintenance
Description: Ran /bin/h5vers to change suffix to alpha4 after creating hdf5-1.8.0-alpha3
             tar ball and tagging the release with hdf5_1_8_0_alpha3 tag

Solution:

Platforms tested:

Misc. update:
2006-06-01 17:39:56 -05:00
Elena Pourmal
7a91d952cc [svn-r12392] Purpose: Maintenance
Description: Checking in files modifed by the bin/release script before
             tagging hdf5-1.8.0-alpha3

Solution:

Platforms tested:

Misc. update:
2006-06-01 17:15:07 -05:00
Raymond Lu
99a8afe17b [svn-r12391] Purpose: Update.
Misc. update: Document some errors in test/dt_arith.c when converting data from
long double to (unsigned) long long and from (unsigned) long long to long double.
2006-06-01 14:39:46 -05:00
Elena Pourmal
39ebe8cf68 [svn-r12390] Purpose: Maintenance
Description: Updated VMS installation instructions to reflect support
             for the deflate filter; documented scale+offset test failures
             when G_FLOAT is used (not IEEE double)

Solution:

Platforms tested:

Misc. update:
2006-06-01 14:25:01 -05:00
Raymond Lu
b1f5c03c79 [svn-r12389] Purpose: Bug fix
Description: There was some logical confusion about the value of the macro
H5_HW_FP_TO_LLONG_NOT_WORKS.  It's supposed to be true for Windows, but false
for Unix machines.

Solution: Corrected.

Platforms tested: fuss(Linux) and amazon(MacOS 10.4) - simple change.
2006-06-01 13:34:32 -05:00
Elena Pourmal
30d130b7b5 [svn-r12388] Purpose: Maintenance
Description: dsets and objcopy tests were missing from the command files

Solution: Added appropriate commands to compile and run tests

Platforms tested: VMS server with native float

Misc. update:
2006-05-31 17:49:07 -05:00
Raymond Lu
a4c993cf24 [svn-r12387] Purpose: Bug fix.
Description: Windows doesn't recognize "long long" but "long_long".

Solution:  The library defined a more general type "long_long".  Use
it instead.

Platforms tested: fuss - simple change.
2006-05-31 15:59:48 -05:00
Albert Cheng
3fcb63545d [svn-r12386] Purpose:
Added Exress Test mode.

Description:
The test takes a long time to run.  It tempted developers to skip the
h5committest.


Solution:
Added Express Test mode to allow tester an option to run it in express
mode (shorter time.)  There are already encoded QAK macro which skips
many tests.  Follow that pattern to skip tests when HDF5TestExpress is
set.

Platforms tested:
Tested in heping, both serial and parallel.
2006-05-30 22:51:34 -05:00
Albert Cheng
c21fd488e5 [svn-r12384] Purpose:
feature.

Description:
Added the option of -64 which is similar to -n32.  This is needed by
Atlantia which has the ABI as -n32.

Platforms tested:
Pretty straight forward but not testable by h5committest.
Will be tested when daily tests run.
2006-05-29 16:46:11 -05:00
Albert Cheng
8698c5ce5e [svn-r12380] Purpose:
Feature
(Code and tests are done by Christian.  I just committed the code.)

Description:
Rewrote the purpose of this test. Now it tests these three cases,
/*
 * Test following possible scenarios,
 * Case 1:
 * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY and large
 * size, no write, close, reopen in parallel, read to verify all return
 * the fill value.
 * Case 2:
 * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY but small
 * size, no write, close, reopen in parallel, extend to large size, then close,
 * then reopen in parallel and read to verify all return the fill value.
 * Case 3:
 * Sequential create a file and dataset with H5D_ALLOC_TIME_EARLY and large
 * size, write just a small part of the dataset (second to the last), close,
 * then reopen in parallel, read to verify all return the fill value except
 * those small portion that has been written.  Without closing it, writes
 * all parts of the dataset in a interleave pattern, close it, and reopen
 * it, read to verify all data are as written.
 */

Platforms tested:
Tested in copper, tg-ncsa and heping, all in parallel mode.
2006-05-26 17:11:00 -05:00
James Laird
e3dce488c9 [svn-r12379] Purpose:
Bug fix

Description:
tg-login was having an error about H5match_types.Tpo being missing.

Solution:
tg-login was trying to build H5_match_types twice at the same time and
becoming confused as a result.
Massaged the dependencies in the Makefile.am to prevent this.

Platforms tested:
mir, sol, tg-login
2006-05-26 09:44:12 -05:00
Elena Pourmal
6ffdaca016 [svn-r12378] Purpose: Maintenance
Description: Added location of the zlib library compiled with /float=ieee_float
             flag

Solution:

Platforms tested: VMS server

Misc. update:
2006-05-25 11:44:39 -05:00
Elena Pourmal
5f7e54737e [svn-r12377] Purpose: Maintenance
Description: Brought up VMS make files up to date

Solution:

Platforms tested: VMS server with native floating number and ZLIB enabled

Misc. update:
2006-05-25 11:19:11 -05:00
Raymond Lu
d777615dfa [svn-r12375] Purpose: Update
Solution:


Misc. update: added hl/test/dtype_file_readable.txt
2006-05-24 09:42:00 -05:00
John Mainzer
a415cc6b17 [svn-r12374] Purpose:
1) Check in potential fix to unreproduceable bug in t_cache observed on
   Cobalt

2) Check in code supporting added pinned entry features in the metadata
   cache.


Description:

1) Elena encountered a bug in t_cache when running on Cobalt.  On
   investigation I found a potential race condition in t_cache that
   could explain her observation.

2) Quincey requested additions to the metadata cache allowing renaming
   of pinned entryies, and marking of pinned or protected entries as
   dirty.


Solution:

1) Modified t_cache.c to prevent the potential race condition.  Elena
   was unable to reproduce the bug on Cobalt, so we don't know if my
   fix actually addressed the problem.

2) Added code supporting the requested functions.  The changes were
   relatively trivial, but required substantial new test code.


Platforms tested:

h5committest, serial test on heping, parallel test on phoenix.


Misc. update:
2006-05-24 02:36:28 -05:00
Raymond Lu
5f4234fabf [svn-r12373] Purpose: Add debug information.
Description: dtype_file.txt is a text file for testing complicated compound type
for H5LTtext_to_dtype().  dtype_file_readable.txt is just a human-readable version
of dtype_file.txt for debugging purpose.


Platforms tested: No test.
2006-05-23 17:02:29 -05:00
James Laird
7ad4792c50 [svn-r12372] Purpose:
Makefile cleanup

Description:
Cleaned up where files were distcleaned


Platforms tested:
mir (change only affects distclean)
2006-05-23 16:10:23 -05:00
Raymond Lu
804b85f80e [svn-r12371] Purpose: Recommit
Description: Copyright was missing from last commit.
2006-05-23 15:56:33 -05:00
Raymond Lu
ab9ac4264e [svn-r12370] Purpose: Bug fix.
Description:  The current code in Yacc parser doesn't handle big-endian
machine for enum type correctly.

Solution:  Depending on the super type of enum, use appropriate integer
type to pass in enum value.

Platforms tested:  h5committest and fuss.
2006-05-23 15:51:37 -05:00
Binh-Minh Ribler
51c7d9eb39 [svn-r12369] Purpose: Fixed bug
Description:
    Shanti compiler destroy unnamed objects later than others, which caused
    some reference counting test fail.  Revised the test so that destructors
    are called at the same time, regardless the differences of compiler
    implementation.

    Revised some constructors, close, operator=, and destructors to make
    sure that all the object ids are handled properly.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.9 (shanti)
    HPUX 11.00 (kelgia)
    AIX 5.1 (copper)
2006-05-23 13:14:24 -05:00
Binh-Minh Ribler
deec486732 [svn-r12368] Purpose: Fixed bug
Description:
    Shanti compiler destroy unnamed objects later than others, which caused
    some reference counting test fail.  Revised the test so that destructors
    are called at the same time, regardless the differences of compiler
    implementation.

    Revised some constructors, close, operator=, and destructors to make
    sure that all the object ids are handled properly.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.9 (shanti)
    HPUX 11.00 (kelgia)
    AIX 5.1 (copper)
2006-05-23 12:59:40 -05:00
Albert Cheng
d0f565c5c0 [svn-r12366] Purpose:
fix.

Description:
More machines stop supporting "rsh machine command".
Worse yet, it hangs the "rsh machine command" process.

Solution:
Switch the order of testing remote execution to use
ssh first, then rsh.

Platforms tested:
no h5committest since it does not test this command.
Change is trivial and will monitor Daily test tonight.
2006-05-23 10:06:23 -05:00
Quincey Koziol
daa4f9af6c [svn-r12365] Purpose:
Code checkpoint

Description:
    Add a few minor tweaks & corrections to the fractal heap code.

Platforms tested:
    Linux 2.4 (chicago)
    Too minor to require h5committest
2006-05-22 20:24:26 -05:00
Quincey Koziol
13c0f22b12 [svn-r12364] Purpose:
Portability fix

Description:
    Try again to placate the VS 6.0 compiler

Platforms tested:
    Linux 2.4 (chicago)
    Too minor to require h5committest
2006-05-22 19:45:49 -05:00
Quincey Koziol
efe514d714 [svn-r12363] Purpose:
Bug fix

Description:
    When destroying the cache for a file, don't disconnect the cache from the
file structure until after the cache is shut dow, to allow pinned entries to
be unpinned.

Platforms tested:
    Linux 2.4 (chicago)
    Too minor to require h5committest
2006-05-22 19:44:26 -05:00
Quincey Koziol
5d2bddcd06 [svn-r12362] Purpose:
Code checkpoint

Description:
    Update fractal heap code to allow objects to be deleted

    Fix bugs in fractal heap object insertion

    Improve free space manager code to allow sections to be merged and
        shrink the container

    Another try at making the Windows compilers happy...

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Mac OS X.4/PPC (amazon)
    Linux 2.4 (chicago & heping)
    Solaris 2.9 (shanti)
    AIX 5.? (copper) w/parallel
2006-05-22 11:43:45 -05:00
Albert Cheng
4d3390afd9 [svn-r12361] Purpose:
Document error.

Description:
The fix of the TR was put in the wrong session (new configure feature).
It is moved to the proper session (bug fix on configure.)
2006-05-20 23:25:52 -05:00
Raymond Lu
8762875bb3 [svn-r12359] Purpose: Update
Misc. update: added hl/test/dtype_file.txt.
2006-05-19 09:29:59 -05:00
Albert Cheng
56c0a0f993 [svn-r12358] Purpose:
Bug fix.

Description:
The ${TR}, though avoid the error, is inconvenient.  It is needed
because configure.in use the char range in the style of 'a-z'.
The other style of '[a-z]' is more commonly accepted by all tr
but autoconf tends to strip away [], making the syntax rather
clumsy.

Solution:
Learned from autoconf that it avoids the use of character range
by just spell all the letters out.  Changed our tr commands to
use those variables defined by autoconf.  Also removed the
definition of ${TR} since it will cause inconsistancy when
autoconf also use plain 'tr' in its generated code.

The Makefile.in are changed because the elimination of ${TR} from
configure triggered its removal from all Makefil.in.  That is okay
because ${TR} is not used at all in Makefile.

Platforms tested:
h5committested. (sol failed to connected). also tested in shanti
using both /usr/ucb/tr and /bin/tr (the bad one before.)

Misc. update:
Updated both INSTALL and RELEASE files.
2006-05-19 07:22:07 -05:00
MuQun Yang
698f38c1fe [svn-r12357] Purpose:
Updating project file
Description:
Due to the new added source codes under hdf5/src.

Solution:
Project file has to be changed to reflect this

Platforms tested:
VS 6.0 ( Failed during compiling because of compiler failure)
VS 7.0

Everything okay except that several h5repack tests get skipped.
Don't know whether this happens on other platforms.
h5repack -i test_scaleoffset.h5 -o out.test_scaleoffset.h5 -f dset_none:S+O=31 -
SKIPED-
h5repack -i test_scaleoffset.h5 -o out.test_scaleoffset.h5                 -SKIP
ED-
h5repack -i test_scaleoffset.h5 -o out.test_scaleoffset.h5 -f dset_scaleoffset:N
ONE -SKIPED-
h5repack -i test_all.h5 -o out.test_all.h5                                 -SKIP
ED-
Misc. update:
2006-05-18 13:31:50 -05:00
MuQun Yang
b0d43609b2 [svn-r12356] Purpose:
Updating project file

Description:
New source code has been added,
project files need to be updated.

Solution:

Platforms tested:
VS 6.0(build failed due to compiler problem)
VS 7.1(.Net 2003)

Everything okay except that several h5repack tests get skipped.
Don't know whether this happens on other platforms.
h5repack -i test_scaleoffset.h5 -o out.test_scaleoffset.h5 -f dset_none:S+O=31 -
SKIPED-
h5repack -i test_scaleoffset.h5 -o out.test_scaleoffset.h5                 -SKIP
ED-
h5repack -i test_scaleoffset.h5 -o out.test_scaleoffset.h5 -f dset_scaleoffset:N
ONE -SKIPED-
h5repack -i test_all.h5 -o out.test_all.h5                                 -SKIP
ED-



Misc. update:
2006-05-18 13:29:50 -05:00
Quincey Koziol
cf07b7e672 [svn-r12355] Purpose:
Bug fix

Description:
    Avoid using double -> hsize_t conversion, to placate VS 6.0

Platforms tested:
    None, just eyeballed...
2006-05-18 13:04:25 -05:00
Pedro Vicente Nunes
ff8fd06fab [svn-r12354] Purpose:
manifest update

Description:
one new file that was not updated yesterday

Solution:

Platforms tested:

Misc. update:
2006-05-18 10:38:50 -05:00
Pedro Vicente Nunes
f24a3a9a02 [svn-r12353] Purpose:
new function

Description:
added H5LTfind_attribute as a public function, a wrapper for the already existing private function
H5LT_find_attribute

Solution:

Platforms tested:
linux
solaris

Misc. update:
2006-05-17 14:55:12 -05:00
Raymond Lu
a80f2a3d7b [svn-r12352] Purpose: Update document.
Misc. update: Update this document for H5LTtext_to_dtype and H5LTdtype_to_text.
2006-05-17 13:57:47 -05:00
Raymond Lu
0f98d2009b [svn-r12351] Purpose: Follow-up what's committed yesterday.
Description: Yesterday, a definition of the macro YY_BUF_SIZE of 256KB
was committed in, but copper complained it can't be redefined.

Solution: Added #ifdef and #undef to make sure the macro is undefined
first.  Also integrated a complicated compound type test.  It reads
input from a text file.  The datatype is unusually large, of 101 member
fields.

Platforms tested: h5committest and fuss.
2006-05-17 13:09:12 -05:00
Raymond Lu
b562825fc5 [svn-r12350] Purpose: Increase capacity
Description: The default size for input buffer of Lex is only 8K.  Some
application has input string far bigger than it.

Solution:  Increase the size by defining YY_BUFFER_SIZE to be 256K (262144)
in H5LTanalyze.l

Platforms tested: fuss - simple change.
2006-05-16 14:15:58 -05:00
Quincey Koziol
7b6db1046b [svn-r12349] Purpose:
Code checkpoint

Description:
    Checkpoint fractal heap improvements, as well as move the free space
manager code that it's using into a separate package.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4/64 (mir) w/C++ & FORTRAN
    Linux 2.4/32 (heping)
    Solaris 2.9 (shanti)
    AIX 5.? (copper) w/FORTRAN & parallel
2006-05-14 23:35:53 -05:00
Albert Cheng
84b03a51c7 [svn-r12348] Purpose:
Bug fix.

Description:
Some machines (e.g., HPUX) will have off64_t defined but no support
for stat64 unless certain LargeFile macro is turned on.  This caused
the last fix on H5private not quite right which caused compiling failures.

Solution:
Added stat64 and fstat64 tests and then will use them only if they
are supported.

Platforms tested:
Tested on kelgia, copper and heping (pll).
(Compiling alright but tests for kelgia and heping are not done.
expect no problems.)
2006-05-14 00:09:25 -05:00
Elena Pourmal
0742585e9a [svn-r12347] Purpose: Maintenance/bug fix
Description: When --enable-group-revision flag was used, h5fget_filesize_f
             function returned different value from expected one. Test failed
             with false negative result.


Solution: Added Fortran function h5_group_revision_f and its
          C stub to check if macro H5_GROUP_REVISION is defined.
          Expected value from h5fget_filesize_f is set up accordingly.

Platforms tested: copper, shanti and heping with and without
                  --enable-group-revision configuration flag

Misc. update:
2006-05-13 19:43:58 -05:00
Elena Pourmal
916399d31e [svn-r12346] Purpose: new feature/maintenance
Description: Added support for Zlib compression on VMS

Solution: Modified command files to add compilation and linking with
          the ZLIB library.

Platforms tested: VMS servere with the VAX floating datatype;
                   will test IEEE option later

Misc. update:
2006-05-12 16:32:59 -05:00
Raymond Lu
cbe0bc01f0 [svn-r12345] Purpose: Codes for backward compatibility.
Description: Function prototype H5E_walk_t and structure H5E_error_t wasn't backward
compatible.

Solution: Make them compatible with v1.6 and provide new definitions of H5E_walk_stack_t
and H5E_error_stack_t.

Platforms tested: fuss and h5committest.
2006-05-12 13:29:49 -05:00
Albert Cheng
db31594e68 [svn-r12344] Purpose:
Bug fix.

Description:
C++ testhdf5 failed when it tried to inspect the size of a file
via the HDstat call.  The reason was that the CFLAGS has -D_LARGE_FILES
hardset in it while the CXXFLAGS does not.  So, C is using an off_t
that is 8 bytes while C++ is using off_t as 4 bytes.  C is using
a version of 64bits stat/off_t/etc while C++ uses the 32 bits version.
Thus a failure.

Solution:
Added -D_LARGE_FILES to $CXXFLAGES so that both C and C++ are using
the same version of stat/off_t/etc.

Platforms tested:
Tested in Copper only, both 32 and 64 bits since the changes affected
the AIX platform only.
2006-05-11 23:16:10 -05:00
MuQun Yang
f857bb3d75 [svn-r12343] Purpose:
Bug fix for collective chunk IO

Description:
Several options have been provided inside HDF5 library for
obtaining chunk addresses when doing collective chunk IO.
One option is to obtain chunk addresses for one process and broadcast
to other processes. This option needs all processes to participate.
If using link-chunked IO without any optimizations,
sometimes this is not true due to the random initialization for one variable at mpich 1.2.7.
This is a bug inside the collective chunk IO code.


Solution:
1.Initalize all the variables to some safe numbers,
2. Avoid using MPI broadcast to obtain the chunk address if possible
   until more performance studies have been done.
3. Seems okay to obtain chunk addresses individually for each processor.
This option may cover most cases.




Platforms tested:
h5committest(copper is not usable)
NCSA teragrid (mpich 1.2.5)
mir 64-bit linux (mpich 1.2.6)

Misc. update:
2006-05-10 19:07:28 -05:00
Albert Cheng
b415a49c9e [svn-r12342] Purpose:
bug fix.

Description:
Previous H5private.h would attempt to use the off64_t/stat64/etc
by checking just sizeof __INT64 being 8.  This caused errors in
some machines like alpha cluster which is a 64bit machine.  Its
compiler supports the type __int64 but it does not support
off64_t since its off_t is already 64bits big.  The above code
casued the compiler to complain about the unknown off64_t and
such.

Solution:
H5private.h:
Changed the code to use the pseudo standard of off64_t/stat64/etc
only if sizeof(off_t) is not 64 bits AND sizeof(off64_t) exists
and is 64 bits.  This assumes if off64_t is defined, all those
stat64, fstat64, etc are supported too.

configure.in:
configure:
Added the testing of sizeof(off64_t) to support the above solution.

Platforms tested:
h5committested.  Also tested at LANL QSC.
2006-05-10 17:29:25 -05:00
Elena Pourmal
40054ee387 [svn-r12341]
Purpose: Maintenance

Description: dtypes.c compilation failed with gcc 4.1 due to the
             missing prototype of the opaque_funcs function.
             Failure was reported by a user who tried to build
             hdf5-1.8.0-alpha2.
             I reproduced the failure on sleipnir with gcc41
             compiler.

Solution: Added prototype definition.

Platforms tested: sleipnir with gcc41, heping and copper

Misc. update:
2006-05-08 15:31:21 -05:00
Elena Pourmal
e33df58ec5 [svn-r12339] Purpose: Maintenance after hdf5-1.8.0-alpha2 release
Description: Changed version suffix to alpha3

Solution: ran bin/h5vers script

Platforms tested:

Misc. update:
2006-05-06 11:32:29 -05:00
Elena Pourmal
a1fee4191e [svn-r12337] Purpose: Maintenance
Description: Comitting files modified by the bin/release script
             before tagging the release.

Solution:

Platforms tested: released tar ball was tested on heping, and copper
                  64-bit sequential and 32-bit parallel

Misc. update:
2006-05-06 11:15:29 -05:00
Elena Pourmal
e99cf23a3a [svn-r12336] Purpose: Maintenance
Description: Brought file up-to-alpha2 release.

Solution:

Platforms tested:

Misc. update:
2006-05-05 17:41:19 -05:00
Elena Pourmal
129f50c035 [svn-r12335] Purpose: Maintenance
Description: Added information about compilation problems on Altix SGI
             with Intel v9.0 compilers for testmeta.c test
             Marked platforms on which alpha2 was not tested.

Solution:

Platforms tested:

Misc. update:
2006-05-05 17:27:42 -05:00