Commit Graph

8710 Commits

Author SHA1 Message Date
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
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