[svn-r9556] Purpose: Code cleanup & optimizationDescription:
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 r...
[svn-r9555] Purpose: Fixing minor bugDescription:
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:
[svn-r9552] Purpose: Code optimizationDescription:
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
[svn-r9550] Purpose: Code optimizationDescription:
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
[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.
[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.
[svn-r9540] Purpose: Code optimizationDescription:
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
[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 ...
[svn-r9537] Purpose: Code cleanup & optimizationsDescription:
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 a...
[svn-r9533] Purpose: enhanced performance for h5diffDescription:
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:
[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'...
[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:
[svn-r9529] Purpose: Check in some new fixes for MPI derived datatype routinesDescription:
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 f...
[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
[svn-r9524] Purpose: Bug FixDescription:
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:
[svn-r9523] Purpose: Added data transform exampleDescription:
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:
[svn-r9521] Purpose: To test MPI derived datatypeDescription:
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:
[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:
[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 ...
[svn-r9516] Purpose: Bug fixDescription:
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
[svn-r9515] Purpose: Bug fixDescription: 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.
[svn-r9508] Purpose: Bug Fix.Description:
Correct some typos in the installation documentation.
Solution:
Platforms tested:
Not necessary.
Misc. update:
[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 ...
[svn-r9501] Purpose: Code clean-upDescription:
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
[svn-r9496] Purpose: Fix SZIP filter to dynmically detect encoder.Description:
Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf
Changes to h5repack tests, contingent on detecting SZIP encoder.
Note new program:
testh5repack_detect_szip
Checks fo rencoder, prints out "yes" or "no". Used by hrepack.sh
to detect encoder. Can also be used for windows tests. This is
only used as part of the tests.
Had to modify Makefile to build a...
[svn-r9493] Purpose: Fix SZIP filter to dynmically detect encoder.Description:
Solution:
See:
http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf
Platforms tested:
verbena, arabica, cobalt.
Note RE testing:
All automatic tests work as before.
The feature is a configuration thing, so the tests are manual.
Tested with the following configs:
pre-release version of SZIP, with dynamic library,
1. no SZIP
2. SZIP, decoder only
3. SZIP, encoder+...
[svn-r9491] Purpose: Bug fixDescription:
"Teach" the configure scripts about Intel 7.1 compilers, which don't have
_quite_ the same compiler flags
Platforms tested:
Linux 2.4 (eirene)
[svn-r9489] Purpose: Update.Description:
Since several new features have been added into HDF5 this week, such as Fortran DLL and several new HDF5 tools, related testing and installation batch files should be updated.
Solution:
1. Update hdf5check.bat file, so HDF5 Fortran DLL will be tested. Kent updated enableall option for hdf5check. enablefortran option is updated now.
2. Update installhdf5lib.bat file, so HDF5 Fortra...
[svn-r9487] Purpose: Update.Description:
Some DLL projects "Code Generation" settings were set as "Single-Threaded", should be set as "Multithreaded DLL or Debug Multithreaded DLL". Although "Single-Threaded" did not bring any trouble for some projects, "Multithreaded DLL or Debug Multithreaded DLL" will be safer.
Update HDF5build batch file.
Solution:
1. Check all DLL projects settings for C/C++->Code Generation, and ...
[svn-r9486] Purpose: Code cleanupDescription:
Change loops for comparing results to use 2-D array lookups, since that's
what we've really got and the older 1-D array lookups was making the PGI C
compiler whine about array bounds issues.
Platforms tested:
Linux 2.4 (heping) w/PGI C
Not relevent to other platforms, no h5committest
[svn-r9485] Purpose: New feature.Description:
Add a simple HDF5 Fortran DLL example.
Solution:
1. Add a simple HDF5 Fortran DLL example to test HDF5 Fortran DLL under hdf5\fortran\examples\ directory.
2. Updated installf90examples.bat under hdf5\directory to install Fortran DLL examples' executable files.
(Note: HDF5 Fortran example test batch file will be added later as there is no Fortran example tests on Unix now.)
Platfo...
[svn-r9483] Purpose: New feature.Description:
Add HDF5 C++ examples DLL test projects.
Add new HDF5 tools projects.
Solution:
1. Add the following 7 HDF5 C++ examples DLL projects into hdf5\c++\examples directory:
chunkstestdll
compoundtestdll
createtestdll
extend_dstestdll
h5grouptestdll
readdatatestdll
writedatatestdll
2. Add the above 7 projects to the dependencies of hdf5\c...
[svn-r9477] Purpose: New feature.Description:
Add HDF5 C examples DLL tests.
Solution:
1. Add the following 8 HDF5 C examples DLL projects into hdf5\examples directory:
attributetestdll
chunkreaddll
compoundtestdll
extendwritetestdll
grouptestdll
readtestdll
selectestdll
writetestdll
2. Add the above 8 projects to the dependencies of hdf5\examples\allexamples project.
3....