Commit Graph

6570 Commits

Author SHA1 Message Date
MuQun Yang
cb58a0d8c6 [svn-r9574] Purpose:
Adding code for using MPI derived datatype to handle collective IO

Description:
No testing yet, won't affect the library.

Solution:

Platforms tested:
linux 2.4 + mpich 1.2.6
Aix 5.1 + mpcc_r

Misc. update:
2004-11-24 16:11:36 -05:00
Pedro Vicente Nunes
f206b7cec1 [svn-r9572] Purpose:
bug fix

Description:
the routine for applying the layout for the new file of h5repack was not
handling the logic correctly in cases where an input layout was not set

Solution:
changed the logic so that the original layout is preserved
(this bug was introduced in the last change, October 19 04)

Platforms tested:
linux (small change)

Misc. update:
2004-11-24 14:48:31 -05:00
Pedro Vicente Nunes
2c940aa917 [svn-r9571] Purpose:
bug fix

Description:
the string build of some test files using "srcdir" was not done properly

Solution:

Platforms tested:
linux

Misc. update:
2004-11-24 10:44:27 -05:00
Quincey Koziol
c731eb9d37 [svn-r9569] Purpose:
Update flags

Description:
    Update gcc compiler flags to support the early gcc 4.0 snapshots available
on sleipnir

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/gcc 4.0 snapshot
    Too minor to require h5committest
2004-11-23 22:25:19 -05:00
Quincey Koziol
ac4e04fbc2 [svn-r9567] Purpose:
Cleanup & add test

Description:
    Clean up test makefile a bit and add metadata cache test to 1.6 branch.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-11-23 22:15:27 -05:00
Albert Cheng
f470d44017 [svn-r9565] Purpose:
Improvement.

Description:
Change the default CC, F9X and CXX compilers from ecc/efc/ecc
to icc/ifort/icc because Intel keeps changing their compiler
names.  This eliminated the warning messages that a wrong
compiler name is used.

Platforms tested:
Tested in Tg-login NCSA only since that is the only
IA64 platform on site.
2004-11-23 15:48:06 -05:00
Quincey Koziol
0535c9b048 [svn-r9563] Purpose:
Code optimization

Description:
    Change how default allocation time is handled internally to the library,
to avoid some performance issues with property lists.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-23 14:48:10 -05:00
Pedro Vicente Nunes
56951d947c [svn-r9562] Purpose:
bug fix

Description:
the Makefile.in of the hl tests was not including a "srcdir"  include path
the test table .c file was missing also the srcdir path


Solution:
add it

Platforms tested:

Misc. update:
2004-11-23 10:50:53 -05:00
Pedro Vicente Nunes
dee149bfc4 [svn-r9561] Purpose:
bug fix

Description:
the Makefile.in had an instruction on the make install part that was not suposed to be there

Solution:
removed it

Platforms tested:
linux
aix

Misc. update:
2004-11-22 16:47:21 -05:00
Quincey Koziol
1cee912aaa [svn-r9559] Purpose:
Code optimization

Description:
    Switch a few more malloc/free pairs over to using internal free list code,
to avoid abusing system memory allocator as badly.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-22 14:53:17 -05:00
Pedro Vicente Nunes
293fe87eee [svn-r9558] Purpose:
insert high level library into main library


Description:
configure.in has a new entry (--enable-hl, disable-hl) it is on by default
the configure message prints info regarding if hl is enabled or not

the tree is
/hl
/hl/src
/hl/test



Solution:

Platforms tested:
linux
solaris
AIX


Misc. update:
2004-11-22 14:17:36 -05:00
Quincey Koziol
35ffb5bd13 [svn-r9556] Purpose:
Code cleanup & optimization

Description:
    Improve ADF/CGNS benchmark by reducing the number of internal attribute
copies made during creations, opens and writes.

    Added new H5O_iterate() routine for iterating through messages of a certain
type in the object header (attributes are the only message currently that can
have multiple instances in the object header).

    Cross-pollinated various minor code cleanups to reduce diffs between
branches.


Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-22 12:14:11 -05:00
Binh-Minh Ribler
d58b9bf5b2 [svn-r9555] Purpose: Fixing minor bug
Description:
    Xuan reported that "uint" used in this example caused error when
    built with MS Visual Studio compiler.

Solution:
    Changed to "int."

Platforms tested:
    Very minor, so I only tested on eirene.  I'll let Xuan know
    to check on Windows.

Misc. update:
2004-11-21 14:24:08 -05:00
Quincey Koziol
afebb37a42 [svn-r9552] Purpose:
Code optimization

