Commit Graph

8698 Commits

Author SHA1 Message Date
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
MuQun Yang
37a9d44194 [svn-r12334] Purpose:
Updating the windows DLL project file

Description:
new file H5HFiter.c has been added
project file needs to be reflected


Solution:

Platforms tested:
VSMS 6.0

Misc. update:
2006-05-05 13:42:46 -05:00
MuQun Yang
507e84085d [svn-r12333] Purpose:
Updating windows project file

Description:
new file H5HFiter.c has been added
project file needs to be reflected

Solution:
Updating the project file

Platforms tested:
VS 6.0

Misc. update:
2006-05-05 13:41:55 -05:00
Elena Pourmal
451f0c884f [svn-r12332] Purpose: Maintenance for 1.8.0-alpha2 release
Description: Added pointers to 1.8.0 docs.

Solution:

Platforms tested:

Misc. update:
2006-05-05 11:47:02 -05:00
Elena Pourmal
b4f0a4461a [svn-r12331] Purpose: Maintenance
Description: Updated "Known problems" section for alpha2 release

Solution:

Platforms tested:

Misc. update:
2006-05-05 09:20:48 -05:00
MuQun Yang
a7c8e7928d [svn-r12330] Purpose:
Update the information about mpi-io bug in the release.txt.

Description:

Solution:

Platforms tested:

Misc. update:
2006-05-04 15:36:10 -05:00
MuQun Yang
f4731946ee [svn-r12329] Purpose:
work-around solution for special cases in collective IO

Description:
For collective IO
if some processes don't have any contributions to IO, even with the new SGI compiler(7.4.4m), the testing program will be hanged. Previously only thought it didn't work with old compiler. It turned out not to be true.

Solution:
Turned off the special flag: H5_MPI_SPECIAL_COLLECTIVE_IO_WORKS

Platforms tested:
UCAR IRIX 6.5
this file only affects IRIX 6.x system. No need to test at other platforms.

Misc. update:
2006-05-04 15:17:05 -05:00
Elena Pourmal
1253bdc89d [svn-r12328]
Purpose: Maintenance

Description: fheap test failed on VMS due to the missing H5HFiter module

Solution: Updated make.com file to include the missing module.

Platforms tested: VMS server with IEEE option.

Misc. update:
2006-05-04 09:06:07 -05:00
James Laird
14d12aebd0 [svn-r12327] Purpose:
Bug fix

Description:
A datatype wasn't being closed in th5s.c

Solution:
This minor oversight caused an error with my Object Header code.
The datatype is now closed in the test.

Platforms tested:
windows, mir, copper
2006-05-03 17:04:30 -05:00
Elena Pourmal
3db9c56f9e [svn-r12326]
Purpose: Bug fix for VMS

Description: I am not sure why I didn't see this bug before ;-O.
             H5_HAVE_FILE_VERSIONS macro was added (by me) to the wrong place
             causing test program to get creation property list from a non-existing
             file object. As a result test program failed with access violation
             error.

Solution: Fixed.

Platforms tested: VMS server and copper (just in case)

Misc. update:
2006-05-03 16:53:32 -05:00
James Laird
1f9410e11e [svn-r12325]
Purpose:
Bug fix

Description:
The Daily Test errors were due to H5_CFLAGS not being included when
configure tested the sizes of some values.
Rolled back the offending changes.

Solution:
There is a "correct" solution to this problem, which is to ensure that
the H5_CFLAGS are included in autoconf's tests.
This rollback is only temporary until the "real" fix can be applied.

Platforms tested:
copper (problem only in aix config file)
2006-05-03 16:45:44 -05:00
Elena Pourmal
4c073616df [svn-r12324] Purpose: Fighting with VMS make files
Description: Compilation of most of the Fortran files depends on existance
             of three module files. On VMS the dependency was enforced by
             listing source files for compilation command in the correct order.
             It looks like that this approach doesn't always work and compilation fails
             sometimes.

Solution: Hardcoded compilation of the threee files in the make.com file

Platforms tested: VMS server with IEEE option

Misc. update:
2006-05-03 12:06:11 -05:00
Elena Pourmal
e8f915c403 [svn-r12323] Purpose: Maintenance/bug fixes
Description: Some VMS command files were broken, some needed
             an update to catch up with the current code distribution.

Solution: Fixed

Platforms tested: VMS server with IEEE option. Will do more testing after
                  checking out a fresh CVS version.

Misc. update:
2006-05-03 10:09:03 -05:00
Raymond Lu
1acc676fcf [svn-r12322] Purpose: Test some functions
Description: Test some data type functions that are and aren't supposed to work
with some data types.


Platforms tested: h5committest and fuss.
2006-05-02 14:42:41 -05:00
John Mainzer
720f6cb065 [svn-r12321] Purpose:
Bug fix


Description:

Fix two test bugs:

1) Unitialized variable bug in test of H5C_get_entry_status()
   (in test/cache.c)

2) Incorrect initialization of constant in t_cache when running
   with MPE. (in testpar/t_cache.c)


Solution:

1) Don't test uninitialize variable.

2) Correct initialzation of constant in MPE case.


Platforms tested:

Tested on Heping and Copper.


Misc. update:
2006-05-02 01:06:38 -05:00
Quincey Koziol
c6e532afb9 [svn-r12320] Purpose:
code cleanup

Description:
    Finish H5FS->H5CS internal API name changes...

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/ & w/o --enable-codestack
2006-05-01 22:17:49 -05:00
Quincey Koziol
714d901714 [svn-r12319]
Purpose:
    Rename feature

Description:
    Rename the "function stack" debugging feature to "call stack", so the H5FS*
prefix can be used for free space management code.

Platforms tested:
    Not yet, but soon..
2006-05-01 21:03:35 -05:00
James Laird
cec67c91dc [svn-r12318]
Purpose:
H5CC feature

Description:
Made H5_CFLAGS change to several more configuration files.

Solution:
Moved nonessential flags from CFLAGS to H5_CFLAGS for several more
platforms.  If my guesses about which flags were nonessential were
wrong, we'll have Daily Test errors.

Platforms tested:
mir, cray, copper, juniper (OS X)
2006-05-01 17:34:19 -05:00
Quincey Koziol
4965bf1839 [svn-r12317] Purpose:
Code checkpoint

Description:
    More progress on fractal heap, can now re-open an existing heap, although
the free space algorithm still needs work.

    Also, use the new "pinned entry" metadata cache code.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4 (heping)
    Solaris 9 (shanti)
    Linux 2.4/64 (mir)
2006-04-30 08:32:41 -05:00
Quincey Koziol
eb96132022 [svn-r12316] Purpose:
Code cleanup/feature twist

Description:
    Adjust recent H5AC routines to take H5F_t pointers instead of H5C_t
pointers, to match the rest of the H5AC routines.

    This change propagated into a few of the tests, which also had some
compiler warnings cleaned up...

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Linux 2.4/64 (mir) w/C++ & FORTRAN
2006-04-29 14:28:23 -05:00
Quincey Koziol
1032b7c9d6 [svn-r12315] Purpose:
Code cleanup, etc.

Description:
    Fix some inconsistent coding in the packet table examples

    Correct header file issues in C++ packet table wrapper

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & FORTRAN
2006-04-29 12:10:29 -05:00
Quincey Koziol
cc5b2ff93b [svn-r12314] Purpose:
Code cleanup

Description:
    Big clean up on high-level library code, including:
        - Removing include of HDF5 private header file(!)
        - Reduce number of compiler warnings
        - Untangle header files, etc.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/C++
    Linux 2.4/64 (mir) w/C++ & FORTRAN
2006-04-29 01:20:50 -05:00
Quincey Koziol
27496ae0c7 [svn-r12313] Purpose:
Code cleanup

Description:
    Clean up a few minor compiler warnings

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4/64 (mir)
2006-04-29 01:15:06 -05:00
James Laird
2552a2b6d2 [svn-r12312] Purpose:
H5_CFLAGS change

Description:
Made the threadsafe flags in config/freebsd H5_CFLAGS so that they are
not passed on to h5cc.

Solution:
If user applications need the threadsafe flag to link properly against
the threadsafe HDF5 library, we'll see linking errors in make-install
when threadsafe is enabled, and can revert this change.

Platforms tested:
mir only (very minor change)
2006-04-28 14:14:23 -05:00
John Mainzer
8a7b9b3221 [svn-r12311] Purpose:
Add pinned entry capability to cache.


Description:

For frequently accessed cache entries, the protect/unprotect overhead
is sometimes a bottleneck.


Solution:

Allow entries to be pinned in the cache.  Pinned entries can't be
evicted, but can be flushed or modified.


Platforms tested:

h5committested -- minus one small typo in test/cache.c whose fix was
                  tested on copper and heping only.


Misc. update:
2006-04-28 08:27:54 -05:00
Fang Guo
6a77572c26 [svn-r12309] Purpose:
Maintenance on Windows
Description:
change delimiter between preprocessor names from " " to ",".
Interl fortran doesn't take " " as delimiter.
Solution:

Platforms tested:

Misc. update:
2006-04-27 13:07:55 -05:00
Fang Guo
c30df6d504 [svn-r12308] Purpose:
Maintenance on Windows
Description:
Update solution file all.sln
Solution:

Platforms tested:

Misc. update:
2006-04-27 12:36:09 -05:00
Fang Guo
ffab954f86 [svn-r12307] Purpose:
Maintenance on Windows
Description:
All of the source code files were replaced by a new one.

Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2006-04-27 12:35:17 -05:00
James Laird
ab2c2e643c [svn-r12306] Purpose:
Bug fix

Description:
Removed some extra compiler flags that were being added in configure

Solution:
After my previous changes, some of autoconf's macros were realizing that
we had no CFLAGS defined and were helpfully supplying some to us, which
were causing errors on some platforms.
Initializing all of the *FLAGS variables prevented this from happening.

Platforms tested:
mir (minor change)
2006-04-26 16:19:21 -05:00