Description:
    Avoid making as many copies of attribute information.

    Also, be smarter about which properties we've seen before when copying
and closing property lists.

    Fix memory leak of attribute data structures.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-19 09:57:25 -05:00
Quincey Koziol
6ec311b1d3 [svn-r9550] Purpose:
Code optimization

Description:
    Rework & move around some of the macros for querying balanced properties
of nodes to speed up tree balancing code.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-18 15:11:50 -05:00
Albert Cheng
8c97a51f70 [svn-r9549] updated with new file entry. 2004-11-18 14:56:26 -05:00
Albert Cheng
e66d28ceb9 [svn-r9547] Updated. 2004-11-18 14:55:10 -05:00
Albert Cheng
9070897283 [svn-r9543] Purpose:
Bug fix (#264)

Description:
h5dump did not print attribute data in ASCII format when
-r is used.

Solution:
Added the ability to print in ASCII for Attributes Data also.
Added a test for printing Attributes with -r option.
tall-2B.ddl is the standard output for printing attributes with -r option.

Platforms tested:
H5committested.
Also in heping.

Misc. update:
Update MANIFEST.
2004-11-18 14:41:59 -05:00
Albert Cheng
e52f682ced [svn-r9542] Purpose:
Bug fix (#264)

Description:
h5dump did not print attribute data in ASCII format when
-r is used.

Solution:
Added the ability to print in ASCII for Attributes Data also.
Added a test for printing Attributes with -r option.

Platforms tested:
H5committested.
Also in heping.

Misc. update:
Update MANIFEST.
2004-11-18 14:41:25 -05:00
Quincey Koziol
49db749a01 [svn-r9540] Purpose:
Code optimization

Description:
    Change threaded, balanced binary tree insertion routine to use more
efficient "fast" search routine when trees with "fast compare" routines have
objects inserted into them.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-18 13:53:35 -05:00
Raymond Lu
7016b6e5ed [svn-r9539]
Purpose:  Correction to previous bug fix.  This checkin is mainly to let user
test his program.

Description:   For family driver bug(#213), the previous fix was imperfect.  The problem
was when user create family file, the member size information wasn't saved in file.  When
the file was re-opened, the library simply use the size of 1st member file as member size.

Solution:
              When file is re-opened, member size passed in from access property
              is checked to see if it's reasonable.  If there is only 1 member
              file, member size can't be smaller than current member size.
              If there are at least 2 member files, member size can only be equal
              to the 1st member size.

Platforms tested:  h5committest and fuss
2004-11-18 11:52:12 -05:00
Quincey Koziol
1878ad9c2c [svn-r9537] Purpose:
Code cleanup & optimizations

Description:
    Clean up some of the code in attributes to avoid allocating memory and
performing type conversions when the conversion is a noop.

    Avoid memory allocations of attribute data structures by switching to use
library's free list memory allocator routines.

    Avoid memory allocations of object header continuation data structures by
switching to use library's free list memory allocator routines.

    Rearrange threaded, balanced binary tree macros slightly to avoid some
overhead.


Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel
    Solaris 2.7 (arabica)
    Too minor to require h5committest
2004-11-17 11:53:38 -05:00
Quincey Koziol
94b852d15a [svn-r9535] Purpose:
Correct typo in comment.

Platforms tested:
    Not tested - too minor
2004-11-17 10:22:51 -05:00
Quincey Koziol
5c47b07a75 [svn-r9534] Purpose:
Update some missing dates for prior work.
2004-11-17 09:15:12 -05:00
Pedro Vicente Nunes
edbd77302f [svn-r9533] Purpose:
enhanced performance for h5diff

Description:
the comparison cycle for the 2 buffers read from file was using a compare function
where the type must be checked for each datum (e.g due to recursive calls in compound types)

for atomic types this checking can be avoided


Solution:

introduced cycles for each one of the atomic integer and float class types

Platforms tested:
linux
aix
solaris


Misc. update:
2004-11-16 14:51:39 -05:00
Raymond Lu
22a72b911e [svn-r9531] Purpose: Bug fix(#213)
Description:  H5Pset_fapl_family sets family member size only for creating
new file.  The file doesn't keep this size information.  When the file is
re-opened, the size of first member file is used as the member size.

Solution:  Assume user knows the original member size and sets it through
H5Pset_fapl_family.  That will be the member size.  User can pass in value 0
as member size if he doesn't know the original member size.  Library will
choose the size of current first member size as the member file size.

Platforms tested: h5committest and fuss.
2004-11-16 11:38:28 -05:00
MuQun Yang
b950cebd9e [svn-r9530] Purpose:
Modifying testing code for derived datatype.
However, this test won't be run in the HDF5 parallel test.
The code is checked in only for debugging purpose.

Description:

Solution:

Platforms tested:
Linux 2.4(mpich 1.2.6)

Misc. update:
2004-11-15 15:49:49 -05:00
MuQun Yang
539080945c [svn-r9529] Purpose:
Check in some new fixes for MPI derived datatype routines

Description:
MPI derived datatype algorithm seems working for a simple case;
however, there are still other problems need to be solved. So the
code cannot be used for the time being. Check-in only for debugging.
It won't affect other part of the library.
Solution:

Platforms tested:
Linux 2.4 (heping, serial and parallel)
(Since no new tests were added and changes are mostly restricted to
one fuction, no need to test three platforms).


Misc. update:
2004-11-15 15:46:59 -05:00
HDF Admin
0eb15cd68f [svn-r9527] Snapshot version 1.7 release 42 2004-11-14 05:18:42 -05:00
Quincey Koziol
8d422da811 [svn-r9526] Purpose:
Bug fix, sorta.

Description:
    Revert change to H5Pget_data_transform() which changed len of buffer
returned to be inconsistent with H5Iget_name(), etc.  We should discuss this
change and apply it to all the similar functions if we decide to change the
return value.

Platforms tested:
    FreeBSD 4.10 (sleipnir)
    Too minor to require h5committest
2004-11-12 09:16:58 -05:00
Albert Cheng
9b09201ce1 [svn-r9525] Purpose:
updated for added dtransform example.

Platforms tested:
bin/chkmanifest.
2004-11-12 07:28:03 -05:00
Leon Arber
5d7425c686 [svn-r9524] Purpose:
Bug Fix

Description:
Fixed off by one error in H5Pget_data_transform

Solution:
H5Pget_data_transform, when queried for the size of the property, should
return strlen() + 1 so that the user can allocate memory for the terminating
\0 in the string.

Also fixed a typo in a comment in H5Ztrans.c

Platforms tested:
eirene, too minor to require further testing.

Misc. update:
2004-11-11 21:40:14 -05:00
Leon Arber
73a495e7ac [svn-r9523] Purpose:
Added data transform example

Description:
Added example code for the data dtransform

Solution:
This code both illustrates how data transform works and shows how to use it.
Examples of data transform on read, write, and both at the same time.
Also shows usage of H5Pget_data_transform

Platforms tested:
eirene + copper

Misc. update:
2004-11-11 21:37:53 -05:00
MuQun Yang
38d59f0680 [svn-r9522] Purpose:
Add filename for MPI derived datatype test code.

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-11 16:10:02 -05:00
MuQun Yang
36561530ce [svn-r9521] Purpose:
To test MPI derived datatype

Description:
A very simple irregular hyperslab selection in parallel.
Will not be tested when testing HDF5 library.
Check in only for debugging purpose.
This code will be tested in the future.

Solution:

Platforms tested:
AIX 5.1, Linux 2.4+mpich 1.2.6

Misc. update:
2004-11-11 16:08:11 -05:00
MuQun Yang
7a11c453f9 [svn-r9520] Purpose:
Adding general MPI derived datatype testing code.

Description:
The testing code will not be tested. The purpose of checking in is for
better debugging later. HDF5 routine or daily test should not be aware of this.

Solution:


Platforms tested:
Copper(AIX 5.1),
Heping(Linux 2.4 + MPICH 1.2.6).


Misc. update:
2004-11-11 16:05:03 -05:00
MuQun Yang
1702d75b3a [svn-r9519] Purpose:
Adding codes for the general MPI derived datatype in order to
better incorporate new fixes of HDF5 library.

Description:
Note: These codes have not been tested for general use.
Don't call these functions in your developments of the HDF5 library.
Also these codes are stand-alone codes, they should not affect
other library codes.

Solution:

Platforms tested:
Heping(C and Parallel linux 2.4, mpich 1.2.6)
Arabica(C,C++,Fortran, Solaris 2.7)
Copper(C,c++,Fortran, AIX 5.1, NOTE: c++ FAILED, seems not due to the recent check-in)

Misc. update:
2004-11-11 16:00:01 -05:00
Leon Arber
091fbb49e0 [svn-r9518] Purpose:
New tests

Description:
Added tests for chunked reads/writes.

Platforms tested:
eirene + sol + copper

Misc. update:
2004-11-11 12:15:33 -05:00
Quincey Koziol
d60e16be79 [svn-r9516] Purpose:
Bug fix

Description:
    Fix code to allow --debug-enable=all option to work correctly.

Solution:
    Update some ifdef'ed code with recent changes.

Platforms tested:
    Linux 2.4 (heping) w/--enable-debug=all
    Too minor to require h5committest
2004-11-10 14:36:28 -05:00
Raymond Lu
d28d9e24e9 [svn-r9515] Purpose: Bug fix
Description:  For Intel 8.1 compiler, C99 standard has to be enabled to define macro ULLONG_MAX in its own header file limits.h.

Solution: Add flag -std=c99 to Intel compiler if the version is 8.1.

Platforms tested:  Tested v1.6 because this is a very simple change.
2004-11-08 12:59:59 -05:00
HDF Admin
ce64c13409 [svn-r9513] Snapshot version 1.7 release 41 2004-11-07 05:19:55 -05:00
MuQun Yang
65b26e02b7 [svn-r9512] Purpose:
Adding new names for windows installation docs,
remove old names

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-05 15:14:25 -05:00
Xuan Bai
a63d60992b [svn-r9510] Purpose:
Update.

Description:
Correct some errors in the documentation.

Solution:

Platforms tested:
Not necessary.

Misc. update:
2004-11-05 13:47:28 -05:00
Xuan Bai
ef6cb98102 [svn-r9508] Purpose:
Bug Fix.

Description:
Correct some typos in the installation documentation.

Solution:

Platforms tested:
Not necessary.

Misc. update:
2004-11-04 21:47:58 -05:00
Xuan Bai
52c93de379 [svn-r9507] Purpose:
New feature and update.

Description:
New feature: Implement run-time detection of the Szip encoder.
Update: Fix bug in hdf5 library installation file hdf5\installhdf5lib.bat.

Solution:
1. Add two new projects, testh5repack_detect_szip and testh5repack_detect_szipdll under hdf5\tools\testfiles directory, into HDF5 Windows workspace, and add them to the dependencies of "all" dummy project.

The first one will generate an executable file testh5repack_detect_szip.exe, which can detect which Szip library (with or without encoder) was used when the HDF5 binaries were generated, and the detection output can be used with repacktest.bat to determine whether some HDF5 static dump tests need to be skipped.

The second one will generate an executable file testh5repack_detest_szipdll.exe, which can detect which Szip library (with or without encoder) is used when running HDF5 tools tests, and the detection output can be used with repacktest.bat to dynamically skipped some HDF5 DLL dump tests.

So in the future, we still need two sets of static binaries, one for Szip with encoder, and another one for without encoder.  We can share the same DLL binaries for Szip with/without encoder.

2. hdf5\tools\repacktest.bat is updated accordingly to implement this new feature of dynamic discovery of encoder.

3. hdf5\src\H5pubconf.h is updated accordingly by removing "#define H5_SZIP_CAN_ENCODE 1", the previous Szip encoder macro.

4. Several Fortran DLL related files were not installed by hdf5\installhdf5lib.bat file.  Without these files, there will be some trouble to link with Fortran DLL when using HDF5 binary distributions.  Missed files include Module files for hdf5_fortrandll project and DLL outputs for hdf5_f90cstubdll project.

Scripts were added in installhdf5lib.bat to copy these missed Fortran DLL related files to hdf5\hdf5lib directory.

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP.

Misc. update:
2004-11-04 18:57:57 -05:00
MuQun Yang
077a95ea25 [svn-r9505] Purpose:
remove old installation file on windows.

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-03 15:16:44 -05:00
MuQun Yang
57243993ee [svn-r9504] Purpose:
remove old installation file for C++ interface.

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-03 14:58:34 -05:00
MuQun Yang
70982501ef [svn-r9503] Purpose:
Update windows installation document on 1.7 branch.

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-03 14:57:49 -05:00
Leon Arber
9268be2d0d [svn-r9501] Purpose:
Code clean-up

Description:
Rewrote code to make it simpler.

Added more data type tests

Solution:
Simplified code a lot in preparation for addition of new test cases.


Platforms tested:
heping + sol + copper
2004-11-03 12:28:26 -05:00
Robert E. McGrath
5d7f95d996 [svn-r9497] Purpose:
updating RELEASE.txt

Description:

Solution:

Platforms tested:

Misc. update:
2004-11-02 14:21:20 -05:00